/* Googlefont Poppins CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  min-height: 100vh;
}
nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: rgb(0,153,247);
    background: linear-gradient(90deg, rgba(0,153,247,1) 40%, rgba(241,23,18,1) 60%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
nav .navbar{
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}

.logo img{
    height: 80px;
    margin-right: 150px;
}

.navbar .logo a{
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 20px;
}
nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
nav .navbar .links{
  display: flex;
}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}
nav .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }

nav .navbar .links li .arrow{
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: rgb(0,153,247);
  background: linear-gradient(90deg, rgba(0,153,247,1) 40%, rgba(241,23,18,1) 60%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.navbar .links li .sub-menu .more-arrow{
  line-height: 40px;
}
.navbar .links li .htmlCss-more-sub-menu{
   /*line-height: 40px;*/
}
.navbar .links li .sub-menu .more-sub-menu{
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}
.links li .sub-menu .more:hover .more-sub-menu{
  display: block;
  z-index: 1000;
}
.navbar .search-box{
  position: relative;
   height: 40px;
  width: 40px;
  margin-left: 300px;
}
.navbar .search-box i{
  position: absolute;
  height: 100%;
  width: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.navbar .search-box .input-box{
  position: absolute;
  right: calc(100% - 40px);
  top: 80px;
  height: 60px;
  width: 300px;
  background: #3E8DA8;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}
.navbar.showInput .search-box .input-box{
  top: 65px;
  opacity: 1;
  pointer-events: auto;
  background: #3E8DA8;
}
.search-box .input-box::before{
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #3E8DA8;
  right: 10px;
  top: -6px;
  transform: rotate(45deg);
}
.search-box .input-box input{
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  height: 35px;
  width: 280px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  border: none;
}
.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
@media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }

  .logo img{
    height: 53px;
    margin-right: 150px;
  }

  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
}
@media (max-width:800px){
  nav{
     /*position: relative; */
  }
  .navbar .bx-menu{
    display: block;
  }
  nav .navbar .nav-links{
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background: rgb(0,153,247);
    background: linear-gradient(90deg, rgba(0,153,247,1) 40%, rgba(241,23,18,1) 60%);
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }
  .navbar .nav-links .sidebar-logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-logo .logo-name{
    font-size: 25px;
    color: #fff;
  }
    .sidebar-logo  i,
    .navbar .bx-menu{
      font-size: 25px;
      color: #fff;
    }
  nav .navbar .links{
    display: block;
    margin-top: 20px;
  }
  nav .navbar .links li .arrow{
    line-height: 40px;
  }
nav .navbar .links li{
    display: block;
  }
nav .navbar .links li .sub-menu{
  position: relative;
  top: 0;
  box-shadow: none;
  display: none;
}
nav .navbar .links li .sub-menu li{
  border-bottom: none;

}
.navbar .links li .sub-menu .more-sub-menu{
  display: none;
  position: relative;
  left: 0;
}
.navbar .links li .sub-menu .more-sub-menu li{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(0deg);
  }
  .navbar .links li .sub-menu .more-sub-menu{
    display: none;
  }
  .navbar .links li .sub-menu .more span{
    /* background: red; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }

  .links li .sub-menu .more:hover .more-sub-menu{
    display: none;
  }
  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu{
    display: none;
  }
.navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .more .more-sub-menu{
      display: block;
    }
    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show3 .links .js-arrow{
        transform: rotate(180deg);
}
    .navbar .nav-links.show2 .links .more-arrow{
      transform: rotate(90deg);
    }
}
@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 100%;
} 
}

/* About Us section */
.about-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 50px;
    background: #f4f4f4;
}

.about-us.reverse {
    flex-direction: row-reverse;
}

.main-img {
    flex: 1;
    max-width: 500px;
    margin: 20px;
    position: relative;
    overflow: hidden;
}

.main-img img {
    width: 110%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.text {
    flex: 1;
    max-width: 600px;
    margin: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.text h4 {
    font-size: 1.5rem;
    color: #333;
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.text h1 {
    font-size: 2.5rem;
    color: #111;
    margin: 20px 0;
    transform: translateX(50px);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.text hr {
    width: 50px;
    height: 3px;
    background: #333;
    border: none;
    margin: 20px 0;
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.9s ease, opacity 0.9s ease;
}

.last-text {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1s ease, opacity 1s ease;
}

.last-text .text1,
.last-text .text2 {
    text-align: center;
}

.last-text h3 {
    font-size: 2rem;
    color: #111;
    transform: translateY(-30px);
    opacity: 0;
    transition: transform 1.1s ease, opacity 1.1s ease;
}

.last-text h5 {
    font-size: 1rem;
    color: #666;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1.2s ease, opacity 1.2s ease;
}

/* Animate classes */
.main-img img.animate {
    opacity: 1;
    transform: scale(1);
}

.text.animate {
    opacity: 1;
    transform: translateY(0);
}

.text h4.animate {
    opacity: 1;
    transform: translateX(0);
}

.text h1.animate {
    opacity: 1;
    transform: translateX(0);
}

.text hr.animate {
    opacity: 1;
    transform: scaleX(1);
}

.text p.animate {
    opacity: 1;
    transform: translateY(0);
}

.last-text.animate {
    opacity: 1;
    transform: translateY(0);
}

.last-text .text1 h3.animate,
.last-text .text2 h3.animate {
    opacity: 1;
    transform: translateY(0);
}

.last-text .text1 h5.animate,
.last-text .text2 h5.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Container and Teams section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5rem;
    color: #333;
}

.sub-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.teams {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(33.333% - 40px); /* Adjust for margins/gaps */
    max-width: calc(33.333% - 40px);
}

.teams img {
    border-radius: 50%;
    margin-bottom: 10px;
}

.name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.desig {
    font-size: 1rem;
    color: #777;
    margin-bottom: 10px;
}

.about {
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.social-links a {
    margin: 0 5px;
    color: #333;
    text-decoration: none;
    font-size: 1.25rem;
}

.social-links a:hover {
    color: #007BFF;
}

@media (max-width: 768px) {
    .teams {
        flex: 1 1 calc(50% - 20px); /* Adjust for margins/gaps */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .teams {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-us {
        flex-direction: column;
        align-items: center;
    }

    .main-img, .text {
        max-width: 100%;
        margin: 10px 0;
    }

    .text h1 {
        font-size: 2rem;
    }

    .text h4 {
        font-size: 1.25rem;
    }

    .text p, .text hr, .last-text h3, .last-text h5 {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 20px;
    }

    .main-img img {
        height: auto;
    }

    .text h1 {
        font-size: 1.5rem;
    }

    .text h4 {
        font-size: 1rem;
    }

    .text p, .text hr, .last-text h3, .last-text h5 {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .teams {
        flex: 1 1 calc(50% - 20px); /* Adjust for margins/gaps */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .teams {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/* Footer styles */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .contact .info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

footer .contact .info li span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

footer .contact .info li p,
footer .contact .info li span {
    font-size: 16px;
    color: #ccc;
}

footer .sec {
    flex: 1 1 300px;
    margin: 10px;
}

footer .sec h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #4B9CD3;
}

footer .sec p, 
footer .sec a {
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
}

footer .sec p {
    line-height: 1.6; /* Adjust the line height for paragraphs */
}

footer .sec ul {
    list-style: none;
}

footer .sec ul li {
    margin-bottom: 10px; /* Add space between list items */
}

footer .sci li {
    display: inline-block;
    margin-right: 10px;
}

footer .sci li a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s;
    line-height: 3;
}

footer .sci li a:hover {
    color: #4B9CD3;
}

footer .quicklinks ul li a:hover {
    color: #4B9CD3;
}

footer .contact .info li a:hover {
    color: #4B9CD3;
}

footer .info li {
    margin-bottom: 10px;
}

footer .info li span {
    margin-right: 10px;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        align-items: center;
    }
}



/* CSS for Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #f9a825;
    color: #333;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #333;
    color: #f9a825;
}

/* WhatsApp Button Styling */
.whatsapp-button {
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 25px;
    display: inline-block;
    transition: background-color 0.3s ease;


}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button i {
    vertical-align: middle;
}

/* Floating WhatsApp Button */
.floating-whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    z-index: 1000;
    height: 40px;
    
}

.floating-whatsapp-button:hover {
    background-color: #128C7E;
}

.floating-whatsapp-button i {
    vertical-align: middle;
    margin-bottom: 41px;
}

/* Additional Styles (Add as needed) */

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .sec.aboutus h2 {
    margin-bottom: 20px;
}

footer .sec.aboutus p {
    font-size: 14px;
    line-height: 24px;
}

footer .sci {
    list-style: none;
    display: flex;
    padding: 0;
}

footer .sci li {
    margin-right: 10px;
}

footer .sci li a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

footer .sci li a:hover {
    color: #4B9CD3;
}