:root {
        --primary-color: #2ecc71;
        --secondary-color: #3498db;
        --dark-color: #2c3e50;
        --light-color: #ecf0f1;
        --accent-color: #e74c3c;
        --text-color: #333;
        --text-light: #7f8c8d;
        --white: #fff;
        --black: #000;
        --transition: all 0.3s ease;
        --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        overflow-x: hidden;
        scroll-behavior: smooth;
      }


      body {
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        -webkit-overflow-scrolling: touch;
        color: var(--text-color);
        overflow-x: hidden;
        background-color: var(--white);
        width: 100%;
      }

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1rem;
      }

      p {
        margin-bottom: 1rem;
      }

      a {
        text-decoration: none;
        color: inherit;
        transition: var(--transition);
      }

      ul {
        list-style: none;
      }

      img {
        max-width: 100%;
        height: auto;
      }

      .container-xxl {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 1.5rem;
      }

      /* Header Styles */
      .navbar {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.7); /* semi-transparent white */
        backdrop-filter: blur(10px); /* optional glass effect */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   
        z-index: 1000;
      }

      .navbar img {
        height: 2rem;
      }

      .nav-link {
        font-weight: 500;
        color: var(--text-color);
        padding: 0.5rem 1rem;
        position: relative;
      }

      .nav-link:hover {
        color: var(--primary-color);
      }

      .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: var(--transition);
      }

      .nav-link:hover::after {
        width: 70%;
      }

      .nav-add-on {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
      }

      .nav-add-on img {
        height: 1rem;
        filter: brightness(0) saturate(100%) invert(56%) sepia(65%)
          saturate(427%) hue-rotate(98deg) brightness(93%) contrast(86%);
      }

      .navbar-toggler {
        border: none;
        outline: none;
        box-shadow: none;
        padding: 0.25rem;
      }

      .navbar-toggler-icon {
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        background-image: var(--bs-navbar-toggler-icon-bg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
      }

      .offcanvas {
        background-color: var(--white);
        height: 100vh !important;
      }

      .offcanvas-header {
        padding: 1rem;
      }

      .offcanvas-body {
        padding: 2rem;
        overflow-y: auto;
      }

      .navbar-nav .nav-link {
        cursor: pointer;
      }

      .hero-section {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 1rem;
        color: var(--white);
        overflow: hidden;
      }

      /* Desktop video styling (unchanged) */
      .hero-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
      }

      /* Mobile-specific adjustments */
      @media (max-width: 768px) {
        .hero-video-bg {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        .hero-section {
          min-height: 20px;
          min-width: 20px;
          margin-top: 120px;
        }
        .navbar {
          position: fixed;
        }

        /* If video is still getting cropped, try this alternative approach */
        /* Uncomment if needed:
  .hero-video-bg {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  */

        /* For very tall screens (some mobile devices) */
        @media (max-aspect-ratio: 9/16) {
          .hero-video-bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
          .hero-section {
            min-height: 20px;
            min-width: 20px;
            margin-top: 120px;
          }
          .navbar {
            position: fixed;
          }
        }

        /* For very wide screens (tablets in landscape) */
        @media (min-aspect-ratio: 16/9) {
          .hero-video-bg {
            width: 100%;
            height: auto;
          }
        }
      }

      .hero-video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
      }

      /* Why Us Section */
      .section {
        padding: 5rem 0;
        position: relative;
      }

      /* .section-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        margin-bottom: 2rem;
        position: relative;
        display: inline-block;
      }

      .section-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 4px;
        background: linear-gradient(
          90deg,
          var(--secondary-color),
          var(--primary-color)
        );
        border-radius: 2px;
      } */
      /* .section-title1 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        margin-bottom: 2rem;
        position: relative;
        display: inline-block;
      }

      .section-title1::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 4px;
        background: linear-gradient(
          90deg,
          var(--secondary-color),
          var(--primary-color)
        );
        border-radius: 2px;
      } */

      .hover-card {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        cursor: pointer;
        height: 100%;
      }

      .hover-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
      }

      .hover-img {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-position: center;
        transition: var(--transition);
      }

      .hover-card:hover .hover-img {
        transform: scale(1.1);
      }

      .hover-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.5rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        color: var(--white);
        opacity: 0;
        transform: translateY(20px);
        transition: var(--transition);
      }

      .hover-card:hover .hover-content {
        opacity: 1;
        transform: translateY(0);
      }

      /* Services Section Enhancements */
      .services-section {
        position: relative;
        overflow: hidden;
        background: linear-gradient(to right, #f8fbff, #e8f0ff);
        padding: 5rem 0;
        z-index: 1;
      }

      .services-section::before,
      .services-section::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(
          circle,
          rgba(13, 110, 253, 0.15),
          transparent 70%
        );
        animation: float 20s linear infinite;
        z-index: 0;
      }

      .services-section::before {
        width: 400px;
        height: 400px;
        top: -100px;
        left: -150px;
      }

      .services-section::after {
        width: 300px;
        height: 300px;
        bottom: -100px;
        right: -120px;
      }

      @keyframes float {
        0% {
          transform: translateY(0) rotate(0deg);
        }
        50% {
          transform: translateY(20px) rotate(180deg);
        }
        100% {
          transform: translateY(0) rotate(360deg);
        }
      }

      .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        position: relative;
        z-index: 2;
      }

      .service-card {
        background-color: rgba(255, 255, 255, 0.85);
        border-radius: 15px;
        backdrop-filter: blur(6px);
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease-in-out;
      }

      .service-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
      }

      .service-img {
        height: 200px;
        background-size: cover;
        background-position: center;
        filter: brightness(0.95);
      }

      .service-content {
        padding: 1.5rem;
        text-align: center;
      }

      .service-title {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #0d6efd;
      }

      .service-content p {
        font-size: 0.95rem;
        color: #444;
      }

      /* Optional subtle floating icons */
      .floating-icon {
        position: absolute;
        width: 80px;
        opacity: 0.05;
        animation: iconFloat 12s infinite ease-in-out;
        z-index: 0;
      }

      .floating-icon.icon1 {
        top: 10%;
        left: 5%;
      }

      .floating-icon.icon2 {
        bottom: 15%;
        right: 8%;
      }

      @keyframes iconFloat {
        0% {
          transform: translateY(0) rotate(0deg);
        }
        50% {
          transform: translateY(-15px) rotate(180deg);
        }
        100% {
          transform: translateY(0) rotate(360deg);
        }
      }
      .service-img {
        height: 200px;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
      }

      /* Overlay gradient sweep */
      .service-img::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          120deg,
          rgba(255, 255, 255, 0.2) 0%,
          transparent 100%
        );
        transform: skewX(-25deg);
        animation: shine 4s infinite;
        z-index: 2;
      }

      @keyframes shine {
        0% {
          left: -100%;
        }
        60% {
          left: 100%;
        }
        100% {
          left: 100%;
        }
      }

      /* Floating decorative icon inside image */
      .floating-svg-icon {
        position: absolute;
        width: 40px;
        height: 40px;
        opacity: 0.1;
        animation: floatIcon 6s ease-in-out infinite;
        z-index: 1;
      }

      @keyframes floatIcon {
        0% {
          transform: translateY(0) rotate(0);
        }
        50% {
          transform: translateY(-10px) rotate(20deg);
        }
        100% {
          transform: translateY(0) rotate(0);
        }
      }
      .service-card {
        background-color: var(--white);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        position: relative;
      }

      .service-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
      }

      /* Image container */
      .service-img {
        height: 200px;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
        transition: transform 0.4s ease;
      }

      /* Image zoom on hover */
      .service-card:hover .service-img {
        transform: scale(1.1);
      }

      /* Shimmer gradient sweep effect */
      .service-img::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          120deg,
          rgba(255, 255, 255, 0.2),
          transparent
        );
        transform: skewX(-25deg);
        animation: shimmer 4s infinite;
        z-index: 2;
      }

      @keyframes shimmer {
        0% {
          left: -100%;
        }
        60% {
          left: 100%;
        }
        100% {
          left: 100%;
        }
      }

      /* Floating icon */
      .floating-icon {
        position: absolute;
        width: 40px;
        height: 40px;
        opacity: 0.12;
        z-index: 1;
        animation: float 5s ease-in-out infinite;
      }

      @keyframes float {
        0% {
          transform: translateY(0) rotate(0deg);
        }
        50% {
          transform: translateY(-8px) rotate(10deg);
        }
        100% {
          transform: translateY(0) rotate(0deg);
        }
      }

      /* Hover overlay text */
      .service-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 1rem;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 3;
      }

      .service-card:hover .service-overlay {
        opacity: 1;
      }

      /* Meet Our Experts Section */
      /* .experts-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.expert-intro {
  width: 100%;
  max-width: 600px;
  line-height: 28px;
  font-size: 16px;
  text-align: left;
  margin-top: 20px;
}

.section-title1 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0d6efd;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
} */

      /* Team members container */
      /* .team-container {
  position: relative;
  height: 400px;
  margin: 0 auto;
  max-width: 800px;
}

.team-member {
  width: 80px;
  height: 80px;
  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;
} */

      /* Desktop hover positions */
      /* .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(460%, -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:nth-child(8):hover {
  transform: translate(180%, -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 #0d6efd;
}

.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;
}

.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);
  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;
} */
      /* .animate-in .team-member:nth-child(8) {
  transform: translate(750%, -80%) scale(1);
  opacity: 1;
} */

      /* .floating-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.floating-background .bubble {
  position: absolute;
  bottom: -150px;
  width: 40px;
  height: 40px;
  background-color: rgba(13, 110, 253, 0.2);
  border-radius: 50%;
  animation: rise 20s infinite ease-in;
  opacity: 0.5;
}

.floating-background .bubble:nth-child(2) {
  left: 20%;
  width: 25px;
  height: 25px;
  animation-duration: 18s;
  animation-delay: 2s;
}

.floating-background .bubble:nth-child(3) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-duration: 22s;
  animation-delay: 4s;
}

.floating-background .bubble:nth-child(4) {
  left: 60%;
  width: 35px;
  height: 35px;
  animation-duration: 19s;
  animation-delay: 1s;
}

.floating-background .bubble:nth-child(5) {
  left: 80%;
  width: 20px;
  height: 20px;
  animation-duration: 25s;
  animation-delay: 3s;
}

.floating-background .bubble:nth-child(6) {
  left: 30%;
  width: 15px;
  height: 15px;
  animation-duration: 23s;
  animation-delay: 6s;
}

.floating-background .bubble:nth-child(7) {
  left: 70%;
  width: 50px;
  height: 50px;
  animation-duration: 26s;
  animation-delay: 5s;
}

.floating-background .bubble:nth-child(8) {
  left: 10%;
  width: 30px;
  height: 30px;
  animation-duration: 21s;
  animation-delay: 7s;
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-1200px) scale(1.2);
    opacity: 0;
  }
} */

      /* Meet Our Experts Section */

      .experts-section {
        padding: 80px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
      }

      .experts-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(
            circle at 25% 25%,
            rgba(46, 204, 113, 0.1) 0%,
            transparent 40%
          ),
          radial-gradient(
            circle at 75% 75%,
            rgba(52, 152, 219, 0.1) 0%,
            transparent 40%
          );
        z-index: 0;
      }

      .experts-content {
        position: relative;
        z-index: 2;
      }

      .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
        color: #0d6efd;
        position: relative;
        display: inline-block;
      }

      .section-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 4px;
        background: linear-gradient(
          90deg,
          var(--secondary-color),
          var(--primary-color)
        );
        border-radius: 2px;
      }

      /* 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(460%, -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:nth-child(8):hover {
        transform: translate(180%, 50%) scale(1) !important;
        z-index: 10 !important;
      }
      .team-member:nth-child(8):hover {
        transform: translate(180%, 50%) scale(1) !important;
        z-index: 10 !important;
      }

      .team-member:nth-child(9):hover {
        transform: translate(-180%, 50%) scale(1) !important;
        z-index: 10 !important;
      }

      .team-member:nth-child(8) {
        /* margin-bottom: 30px; */
        margin-bottom: 550px;
        margin-left: -80px;
      }

      .team-member:nth-child(7) {
        /* margin-bottom: 30px; */
        margin-bottom: 550px;
        margin-right: 85px;
      }

      .member-info {
        position: absolute;
        width: 520px;
        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 #0d6efd;
      }

      .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;
      }

      .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);
        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;
      }
      .animate-in .team-member:nth-child(8) {
        transform: translate(200%, 50%) scale(1);
        opacity: 1;
      }
      .animate-in .team-member:nth-child(9) {
        transform: translate(-200%, 50%) scale(1);
        opacity: 1;
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        .team-container {
          height: 400px;
        }
        .section-title {
          display: none;
        }
        .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;
        }

        /* .team-member:nth-child(3){
    margin-top: 30px;
    margin-left: 30px;
  }
  .team-member:nth-child(1){
    margin-top: 70px;
    margin-left: 0px;
  }
  .team-member:nth-child(2){
    margin-top: 20px;
    margin-left: -50px;
  }
  .team-member:nth-child(7){
    margin-bottom: -20px;
    margin-left: 0px;
  } */
        

        /* Position all circle */
        .team-member:nth-child(1) {
          transform: translate(-50%, -50%) translate(0, 120px) scale(1);
        }
        .team-member:nth-child(2) {
          transform: translate(-50%, -50%) translate(85px, 85px) scale(1);
        }
        .team-member:nth-child(3) {
          transform: translate(-50%, -50%) translate(120px, 0) scale(1);
        }
        .team-member:nth-child(4) {
          transform: translate(-50%, -50%) translate(85px, -85px) scale(1);
        }
        .team-member:nth-child(5) {
          transform: translate(-50%, -50%) translate(0, -120px) scale(1);
        }
        .team-member:nth-child(6) {
          transform: translate(-50%, -50%) translate(-85px, -85px) scale(1);
        }
        .team-member:nth-child(7) {
          transform: translate(-50%, -50%) translate(-120px, 0) scale(1);
        }
        .team-member:nth-child(8) {
          transform: translate(-50%, -50%) translate(-85px, 85px) scale(1);
        }
        .team-member:nth-child(9) {
          transform: translate(-50%, -50%) scale(1);
        }

        .team-container.active .team-member {
          transform: translate(-50%, -50%) scale(0.7) !important;
          opacity: 0.5;
          filter: grayscale(50%);
        }

        .team-container.active .team-member.active {
          transform: translate(-50%, -50%) scale(1.3) !important;
          opacity: 1;
          filter: grayscale(0%);
          z-index: 10;
          box-shadow: 0 0 0 3px #0d6efd;
        }

        .member-info {
          display: none !important;
        }
      }

      /* Tech Stack Section */
      .tech-section {
        padding: 3rem 0;
        background-color: #f9f9f9;
      }

      .scrolling-wrapper {
        overflow: hidden;
        position: relative;
        margin: 1.5rem 0;
      }

      .scroll-row {
        display: flex;
        white-space: nowrap;
        margin: 0.5rem 0;
      }

      .scroll-content {
        display: flex;
        animation: scroll 30s linear infinite;
      }

      .scroll-right .scroll-content {
        animation-direction: normal;
      }

      .scroll-left .scroll-content {
        animation-direction: reverse;
      }
      @media (max-width: 1150px) {
        .scroll-row .scroll-content:nth-child(2) {
            display: none;
        }
      }

      .scroll-content img {
        height: 50px;
        padding: 5px 0;
        margin: 10px;
        opacity: 0.7;
        transition: all 0.3s ease;
      }

      .scroll-content img:hover {
        filter: grayscale(0);
        opacity: 1;
        transform: scale(1.1);
      }

      @keyframes scroll {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-100%);
        }
      }

      .testimonial-section {
        padding: 5rem 0;
        position: relative;
        background-color: #f9faff;
        overflow: hidden;
      }
      .testimonial-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(
            circle at 10% 20%,
            rgba(52, 152, 219, 0.08) 0%,
            transparent 30%
          ),
          radial-gradient(
            circle at 90% 80%,
            rgba(46, 204, 113, 0.08) 0%,
            transparent 30%
          );
        z-index: 0;
      }

      .testimonial-content {
        position: relative;
        z-index: 2;
      }

      .testimonial-carousel-container {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        padding: 0 15px;
      }

      .testimonial-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 2rem;
        gap: 2rem;
        padding-bottom: 1rem;
      }

      .testimonial-carousel::-webkit-scrollbar {
        display: none;
      }

      .testimonial-card {
        flex: 0 0 calc(33.333% - 1.5rem);
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        background: white;
        border-radius: 15px;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
      }

      .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      }

      .testimonial-rating {
        color: #f1c40f;
        font-size: 1.2rem;
        margin-bottom: 1rem;
      }

      .testimonial-content {
        position: relative;
        margin-bottom: 2rem;
        flex-grow: 1;  
      }


      .quote-icon {
        position: absolute;
        top: -15px;
        left: -10px;
        font-size: 4rem;
        color: rgba(46, 204, 113, 0.1);
        font-family: Georgia, serif;
        line-height: 1;
        z-index: 0;
      }

      .testimonial-text {
        position: relative;
        font-style: italic;
        color: #555;
        line-height: 1.6;
        z-index: 1;
      }

      .testimonial-author {
        display: flex;
        align-items: center;
        margin-top: auto;
      }

      .author-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;           
        margin-right: 1rem;
        border: 3px solid rgba(46, 204, 113, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;            
      }

      .author-avatar img {
        width: 100%;
        height: 100%;
        object-fit: contain;          
        padding: 6px;               
      }


      .author-info h4 {
        margin-bottom: 0.2rem;
        color: #2c3e50;
        font-size: 1.1rem;
      }

      .author-info p {
        color: #7f8c8d;
        font-size: 0.9rem;
      }

      .carousel-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
      }

      .carousel-prev,
      .carousel-next {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        border: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #2c3e50;
      }

      .carousel-prev:hover,
      .carousel-next:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
      }

      .carousel-dots {
        display: flex;
        gap: 0.5rem;
      }

      .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .carousel-dot.active {
        background: var(--primary-color);
        transform: scale(1.2);
      }

      /* Responsive adjustments */
      @media (max-width: 992px) {
        .testimonial-card {
          flex: 0 0 calc(50% - 1rem);
        }
      }

      @media (max-width: 768px) {
        .testimonial-card {
          flex: 0 0 100%;
        }

        .testimonial-section {
          padding: 3rem 0;
        }

        .testimonial-carousel {
          gap: 1rem;
        }

        .testimonial-card {
          padding: 1.5rem;
        }
      }

      @media (max-width: 576px) {
        .testimonial-author {
          flex-direction: column;
          text-align: center;
        }

        .author-avatar {
          margin-right: 0;
          margin-bottom: 0.5rem;
        }

        .carousel-controls {
          gap: 1rem;
        }
      }

      /* Contact Section */
      .contact-section {
        padding: 5rem 0;
        background-color: #f9f9f9;
        position: relative;
      }

      .contact-content-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
      }

      @media (min-width: 992px) {
        .contact-content-wrapper {
          grid-template-columns: 1fr 1fr;
        }
      }

      .contact-info-container {
        background-color: var(--white);
        border-radius: 10px;
        padding: 2rem;
        box-shadow: var(--shadow);
      }

      .contact-info-card {
        height: 100%;
      }

      .contact-method {
        display: flex;
        align-items: flex-start;
        margin-bottom: 2rem;
      }

      .contact-icon {
        width: 50px;
        height: 50px;
        background-color: rgba(46, 204, 113, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        flex-shrink: 0;
      }

      .contact-icon i {
        color: var(--primary-color);
        font-size: 1.2rem;
      }

      .contact-social {
        margin-top: 3rem;
      }

      .social-icons {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
      }

      .social-icons a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(46, 204, 113, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
      }

      .social-icons a:hover {
        background-color: var(--primary-color);
        color: var(--white);
      }

      .social-icons i {
        color: var(--primary-color);
        font-size: 1.2rem;
      }

      .social-icons a:hover i {
        color: var(--white);
      }

      .contact-form-container {
        background-color: var(--white);
        border-radius: 10px;
        padding: 2rem;
        box-shadow: var(--shadow);
      }

      .contact-form-card h3 {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
        color: var(--dark-color);
      }

      .form-group {
        margin-bottom: 1.5rem;
      }

      .form-group input,
      .form-group textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        transition: var(--transition);
      }

      .form-group input:focus,
      .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
      }

      .form-group textarea {
        min-height: 150px;
        resize: vertical;
      }

      .submit-btn {
        background-color: var(--primary-color);
        color: var(--white);
        border: none;
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 5px;
        transition: var(--transition);
      }

      .submit-btn:hover {
        background-color: var(--dark-color);
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
      }

      #fullWidthMap {
        width: 100%;
        height: 400px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--shadow);
      }

      #fullWidthMap iframe {
        width: 100%;
        height: 100%;
        border: none;
      }
      .contact-bg-wrapper {
        position: relative;
        z-index: 1;
      }

      .contact-section {
        position: relative;
        padding: 5rem 0;
        /* background: url("./assets/backcontact1.jpg") no-repeat center center
          fixed; */
        background-color: #ddd;
        background-size: cover;
        overflow: hidden;
      }

      .contact-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(0px);
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 0;
      }

      .contact-bg-wrapper {
        position: relative;
        z-index: 2;
      }

      /* Company Photos Section */
      .company-photos-section {
        padding: 3rem 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        position: relative;
        overflow: hidden;
      }

      .company-photos-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle at 20% 30%,
            rgba(52, 152, 219, 0.1) 0%,
            transparent 30%
          ),
          radial-gradient(
            circle at 80% 70%,
            rgba(46, 204, 113, 0.1) 0%,
            transparent 30%
          );
        z-index: 0;
      }

      /* .section-header {
        text-align: center;
        margin-bottom: 3rem;
        position: relative;
        z-index: 2;
      } */

      /* .section-main-title {
        font-size: 2.5rem;
        color: #2c3e50;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
      }

      .section-main-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(
          90deg,
          var(--secondary-color),
          var(--primary-color)
        );
        border-radius: 2px;
      }

      .section-subtitle {
        color: #7f8c8d;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        display: inline-block;
        padding: 0 20px;
      }

      .section-subtitle::before,
      .section-subtitle::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 30px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary-color));
      }

      .section-subtitle::before {
        left: -20px;
      }

      .section-subtitle::after {
        right: -20px;
        background: linear-gradient(90deg, var(--primary-color), transparent);
      } */

      .gallery-container {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, 150px);
        gap: 1rem;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 2;
      }

      .gallery-item {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        cursor: pointer;
      }

      .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
      }

      .gallery-item.featured {
        grid-column: span 6;
        grid-row: span 2;
      }

      .gallery-item:not(.featured) {
        grid-column: span 3;
        grid-row: span 1;
      }

      .photo-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
      }

      .photo-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }

      .gallery-item:hover .photo-wrapper img {
        transform: scale(1.05);
      }

      .photo-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1rem;
      }

      .gallery-item:hover .photo-overlay {
        opacity: 1;
      }

      .overlay-content {
        transform: translateY(20px);
        transition: transform 0.3s ease;
      }

      .gallery-item:hover .overlay-content {
        transform: translateY(0);
      }

      .overlay-content h3 {
        color: white;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
      }

      .overlay-content p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
      }

      .view-more {
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 0;
        padding-top: 0.5rem;
      }

      .gallery-btn {
        background: linear-gradient(
          135deg,
          var(--primary-color),
          var(--secondary-color)
        );
        color: white;
        border: none;
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
      }

      .gallery-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
      }

      .gallery-btn i {
        transition: transform 0.3s ease;
      }

      .gallery-btn:hover i {
        transform: translateX(5px);
      }

      /* Gallery Modal */
      .gallery-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }

      .gallery-modal.active {
        opacity: 1;
        visibility: visible;
      }

      .modal-content {
        width: 90%;
        max-width: 1000px;
        position: relative;
      }

      .main-image-container {
        width: 100%;
        height: 70vh;
        position: relative;
        margin-bottom: 1rem;
        border-radius: 10px;
        overflow: hidden;
      }

      .main-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: opacity 0.3s ease;
      }

      .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
      }

      .nav-btn {
        width: 50px;
        height: 50px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        outline: none;
      }

      .nav-btn:hover {
        background-color: var(--primary-color);
        transform: scale(1.1);
      }

      .thumbnails-container {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.5rem 0;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
      }

      .thumbnails-container::-webkit-scrollbar {
        height: 6px;
      }

      .thumbnails-container::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 3px;
      }

      .thumbnail {
        width: 100px;
        height: 80px;
        border-radius: 5px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.7;
        transition: all 0.3s ease;
        flex-shrink: 0;
      }

      .thumbnail:hover,
      .thumbnail.active {
        opacity: 1;
        transform: scale(1.05);
      }

      .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .close-modal {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        z-index: 10;
      }

      .close-modal:hover {
        background-color: var(--accent-color);
        transform: rotate(90deg);
      }

      /* Responsive Adjustments */
      @media (max-width: 1200px) {
        .gallery-container {
          grid-template-rows: repeat(4, 120px);
        }
      }

      @media (max-width: 992px) {
        .gallery-container {
          grid-template-rows: repeat(4, 100px);
        }

        .gallery-item.featured {
          grid-column: span 6;
          grid-row: span 2;
        }

        .gallery-item:not(.featured) {
          grid-column: span 3;
          grid-row: span 1;
        }

        .main-image-container {
          height: 60vh;
        }
      }

      @media (max-width: 768px) {
        .company-photos-section {
          padding: 3rem 0;
        }

        .section-main-title {
          font-size: 2rem;
        }

        .gallery-container {
          grid-template-columns: repeat(2, 1fr);
          grid-template-rows: repeat(6, 200px);
          gap: 0.8rem;
        }

        .gallery-item.featured {
          grid-column: span 2;
          grid-row: span 2;
        }

        .gallery-item:not(.featured) {
          grid-column: span 1;
          grid-row: span 1;
        }

        .overlay-content h3 {
          font-size: 1rem;
        }

        .overlay-content p {
          font-size: 0.8rem;
        }

        .main-image-container {
          height: 50vh;
        }

        .nav-btn {
          width: 40px;
          height: 40px;
          font-size: 1.2rem;
        }

        .thumbnail {
          width: 80px;
          height: 60px;
        }
      }

      @media (max-width: 576px) {
        .section-main-title {
          font-size: 1.8rem;
        }

        .section-subtitle {
          font-size: 1rem;
        }

        .gallery-container {
          grid-template-rows: repeat(4, 150px);
          gap: 0.5rem;
        }

        .photo-overlay {
          padding: 0.5rem;
        }

        .gallery-btn {
          padding: 0.7rem 1.5rem;
          font-size: 0.9rem;
        }

        .main-image-container {
          height: 40vh;
        }

        .thumbnail {
          width: 70px;
          height: 50px;
        }
      }

      /* Footer */
      .modern-footer {
        background-color: var(--dark-color);
        color: var(--white);
        position: relative;
        padding-top: 5rem;
      }

      .footer-wave {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        overflow: hidden;
      }

      .footer-wave svg {
        width: 100%;
        height: 100%;
      }

      .shape-fill {
        fill: var(--white);
      }

      .footer-content {
        position: relative;
        z-index: 1;
      }

      .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      @media (min-width: 768px) {
        .footer-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (min-width: 992px) {
        .footer-grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }

      .footer-col {
        margin-bottom: 2rem;
      }

      .footer-logo {
        height: 40px;
        margin-bottom: 1.5rem;
      }

      .company-description {
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.7);
      }

      .footer-social {
        display: flex;
        gap: 1rem;
      }

      .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
      }

      .footer-social a:hover {
        background-color: var(--primary-color);
      }

      .footer-social i {
        color: var(--white);
        font-size: 1.2rem;
      }

      .footer-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 10px;
      }

      .footer-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: linear-gradient(
          90deg,
          var(--secondary-color),
          var(--primary-color)
        );
      }

      .footer-links li {
        margin-bottom: 0.8rem;
      }

      .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        transition: var(--transition);
        display: inline-block;
      }

      .footer-links a:hover {
        color: var(--white);
        transform: translateX(5px);
      }

      .newsletter-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      .newsletter-form input {
        padding: 0.75rem 1rem;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
      }

      .newsletter-form input::placeholder {
        color: rgba(255, 255, 255, 0.7);
      }

      .newsletter-form button {
        background-color: var(--primary-color);
        color: var(--white);
        border: none;
        padding: 0.75rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 5px;
        cursor: pointer;
        transition: var(--transition);
      }

      .newsletter-form button:hover {
        background-color: var(--secondary-color);
      }

      .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      @media (min-width: 768px) {
        .footer-bottom {
          flex-direction: row;
          justify-content: space-between;
          text-align: left;
        }
      }

      .copyright {
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 1rem;
      }

      @media (min-width: 768px) {
        .copyright {
          margin-bottom: 0;
        }
      }

      .footer-legal {
        display: flex;
        gap: 1.5rem;
      }

      .footer-legal a {
        color: rgba(255, 255, 255, 0.7);
        transition: var(--transition);
      }

      .footer-legal a:hover {
        color: var(--white);
      }

      /* WhatsApp Float Button */
      .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background-color: #25d366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
        z-index: 1000;
        transition: var(--transition);
      }

      .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
      }

      .whatsapp-float i {
        color: white;
        font-size: 1.8rem;
      }

      /* Animations */
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .animate-in {
        animation: fadeIn 1s ease forwards;
      }

      /* Responsive Adjustments */
      @media (max-width: 992px) {
        .hero-heading {
          font-size: 2.5rem;
        }

        .section {
          padding: 3rem 0;
        }

        .hover-card {
          margin-bottom: 1.5rem;
        }

        .team-member {
          height: 250px;
        }
      }

      @media (max-width: 768px) {
        .hero-section {
          height: auto;
          padding: 8rem 0;
        }

        .hero-heading {
          font-size: 2rem;
        }

        .section-title {
          font-size: 1.8rem;
        }

        .section-title1 {
          font-size: 1.8rem;
        }

        .testimonial-content {
          padding: 1.5rem;
        }

        .whatsapp-float {
          width: 50px;
          height: 50px;
          bottom: 20px;
          right: 20px;
        }

        .whatsapp-float i {
          font-size: 1.5rem;
        }
      }

      @media (max-width: 576px) {
        .navbar img {
          height: 1.8rem;
        }

        .nav-add-on {
          font-size: 0.9rem;
        }

        .hero-heading {
          font-size: 1.8rem;
        }

        .hero-subtitle {
          font-size: 1rem;
        }

        .btn {
          padding: 0.6rem 1.2rem;
          font-size: 0.9rem;
        }

        .section-title {
          font-size: 1.5rem;
        }
        .section-title1 {
          font-size: 1.5rem;
        }

        .testimonial-text {
          font-size: 1rem;
        }

        .footer-grid {
          grid-template-columns: 1fr;
        }
      }

      /* Meet Our Experts Section */

      .experts-section {
        padding: 80px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
      }
      .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
        color: #0d6efd;
        position: absolute;
        left: 50%;
        top: 50%;
        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(460%, -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 #0d6efd;
      }

      .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;
      }

      .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);
        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;
      }
      /* Responsive adjustments */
      @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;
        }
      }

      @media (max-width: 768px) {
        .team-container {
          height: 300px !important;
          margin-top: 30px;
          position: relative;
        }

        .team-member {
          width: 60px;
          height: 60px;
          border: 3px solid white;
          position: absolute;
          top: 50%;
          left: 50%;
          border-radius: 50%;
          overflow: hidden;
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          cursor: pointer;
          z-index: 1;
          transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
          transform: translate(-50%, -50%) scale(1) !important;
          opacity: 1;
        }

        .team-member:nth-child(8) {
          /* margin-bottom: 30px; */
          margin-bottom: 380px;
          margin-left: 0px;
        }

        .team-member:nth-child(1) {
          transform: translate(-50%, -50%) translate(0, 140px) scale(1) !important;
        }
        .team-member:nth-child(2) {
          transform: translate(-50%, -50%) translate(107px, 107px) scale(1) !important;
        }
        .team-member:nth-child(3) {
          transform: translate(-50%, -50%) translate(140px, 0) scale(1) !important;
        }
        .team-member:nth-child(4) {
          transform: translate(-50%, -50%) translate(107px, -107px) scale(1) !important;
        }
        .team-member:nth-child(5) {
          transform: translate(-50%, -50%) translate(0, -140px) scale(1) !important;
        }
        .team-member:nth-child(6) {
          transform: translate(-50%, -50%) translate(-107px, -107px) scale(1) !important;
        }
        .team-member:nth-child(7) {
          transform: translate(-50%, -50%) translate(-140px, 0) scale(1) !important;
        }
        .team-member:nth-child(8) {
          transform: translate(-50%, -50%) translate(-107px, 107px) scale(1) !important;
        }
        .team-member:nth-child(9) {
          transform: translate(-50%, -50%) translate(0, 0) scale(1) !important;
        }

        /* Active state for clicked member */
        .team-container.active .team-member {
          transform: translate(-50%, -50%) scale(0.7) !important;
          opacity: 0.5;
          filter: grayscale(50%);
        }

        .team-container.active .team-member.active {
          transform: translate(-50%, -50%) scale(1.3) !important;
          opacity: 1;
          filter: grayscale(0%);
          z-index: 10;
          box-shadow: 0 0 0 3px #0d6efd;
        }

        /* Hide desktop-specific info */
        .member-info {
          display: none !important;
        }

        /* Quote display styling */
        .quote-display {
          position: absolute;
          top: 200px;
          left: 50%;
          transform: translateX(-50%);
          width: 90%;
          max-width: 300px;
          text-align: center;
          padding: 15px;
          background: white;
          border-radius: 10px;
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
          opacity: 0;
          transition: all 0.5s ease;
          pointer-events: none;
          z-index: 20;
          font-style: italic;
          color: #555;
          font-size: 0.9rem;
          line-height: 1.4;
        }

        .quote-display::before {
          content: '"';
          color: #0d6efd;
          opacity: 0.3;
          font-size: 1.5rem;
          margin-right: 5px;
        }

        .quote-display.active {
          opacity: 1;
        }
      }

      .error {
        color: red;
        font-size: 13px;
        margin-top: 4px;
        display: block;
      }

      input.error-border,
      textarea.error-border {
        border: 1px solid red;
      }
      .disabled-icon {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
      }
      /* =========================
        CONTACT SECTION – MOBILE FIX
        Below 420px
      ========================= */
      @media (max-width: 420px) {

        /* Stack contact info & form */
        .contact-content-wrapper {
          display: flex;
          flex-direction: column;
          gap: 20px;
        }

        /* Cards full width */
        .contact-info-container,
        .contact-form-container {
          width: 100%;
        }

        .contact-info-card,
        .contact-form-card {
          padding: 16px;
          border-radius: 12px;
        }

        /* Headings */
        .contact-form-card h3,
        .contact-info-card h4 {
          font-size: 18px;
        }

        /* Contact methods layout */
        .contact-method {
          display: flex;
          align-items: flex-start;
          gap: 12px;
        }

        .contact-method p {
          font-size: 14px;
          line-height: 22px;
          word-break: break-word;
        }

        /* Icons shrink */
        .contact-icon i {
          font-size: 18px;
        }

        /* Social icons spacing */
        .social-icons {
          display: flex;
          flex-wrap: wrap;
          gap: 12px;
        }

        .social-icons a,
        .social-icons span {
          font-size: 18px;
        }

        /* Form inputs */
        .form-group input,
        .form-group textarea {
          width: 100%;
          font-size: 14px;
          padding: 10px 12px;
        }

        /* Error text */
        .error {
          font-size: 12px;
        }

        /* Submit button */
        .submit-btn {
          width: 100%;
          padding: 12px;
          font-size: 15px;
        }

        /* Map height reduce */
        #fullWidthMap iframe {
          height: 260px;
        }
      }

      /* Hide carousel controls on desktop */
    @media (min-width: 1000px) {
      .carousel-controls {
        display: none !important;
      }
    }

.map-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.map-heading {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  color: black;
}

.map-section iframe {
  width: 100%;
  max-width: 1200px;
  height: 400px;
  border: 0;
  display: block;
  margin: 0 auto;
}


@media (max-width: 1511px) {

  .team-member:nth-child(2):hover {
    transform: translate(430%, -100%) scale(1) !important;
    z-index: 10 !important;
  }

  .team-member:nth-child(5):hover {
    transform: translate(430%, 100%) scale(1) !important;
    z-index: 10 !important;
  }

}
@media (min-width: 1215px) and (max-width: 1451px) {

  .team-member:nth-child(2):hover {
    transform: translate(300%, -100%) scale(1) !important;
    z-index: 10 !important;
  }

  .team-member:nth-child(5):hover {
    transform: translate(300%, 100%) scale(1) !important;
    z-index: 10 !important;
  }

}
@media (min-width: 769px) and (max-width: 1215px) {

    .team-member:nth-child(2) {

      margin-bottom: 550px;
      margin-left: -80px;
    }

    .team-member:nth-child(5) {

      margin-bottom: 650px;
      margin-left: -80px;
    }
  }


@media (min-width: 1068px) and (max-width: 1215px) {

  .team-member:nth-child(2):hover {
    transform: translate(280%, -100%) scale(1) !important;
    z-index: 10 !important;
  }

  .team-member:nth-child(5):hover {
    transform: translate(280%, 100%) scale(1) !important;
    z-index: 10 !important;
  }

}

@media (min-width: 769px) and (max-width: 1067px) {
    .team-member {
      width: 70px;
      height: 70px;
      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(2):hover {
    transform: translate(210%, -100%) scale(1) !important;
    z-index: 10 !important;
  }

  .team-member:nth-child(5):hover {
    transform: translate(210%, 100%) scale(1) !important;
    z-index: 10 !important;
  }
}

.hero-video-bg {
  pointer-events: none;
  will-change: transform;
}
.hero-section,
.hero-video-bg,
.hover-card,
.service-card,
.team-member,
.testimonial-card,
.gallery-item {
  transform: translateZ(0);
  will-change: transform, opacity;
}
