* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

:root {
  --primary: rgb(25, 43, 69);
  --secondary: #5095a7;
  --light: #f8f2f0;
  --dark: #060315;
  --text-font-size: clamp(12px, 1vw, 14px);
}

/*** Spinner ***/

#spinner {
  height: 100dvh;
  display: grid;
  place-items: center;
  z-index: 999;
}

/*** Spinner ***/

/* Default styles */

p {
  font-size: var(--text-font-size);
  text-align: justify;
}

.fw-medium {
  font-weight: 600 !important;
}

.devider {
  width: 100%;
  height: 2px;
  background-color: #060315;
  background: url(./Assets/devider.png) no-repeat center center;
  margin-bottom: 1.5rem;
}

.heading {
  text-align: center;
  font-size: clamp(1.2rem, 1rem + 1.7vw, 2.2rem);
  font-weight: 700;
  color: rgb(23, 23, 80);
  text-transform: capitalize;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}
.headingour{
  text-align: center;
  font-size: clamp(1.2rem, 1rem + 1.7vw, 2.2rem);
  font-weight: 700;
  color: white;
  text-transform: capitalize;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

/* Default styles */

/* button */

.view-btn {
  color: black;
  text-decoration: none;
  background-color: coral;
  border: 1.5px solid coral;
  border-radius: 10px;
  transition: 0.3s;
  padding-inline: 15px;
  padding-block: 5px;
  font-weight: 500;
  text-transform: uppercase;
}

.view-btn:hover {
  color: coral;
  border: 1.5px solid coral;
  background-color: transparent;
}

.contact-btn {
  border: none;
  text-decoration: none;
  color: white;
  background: var(--primary);
  border-radius: 20px;
  font-weight: 500;
  padding: 6px 22px;
  font-size: var(--text-font-size);
}

/* button */

/*** Navbar ***/

.navbar {
  background-color: white;
  width: 100%;
  z-index: 10;
  height: 90px;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.navbar .nav-link {
  position: relative;
  color: var(--primary);
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 600;
  margin-right: 10px;
  transition: color 0.2s ease;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0;
  transition: 0.3s ease-in-out;
  transform: scaleX(0);
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
  transform: scaleX(1);
  background-color: #ff9a68;
}

.navbar.scrolled .nav-link.active::after,
.navbar.scrolled .nav-link:hover::after {
  transform: scaleX(1);
  background-color: var(--primary);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #ff9a68;
}
.navbar.scrolled .nav-link.active,
.navbar.scrolled .nav-link:hover {
  color: var(--primary);
}
/* .navbar.scrolled {
  background: white;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
  width: 90%;
  height: 80px;
  margin-inline: 5%;
  padding-block: 0;
  border-radius: 10px;
} */
.navbar.scrolled .nav-link {
  color: #999;
}

/*** Navbar ***/

/* hero-carousel */
#carouselExampleDark .carousel-control-prev,
#carouselExampleDark .carousel-control-next {
  margin-left: 0;
  margin-right: 0;
  width: 5%;
}

#carouselExampleDark .carousel-control-prev-icon,
#carouselExampleDark .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
#carouselExampleDark .carousel-control-prev-icon,
#carouselExampleDark .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: 60%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
#carouselExampleDark .carousel-control-prev-icon:hover,
#carouselExampleDark .carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

/* Tablets Landscape: 768px – 991px */
@media (max-width: 991px) and (min-width: 768px) {
  #carouselExampleDark .carousel-control-prev-icon,
  #carouselExampleDark .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 55%;
  }
}

/* Tablets Portrait: 600px – 767px */
@media (max-width: 767px) and (min-width: 600px) {
  #carouselExampleDark .carousel-control-prev-icon,
  #carouselExampleDark .carousel-control-next-icon {
    width: 36px;
    height: 36px;
    background-size: 50%;
  }
}

/* Phones: less than 600px */
@media (max-width: 599px) {
  #carouselExampleDark .carousel-control-prev-icon,
  #carouselExampleDark .carousel-control-next-icon {
    width: 32px;
    height: 32px;
    background-size: 45%;
  }
}


.carosel-item > img {
  filter: brightness(150%);
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.carousel-caption {
  top: 70%;
  left: 10%;
  min-width: 70%;
  width: 1000px;
  box-sizing: border-box;
  text-align: left;
}
.carousel-caption h1 {
  
  font-weight: bold;
  list-style: 1rem;
  /* text-shadow: 0 1px 3px rgb(49, 49, 49); */
  font-size: 3rem;
  color: white;
}
.hero-carousel {
  width: 100%;
  height: 100vh;
  margin-top: -90px;
  overflow: hidden;
  position: relative;
}
.hero-carousel .list .item {
  position: absolute;
  inset: 0 0 0 0;
}

.hero-carousel .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-carousel .list .item .content {
  position: absolute;
  top: 35%;
  left: 5%;
  min-width: 70%;
  width: 1000px;
  padding-right: 30%;
  box-sizing: border-box;
  color: white;
}
.hero-carousel .list .item .content h1 {
  text-transform: uppercase;
  font-weight: bold;
  list-style: 1rem;
  text-shadow: 0 1px 3px lightgrey;
  font-size: 2.5rem;
}
.hero-carousel .list .item .content p {
  font-size: 15px;
}
.hero-carousel .list .item:nth-child(1) {
  z-index: 1;
}
.hero-carousel .list .item:nth-child(1) h1,
.hero-carousel .list .item:nth-child(1) p {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.3s linear 1 forwards;
}
@keyframes showContent {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
.hero-carousel .list .item:nth-child(1) h1 {
  animation-delay: 0.4s;
}
.hero-carousel .list .item:nth-child(1) p {
  animation-delay: 0.6s;
}

.hero-carousel.next .list .item:nth-child(1) img {
  width: 220px;
  height: 130px;
  position: absolute;
  left: 50%;
  bottom: 50px;
  border-radius: 5px;
  animation: showImage 0.3s linear 1 forwards;
}

@keyframes showImage {
  to {
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    border-radius: 0;
  }
}

/* hero-carousel */

/* about */

.about-section p {
  font-size: var(--text-font-size);
}
.about-heading {
  text-transform: capitalize;
  letter-spacing: 1.5px;
  color: rgb(23, 23, 80);
}


.video-frame {
  width: 100%;
  max-width: 960px;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  /* border: 3px solid var(--primary); */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0; /* No padding to avoid white bars */
}

.video-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
}



/* about */

.founder-section {
  position: relative;
  padding: 3rem 9%;
  /* background-attachment: fixed; */
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  width: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  /* background-color: #00065c; */
  background-color: rgba(0, 0, 0, 0.4);

}
.founder-section .cover {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 20px;
  background-color: transparent;
  background-image: url(../assets/founderimg.jpg);
   background-attachment: scroll;
  background-position: center;
  background-size: cover;
  filter: blur(5px);

}
.founder-slider {
  position: relative;
  overflow: hidden; 
  width: 100%; 
  height: 350px;
  margin: auto;
  /* background-color: rgba(0, 0, 0, 0.7); */

}

.founder-slider-row {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.founder-card {
  flex: 0 0 100%;
  display: flex;
  padding-inline: 2rem;
  gap: 10%;
  justify-content: center;
  align-items: flex-start;
 
  position: relative;
  height: 100%;

}
.founder-info {
  flex: 1;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* center horizontally */
   text-align: justify;
  margin-top: 2rem;
  padding: 1.5rem;
  max-width: 600px;
  border-radius: 10px;
  color: white;
}
   /* text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  color: white; */

.founder-card h3 {
  font-size: 2rem;
  font-weight: 700;
   color: #d7d4d4; 
}
.founder-card p {
  font-weight: 400;
   color: white;
}
.founder-card h5 {
  color: coral !important;
  padding-top: 0.6rem;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.founder-card > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-img {
  height: 100%;
  align-items: flex-start;
  justify-content: flex-end;
}

.founder-img img {
  border-radius: 10px;
  width: 320px; /* Adjust size as needed */
  height: 95%; /* Maintain aspect ratio */
  object-fit: cover;
  user-select: none;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.indicator {
  background: #aaa !important; /* or #333 */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffff;
  margin: 0 5px;
  cursor: pointer;
}
.indicator.active {
  background: coral !important;
}



@media (max-width: 768px) {
  .founder-slider {
    height: auto; /* Allow height to grow */
  }

  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 1rem;
    height: auto;
  }

  .founder-info {
    align-items: center;
    text-align: center;
  }

  .founder-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  .founder-img img {
    width: 80%;
    max-width: 300px;
    height: auto;
  }

   .slider-indicators {
    position: relative; /* instead of static */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
  }

  .founder-section {
    padding: 2rem 1.5rem;
  }

  .founder-card h3 {
    font-size: 1.5rem;
     justify-content: center;
    align-items: center;
  }

  .founder-card p {
    font-size: 0.95rem;
    justify-content: center;
    align-items: center;
  }
  
}

/* .project-section */

.nav-tabs {
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  border-radius: 25px;
  border: none;
  padding: 1px;
 
  margin-bottom: 1.3rem;
}
.nav-tabs .nav-link.active {
  background-color: rgb(25, 43, 69) !important;
  color: white !important;
  border-radius: 20px;
   width: 180px;
  
  border: none;
}

.nav-tabs .nav-link {
  background-color: #f9f9f9;
  border: none !important;
  border-radius: 25px;
  margin-inline: 2px;
  padding-inline: 25px;
  color: rgb(25, 43, 69);
}

.project-card {
  width: 200px;
  height: 300px;
  perspective: 1000px;
  margin: 2rem;

  
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.project-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  justify-content: center;
  font-weight: 550;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-front img {
  width: 100%;
  height: 65%;
  object-fit: cover;
}

.card-front .project-text {
  padding: 10px;
  background: white;
  height: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-front .project-text h5 {
  font-size: 14px;
  color: #333;
  text-align: center;
}
.work-details ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 12px;
  color: #fff; /* Adjust based on card background */
}

.card-back {
  background-image: linear-gradient(135deg, #7ec9ef,  #88b4db);
  color: white;
  cursor: pointer;
  transform: rotateY(180deg);
  padding: 10px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  flex-direction: column;     
  flex-wrap: wrap;           
           
  height: 100%;               
  box-sizing: border-box;
}
.project-link {
  text-decoration: none;
  color: inherit;
}
.project-img {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.project-img .project-img-container {
  position: relative;
  height: 130px;
  width: 130px;
  border-radius: 50%;
  overflow: hidden;
}
.project-card-cover {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.project-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  background: #f6f6f6;
}
.project-text {
  height: 5rem;
  text-overflow: ellipsis;
  padding: 1rem;
}
.project-text h5 {
  font-size: 15px;
  color: #525963;
}
.project-img .project-view-more {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  font-size: 0;
  border-radius: 50%;
  text-align: center;
  text-transform: capitalize;
  color: white;
  display: grid;
  place-items: center;
  background-color: var(--primary);
  transition: all 0.3s ease;
  z-index: 3;
}
.project-card:hover .project-view-more {
  top: 26%;
  left: 50%;
  visibility: visible;
  font-size: 10px;
  transform: translateX(-50%);
  height: 60px;
  width: 60px;
}
.project-card:hover .project-card-cover {
  background-color: rgba(0, 7, 11, 0.3);
}

.project-overview {
  height: auto;
  background-color: rgb(237 242 247);
}

.project-overview-details {
  padding-inline: 6%;
  padding-block: 55px;
  display: grid;
  text-align: center;
  place-items: center;
  height: 100%;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.project-overview-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: rgb(20, 20, 77);
}

.project-overview-text p {
  color: rgb(20, 20, 77);
}

/* .project-section */
/* Equipment Carousel */
.equipment-section {
  padding-block: 2.5rem 2rem;
}

.carousel {
  padding: 20px 0;
}


.carousel-control-prev, 
.carousel-control-next {
  width: 5%;
  
}
.carousel-control-prev{
  margin-left: -80px;
}

.carousel-control-next{
  margin-right: -80px;
}
.carousel-control-prev-icon, 
.carousel-control-next-icon {
  background-color: var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 60%;
}
/* .equipment-section */
.equipment-cards {
  display: flex;
  flex-wrap: wrap;
  padding-block: 2.5rem 2rem;
  column-gap: 2%;
  
}
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 40px;
}
.equipment-card {
  flex: 1 0 300px;
  height: max-content;
  background-color: white;
  border-radius: 20px;
  padding: 20px;
  margin-block: 1rem;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 280px;

}
.equipment-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: black;
  text-transform: uppercase;
  margin-top: 10px;
}
.equipment-img {
  position: relative;
  border-radius: 15px;
  width: 100%;
  height: 180px;
  margin-block: 10px 0;
  overflow: hidden;

}
.equipment-card .ms-3 {
  flex: 1 1 auto;
}
.equipment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: none;
  place-items: center;
  color: white;
  transition: 0.3s;
  background-color: rgba(0, 0, 0, 0.5);
}
.equipment-overlay div {
  width: 75%;
}
.equipment-card p {
  height: 40px;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}
.equipment-card img {
  overflow: hidden;
  height: 100%;
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: 0.3s ease;
}
.equipment-card:hover img {
  scale: 1.15;
}
.equipment-card:hover .equipment-overlay {
  display: grid;
}

.equipment-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
 
}
.equipment-card-addon {
  background-color: var(--primary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 10px;
}



/* .equipment-section */
@media (max-width: 600px) {
  .equipment-cards {
    flex-direction: column;
    padding-block: 1.5rem 1rem;
    column-gap: 0;
  }

  .equipment-card {
    flex: 1 0 auto;
    width: 100%;
    padding: 15px;
    margin-block: 1rem;
    border-radius: 15px;
    height: auto;
  }

  .equipment-card h4 {
    font-size: 1.1rem;
  }

  .equipment-card p {
    height: auto;
    font-size: 0.9rem;
  }

  .equipment-img {
    height: 150px;
    margin-block: 8px 0;
  }

  .equipment-card img {
    border-radius: 12px;
  }

  .equipment-card:hover img {
    scale: 1.05; /* Slightly less zoom for smaller screens */
  }

  .equipment-card-addon {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }
  .carousel-control-prev {
    margin-left: 0;
    left: 0;       /* align to far left */
  }

  .carousel-control-next {
    margin-right: 0;
    right: 0;      /* align to far right */
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: auto; /* allow them to naturally position at sides */
  }
}
/* For devices ≤ 480px (e.g., iPhone SE) */
@media (max-width: 480px) {
  .carousel-control-prev {
    left: 15px;
    margin-left: 0;
  }

  .carousel-control-next {
    right: 15px;
    margin-right: 0;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: auto;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 35px;
    height: 35px;
  }
}

/* Optional: For ultra-small devices ≤ 360px */
@media (max-width: 360px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }
  .carousel-control-prev {
    left: 15px;
  }

  .carousel-control-next {
    right: 15px;
  }
}

@media (max-width: 767px) {
  .equipment-cards {
    flex-direction: column;
    padding-block: 1.5rem 1rem;
    column-gap: 0;
  }

  .equipment-card {
    flex: 1 0 auto;
    width: 100%;
    padding: 15px;
    margin-block: 1rem;
    border-radius: 15px;
    height: auto;
  }

  .equipment-card h4 {
    font-size: 1.1rem;
  }

  .equipment-card p {
    height: auto;
    font-size: 0.9rem;
  }

  .equipment-img {
    height: 150px;
    margin-block: 8px 0;
  }

  .equipment-card img {
    border-radius: 12px;
  }

  .equipment-card:hover img {
    scale: 1.05; /* Slightly less zoom for smaller screens */
  }

  .equipment-card-addon {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }
  .carousel-control-prev{
    margin-left: -50px;
  }

  .carousel-control-next{
     margin-right: -50px;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .equipment-cards {
    flex-wrap: wrap;
    column-gap: 2%;
    padding-block: 2rem 1.5rem;
  }

  .equipment-card {
    flex: 1 0 45%; /* Two cards per row approximately */
    padding: 18px;
    margin-block: 1rem;
    border-radius: 18px;

    max-height: 80%;
  }

  .equipment-card h4 {
    font-size: 1.15rem;
  }

  .equipment-card p {
    font-size: 1rem;
    height: auto;
  }

  .equipment-img {
    height: 170px;
    margin-block: 10px 0;
  }

  .equipment-card-addon {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .equipment-card:hover img {
    scale: 1.1;
  }
  .carousel-control-prev{
    margin-top: -50px;
  }

  .carousel-control-next{
     margin-top: -50px;
  }
}


/* .team-section */

.team-section {
  padding-inline: 10%;
}
.teams-cards {
  width: 100%;
  display: grid;
  gap: 20px;
  place-items: center;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.team-img {
  border-radius: 10px;
  padding: 0.5rem;
  height: 190px;
  width: 100%;
  background-color: #f6f6f6;
}
.team-img > img {
  padding: 1rem;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}
.team-content {
  text-align: center;
  padding-top: 0.3rem;
}
.team-content p {
  margin-block: 5px;
}
.team-content p:last-child {
  margin-bottom: 10px;
}
.team-content .team-social-media {
  display: none;
  margin-block: 10px;
  justify-content: center;
  column-gap: 20px;
  margin-bottom: 1rem;
}
.team-content .team-social-media a {
  color: black;
}

/* .team-section */

.team-categories {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.team-categories-list {
  position: relative;
  height: 350px;
  width: 120px;
  filter: contrast(20px) blur(10px);
  border-radius: 100px;
  background-position: center;
  background-size: cover;
  background-image: url(./Assets/img-11.jpg);
  object-fit: cover;
  object-position: center;
  display: flex;
  align-items: center;
  z-index: 0;
}
.team-categories-list .cover {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 100px;
  height: 100%;
  width: 100%;
  padding: 20px;
  z-index: 1;
  background-color: rgba(0, 7, 11, 0.5);
}
.team-categories-list:nth-child(even) {
  margin-top: 5rem;
}
.team-categories-list .content {
  z-index: 3;
  width: 100%;
  text-align: center;
}
.team-categories-list h6 {
  font-size: 0.9rem;
  color: white;
}
/* career section */
.career-section {
  padding-inline: 10%;
}
.career-apply {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  column-gap: 2%;
  margin-block: 2.5rem;
  row-gap: 6%;
}
.career-card {
  height: max-content;
  width: 100%;
  border-radius: 15px;
  padding: 2rem;
  background-color: white;
}
.career-card button {
  background-color: coral;
  border-radius: 10px;
  border: none;
  padding-inline: 15px;
  padding-block: 5px;
  font-weight: 500;
  text-transform: uppercase;
}
.career-job-icons {
  display: inline-flex;
  height: max-content;
  column-gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

/* career section */

.company-section {
  height: max-content;
  color: white;
  background-color: rgb(0, 53, 79, 0.9);
  padding-block: 3rem 2rem;
  margin-block: 50px;
}
.company-overview {
  padding-inline: 10%;
  gap: 3%;
  padding-block: 2.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
}
.company-overview .company-info {
  flex-grow: 1;
  justify-self: center;
  width: 100%;
  flex-basis: 300px;
}
.company-section h2 {
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.company-info h4 {
  font-weight: 700;
  margin-bottom: 25px;
}
.company-info p {
  color: #dbdada;
  font-size: 14px;
}

/* main team section */

.main-team-section {
  padding-inline: 7%;
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
}
.main-team-section .text-content {
  width: 42%;
}
.main-team-section .team-img-container {
  width: 53%;
}
.main-team-section .content {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-team {
  margin-block: 12% 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.main-team-card {
  height: 230px;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
}
.main-team-card:nth-child(2) {
  margin-top: -50px;
}
.main-team-card:nth-child(5) {
  margin-top: -50px;
}
.main-team-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* main team section */

/*** Footer ***/

.footer {
  padding-top: 4rem;
  background: linear-gradient(rgb(237, 242, 247, 0.9), rgb(237, 242, 247, 0.9)),
    url(/Asstets/map.png) center center no-repeat;
  background-size: cover;
}
.footer-info {
  display: flex;
  flex-wrap: nowrap; /* prevent early wrapping */
  justify-content: space-between;
  margin-inline: 50px 10px;
  margin-bottom: 2%;
  gap: 2rem;
  align-items: centers;
}
.footer-hero {
  flex: 1 1 300px;
  display: flex;
  justify-content: flex-start; /* 🔧 FIXED: stay left at all widths unless overridden */
  align-items: center;

}

.footer-hero-inner {
  align-items: flex-start;
  text-align: left;
}

.footer-logo {
  margin-bottom: 10px;
}

.footer-hero-text {
  color: var(--primary);
  line-height: 1.4;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 10px;
  font-size: 18px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}.footer-hero {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.footer-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  margin-bottom: 10px;

}
.footer-logo img{
  width: 80px;
  height: 60px;
}
.footer-hero-text {
  color: var(--primary);
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 2rem;
  padding-inline: 3%;
}


.footer-content div {
  width: 100%; /* allow full column width */
  word-wrap: break-word;
}
.footer-content p {
  word-break: break-word;
}

.footer-content div:nth-child(1) {
  flex: 1 0 150px;
}
.footer-content div:nth-child(1) {
  flex: 1 0 150px;
}
.footer-content div:nth-child(3) {
  flex: 1 0 300px;
}
.footer .footer-hero-text {
  color: var(--primary);
  line-height: 32px;
  font-weight: 600;
  margin-left: 1rem;
  margin-block: 5px 0;
}
.footer-info .footer-hero {
  border-right: 1px solid rgba(256, 256, 256, 0.1);
}
.footer-info h4 {
  color: #192b45;
  font-weight: 700;
  text-transform: capitalize;
  padding-bottom: 1rem;
}
.footer-info p {
  color: black;
  font-size: 13px;
  word-break: break-word;
  line-height: 20px;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  flex-direction: column;
}
.footer-links a {
  padding: 0 10px 11px 0px;
  color: black;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: 0.3s all ease;
}
.footer-links a:hover {
  letter-spacing: 1px;
}
.footer .social-btn {
  width: 35px;
  height: 35px;
  margin-right: 5px;
  display: flex;
  color: #192b45;
  justify-content: center;
  align-items: center;
  /* border-radius: 50%; */
  transition: 0.3s ease;
  /* border: 1px solid rgb(223, 222, 222, 0.7); */
}
.footer .social-btn i {
  margin-top: 5px;
  margin-left: 1px;
  color: #192b45;
}
/* .footer .social-btn:hover {
  color: var(--primary);
  background: white;
} */



@media (max-width: 1100px) {
  .footer-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-inline: 20px;
    gap: 3rem;
  }

  .footer-hero {
    justify-content: center !important;
    border-right: none !important;
    width: 100%;
  }

  .footer-hero-inner {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-logo img {
    width: 60px;
    height: auto;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    width: 100%;
    padding-inline: 20px;
  }

  .footer-content div {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .footer-content p,
  .footer-links a {
    font-size: 14px;
    line-height: 22px;
  }
  .footer-content p {
  text-align: center !important;
  margin: 0 auto;
  display: block;
}

  .social-icons {
    justify-content: center;
  }

  .copyright-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    align-items: center;
    margin-inline: 15px;
  }

  .footer-hero {
    justify-content: center !important;
    width: 100%;
    border-right: none !important;
  }

  .footer-hero-inner {
    align-items: center;
    text-align: center;
  }

  .footer-logo img {
    width: 60px;
    height: auto;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 100%;
    padding-inline: 15px;
    gap: 1.5rem;
  }

  .footer-content div {
    width: 100%;
  }

  .footer-content h4,
  .footer-content p,
  .footer-links a {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 20px;
  }

  .copyright-text {
    text-align: center;
  }
}


/*** Footer ***/

/* copyright */

.footer .copyright {
  margin-inline: 1.5rem;
  padding-block: 1.5rem 2.5rem;
  font-size: 15px;
  border-top: 1px solid rgb(25, 43, 69, 0.2);
}

.footer .copyright-text {
  text-align: center;
  color: var(--primary);
}

.footer .copyright a {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.7px;
  text-decoration: none;
}

.loader {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader:before,
.loader:after {
  content: "";
  border-radius: 50%;
  position: absolute;
  inset: 0;
}
.loader img {
  width: 80px;
  filter: grayscale(100%) blur(0.5px);
  mask-image: linear-gradient(to top, black 0%, black 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 100%);
  animation: liquidAnimation 3s forwards;
}
.loader:after {
  box-shadow: 0 2px 0 var(--primary) inset;
  animation: rotate 2s linear infinite;
}

@keyframes liquidAnimation {
  0% {
    filter: grayscale(100%) blur(0.3px);
    mask-image: linear-gradient(to top, black 0%, black 100%);
    -webkit-mask-image: linear-gradient(to top, black 0%, black 100%);
    transform: scale(0.99);
  }
  25% {
    filter: grayscale(90%) blur(0.3px);
    mask-image: linear-gradient(to top, black 20%, white 800%);
    -webkit-mask-image: linear-gradient(to top, black 20%, white 80%);
    transform: scale(0.99);
  }
  50% {
    filter: grayscale(80%) blur(0.2px);
    mask-image: linear-gradient(to top, black 50%, white 50%);
    -webkit-mask-image: linear-gradient(to top, black 50%, white 50%);
    transform: scale(1);
  }
  75% {
    filter: grayscale(50%) blur(0.2px);
    mask-image: linear-gradient(to top, black 75%, white 75%);
    -webkit-mask-image: linear-gradient(to top, black 75%, white 75%);
    transform: scale(1);
  }
  100% {
    filter: grayscale(0%) blur(0px);
    mask-image: linear-gradient(to top, black 0%, white 100%);
    -webkit-mask-image: linear-gradient(to top, black 0%, white 100%);
    transform: scale(1);
  }
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* copyright */

/* back to top */
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
  height: 35px;
  width: 35px;
  background: var(--primary);
  color: white;
  border-radius: 5px;
}

/* team page */

.team-sections {
  display: grid;
  grid-template-columns: 1fr 5fr;
  position: relative;
  margin-block: 2rem;
  padding-inline: 5%;
  gap: 2%;
}
.team-sections .sidebar {
  top: 100px;
  position: sticky;
  width: max-content;
  height: max-content;
  background: white;
  border-radius: 0.7rem;
  padding: 0.6rem;
  box-shadow: 0 0 5px lightgray;
}
.team-sections .content {
  height: 100%;
  padding-inline: 1rem;
}
.team-sections .nav-item {
  background-color: white;
}
.team-sections .sidebar .nav-tabs {
  background-color: white;
  display: flex;
  flex-direction: column;
}
.teams-cards {
  width: 100%;
  display: grid;
  column-gap: 2rem;
  row-gap: 1rem;
  place-items: center;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.team-sections .show {
  height: max-content;
}
.team-card {
  position: relative;
  height: max-content;
  width: 100%;
  box-shadow: 0 0px 2px rgba(166, 167, 172, 0.27);
  border-radius: 0.5rem;
  margin: 5px;
  overflow: hidden;
  padding: 0;
  height: 250px;
}
.team-card > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.team-profile {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: max-content;
  z-index: 3;
  border-radius: 10px;
  text-align: left;
  padding: 0.5rem 0.2rem 0.4rem;
}
.team-profile .team-content {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
  text-align: left;
  padding: 0.3rem 0.5rem 1px;
}
.team-profile .team-content h6 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 3px;
}
.team-profile .team-content p {
  margin-block: 5px;
}
.team-sections .sidebar .nav-link {
  border: none;
  background-color: white;
  margin-block: 5px;
  font-size: 15px;
  padding-block: 0.5rem;
  text-align: left;
}
.team-sections .tab-content > .active {
  display: grid;
}
.team-about-card {
  padding-inline: 9%;
}
.team-about-card-row {
  margin-top: 5rem;
  padding-block: 1rem;
  background-color: white;
  height: max-content;
  border-radius: 1rem;
}
.team-about-card-content {
  padding: 0.5rem;
}

#carouselExampleDark {
  margin-bottom: 10;
  padding-bottom: 10;
}

#about {
  margin-top: 10 !important;
  padding-top: 30 !important;
}


#carouselExampleDark img {
  max-height: 100vh;
  object-fit: cover;
  display: block;
}


@media (max-width: 768px) {
  #carouselExampleDark {
    height: auto !important;
  }

  #carouselExampleDark img {
    height: auto;
  }

  #about {
    padding-top: 20px !important;
  }
}

/* responsive css */

@media (max-width: 577px) {
  .offcanvas-body {
    padding-top: 25%;
  }
  .navbar .nav-link {
    font-size: 11px;
    padding-block: 20px;
  }
  .hero-carousel .list .item .content {
    top: 20%;
    left: 50%;
    padding-right: 3%;
  }
  .hero-carousel .list .item .content h1 {
    font-size: 2.3rem;
  }
  .hero-carousel .list .item .content p {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0;
  }

  .nav-tabs .nav-link {
    margin-inline: 1px;
    padding-inline: 12px;
    font-size: 13px;
  }
  .team-section {
    padding-inline: 0;
  }
  .team-categories {
    gap: 15px;
  }
  .team-categories-list {
    width: 120px;
  }
  .footer-info {
    display: grid;
    margin-inline: 20px;
    grid-template-columns: 1fr;
  }
  .footer-info .footer-hero {
    border: none;
  }

  /* team page */

  .team-sections {
    grid-template-columns: 1fr;
    row-gap: 1rem;
    padding-inline: 3%;
  }
  .team-sections .sidebar {
    top: 90px;
    width: 100%;
    z-index: 2;
  }
  .team-sections .sidebar .nav-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 0;
  }
  .team-sections .sidebar .nav-link {
    margin-block: 5px;
    font-size: 13px;
    padding-block: 0.5rem;
    text-align: center;
  }
  .team-about-card {
    padding-inline: 5%;
  }
  .team-about-card-row {
    margin-top: 3rem;
  }
  .team-about-card-content {
    padding: 1rem 1.3rem 0;
  }

  /* team page */
}

@media (min-width: 578px) and (max-width: 767px) {
  .navbar .nav-link {
    font-size: 11px;
  }
  .project-section {
    padding-inline: 5%;
  }
  .project-cards {
    gap: 30px;
  }
  .company-overview {
    padding-inline: 6%;
    gap: 10px;
  }
  .team-section {
    padding-inline: 2%;
  }
  .team-categories-list {
    width: 130px;
  }
  .footer-info {
    margin-inline: 20px;
    grid-template-columns: 1fr;
  }
  .footer-info .footer-hero {
    padding-inline: 5%;
    padding-bottom: 2%;
    border: none;
  }

  /* team page */

  .team-sections {
    grid-template-columns: 1fr;
    row-gap: 1rem;
    padding-inline: 3%;
  }
  .team-sections .sidebar {
    top: 90px;
    width: 100%;
    z-index: 2;
  }
  .team-sections .sidebar .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 0;
  }
  .team-sections .sidebar .nav-link {
    margin-block: 5px;
    font-size: 13px;
    padding-block: 0.5rem;
    text-align: left;
  }
  .team-about-card {
    padding-inline: 5%;
  }
  .team-about-card-row {
    margin-top: 3rem;
  }
  /* team page */
}

@media (min-width: 768px) and (max-width: 992px) {
  .navbar .nav-link {
    font-size: 13px;
  }

  .founder-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px;
    margin: auto;
  }

  .founder-slider-row {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
  }

  .founder-card {
    flex: 0 0 100%;
    display: flex;
    padding-inline: 0;
    gap: 5%;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
  }
  .founder-card h3 {
    font-size: 2rem;
    font-weight: 700;
  }
  .founder-card p {
    font-weight: 400;
  }
  .founder-card h5 {
    color: coral !important;
    padding-top: 0.6rem;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  .founder-img {
    height: 100%;
  }

  .founder-img img {
    border-radius: 10px;
    width: 320px; /* Adjust size as needed */
    height: 95%; /* Maintain aspect ratio */
    object-fit: cover;
    user-select: none;
  }

  .slider-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 3;
  }
  .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffff;
    margin: 0 5px;
    cursor: pointer;
  }
  .indicator.active {
    background: coral;
  }

  .project-section {
    padding-inline: 3%;
  }
  .project-cards {
    gap: 15px;
  }
  .equipment-section {
    padding-inline: 3%;
  }
  .equipments-cards {
    gap: 10px;
  }
  .team-section {
    padding-inline: 3%;
  }
  .team-categories {
    gap: 20px;
  }
  .team-categories-list {
    flex: 1 0 100px;
  }
  .teams-cards {
    gap: 10px;
  }
  .career-section {
    padding-inline: 5%;
  }

  .main-team-section {
    padding-inline: 3% 0;
    gap: 2%;
  }
  .main-team-section .text-content {
    width: 43%;
  }
  .main-team-section .team-img-container {
    width: 57%;
  }
  .main-team {
    margin-block: 12% 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .main-team-card {
    height: 230px;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
  }
  .main-team-card:nth-child(2) {
    margin-top: -50px;
  }
  .main-team-card:nth-child(5) {
    margin-top: -50px;
  }
  .main-team-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .footer-info .footer-hero {
    padding-right: 10px;
  }
  .footer-info {
    margin-inline: 20px 0;
    gap: 3px;
  }

  /* team page */

  .teams-cards {
    column-gap: 0.8rem;
  }
  .team-sections .sidebar .nav-link {
    margin-block: 3px;
    font-size: 13px;
    padding-block: 0.5rem;
  }
  .team-about-card {
    padding-inline: 5%;
  }
  .team-about-card-row {
    margin-top: 3rem;
  }
  /* team page */
}







@media (min-width: 993px) and (max-width: 1100px) {


}






/*Meet our experts*/
.experts-section {

      padding: 20px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .section-title {
      font-size: 2.5rem;
      margin-bottom: 60px;
      /* color: #0d6efd; */
      position: absolute;
      left: 50%;
      top: 20%;
      transform: translate(-50%, -50%);
      z-index: 4;
    }
    
    /* Team members container */
    .team-container {
      position: relative;
      height: 500px;
      margin: 0 auto;
      max-width: 800px;
    }
    
    .team-member {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      overflow: visible;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.5);
      opacity: 0;
      transition: all 1s ease-in-out;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      border: 4px solid white;
      z-index: 1;
      cursor: pointer;
    }
    
    .team-member:nth-child(1) {
      opacity: 1;
      z-index: 3;
    }
    
    .team-member img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      transition: transform 0.3s ease;
    }
    .team-member:nth-child(1):hover {
      transform: translate(-50%, 80%) scale(1) !important;
      z-index: 10 !important;
    }
    .team-member:nth-child(2):hover {
      transform: translate( 400%, -100%) scale(1) !important;
      z-index: 10 !important;
    }
    .team-member:nth-child(3):hover {
      transform: translate( -570%, -120%) scale(1) !important;
      z-index: 10 !important;
    }
    .team-member:nth-child(4):hover {
      transform: translate(-570%,120%) scale(1) !important;
      z-index: 10 !important;
    }
    .team-member:nth-child(5):hover {
      transform: translate(470%, 100%) scale(1) !important;
      z-index: 10 !important;
    }
    .team-member:nth-child(6):hover {
      transform: translate(-330%, -50%) scale(1) !important;
      z-index: 10 !important;
    }
    .team-member:nth-child(7):hover {
      transform: translate(180%, -50%) scale(1) !important;
      z-index: 10 !important;
    }
    .team-member:hover {
      transform: translate(-70%, -50%) scale(1) !important;
      z-index: 10 !important;
    }
    
    .member-info {
      position: absolute;
      width: 220px;
      left: 100%;
      top: 50%;
      transform: translateY(-50%);
      margin-left: 30px;
      text-align: left;
      opacity: 0;
      transition: opacity 0.3s ease 0.1s;
      pointer-events: none;
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 5px 25px rgba(0,0,0,0.15);
      border-left: 4px solid var(--dark);
    }
    
    .team-member:hover .member-info {
      opacity: 1;
    }
    
    .member-info h5 {
      margin-bottom: 5px;
      color: #0d6efd;
      font-size: 1.2rem;
    }
    
    .member-info p.position {
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 10px;
      font-weight: 500;
    }
    
    .member-info .quote {
      font-style: italic;
      color: #555;
      position: relative;
      padding-left: 20px;
      font-size: 0.95rem;
      line-height: 1.5;
    }
    
    .member-info .quote::before {
      content: '"';
      position: absolute;
      left: 5px;
      top: -2px;
      font-size: 1.5rem;
      color: #0d6efd;
      opacity: 0.3;
    }

.animate-in .team-member:nth-child(1) {
  transform: translate(-50%, 80%) scale(1.2);
  opacity: 1;
  z-index: 1; /* Changed from 5 to 1 to move it behind */
}

.animate-in .team-member:nth-child(2) {
  transform: translate(500%, -100%) scale(1); 
  opacity: 1;
}

.animate-in .team-member:nth-child(3) {
  transform: translate(-550%, -120%) scale(1);
  opacity: 1;
  z-index: 3;
}

.animate-in .team-member:nth-child(4) {
  transform: translate(-550%,120%) scale(1); 
  opacity: 1;
}

.animate-in .team-member:nth-child(5) {
  transform: translate(500%, 100%) scale(1); /* Bottom Right */
  opacity: 1;
}
.animate-in .team-member:nth-child(6) {
  transform: translate(-300%, -50%) scale(1);
  opacity: 1;
}
.animate-in .team-member:nth-child(7) {
  transform: translate(200%, -50%) scale(1);
  opacity: 1;
}



@media (max-width: 768px) {
      .team-container {
        height: 400px;
      }
 
      .team-member {
        width: 80px;
        height: 80px;
      }
      .animate-in .team-member:nth-child(1) {
        transform: translate(-50%, 100%) scale(1.2);
      }
      .animate-in .team-member:nth-child(2) {
        transform: translate(100%, -200%) scale(1);
      }
      .animate-in .team-member:nth-child(3) {
        transform: translate(-180%, -200%) scale(1);
      }
      .animate-in .team-member:nth-child(4) {
        transform: translate(-180%, 100%) scale(1);
      }
      .animate-in .team-member:nth-child(5) {
        transform: translate(100%, 100%) scale(1);
      }
      .animate-in .team-member:nth-child(6) {
        transform: translate(-200%, -40%) scale(1);
      }
      .animate-in .team-member:nth-child(7) {
        transform: translate(100%, -40%) scale(1);
      }
      .team-member:nth-child(1):hover {
        transform: translate(-50%, 100%) scale(1) !important;
        z-index: 10 !important;
      }
      .team-member:nth-child(2):hover {
        transform: translate( -50%, -200%) scale(1) !important;
        z-index: 10 !important;
      }
      .team-member:nth-child(3):hover {
        transform: translate( -180%, -200%) scale(1) !important;
        z-index: 10 !important;
      }
      .team-member:nth-child(4):hover {
        transform: translate(-180%,100%) scale(1) !important;
        z-index: 10 !important;
      }
      .team-member:nth-child(5):hover {
        transform: translate(-50%, 100%) scale(1) !important;
        z-index: 10 !important;
      }
      .team-member:nth-child(6):hover {
        transform: translate(-200%, -40%) scale(1) !important;
        z-index: 10 !important;
      }
      .team-member:nth-child(7):hover {
        transform: translate(100%, -40%) scale(1) !important;
        z-index: 10 !important;
      }
    }


/* Make section title responsive */
.section-title.heading {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
}

/* Default team member size (auto-scale based on screen) */
.team-member {
  width: clamp(60px, 8vw, 100px);
  height: clamp(60px, 8vw, 100px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .team-container {
    height: 450px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( 170%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(5):hover {
    transform: translate( 150%, 100%) scale(1) !important;
    z-index: 10 !important;
  }
}

@media (max-width: 861px) {
  .team-container {
    height: 450px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( 220%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(5):hover {
    transform: translate( 150%, 100%) scale(1) !important;
    z-index: 10 !important;
  }
}

@media (max-width: 860px) {
  .team-container {
    height: 450px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( 150%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(5):hover {
    transform: translate( 150%, 100%) scale(1) !important;
    z-index: 10 !important;
  }
}


@media (max-width: 768px) {
  .team-container {
    height: 500px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( 5%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(5):hover {
    transform: translate( 80%, 100%) scale(1) !important;
    z-index: 10 !important;
  }
}


@media (max-width: 740px) {
  .team-container {
    height: 500px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( 5%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(7):hover {
    transform: translate( 80%, -50%) scale(1) !important;
    z-index: 10 !important;
  }
}



@media (max-width: 710px) {
  .team-container {
    height: 500px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( -50%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(5):hover {
    transform: translate( 50%, 100%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(7):hover {
    transform: translate( 10%, -50%) scale(1) !important;
    z-index: 10 !important;
  }
}

@media (max-width: 576px) {
  .team-container {
    height: 500px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( -50%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(5):hover {
    transform: translate(-50%, -50%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(7):hover {
    transform: translate( -50%, -50%) scale(1) !important;
    z-index: 10 !important;
  }
}


@media (max-width: 480px) {
  .team-container {
    height: 350px;
  }

  .member-info {
    width: 180px;
    padding: 15px;
    font-size: 0.85rem;
    margin-left: 20px;
  }

  .member-info .quote {
    font-size: 0.85rem;
    padding-left: 16px;
  }
}

@media (max-width: 433px) {
  .team-container {
    height: 500px;
  }
  .team-member:nth-child(1):hover {
    transform: translate( -120%, 100%) scale(1) !important;
    z-index: 10 !important;
  }

}
@media (max-width: 390px) {
  .team-container {
    height: 500px;
  }
  .team-member:nth-child(2):hover {
    transform: translate( -100%, -150%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(7):hover {
    transform: translate( -90%, -50%) scale(1) !important;
    z-index: 10 !important;
  }
  .team-member:nth-child(5):hover {
    transform: translate(-100%, -50%) scale(1) !important;
    z-index: 10 !important;
  }
      .team-member {
        width: 50px;
        height: 50px;
      }
      .member-info{
        width: fit-content;
      }
}



.carousel-caption.responsive-caption {
  position: absolute;
  top: 50%; /* Center the box vertically */
  left: 50%; /* Center the box horizontally */
  transform: translate(-50%, -1%);
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;  
  text-align: left;          
  color: white;
  width: 90%;
  max-width: 90%;
  padding: 10px 15px;
  /* background: rgba(0, 0, 0, 0.4);  */
  border-radius: 8px;
}



.carousel-caption.responsive-caption h1 {
  font-size: 2rem;
  text-align: left;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  word-wrap: break-word;
}

.carousel-caption.responsive-caption p {
  font-size: 1.2rem;
  font-weight: 400;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
  font-style: italic;

}

.carouselimg img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
}


/* Smaller screen fix */
@media (max-width: 768px) {
  .carousel-caption.responsive-caption {
    padding: 8px;
    width: 95%;
  }
  
  .carousel-caption.responsive-caption h1 {
    font-size: 1.2rem;
  }

  .carousel-caption.responsive-caption p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .carousel-caption.responsive-caption {
    padding: 0 15px;
  }

  .carousel-caption.responsive-caption h1 {
    font-size: 1rem;
    
  }

  .carousel-caption.responsive-caption p {
    font-size: 0.7rem;
   
  }
}

@media (max-width: 320px) {
  
  .carousel-caption.responsive-caption h1 {
    font-size: 0.8rem;
  }

  .carousel-caption.responsive-caption p {
    font-size: 0.6rem;
  }
}





f4f4f4
/* contact form design */

.contact-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
    color: var(--dark);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h2 {
    font-size: clamp(24px, 3vw, 36px);
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.contact-info p {
    font-size: var(--text-font-size);
    line-height: 1.6;
    color: var(--dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    font-size: var(--text-font-size);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--secondary);
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
    font-size: var(--text-font-size);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: var(--text-font-size);
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(80, 149, 167, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    width: 100%;
}

.submit-btn:hover {
    background-color: rgb(25, 43, 69);
    transform: translateY(-2px);
}

/* Floating label effect */
.floating-label-group {
    position: relative;
    margin-bottom: 20px;
}

.floating-label {
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 12px;
    transition: var(--transition);
    color: #777;
    font-size: var(--text-font-size);
    background-color: white;
    padding: 0 5px;
}

.form-control:focus ~ .floating-label,
.form-control:not(:placeholder-shown) ~ .floating-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--secondary);
    background-color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px;
    }
}
@media (max-width: 1000px) {
    .project-card{
      width: auto;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 1040px) {
  .project-card{
      width: auto;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 1088px) {
  .project-card{
      width: auto;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 900px) {
    .project-card{

      margin-left: 70px;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 823px) {
    .project-card{
      margin-left: 50px;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 768px) {
    .project-card{
       width: auto;
      margin-left: 13%;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 723px) {
    .project-card{
      width: auto;
      margin-left: 13%;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 670px) {
    .project-card{
      width: auto;
      margin-left: 11%;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 622px) {
    .project-card{
      width: auto;
      margin-left: 10%;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 518px) {
    .project-card{
      width: auto;
      
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 415px) {
    .project-card{
      margin-left: 10px;
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 400px) {
    .project-card{
      width:auto;
      
      justify-content: center;
      align-items: center;
    }
}
@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }
    .project-card{
      width: auto;
      margin-left: 11%;
      justify-content: center;
      align-items: center;
    }
    .submit-btn {
        padding: 10px 20px;
    }
}

@media (max-width: 330px) {
    .project-card{
      width:auto;
      margin-left: 9%;
      justify-content: center;
      align-items: center;
    }
}
@media (min-width: 996px) and (max-width: 1090px) {
  #about{
    margin-top: -10px;
  }
}
@media (min-width: 769px) and (max-width: 995px) {
  #about{
    margin-top: -20px;
  }
}
@media (max-width: 758px) {
    #about{
      margin-top: 50px;
    }
}
@media (min-width: 769px) and (max-width: 1235px) {
  .contact-container {
        
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px;
    }
}


.owl-carousel .owl-stage {
  display: flex;
  justify-content: center;
}

.owl-prev,
.owl-next {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* or add color if you want */
  border-radius: 50%;
  font-size: 32px;
}

.owl-prev:hover,
.owl-next:hover {
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
