/* Small screens (<=700px): force three-column horizontal layout */
@media (max-width: 700px) {
  .top-bar .container {
    display: grid;
    grid-template-columns: auto 1fr auto; /* phone | location | socials */
    align-items: center;
    gap: 8px;
  }
  /* Flatten wrapper so its children become grid items */
  .top-right { display: contents; }

  /* Phone left */
  .top-left { justify-self: start; }

  /* Location centered */
  .top-right .location {
    grid-column: 2;
    justify-self: center;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0; /* allow shrink */
  }
  .top-right .location span {
    font-size: 12px;
    line-height: 1.3;
    word-break: break-word;
  }

  /* Social icons right */
  .top-right .social-icons {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }
}
/* ===== Home Services Banner (duplicate of .services-banner) ===== */
.home-services-banner {
    position: relative;
    max-width: 1300px;
    margin: 60px auto;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.77);
}

.home-services-banner .banner-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* DARK TO LIGHT LEFT GRADIENT OVERLAY FOR SHADOW-TO-LIGHT EFFECT */
.home-services-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Strong black at left → fades to transparent */
    background: linear-gradient(
      90deg,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0.922) 20%,
      rgba(0, 0, 0, 0.422) 48%,
      rgba(0,0,0,0.10) 70%,
      rgba(0,0,0,0.01) 92%,
      rgba(0,0,0,0.00) 100%
    );
    z-index: 1;
}

.home-services-banner .services-content {
    position: absolute;
    bottom: 30px;
    left: 5%;
    transform: none;
    z-index: 2;
    color: #fff;
    text-align: left;
    max-width: 46%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-services-banner .services-content h2 {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.home-services-banner .services-content p {
    font-size: 1rem;
}

/* Responsive: Home Services Banner */
@media (max-width: 1290px) {
  .home-services-banner { margin: 40px 115px 0px 120px; }
  .home-services-banner .banner-img { height: 280px; }
  .home-services-banner .services-content {
    left: 5%;
    bottom: 25px;
    max-width: 80%;
  }
  .home-services-banner .services-content h2 { font-size: 1.6rem; }
  .home-services-banner .services-content p { font-size: 0.9rem; }
}

@media (max-width: 991px) {
  .home-services-banner { margin: 40px 30px 0px 30px; }
  .home-services-banner .banner-img { height: 280px; }
  .home-services-banner .services-content {
    left: 5%;
    bottom: 25px;
    max-width: 75%;
    padding-right: 10px;
  }
  .home-services-banner .services-content h2 { font-size: 1.6rem; }
  .home-services-banner .services-content p { font-size: 0.9rem; }
}

@media (max-width: 600px) {
  .home-services-banner { margin: 40px 20px 0px 20px; border-radius: 10px; }
  .home-services-banner .banner-img { height: 210px; }
  .home-services-banner .services-content {
    left: 5%;
    /* bottom: 16px; */
    top:46px;
    max-width: 90%;
    padding: 0 8px;
  }
  .home-services-banner .services-content h2 { font-size: 1.3rem; font-weight: 600; }
  .home-services-banner .services-content p { font-size: 0.7rem; }
}

/* Inline banner typography moved from index.html */
.home-services-banner .services-banner-title {
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  line-height: 1.3;
}

.home-services-banner .services-banner-desc {
  font-size: 1.1rem;
  font-family: 'Jost', sans-serif;
  text-align: left;
  margin-bottom: 12px;
  line-height: 1.5;
}

.home-services-banner .heroSection2-btn {
  display: inline-block;
  text-align: left;
  padding: 7px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  min-width: unset;
  max-width: 200px;
  border-radius: 7px;
}

/* Tablet View - 1290px */
@media (max-width: 1290px) {
  .home-services-banner .services-banner-title { 
    font-size: 1.8rem; 
    margin-bottom: 8px;
  }
  .home-services-banner .services-banner-desc { 
    font-size: 1.1rem; 
    margin-bottom: 14px;
  }
  .home-services-banner .heroSection2-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* Tablet View - 991px */
@media (max-width: 991px) {
  .home-services-banner .services-banner-title { 
    font-size: 1.5rem; 
    margin-bottom: 12px;
  }
  .home-services-banner .services-banner-desc { 
    font-size: 1.05rem; 
    margin-bottom: 16px;
  }
  .home-services-banner .heroSection2-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Range from 300px to 991px - Additional margin-bottom for better spacing */
@media (min-width: 300px) and (max-width: 991px) {
  .home-services-banner .services-banner-title { 
    margin-bottom: 12px;
  }
  .home-services-banner .services-banner-desc { 
    margin-bottom: 16px;
  }
}

/* Mobile View - 600px */
@media (max-width: 600px) {
  .home-services-banner .services-banner-title { 
    font-size: 1.2rem; 
    margin-bottom: 10px;
    line-height: 1.25;
  }
  .home-services-banner .services-banner-desc { 
    font-size: 0.9rem; 
    margin-bottom: 14px;
    line-height: 1.4;
  }
  .home-services-banner .heroSection2-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    display: inline-block;
  }
}

/* Extra Small Mobile - 400px */
@media (max-width: 400px) {
  .home-services-banner .services-banner-title { 
    font-size: 1rem; 
    margin-bottom: 5px;
  }
  .home-services-banner .services-banner-desc { 
    font-size: 0.85rem; 
    margin-bottom: 8px;
  }
  .home-services-banner .heroSection2-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}

            /* body {
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                background: #fff;
                color: #333;
            } */

            

            html,
            body {
                overflow-x: hidden;
            }

            /* Navbar */
            .navbar-light .navbar-nav .nav-link {
                color: #363636;
                font-weight: 350;
                font-size: 16px;
                margin-left: 1rem;
                transition: color 0.3s;
            }
            .main-header {
              position: fixed;
              top: 0;
              left: 0;
              width: 100%;
              z-index: 1050;
              background: #fff;
              box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            }

/* Ensure navbar is always clickable above page content */
.navbar {
  position: relative;
  z-index: 1060;
}

@media (max-width: 1000px) {
  .navbar-collapse {
    position: relative;
    z-index: 1060;
  }
}
            
                /* ✅ Default navbar link style */
                .navbar-light .navbar-nav .nav-link {
                  color: #363636;
                  font-weight: 400;
                  transition: color 0.3s;
                }

                /* ✅ Active menu highlight by page */
                body.home-page   .nav-link[href*="index.html"],
                body.about-page  .nav-link[href*="about.html"],
                body.services-page .nav-link[href*="services.html"],
                body.blog-page .nav-link[href*="blog.html"],
                body.contact-page .nav-link[href*="contact.html"] {
                  color: #006bb5 !important;
                  font-weight: 600   !important;
                }

                /* ✅ Optional hover effect (same color as active) */
                .navbar-light .navbar-nav .nav-link:hover {
                  color: #006bb5 !important;
                }
                    

            /* Universal Mobile Spacing Fix */
    

            /* Professional Mobile Navbar */
            @media (max-width: 1000px) {
                .navbar {
                    padding: 8px 0 !important;
                }
                .navbar-brand {
                    margin-right: 0 !important;
                }
                .navbar-brand img {
                    max-height: 55px !important;
                    transition: transform 0.3s ease;
                }
                .navbar-brand:hover img {
                    transform: scale(1.05);
                }
                .navbar-toggler {
                    border: 2px solid #0d6efd;
                    padding: 6px 10px;
                    border-radius: 6px;
                    background: transparent;
                    transition: all 0.3s ease;
                }
                .navbar-toggler:hover {
                    background: #ffffff;
                }
                .navbar-toggler:focus {
                    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
                }
                .navbar-collapse {
                    background: #fff;
                    border-radius: 10px;
                    margin-top: 10px;
                    padding: 5px 0;
                }
                .navbar-nav {
                    padding: 0;
                }
                .navbar-nav .nav-link {
                    padding: 8px 20px !important;
                    font-size: 0.95rem !important;
                    font-weight: 500;
                    border-bottom: 1px solid #f8f9fa;
                    transition: all 0.3s ease;
                    position: relative;
                    margin: 0 !important;
                }
                .navbar-nav .nav-link:last-child {
                    border-bottom: none;
                }
                .navbar-nav .nav-link:hover {
                    color: white !important;
                    transform: translateX(3px);
                }
                .navbar-nav .nav-link.active {
                    color: white !important;
                }
                .navbar-nav .nav-link::before {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 0;
                    height: 100%;
                    width: 3px;
                    transform: scaleY(0);
                    transition: transform 0.3s ease;
                }
                .navbar-nav .nav-link:hover::before,
                .navbar-nav .nav-link.active::before {
                    transform: scaleY(1);
                }
            }

            /* Small Mobile Optimization */
            @media (max-width: 480px) {
                .navbar-brand img {
                    max-height: 50px !important;
                }
                .navbar-nav .nav-link {
                    padding: 6px 15px !important;
                    font-size: 0.9rem !important;
                }
                .navbar-collapse {
                    margin-top: 8px;
                    border-radius: 8px;
                }
            }
            body {
                padding-top: 120px; /* adjust based on header height */
            }

            /* Mobile body padding adjustments */
            @media (max-width: 767.98px) {
                body {
                    padding-top: 100px; /* reduced padding for mobile */
                }
            }

            @media (max-width: 480px) {
                body {
                    padding-top: 90px; /* further reduced for small mobile */
                }
            }
            

            .heroSection2 {
                background: linear-gradient(45deg, black, transparent), url("/assets/images/girl.png");
                color: white;
                padding: 50px;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;

                /* Boxed layout */
                max-width: 1250px;       /* set width limit */
                margin: 40px auto;       /* center + spacing top/bottom */
                border-radius: 12px;     /* smooth corners */
                overflow: hidden;        /* keep overlay clean */
                box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* subtle depth */
                font-size: 0.97rem;      /* reduced base font size */
            }
            
            .heroSection2 h1 {
                color: #fff;
                font-weight: 600;
                font-size: 2.1rem;       /* reduce heading font size */
            }
            
            .heroSection2 p {
                color: #f1f1f1;
                font-size: 1rem;         /* reduce paragraph font size */
            }
            
            .heroSection2 .btn-primary {
                background-color: #1e90ff;
                border: none;
                padding: 10px 20px;             /* slightly reduce button size */
                font-size: 1rem;                /* reduce button text size */
                font-weight: 600;
                transition: all 0.3s ease;
            }
            
            .heroSection2 .btn-primary:hover {
                background-color: #006ce0;
            }
            
            .heroSection2 img {
                max-height: 450px;
                object-fit: cover;
                border-radius: 12px;
            }
            

            .navbar-light .navbar-nav .nav-link:hover {
                color: #ffffff;
            }

     

            /* Professional Mobile Top Bar - All Elements Centered - FIXED SPACING */
     

            /* Extra small mobile devices */
            @media (max-width: 480px) {
                .top-bar {
                    padding: 8px 0 !important;
                }
                .top-bar .container {
                    gap: 6px;
                    padding: 0 10px;
                    max-width: 100%;
                }
                .top-bar .container p {
                    font-size: 0.85rem !important;
                }
                .top-bar .container span {
                    font-size: 0.8rem !important;
                }
                .top-bar .container > div:first-child {
                    padding: 0 5px;
                }
                .top-bar .container > div:first-child img {
                    width: 18px;
                    height: 18px;
                }
                .top-bar .container > div:nth-child(2) > div:first-child {
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    padding: 0 4px;
                    width:10%;
                    gap: 8px;
                }
                .top-bar .container > div:nth-child(2) > div:first-child img {
                    width: 16px;
                    height: 16px;
                }
                .top-bar .container > div:nth-child(2) > div:first-child span {
                    text-align: center;
                }
                .top-bar .social-icons {
                    gap: 12px;
                }
                .top-bar .social-icons a {
                    width: 28px;
                    height: 28px;
                    padding: 4px;
                }
                .top-bar .social-icons i {
                    font-size: 12px !important;
                }
            }

     /* ========== UNIVERSAL FOOTER LAYOUT ========== */
footer {
    background: #EFF8FF;
    max-width: 1700px;
    margin: 0 auto;
    padding: 60px 80px;
    text-align: left; /* ✅ All left aligned */
  }
  
  footer h5 {
    margin-bottom: 18px;
    font-weight: bold;
    color: #0066ff;
    text-align: left;
  }
  
  footer p {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #111;
    text-align: left;
  }
  
  footer a {
    color: #222;
    text-decoration: none;
    transition: 0.3s;
  }
  
  footer a:hover {
    color: #0d6efd;
    text-decoration: underline;
  }
  
  footer ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
    text-align: left;
  }
  
  footer ul li {
    margin-bottom: 10px;
  }
  
  footer img {
    max-width: 100px;
    height: auto;
    margin-bottom: 12px;
  }
  
  footer .fa,
  footer .fab,
  footer .fas {
    font-size: 18px;
    transition: 0.3s;
  }
  
  footer .fa:hover,
  footer .fab:hover,
  footer .fas:hover {
    color: #ffffff;
  }
  
  /* Search box */
  footer form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
  }
  
  footer form input {
    width: 150px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 6px 10px;
  }
  
  footer form button {
    background: #0d6efd;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
  }
  
  footer form button:hover {
    background: #084cd9;
  }
  
  /* Row structure fix */
  footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
  }
  
  footer .col-md-3 {
    flex: 1 1 22%;
    min-width: 220px;
  }
  
  /* Social icons area */
  footer .d-flex.align-items-center {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
  }
  
  /* ========== DESKTOP VIEW (≥1200px) ========== */
  @media (min-width: 1200px) {
    footer {
      padding: 60px 100px;
    }
  
    footer .row {
      gap: 50px;
    }
  
    footer p,
    footer a {
      font-size: 1rem;
    }
  }
  
  /* ========== TABLET VIEW (768px–1199px) ========== */
  @media (min-width: 768px) and (max-width: 1199px) {
    footer {
      padding: 50px 40px;
    }
  
    footer .row {
      gap: 30px;
      justify-content: flex-start;
    }
  
    footer .col-md-3 {
      flex: 1 1 45%; /* 2 columns layout */
      min-width: 280px;
    }
  
    footer p,
    footer a {
      font-size: 0.95rem;
    }
  
    footer form input {
      width: 160px;
    }
  
    footer .d-flex.align-items-center {
      justify-content: flex-start;
    }
  }
  
  /* ========== MOBILE VIEW (<768px) ========== */
  @media (max-width: 767.98px) {
    footer {
      padding: 40px 20px;
    }
  
    footer .row {
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;
    }
  
    footer .col-md-3 {
      width: 100%;
      text-align: left;
    }
  
    footer img {
      margin: 0 0 12px 0;
    }
  
    footer ul {
      text-align: left;
    }
  
    footer form {
      justify-content: flex-start;
    }
  
    footer form input {
      width: 70%;
    }
  
    footer .d-flex.align-items-center {
      justify-content: flex-start;
    }
  
    footer h5 {
      font-size: 1.1rem;
    }
  
    footer p,
    footer a {
      font-size: 0.95rem;
    }
  
    footer .fab,
    footer .fas {
      font-size: 18px;
    }
  }
  
  /* ========== EXTRA SMALL MOBILE (<400px) ========== */
  @media (max-width: 400px) {
    footer {
      padding: 30px 15px;
    }
  
    footer p,
    footer a {
      font-size: 0.9rem;
    }
  
    footer form input {
      width: 85%;
    }
  
    footer .fab,
    footer .fas {
      font-size: 17px;
    }
  }
  

            /* Header Hero */
            /* ----------------------------
   HERO SECTION (Banner)
   Fixed responsive blue arc + images
----------------------------- */
.hero-section {
    position: relative;
    padding: 120px 0 100px 0;
    max-width: 1500px;
    margin: 0 auto;
    background-color: #f8f8f8;
    overflow: hidden;
  }
  
  .hero-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Text column */
  .hero-section .col-lg-5 {
    z-index: 3;
  }
  
  .hero-section h1 {
    color: #2E2E2E;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .hero-section p {
    color: #2E2E2E;
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 1.05rem;
  }
  
  .hero-section .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
  }
  
  /* ----------------------------
     IMAGE + ARC CONTAINER
  ----------------------------- */
  .hero-images-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 460px;
    margin-top: 20px;
  }
  
  /* Arc background behind images */
  .hero-images-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 620px;
    height: 320px;
    background: #1976d2;
    border-top-left-radius: 320px;
    border-top-right-radius: 320px;
    z-index: 1;
  }
  
  /* People images */
  .hero-images-wrapper img {
    position: absolute;
    height: 440px;
    width: auto;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.5s ease;
    z-index: 2;
  }
  
  .hero-images-wrapper img:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
  }
  .hero-images-wrapper img:first-child {
    left: 5%;
  }
  .hero-images-wrapper img:last-child {
    right: 5%;
  }
  
  .floating-testimonial {
    position: absolute;
    background: #fff;
    padding: 12px 18px 2px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(24,40,67,0.08);
    width: 180px;
    font-size: 1.01rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.32s cubic-bezier(.65,.01,.57,1.19);
    /* crisp rendering for text on white */
  }
  .testimonial-top-left {
    top: -90px;
    left: -50px;
  }
  .testimonial-bottom-right {
    bottom: -60px;
    right: -90px;
  }
  .testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #eaf3ff;
  }
  .testimonial-name {
    font-weight: 500;
    font-size: 12px;
    color: #000;
  }
  .testimonial-text {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
    line-height: 1.2;
  }
  .testimonial-stars {
    color: #FFC107;
    font-size: 10px;
  }
  /* Tablet responsiveness */
  @media (max-width: 991.98px) {
    .testimonial-top-left {
      top: -22px;
      left: -32px;
    }
    .testimonial-bottom-right {
      bottom: -34px;
      right: -44px;
    }
  }
  /* Mobile responsiveness */
  @media (max-width: 700px) {
    .floating-testimonial {
      width: 97vw;
      max-width: 200px;
      font-size: 0.97rem;
      padding: 10px 13px 2px 12px;
      left: 50% !important;
      right: auto !important;
      transform: translateX(-50%);
    }
    .testimonial-top-left {
      position: absolute;
      top: -50px;
      left: 25% !important;
      right: auto;
      transform: translateX(-50%);
      z-index: 11;
    }
    .testimonial-bottom-right {
      position: absolute;
      bottom: -30px;
      left: 75% !important;
      right: auto;
      transform: translateX(-50%);
      z-index: 11;
    }
  }
  @media (max-width: 480px) {
    .floating-testimonial {
      max-width: 43vw;
      padding: 8px 6px 2px 8px;
    }
    .testimonial-name {
      font-size: 11px;
    }
    .testimonial-text {
      font-size: 10px;
    }
  }

  /* ----------------------------
     RESPONSIVE STYLES
  ----------------------------- */
  
  /* Tablets */
  /* @media (max-width: 992px) {
    .hero-section {
      padding: 80px 60px;
      text-align: center;
    }
    .hero-images-wrapper {
      min-height: 400px;
    }
    .hero-images-wrapper::before {
      width: 440px;
      height: 260px;
    }
    .hero-images-wrapper img {
      height: 360px;
    }
    .hero-images-wrapper img:first-child {
      left: 10%;
    }
    .hero-images-wrapper img:last-child {
      right: 10%;
    }
  } */
  
  /* Mobile */
  /* @media (max-width: 575.98px) {
    .hero-section {
      padding: 100px 0 0 0;
    }
    .hero-section .container {
      flex-direction: column-reverse;
      text-align: center;
    }
    .hero-images-wrapper {
      min-height: 320px;
      display: flex;
      justify-content: center;
      align-items: flex-end;
    }
    .hero-images-wrapper::before {
      width: 300px;
      height: 180px;
    }
    .hero-images-wrapper img {
      position: relative;
      height: 230px;
      margin: 0 6px;
    }
    .hero-images-wrapper img:first-child,
    .hero-images-wrapper img:nth-child(2),
    .hero-images-wrapper img:last-child {
      left: auto;
      right: auto;
      transform: none;
    }
  } */
  

            /* Set background color for the whole page */
            body {
                background-color: #f8f8f8;
            }
            
            /* ==============================
               HERO SECTION (current markup)
               Desktop unchanged. Responsive only.
            =============================== */

           
            /* Tablet: scale down neatly, preserve balance and arc */
            @media (max-width: 992px) {
              .hero-section { overflow: hidden; }
              .hero-section .container { 
                text-align: center; 
                padding: 0 24px; 
                display: flex; 
                flex-direction: column; 
              }
              .hero-section .row { 
                display: flex; 
                flex-direction: column; 
                row-gap: 28px; 
              }
              /* Put images (col-lg-6) on top and content (col-lg-5) below */
              .hero-section .col-lg-6 { order: 1; }
              .hero-section .col-lg-5 { order: 2; }

              /* override inline min-width to avoid overflow */
              .hero-section .col-lg-6 .position-relative {
                  min-width: 100% !important;
                  min-height: 350px !important;
              }
              /* blue arc behind images */
              .hero-section .col-lg-6 .position-relative > div:first-child {
                  width: 620px !important;
                  height: 300px !important;
                  right: 20px !important;
                  top: 35px !important;
              }
              /* image heights down a bit, keep relative offsets tighter */
              .hero-section .hero-img img { height: 360px !important; }
              .hero-section .hero-left { left:50px !important; }
              .hero-section .hero-center { left: 80px !important; }
              .hero-section .hero-right { right: 30px !important; }
              /* Typography slightly smaller for balance */
              .hero-section .col-lg-5 h1 { font-size: 2rem; line-height: 1.25; }
              .hero-section .col-lg-5 p { font-size: 1rem; }
              .hero-section .col-lg-5 .btn { font-size: 1rem; padding: 10px 22px; }
          }

          /* Mobile: images first, centered; text below; no overflow */
          @media (max-width: 767.98px) {
              .hero-section { 
                  overflow: hidden; 
                  padding: 90px 0 0 0; 
              }
              .hero-section .container { 
                  padding: 0 12px; 
                  max-width: 100vw;
                  box-sizing: border-box;
                  width: 100%;
              }
              .hero-section .row { 
                  display: flex; 
                  flex-direction: column !important;  /* images (col-lg-6) on top, content (col-lg-5) bottom */
                  align-items: center; 
                  gap: 70px;
                  box-sizing: border-box;
                  width: 100%;
                  max-width: 100vw;
                  margin: 0 auto;
              }
              .hero-section .col-lg-6, 
              .hero-section .col-lg-5 {
                  box-sizing: border-box;
                  width: 100%;
                  max-width: 100%;
              }
              .hero-section .col-lg-6 { order: 1; }
              .hero-section .col-lg-5 { 
                  order: 2; 
                  text-align: center; 
                  padding-left: 0;
                  padding-right: 0;
              }
              .hero-section .col-lg-5 h1 { font-size: 1.55rem; line-height: 1.25; }
              .hero-section .col-lg-5 p { font-size: 0.98rem; margin: 10px 0 16px; }
              .hero-section .col-lg-5 .btn { display: inline-block; margin: 0 auto; font-size: 0.98rem; padding: 10px 18px; }

              /* images wrapper centered; override inline min sizes */
              .hero-section .col-lg-6 .position-relative {
                  min-width: 100% !important;
                  min-height: 300px !important;
                  display: flex; 
                  justify-content: center; 
                  align-items: flex-end;
                  box-sizing: border-box;
                  width: 100%;
                  max-width: 100vw;
                  overflow: visible;
                  position: relative;
              }
              /* arc behind all images */
              .hero-section .arc-bg {
                  width: 300px !important;
                  height: 180px !important;
                  left: 50%!important;
                  right: auto!important;
                  top: 0!important;
                  transform: translateX(-50%)!important;
                  border-top-left-radius: 320px 320px !important;
                  border-top-right-radius: 320px 320px !important;
                  max-width: 100vw;
                  position: absolute;
                  z-index: 1;
              }
              /* each hero image individually positioned and styled */
              .hero-section .hero-img-left {
                  position: relative !important;
                  margin: 0 6px !important;
                  max-width: 33vw;
                  z-index: 2;
                  left: 0;
              }
              .hero-section .hero-img-center {
                  position: relative !important;
                  margin: 0 6px !important;
                  max-width: 33vw;
                  z-index: 3;
                  left: 0;
              }
              .hero-section .hero-img-right {
                  position: relative !important;
                  margin: 0 6px !important;
                  max-width: 33vw;
                  z-index: 2;
                  left: 0;
              }
              /* .hero-section .hero-img-left img,
              .hero-section .hero-img-center img,
              .hero-section .hero-img-right img {
                  height: 230px !important; 
                  border-radius: 12px; 
                  object-fit: cover; 
                  max-width: 100%; 
                  width: auto; 
                  display: block;
              } */
          }

          /* Separate styles for hero section images and arc */
          /* Arc styles for extra-small phones */
          @media (max-width: 480px) {
              .hero-section .arc-bg {
                  width: 240px !important;
                  height: 150px !important;
              }
              .hero-section .col-lg-6 .position-relative {
                  min-height: 260px !important;
              }
          }
          /* Separate responsive rules for each hero-section image for extra-small phones */
          @media (max-width: 480px) {
              .hero-section .hero-img {
                  max-width: 90vw !important;
              }
              .hero-section .hero-img img {
                  height: 200px !important;
                  width: auto !important;
              }

              /* Add top and left margin for hero images and arc on extra-small screens */
              .hero-section .arc-bg {
                  margin-top: 16px !important;
                  margin-left: 12px !important;
              }
              .hero-section .hero-img-left {
                  max-width: 90px !important;
                  margin-top: 16px !important;
                  margin-left: 12px !important;
              }
              .hero-section .hero-img-left img {
                  height: 200px !important;
                  width: auto !important;
              }

              .hero-section .hero-img-center {
                  max-width: 90vw !important;
                  margin-top: 16px !important;
                  margin-left: 12px !important;
              }
              .hero-section .hero-img-center img {
                  height: 200px !important;
                  width: auto !important;
              }

              .hero-section .hero-img-right {
                  max-width: 90vw !important;
                  margin-top: 16px !important;
                  margin-left: 12px !important;
              }
              .hero-section .hero-img-right img {
                  height: 200px !important;
                  width: auto !important;
              }
          }
          /* Separate text and button responsive for extra-small phones */
          @media (max-width: 480px) {
              .hero-section .col-lg-5 h1 {
                  font-size: 1.42rem;
              }
              .hero-section .col-lg-5 p {
                  font-size: 0.94rem;
              }
              .hero-section .col-lg-5 .btn {
                  font-size: 0.95rem;
                  padding: 9px 16px;
              }
          }

            .trust-section {
                padding: 50px 8%;
                color: #fff;
                max-width: 1600px;
                margin: 0 auto;
                /* Removed background-color from here to avoid conflicting backgrounds */
            }

            .trust-section h2 {
                font-size: 28px;
                font-weight: bold;
                margin-bottom: 30px;
                color: #0066ff;
            }

            .trust-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                grid-template-rows: auto auto;
                gap: 20px;
            }

            .trust-box {
                position: relative;
                border-radius: 12px;
                overflow: hidden;
                background: #222;
                color: #fff;
                transition: transform 0.4s ease;
                cursor: pointer;
            }

            .trust-box:hover {
                transform: translateY(-5px);
                box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
            }

            .trust-box img {
                height: 250px;       /* adjust as needed */
                object-fit: cover;   /* keeps cropping neat */
            }
            

            .trust-box img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                transition: 0.4s ease;
            }

            .trust-box:hover img {
                filter: brightness(70%);
                transform: scale(1.05);
            }

            .trust-content {
                position: absolute;
                bottom: 20px;
                left: 20px;
                right: 20px;
                z-index: 2;
            }

            .trust-title {
                font-size: 20px;
                font-weight: bold;
                margin-bottom: 10px;
            }

            .trust-title i {
                margin-left: 8px;
                font-size: 14px;
            }

            /* Hidden sub-content that appears on hover */
            .trust-details {
                max-height: 0;
                opacity: 0;
                overflow: hidden;
                transition: all 0.5s ease;
                margin-top: 10px;
            }

            .trust-box:hover .trust-details {
                max-height: 200px;
                opacity: 1;
            }

            .trust-details p {
                margin: 8px 0;
                font-size: 16px;
                line-height: 1.6;
            }

            .trust-details i {
                color: #00cc44;
                margin-right: 8px;
            }

            .trust-points {
                margin-top: 10px;
                font-size: 14px;
                line-height: 1.6;
            }

            .trust-points li {
                list-style: none;
                margin-bottom: 6px;
            }

            .trust-points li i {
                color: #00cc44;
                margin-right: 8px;
            }

            /* Grid adjustments */
            .box-large {
                grid-row: span 2;
            }

            @media (max-width: 991px) {
                .trust-container {
                    grid-template-columns: 1fr;
                }
            }


            @media (max-width: 1200px) {
                .trust-section {
                    padding: 40px 6%;
                    margin: 0px -35px 0px -35px;
                }
            }

            /* Tablet: adjust typography and media sizing */
            @media (max-width: 991px) {
                .trust-section {
                    padding: 40px 6%;
                    margin: 0px -20px 0px -20px;
                }

                .trust-section h2 {
                    font-size: 1.6rem !important; /* override inline */
                }
                .trust-section > p {
                    font-size: 0.95rem !important; /* override inline */
                    line-height: 1.6;
                }

                .trust-box img {
                    height: 220px;
                }
                .box-large img{
                  height: 400px;
                }
                .box-large img {
                  object-position: 30% 10%;
                  background-position: 30% 10%;
                }

                .trust-content {
                    bottom: 16px;
                    padding: 16px;
                }

                .trust-title {
                    font-size: 18px;
                }

                /* Arrow icon circle and inner arrow */
                .trust-title span {
                    width: 22px !important;
                    height: 22px !important;
                }

                .trust-title span img {
                    width: 10px !important;
                    height: 10px !important;
                }

                .trust-details p {
                    font-size: 14px;
                    margin: 6px 0;
                }

                .trust-details i {
                    font-size: 14px;
                }
            }
          
  

            /* Mobile: further reduce sizes for compact tiles */
            @media (max-width: 576px) {
                .trust-section {
                    padding: 32px 5%;
                    margin: 0px 0px 0px 0px;
                }

                .trust-section h2 {
                    font-size: 1.25rem !important; /* override inline */
                    letter-spacing: 0.4px;
                }
                .trust-section > p {
                    font-size: 0.9rem !important; /* override inline */
                    line-height: 1.6;
                }

                .trust-box {
                    border-radius: 10px;
                }

                .trust-box img {
                    height: 190px;
                }

                .trust-content {
                    bottom: 12px;
                    padding: 12px 12px 10px 12px;
                    left:0px;
                    right:0px;
                }

                .trust-title {
                    font-size: 16px;
                }

                .trust-title i {
                    font-size: 12px;
                }

                /* Arrow icon circle and inner arrow on small screens */
                .trust-title span {
                    width: 20px !important;
                    height: 20px !important;
                }

                .trust-title span img {
                    width: 9px !important;
                    height: 9px !important;
                }

                .trust-details p {
                    font-size: 13px;
                    line-height: 1.5;
                }

                .trust-details i {
                    font-size: 13px;
                }
            }

            /* Testimonials Overlay */
            .testimonials .card {
                position: relative;
                overflow: hidden;
            }

            .testimonials .card video {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            /* Media player logo overlay */
            .carousel-slide {
                position: relative;
            }

            .carousel-slide .media-logo {
                position: absolute;
                top: 18px;
                /* Align to video's right edge: video is 80% width on desktop */
                right: calc(13% + 8px);
                width: 64px;
                height: auto;
                z-index: 3;
                pointer-events: none;
                filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
            }

            /* When video is 90% width (<=992px) */
            @media (max-width: 1292px) {
                .carousel-slide .media-logo {
                    right: calc(7% + 8px);
                }
            }

            /* When video is 90% width (<=992px) */
            @media (max-width: 992px) {
                .carousel-slide .media-logo {
                    right: calc(5% + 8px);
                }
            }

            @media (max-width: 700px) {
                .carousel-slide .media-logo {
                    width: 40px;
                    top: 8px;
                    right: 8px;
                }
            }

            @media (max-width: 480px) {
                .carousel-slide .media-logo {
                    width: 32px;
                    top: 6px;
                    right: 6px;
                }
            }

            .testimonialSection {
                background-color: #f8f8f8;
                background-image: url('bg-pattern.png');
                /* optional pattern */
                background-repeat: no-repeat;
                background-size: cover;
            }

            .testimonial-card {
                position: relative;
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                margin-bottom: 20px;
            }

            .testimonial-card img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .testimonial-card .overlay {
                position: absolute;
                bottom: 0;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                color: white;
                padding: 20px;
            }

            .play-button {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: rgba(255, 255, 255, 0.3);
                border-radius: 50%;
                padding: 16px;
                transition: 0.3s ease;
            }

            .play-button i {
                font-size: 24px;
                color: white;
            }

            .play-button:hover {
                background: rgba(255, 255, 255, 0.6);
            }

            .overlay .info h5 {
                margin: 0;
                font-weight: bold;
                font-size: 1rem;
            }

            .overlay .info p {
                margin: 0;
                font-size: 0.9rem;
                color: #ccc;
            }

             .plans-section {
                 display: flex;
                 gap: 20px;
                 padding: 40px;
                 justify-content: center;
                 flex-wrap: wrap;
                 background-color: #f8f8f8;
             }

              /* ===========================
              VIEW ALL PLANS BUTTON STYLE
              =========================== */
            .btn-outline-primary {
              border: 1.8px solid #b0b0b0;      /* subtle grey border */
              color: #555;                      /* dark grey text */
              background-color: transparent;
              border-radius: 8px;
              padding: 8px 20px;
              font-size: 16px;
              font-weight: 500;
              transition: all 0.3s ease;
            }

            .btn-outline-primary:hover {
              background-color: #e8e8e8;        /* soft grey hover background */
              color: #222;                      /* darker text */
              border-color: #999;               /* slightly darker border */
              transform: translateY(-1px);
            }


             /* Mobile responsive for plans section */
             @media (max-width: 767.98px) {
                 .plans-section {
                     padding: 20px;
                 }
                 
                 .plans-scroll {
                     gap: 15px;
                 }
                 
                 .plan-card {
                     width: 85%;
                     height: 350px;
                 }
             }

            /* plan title underline  */

             /* Ensures underline matches text width only */
          .plan-title-underline,
          .plansv2-title-underline {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            position: relative;
            width: fit-content;
          }
          .plan-title-text,
          .plansv2-title-text {
            position: relative;
            z-index: 1;
            font-family: inherit;
            font-size: inherit;
          }
          .plan-title-underline-bar,
          .plansv2-title-underline-bar {
            display: block;
            height: 3px;
            background: #fff;
            border-radius: 2px;
            margin-top: 2px;
            width: 0;
            opacity: 0;
            transition: opacity 0.22s, width 0.28s cubic-bezier(.5,1.7,.55,.95);
          }
          .plan-card:hover .plan-title-underline .plan-title-underline-bar,
          .plan-card:focus-within .plan-title-underline .plan-title-underline-bar,
          .plansv2-card:hover .plansv2-title-underline .plansv2-title-underline-bar,
          .plansv2-card:focus-within .plansv2-title-underline .plansv2-title-underline-bar {
            width: 100%;
            opacity: 1;
          }
          
/* Container scroll */
.plan-hover-icon-bg,
.plansv2-hover-icon-bg {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: #1976f7;
border-radius: 350%;
margin-right: 8px;
color: #fff;
font-size: 1.1em;
}
@media (max-width: 500px) {
.plan-hover-icon-bg, .plansv2-hover-icon-bg { width: 26px; height: 26px; font-size: 1em; }
}
    .plans-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
  }
  
  /* Plan card */
  .plan-card,
  .plansv2-card {
    position: relative;
    flex: 0 0 auto;
    width: 309px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }
  
  /* Top-right icon */
  .plan-icon,
  .plansv2-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    color: #000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
  }
  .plan-icon:hover,
  .plansv2-icon:hover {
    background: #0d6efd;
    color: #fff;
  }
  
  /* Overlay with dark-to-light (bottom-to-top) black gradient */
  .plan-overlay,
  .plansv2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.68) 50%, rgba(0,0,0,0.18) 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    transition: background 0.3s ease;
  }
  .plan-card:hover .plan-overlay,
  .plansv2-card:hover .plansv2-overlay {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
  }
  
  /* Title always visible */
  .plan-title,
  .plansv2-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  /* Hover content (hidden initially) */
  .plan-hover,
  .plansv2-hover {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
  }
  .plan-card:hover .plan-hover,
  .plansv2-card:hover .plansv2-hover {
    opacity: 1;
    max-height: 300px;
    margin-top: 12px;
  }
  
  /* Price */
  .plan-price,
  .plansv2-price {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  /* Inquiry button */
  .inquiry-btn,
  .plansv2-inquiry-btn {
    display: inline-block;
    margin-top: 12px;
    background: #0d6efd;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  .inquiry-btn:hover,
  .plansv2-inquiry-btn:hover {
    background: #004bb5;
  }
  
  /* Responsive */
  @media (max-width: 767px) {
    .plan-card {
      width: 90%;
      height: 350px;
    }
  }
  

            .plan-desc,
            .plansv2-desc {
                font-size: 14px;
                opacity: 0.8;
                margin-bottom: 15px;
            }

            /* Hidden details */
            .plan-details {
                max-height: 0;
                opacity: 0;
                overflow: hidden;
                transition: all 0.5s ease;
            }

            .plan-card:hover .plan-details {
                max-height: 200px;
                opacity: 1;
            }

            .plan-details p {
                margin: 5px 0;
                font-size: 14px;
            }

            .plan-details i {
                color: #1e90ff;
                margin-right: 8px;
            }

            .inquiry-btn {
                display: inline-block;
                margin-top: 10px;
                background: #007bff;
                color: white;
                padding: 8px 15px;
                border-radius: 8px;
                text-decoration: none;
                font-size: 14px;
                transition: background 0.3s;
            }

            .inquiry-btn:hover {
                background: #0056b3;
            }


             section.faq-section {
                 padding: 5px 10%;
                 margin: 0px -40px 20px -40px;
                 background: url('/assets/images/testi.png');
                 display: flex;
                 justify-content: center;
                 align-items: center;
                 gap: 50px;
             }

             @media ( max-width : 1290px){
             section.faq-section{
              margin: 40px 0px 40px 0px;
             }
             .exo{
              margin-top: 30px;
             }
             /* Typography adjustments */
             section.faq-section .faq-left h2 { font-size: 1.75rem; }
             section.faq-section .faq-left p { font-size: 0.98rem; }
             section.faq-section .faq-left .experience { font-size: 88px !important; }
             section.faq-section .exo { font-size: 0.95rem; }
             }
             @media ( max-width : 991px){
              section.faq-section{
                margin:40px -70px 40px -60px;
              }
              .exo{
                margin-top: 30px;
               }
              /* Typography adjustments */
              section.faq-section .faq-left h2 { font-size: 1.6rem; }
              section.faq-section .faq-left p { font-size: 0.95rem; }
              section.faq-section .faq-left .experience { font-size: 84px !important; }
              section.faq-section .exo { font-size: 0.92rem; }
             }

             /* Mobile responsive for FAQ section */
             @media (max-width: 767.98px) {
                 section.faq-section {
                     /* padding: 40px 20px; */
                     flex-direction: column;
                     margin: 40px -40px 40px -40px ;
                     gap: 30px;
                     align-items: stretch;
                 }

                 .exo{
                  margin-top: 30px;
                 }
                 
                 .faq-left {
                     text-align: center;
                 }
                 
                .faq-left h2 { font-size: 1.4rem; }
                 
                .faq-left .experience { font-size: 72px !important; }
                 
                 .faq-left span {
                     font-size: 1.1rem;
                 }
                .faq-left p { font-size: 0.92rem; }
                 
                 .faq-right {
                     width: 100%;
                 }
             }

             @media ( max-width: 500px) {
              section.faq-section{
                margin : 30px -25px 30px -25px;
              }
               /* Typography adjustments */
               section.faq-section .faq-left h2 { font-size: 1.3rem; }
               section.faq-section .faq-left p { font-size: 0.9rem; }
               section.faq-section .faq-left .experience { font-size: 64px !important; }
               section.faq-section .exo { font-size: 0.88rem; }
             }

             @media ( max-width : 400px){
              section.faq-section{
                margin:30px -15px 30px -15px ;
              }
               /* Typography adjustments */
               section.faq-section .faq-left h2 { font-size: 1.2rem; }
               section.faq-section .faq-left p { font-size: 0.88rem; }
               section.faq-section .faq-left .experience { font-size: 58px !important; }
               section.faq-section .exo { font-size: 0.85rem; }
             }

            /* Left Content */
            .faq-left {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                text-align: left;
            }

            .faq-left h2 {
                color: #1663f8;
                font-size: 30px;
                margin-bottom: 15px;
                text-align: left;
                width: 100%;
            }

            .faq-left p {
                color: #333;
                line-height: 1.6;
                margin-bottom: 5px;
                text-align: left;
                width: 100%;
            }

            .faq-left .experience {
              font-size: 175px; /* default desktop size */
              font-weight: 300 !important;
              color: #1663f8;
              margin-bottom: -40px;
              text-align: left;
              letter-spacing: -6px;
              font-family: 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
              transition: font-size 0.3s ease;
            }
            
            .faq-left span {
                display: block;
                font-size: 22px;
                font-weight: 600;
                color: #000;
                text-align: left;
                width: 100%;
            }

            /* Right Accordion */
            .faq-right {
                flex: 1.2;
                background: #f1f1f1;
                padding: 25px;
                border-radius: 12px;
            }

            .accordion-item {
                border-bottom: 1px solid #ddd;
                padding: 15px 0;
            }

            .accordion-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 18px;
                font-weight: 600;
                cursor: pointer;
                color: #111827;
                transition: 0.3s;
            }

            .accordion-header:hover {
                color: #1663f8;
            }

            .accordion-icon {
                font-size: 22px;
                transition: transform 0.3s ease;
            }

            .accordion-content {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease, opacity 0.4s ease;
                opacity: 0;
                font-size: 15px;
                color: #444;
                line-height: 1.5;
                margin-top: 10px;
            }

            .accordion-item.active .accordion-content {
                max-height: 150px;
                opacity: 1;
            } 

            .accordion-item.active .accordion-icon {
                transform: rotate(180deg);
            }

            /* Custom button style */
            .btn-custom-blue {
                background-color: #0d6efd;
                color: #fff;
                border-radius: 30px;
                padding: 10px 28px;
                font-weight: 600;
                border: none;
            }

            .btn-custom-blue:hover {
                background-color: #084cd9;
                color: #fff;
            }

            /* Star rating */
            .stars {
                color: #f0ad4e;
                font-size: 1rem;
            }

            .testimonial-rating {
                display: flex;
                align-items: center;
                gap: 0.3rem;
                font-weight: 600;
                font-size: 0.9rem;
            }

            
             .hero-section1 {
                 position: relative;
                 display: flex;                 align-items: center;
                 justify-content: center;
                 background: linear-gradient(268deg, black, transparent), url("/assets/images/Home/family.webp");
                 color: white;
                 overflow: hidden;
                 padding: 30px 40px;
                 background-repeat: no-repeat;
                 background-size: cover;
                 background-position: center;
                 background-color: #f8f8f8;
             
                 /* Boxed look */
                 max-width: 1300px;   /* Control width */
                 margin: 40px auto;   /* Center section with spacing */
                 border-radius: 12px; /* Optional rounded corners */
                 box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Optional shadow */
             }

             /* Mobile responsive adjustments for hero sections */
             @media (max-width: 767.98px) {
                 .hero-section1 {
                     padding: 12px 10px 18px 10px; /* Less vertical padding, add side space */
                     margin: 14px 7px;             /* Reduce top/bottom margin, add side margin (space left/right) */
                 }
                 
                 .hero-content1 {
                     flex-direction: column;
                     text-align: center;
                 }
                 
                 .hero-text1 {
                     padding: 0.7rem 0.3rem;     /* Less overall padding */
                 }
                 
                 .hero-text1 h2 {
                     font-size: 1.5rem;          /* Slightly smaller heading */
                 }
                 
                 .hero-text1 p {
                     font-size: 0.88rem;         /* Slightly smaller paragraph */
                     margin-bottom: 1.1rem;      /* Reduce paragraph bottom margin if present */
                 }
             }

            .hero-content1 {
                display: flex;
                align-items: center;
                width: 100%;
            }

            .hero-image1 {
                flex: 1;
            }

            .hero-image1 img {
                width: 100%;
                height: auto;
                border-radius: 12px;
                object-fit: cover;
            }

            .hero-text1 {
                flex: 1;
                padding: 2rem;
                animation: fadeInUp 1s ease forwards;
            }

            .hero-text1 h2 {
                font-size: 1.9rem; /* align with trustedFamiliesSection scale */
                font-weight: 600;
                margin-bottom: 1rem;
            }

            .hero-text1 p {
                font-size: 1.05rem;
                margin-bottom: 1.5rem;
            }

            .btn-hero {
                display: inline-block;
                background: #0066ff;
                color: white;
                padding: 7px 16px;
                border-radius: 8px;
                font-weight: 600;
                text-decoration: none;
                transition: 0.3s ease;
            }

            .btn-hero:hover {
                background: #0044cc;
                transform: translateY(-3px);
            }


            /* Animations */
            .animate-text1 {
                opacity: 0;
                transform: translateY(30px);
                animation: fadeInUp 1s ease forwards;
            }

            .animate-text1.delay-1 {
                animation-delay: 0.5s;
            }

            .animate-text1.delay-2 {
                animation-delay: 1s;
            }

            @keyframes fadeInUp {
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .section-title {
                font-size: 28px;
                font-weight: 700;
                color: #0072ff;
                margin-bottom: 20px;
                position: relative;
                display: inline-block;
            }

            .section-title::after {
                content: '';
                position: absolute;
                width: 40px;
                height: 2px;
                background: #0072ff;
                bottom: -8px;
                left: 50%;
                transform: translateX(-50%);
            }

            .intro-text {
                max-width: 700px;
                color: #444;
                line-height: 1.8;
                margin-bottom: 30px;
            }

            /* Swiper Slider */
            .swiper {
                padding-bottom: 50px;
            }

            .swiper-slide {
                background: #fff;
                border-radius: 15px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
                overflow: hidden;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .swiper-slide:hover {
                transform: translateY(-8px);
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            }

            .swiper-slide img {
                width: 100%;
                height: 220px;
                object-fit: cover;
                border-bottom: 1px solid #eee;
            }

            .card-content {
                padding: 20px;
            }

            .card-content h3 {
                font-size: 18px;
                font-weight: 600;
                margin-bottom: 10px;
                color: #222;
            }

            .card-content p {
                font-size: 14px;
                color: #555;
                line-height: 1.6;
                margin-bottom: 15px;
            }

            .card-content a {
                text-decoration: none;
                color: #0072ff;
                font-weight: 500;
                transition: color 0.3s;
                display: inline-flex;
                align-items: center;
            }

            .card-content a:hover {
                color: #0056cc;
            }

            .card-content a::after {
                content: '→';
                margin-left: 6px;
                font-size: 14px;
                transition: transform 0.3s ease;
            }

            .card-content a:hover::after {
                transform: translateX(4px);
            }

            /* Active (highlighted) card */
            /* Active slide highlight */
.swiper-slide-active {
    background: #0072ff;
    color: #fff;
    transform: scale(1.03);
}

.swiper-slide-active h3,
.swiper-slide-active p,
.swiper-slide-active a {
    color: #fff !important;
}

.swiper-slide-active a::after {
    color: #fff;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    background: #0072ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static; /* keep inside left column */
}

.swiper-button-prev {
    position: relative;
    top: 20px;
    right: 60px;
}

.swiper-button-next {
    position: relative;
    left: 120px;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    color: white;
    font-size: 12px;
}

/* ------------------------
   BLOG TEXT TRUNCATION
------------------------- */

/* Title - approx 5 chars */
.swiper-slide h3 {
    white-space: nowrap;       /* single line */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;           /* adjust until ~5 chars fit */
}

/* Description - approx 10 chars */
.swiper-slide p {
    white-space: nowrap;       /* single line */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;          /* adjust until ~10 chars fit */
}


            .offer-section {
                padding: 50px 8%;
                text-align: start;
                max-width: 1600px;
                margin: 0 auto;
                background-color: #f8f8f8;
            }

            .offer-section h2 {
                font-size: 28px;
                font-weight: bold;
                color: #0066ff;
                margin-bottom: 10px;
            }

            .offer-section p {
                max-width: full width;
                /* margin: 0 auto 30px; */
                font-size: 16px;
                color: #000000;
            }

            .offer-sections{
              margin: 0px 120px 0px 120px ;
            }
            .offer-header {
                margin-top: 30px;
                margin-bottom: 5px;
            }

            .offer-header button {
                padding: 8px 18px;
                border: 1px solid #ccc;
                border-radius: 8px;
                /* background: transparent; */
                cursor: pointer;
                font-size: 14px;
            }

             .offer-container {
                 display: grid;
                 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                 gap: 20px;
             }

             /* Mobile responsive for offer section */
             @media (max-width: 767.98px) {
                 .offer-container {
                     grid-template-columns: 1fr;
                     gap: 15px;
                 }
                 
                 .offer-card {
                     padding: 20px;
                 }
                 
                 .offer-section h2 {
                     font-size: 1.5rem;
                     text-align: left;
                 }
                 
                 .offer-section p {
                     text-align: center;
                 }
                 
                 .offer-header {
                     flex-direction: column;
                     align-items: center;
                     gap: 15px;
                 }
             }

            .offer-card {
                background: #fff;
                border-radius: 12px;
                padding: 25px;
                text-align: left;
                position: relative;
                transition: all 0.3s ease;
                border: 1px solid #ddd;
            }

            .offer-card:hover {
                background: #1e90ff;
                color: #ffffff;
                border: none;
            }

            .offer-card:hover {
                transform: translateY(-5px);
                box-shadow: 0px 8px 18px rgba(255, 255, 255, 0.1);
            }

            /* On hover, set all content to white except the button */
            .offer-card:hover h3,
            .offer-card:hover p,
            .offer-card:hover hr,
            .offer-card:hover .icon,
            .offer-card:hover p i {
                color: #ffffff !important;
            }

            /* On hover, set the button text to black, but its children (icon, span, etc) to white */
            .offer-card:hover button {
                color: #000000 !important;
                /* If you want the button background to change, you can add background here */
            }

            /* Ensure inner content of the button is white on hover */
            .offer-card:hover button > *,
            .offer-card:hover button svg,
            .offer-card:hover button i,
            .offer-card:hover button span {
                color: #ffffff !important;
                fill: #ffffff !important;
            }

            .offer-card .icon {
                font-size: 30px;
                margin-bottom: 15px;
            }

            .offer-card h3 {
                font-size: 22px;
                font-weight: bold;
                margin: 10px 0;
            }

            .offer-card hr {
                margin: 15px 0;
                border: 0;
                height: 3px;
                background: #ffffff;
            }

            .offer-card.active hr {
                background: rgb(255, 255, 255);
            }

            .offer-card p {
                margin: 8px 0;
                font-size: 14px;
            }

            .offer-card p i {
                margin-right: 8px;
                color: #0066ff;
            }

            .offer-card.active p i {
                color: #fff;
            }

            .offer-card button {
                margin-top: 15px;
                padding: 10px 15px;
                width: 100%;
                background: transparent;
                border: 1px solid #ccc;
                border-radius: 8px;
                cursor: pointer;
                font-weight: bold;
                font-size: 14px;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
            }

            .offer-card.active button {
                background: #fff;
                color: #0066ff;
                border: none;
            }


            @media( max-width : 1200px ){
              .offer-sections{
                margin: 0px 25px 0px 30px ;
              }
            }

            @media ( max-width : 991px ){
              .offer-sections{
                margin: 70px 30px 0px 30px;
              
              }
            }

            @media ( max-width : 700px){
              .offer-sections{
                margin: 70px 20px 0px 20px ;
              }
            }


             .trustedFamiliesSection {
                 background-color: #f8f8f8;
                 background-image: url('./assets/images/Home/Peoples-image.webp');
                 background-size: 1290px 600px; /* manually set size in px */
                 background-position: center;
                 background-repeat: no-repeat;
                 min-height: 75vh;
                 position: relative;
                 z-index: 1;
               
                 max-width: 1300px;
                 margin: 40px auto;
                 border-radius: 12px;
                
                 overflow: hidden;
                 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
               }

               .trustedFamiliesSection .overlay-box{
                padding : 2em 2em 2em 2em;
               }

               .trustedFamiliesSection .overlay-box p {
                margin : 0em -30px 0em -30px ;
               }

               /* Mobile responsive for trusted families section */
               @media (max-width: 767.98px) {
                   .trustedFamiliesSection {
                       min-height: 50vh;
                       margin: 20px auto;
                   }
                   
                   .trustedFamiliesSection h2 {
                       font-size: 1.5rem;
                       text-align: center;
                   }
                   .trustedFamiliesSection .overlay-box p {
                    margin : 0em 0px 0em 0px ;
                   }
                   .trustedFamiliesSection p {
                       font-size: 1rem;
                       text-align: center;
                   }
                   
                   .overlay-box {
                       padding: 20px;
                   }
               }
              
              .trustedFamiliesSection::before {
                content: "";
                position: absolute;
                inset: 0;
                background-color: rgba(0,0,0,0.45);
                z-index: -1;
              }
              
              /* -----------------------------
                 OFFER SECTION RESPONSIVE GRID & LEFT ALIGNMENT
                 Force 1x1 (mobile) and 2x2 (tablet)
                 Overrides inline grid columns
                 Also left-aligns offer section content
                 ----------------------------- */
              @media (max-width: 575.98px) {
                  .offer-section .offer-container {
                      grid-template-columns: 1fr !important;
                      gap: 16px !important;
                      justify-items: center;
                  }
                  .offer-section,
                  .offer-section h2,
                  .offer-section p,
                  .offer-section .offer-header {
                      text-align: left !important;
                      align-items: flex-start !important;
                  }
              }

              @media (min-width: 576px) and (max-width: 991.98px) {
                  .offer-section .offer-container {
                      grid-template-columns: repeat(2, 1fr) !important;
                      gap: 20px !important;
                      justify-items: start;
                  }
                  .offer-section,
                  .offer-section h2,
                  .offer-section p,
                  .offer-section .offer-header {
                      text-align: left !important;
                      align-items: flex-start !important;
                  }
              }

              /* NEW overlay box behind text */
              .overlay-box {
                background-color: rgba(64, 64, 64, 0.5); /* semi-transparent allows bg view, rgb for customization */
                border-radius: 12px;
              }
              
              /* Responsive typography */
              .trustedFamiliesSection h2 {
                font-weight: 800;
                font-size: 2.1rem;
                line-height: 1.4;
              }
              
              .trustedFamiliesSection p {
                font-size: 1.0rem;
                line-height: 1.5;
              }


 /* ===========================
   Testimonial Section Styles
   =========================== */
.testimonial-section {
    padding: 50px 8% 0 8%;
    max-width: 1600px;
    margin: 0 auto 20px auto;
    font-family: 'Poppins', sans-serif;
    background: #f8f8f8;
    color: #333;
    line-height: 1.6;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* Reduce top margin for heading section */
    margin-top: -20px;
}
  
  /* Header */
  .testimonial-section .heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1450px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .testimonial-section .title-content h2 {
    font-family: 'Jost', cursive;
    font-size: 33px;
    color: #0066ff;
    font-weight: 600;
    letter-spacing: 1.5px;
    /* margin: 0 0 5px 0; */
    margin: 0 0 2px 0; /* Reduce bottom margin to visually center with description */
  }
  
  .testimonial-section .heading p {
    font-family: 'Jost', cursive;
    font-size: 18px;
    color: #000000;
    font-weight: 350;
    margin-top: 4px; /* Slightly bring h3 closer upwards, set in px */
  }
  
  /* .testimonial-section .golden-underline {
    width: 480px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    border-radius: 1px;
  }
   */
  /* ===========================
     Carousel Layout
     =========================== */
  .carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  /* ===========================
     Card / Slide Styles
     =========================== */
  .carousel-slide {
    flex: 0 0 70%;
    transition: all 0.6s ease;
    opacity: 0.4;
    transform: scale(0.9);
    filter: blur(2px);
    z-index: 1;
  }
  
  .carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: none;
    z-index: 3;
  }
  
  .testimonial-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 420px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }
  
  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }
  
  /* ===========================
     Video Container
     =========================== */
  .testimonial-video-container {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
  }
  
  .testimonial-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* ===========================
     Text Section
     =========================== */
  .testimonial-content {
    flex: 1;
    background: #fefefe;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .testimonial-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
  }
  
  .testimonial-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
  }
  
  .testimonial-content .stars {
    color: #ffb400;
    font-size: 20px;
  }

  /* our plans - home page  */
  .plan-card .plan-desc {
    transition: opacity 0.2s;
    pointer-events: auto;
  }
  .plan-card:hover .plan-desc,
  .plan-card:focus-within .plan-desc {
    opacity: 0;
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
  }
  /* Optional: Hide plan-desc if .plan-hover is visible (in case of plans using JS instead of CSS hover) */
  .plan-card .plan-hover {
    pointer-events: auto;
  }
  
  /* ===========================
     Play Button
     =========================== */
  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .play-btn:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  .play-btn i {
    font-size: 22px;
    color: #0066ff;
  }
  
  /* ===========================
     Arrows
     =========================== */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0066ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 22px;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); */
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
  }
  .carousel-btn:hover {
    background: #004fcc;
    transform: translateY(-50%) scale(1.1);
  }
  .prev-btn { left: -70px; }
  .next-btn { right: -70px; }
  
  /* ===========================
     RESPONSIVE STYLES
     =========================== */
  
  /* Tablets */
  @media (max-width: 991px) {
    .testimonial-section {
      padding: 60px 20px;
    }
    .testimonial-card {
      flex-direction: column;
      height: auto;
    }
    .testimonial-video-container {
      height: 300px;
    }
    .testimonial-content {
      padding: 25px;
      text-align: center;
    }
    .carousel-btn {
      width: 50px;
      height: 50px;
      font-size: 18px;
    }
    .prev-btn { left: -30px; }
    .next-btn { right: -30px; }
  }
  
  /* Mobiles */
  @media (max-width: 576px) {
    .testimonial-section {
      padding: 40px 10px;
      margin:0px 0px 0px 0px ;
    }
    .carousel-slide {
      flex: 0 0 95%;
    }
    .testimonial-card {
      flex-direction: column;
      height: auto;
    }
    .testimonial-video-container {
      height: 240px;
    }
    .testimonial-content {
      padding: 20px;
    }
    .play-btn {
      width: 55px;
      height: 55px;
    }
    .play-btn i {
      font-size: 18px;
    }
    .carousel-btn {
      width: 45px;
      height: 45px;
      font-size: 16px;
    }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
  }
  
  /* Small Mobiles */
  @media (max-width: 400px) {
    
    .testimonial-content h4 {
      font-size: 18px;
    }
    .testimonial-content p {
      font-size: 14px;
    }
    .testimonial-content .stars {
      font-size: 18px;
    }
    .play-btn {
      width: 45px;
      height: 45px;
    }
  }
  /* ======================
   TOP BAR STYLES
====================== */
.top-bar {
  background: #f7fafd;
  border-bottom: 1px solid #e0dfdf;
  padding: 8px 0;
  font-family: "Jost", sans-serif;
  color: rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, height 0.3s ease, padding 0.3s ease, opacity 0.2s ease, border 0.2s ease;
}

.top-bar .container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 20px;
}

/* Left section */
.top-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-left img {
  width: 18px;
  height: 18px;
}

/* Right section */
.top-right {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.top-right .location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-right .location img {
  width: 16px;
  height: 16px;
}

/* Social icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons a {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #1976d2;
  transform: translateY(-2px);
}

/* ======================
   RESPONSIVE DESIGN
====================== */

/* Tablet & small screens: horizontal layout - phone left, location center, social right */
@media (max-width: 991px) {
  .top-bar .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap; /* keep items on one horizontal row */
    gap: 10px;
  }
  .top-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .top-right {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .top-right .location {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center; /* center the location */
    text-align: center;
  }
  .top-right .social-icons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* right align socials */
    gap: 12px;
  }
}

/* Mobile: keep horizontal distribution */
@media (max-width: 576px) {
  .top-bar { padding: 10px 5px; }
  .top-bar .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* force single row */
  }
  .top-left span,
  .top-right .location span { font-size: 13px; }
  .top-right .location { justify-content: center !important; text-align: center !important; }
  .social-icons a { font-size: 13px; }
  .social-icons { gap: 10px; white-space: nowrap; }
}

/* Mobile (300px–600px): Force one line - left (phone), center (location), right (social) */
@media (min-width: 300px) and (max-width: 600px) {
  .top-bar .container {
    display: grid;
    grid-template-columns: auto 1fr auto; /* left | center | right */
    align-items: center;
    gap: 8px;
    padding: 0 10px;
  }
  /* Left: phone */
  .top-left {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .top-left img { width: 16px; height: 16px; }
  /* Center: location */
  .top-right { display: contents; }
  .top-right .location {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    min-width: 0;
  }
  .top-right .location img { width: 16px; height: 16px; }
  /* Right: social icons */
  .top-right .social-icons {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }
  /* Uniform small font size across items */
  .top-left span,
  .top-right .location span { font-size: 12px; line-height: 1.3; }
  .top-bar .social-icons a { font-size: 12px; }
  .top-bar .social-icons i { font-size: 12px !important; }
}

/* Ultra-small mobiles (300px–530px): split into two (phone | location), move socials to navbar */
@media (min-width: 300px) and (max-width: 530px) {
  /* Two-column layout */
  .top-bar .container {
    grid-template-columns: auto 1fr; /* phone | location */
  }
  .top-left { justify-self: start; }
  .top-right { display: contents; }
  .top-right .location {
    grid-column: 2;
    justify-content: flex-end;
    text-align: right;
  }
  /* Hide top-bar socials; they will appear in navbar */
  .top-right .social-icons { display: none !important; }

  /* Show navbar socials within collapsed menu - centered */
  .nav-social-icons { 
    display: flex; 
    justify-content: center;
    gap: 12px; 
    padding: 8px 16px 12px 16px; 
    border-top: 1px solid #f0f2f5; 
  }
  .nav-social-icons a { color: rgba(0,0,0,0.7); font-size: 18px; }
  .nav-social-icons a:hover { color: #1976d2; }
}

/* Hide nav-social-icons on all other devices (above 530px) */
@media (min-width: 531px) {
  .nav-social-icons {
    display: none !important;
  }
}

/* Tablet small (600px–991px): Keep one line L-C-R with same sizing */
@media (min-width: 600px) and (max-width: 991px) {
  .top-bar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
  }
  .top-left { justify-self: start; display: flex; align-items: center; gap: 8px; }
  .top-left img { width: 16px; height: 16px; }
  .top-right { display: contents; }
  .top-right .location { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; text-align: center; }
  .top-right .location img { width: 16px; height: 16px; }
  .top-right .social-icons { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
  /* Uniform small font size */
  .top-left span,
  .top-right .location span { font-size: 12px; line-height: 1.3; }
  .top-bar .social-icons a { font-size: 12px; }
  .top-bar .social-icons i { font-size: 12px !important; }
}
/* -----------------------------------
   Mobile override: location not centered
----------------------------------- */
@media (max-width: 576px) {
  .top-bar .container > div:nth-child(2) > div:first-child {
    justify-content: center !important; /* center the location on mobile */
    text-align: center !important;
    align-items: center !important;
    width: 100%;
  }
}
  .top-bar {
    position: relative;
    background-color: #f8f9fa;
    z-index: 1040; /* below the navbar */
  }

/* Hide only the top bar on scroll; keep navbar visible */
.main-header.hide-top-bar .top-bar {
  transform: translateY(-100%);
  height: 0;
  padding: 0;
  opacity: 0;
  border-bottom: 0;
  pointer-events: none;
}

  .heroSection2 {
  position: relative;
  width: 100%;
  height: 400px; /* fixed like desktop screenshot */
  background: url("/assets/images/girl.png") center right/cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
  margin: 60px auto;
  max-width: 1250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Dark gradient overlay on left side */
.heroSection2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0.1) 70%);
  z-index: 1;
}

/* Content container */
.heroSection2 .content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* ✅ left-aligned */
  text-align: left;
  color: #fff;
  padding: 0 60px;
}

.heroSection2 h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 15px;
  max-width: 500px;
}

.heroSection2 p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 540px;
  color: #f1f1f1;
}

.heroSection2-btn {
  display: inline-block;
  background-color: #0066FF;
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s ease;
}

.heroSection2-btn:hover {
  background-color: #006ce0;
  transform: translateY(-2px);
}

/* ✅ Tablet View */
@media (max-width: 991px) {
  .heroSection2 {
    height: 350px;
    margin: 40px 20px;
    border-radius: 10px;
  }

  .heroSection2 .content {
    padding: 0 40px;
  }

  .heroSection2 h1 {
    font-size: 2rem;
  }

  .heroSection2 p {
    font-size: 1rem;
  }
}

/* ✅ Mobile View */
@media (max-width: 576px) {
  .heroSection2 {
    height: auto;
    padding: 60px 20px;
    background-position: center;
  }

  .heroSection2::before {
    background: rgba(0, 0, 0, 0.5); /* full overlay on mobile */
  }

  .heroSection2 .content {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .heroSection2 h1 {
    font-size: 1.6rem;
    max-width: 90%;
  }

  .heroSection2 p {
    font-size: 0.95rem;
    max-width: 90%;
  }
}
/* Section layout */
.testimonial-section {
  padding: 50px 8% 0 8%;
  max-width: 1600px;
  margin: 0 auto 20px auto;
  font-family: 'Jost', sans-serif;
  background-color: #f8f8f8;
}

/* Heading */
.testimonial-section .heading h2 {
  font-size: 2rem;
  color: #1769e0;
  margin-bottom: 8px;
}

@media (max-width: 991px) {
  .testimonial-section .heading h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 576px) {
  .testimonial-section .heading h2 {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }
}

.testimonial-section .heading p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-slide.active {
  display: flex;
}

/* Video styling */
.carousel-slide video {
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background-color: #000;
}

/* Reviewer text */
.reviewer {
  margin-top: 15px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1769e0;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #004bb5;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 992px) {
  .carousel-slide video {
    width: 90%;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .carousel-slide video {
    width: 100%;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .prev-btn { left: 5px; top:86px; }
  .next-btn { right: 5px; top:86px;}
}

.offer-section {
  padding: 80px 5%;
  background: #f9fafc;
  font-family: 'Jost', sans-serif;
  text-align: center;
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: left;
  flex-wrap: wrap;
  gap: 12px;
}

.offer-header h2 {
  font-weight: 600;
  color: #1769e0;
  font-size: 2rem;
  display: flex;
  align-items: left;
}

.title-decor {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}
.title-decor span:first-child {
  width: 16px;
  height: 16px;
  background: #1769e0;
  border-radius: 50%;
  margin-right: 10px;
}
.title-decor span:last-child {
  width: 48px;
  height: 2px;
  background: #1769e0;
  opacity: 0.3;
}

.view-all-btn {
  background: #1769e0;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}
.view-all-btn:hover {
  background: #b76d0d;
}

.offer-subtitle {
  color: #444;
  font-size: 1rem;
  /* margin: 16px auto 40px; */
  max-width: 700px;
}

.offer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.offer-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: left;
  transition: 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.offer-card:hover,
.offer-card.active {
  background: #1769e0;
  color: #fff;
  border-color: #1769e0;
  transform: translateY(-4px);
}

.offer-icon {
  font-size: 2rem;
  color: #1769e0;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.offer-card:hover .offer-icon,
.offer-card.active .offer-icon {
  color: #fff;
}

.offer-card h3 {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.offer-card hr {
  width: 50px;
  height: 2px;
  border: none;
  background: currentColor;
  opacity: 0.3;
  margin: 10px 0;
}

.offer-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  margin: 8px 0;
}

.offer-card button {
  background: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  color: #000;
  margin-top: 16px;
  transition: 0.3s;
}
.offer-card:hover button,
.offer-card.active button {
  background: #fff;
  color: #1769e0;
}

/* Responsive */
@media (max-width: 991px) {
  .offer-header {
    justify-content: center;
    text-align: center;
    margin: -80px 0px 0px 0px;
  }
  .offer-header h2 {
    font-size: 1.8rem;
  }
  .offer-subtitle {
    font-size: 0.95rem; /* match trust-section paragraph scale */
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .offer-section {
    padding: 60px 20px;
    margin: 20px 0px 0px 20px;
  }
  .offer-header h2 {
    font-size: 1.4rem; /* mobile heading scale */
    letter-spacing: 0.3px;
    align-items: left;
    text-align: left;
  }
  .offer-subtitle{
    margin-top: 20px;
    font-size: 0.9rem; /* mobile paragraph scale */
    line-height: 1.6;
  }
  
  .offer-card {
    padding: 24px 18px;
  }
  .offer-card h3 {
    font-size: 1.3rem;
  }
  .offer-card p {
    font-size: 0.9rem;
  }

  /* Mobile: show first 4 offers, hide the rest until expanded */
  .offer-container .offer-card:nth-child(n+5) { display: none; }
  .offer-container.expanded .offer-card { display: block; }

  /* Mobile-only view-all button under cards */
  .view-all-mobile {
    display: block;
    width: 100%;
    margin: 12px 0 0 0;
  }
}

/* Hide mobile view-all button on tablet/desktop */
@media (min-width: 577px) {
  .view-all-mobile { display: none; }
}



@media (max-width: 700px) {
  .hero-section .row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 38px !important;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
  }
  /* Remove width and box-sizing override for .col-lg-6/.col-lg-5, let them size by content */
  .hero-section .col-lg-6 {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 0;
    margin-top: 0;
  }
  .hero-section .col-lg-5 {
    order: 2;
    text-align: center;
    margin-top: 16px !important;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  /* Blue arc and images scale as a group (keep positions but shrink) */
  .hero-section .position-relative  > div:first-child {
    min-width: 0 !important;
    /* min-height: 20px !important; */
    /* width: 95vw; */
    max-width: 440px;
    margin: 0px auto;
    position: relative;
  }
  .hero-section .position-relative > div[style*='background: radial-gradient'] {
    width: 310px ;
    height: 180px ;
    top: 13px ;
    right: auto ;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-top-left-radius: 950px 920px ;
    border-top-right-radius: 950px 920px ;
    background: radial-gradient(circle at center, #1976d2 100%, #ededed 100%) !important;
    z-index: 1;
  }
  /* Images as in desktop, just scaled proportionally, removed forced background and box shadow */
  .hero-section .hero-img {
    position: absolute !important;
    z-index: 2;
  }
  .hero-section .hero-left {
    left: 6px !important;
    top: -25px !important;
  }
  .hero-section .hero-center {
    left: 54px !important;
    top: -25px !important;
    z-index: 2;
  }
  /* .hero-section .hero-right {
    right: 6px !important;
    top: -25px !important;
  } */
  .hero-section .hero-img img {
    height: 185px ;
    max-width: 100%;
    border-radius: 12px !important;
    /* REMOVE background and box-shadow for natural effect */
    background: none !important;
    box-shadow: none !important;
    object-fit: cover;
    display: block;
  }
  .hero-section .col-lg-5 h1 {
    font-size: 1.13rem ;
    margin-bottom: 9px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
  }
  .hero-section .col-lg-5 p {
    font-size: 0.91rem !important;
    margin: 8px 0 14px !important;
    line-height: 1.6 !important;
  }
  .hero-section .col-lg-5 .btn {
    font-size: 0.98rem !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    margin-top: 5px !important;
  }
}

@media (max-width: 480px) {
  /* Remove old redundant hero-section mobile rules for this breakpoint */
  .hero-section .position-relative  > div:first-child {
    min-width: 0 !important;
    /* min-height: 85px !important; */
    width: 99vw;
    /* max-width: 175px; */
  
    margin: 0px auto auto auto;
    position: relative;
  }
  .hero-section .position-relative > div[style*='background: radial-gradient']   {
    width: 45px !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-top-left-radius: 300px 304px !important;
    border-top-right-radius: 300px 304px !important;
    background: radial-gradient(circle at center, #1976d2 100%, #ededed 100%) !important;
    z-index: 1;
  }
  .hero-section .hero-img {
    position: absolute !important;
  }
  .hero-section .hero-left {
    left: -42px !important;
    top: 93px !important;
    z-index: 2 !important;
  }
  .hero-section .hero-center {
    left: 5px !important;
    top: 93px !important;
    z-index: 3 !important;
  }
  .hero-section .hero-right {
    right: -42px !important;
    top: 93px !important;
    z-index: 2 !important;
  }
  .hero-section .hero-img img {
    height: 242px !important;
    max-width: 100%;
    border-radius: 8px !important;
    background: none !important;
    box-shadow: none !important;
    object-fit: cover;
    display: block;
  }
  .hero-section .col-lg-5 h1 {
    font-size: 1.9rem !important;
    margin-bottom: 9px !important;
    font-weight: 600 !important;
    margin-top: 50px !important;

  }
  .hero-section .col-lg-5 p {
    font-size: 0.91rem !important;
    margin: 8px 0 14px !important;
    line-height: 1.6 !important;
    text-align: center;
  }
  .hero-section .col-lg-5 .btn {
    font-size: 0.98rem !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    margin-top: 5px !important;
  }
}

@media (min-width: 401px) and (max-width: 700px) {
  /* HEROSECTION position-relative adjustments */
  .hero-section .position-relative  > div:first-child  {
    /* Add your custom styles here! */
    /* Example: */
    min-width: 0 !important;
    /* min-height: 10px !important; */
    height:10px;
    width: 90vw;
    max-width: 430px;
    margin: -45px auto;
    position: relative;
    /* ...more as you need... */
  }

  /* HEROSECTION blue arc or background gradient (if needed) */
 

  /* All hero images */
  .hero-section .hero-img {
    position: absolute !important;
    /* Place your custom positions if needed */
  }
  .hero-section .hero-left {
    /* Example: */
    left: 0 !important;
    top: 50px !important;
    z-index: 2 !important;
  }
  .hero-section .hero-center {
    left: 48px !important;
    top: 50px !important;
    z-index: 3 !important;
  }
  .hero-section .hero-right {
    right: 0 !important;
    top: 50px !important;
    z-index: 2 !important;
  }
  .hero-section .hero-img img {
    height: 242px !important;
    max-width: 100%;
    border-radius: 10px !important;
    background: none !important;
    box-shadow: none !important;
    object-fit: cover;
    display: block;
  }
}

/* third section  */
.start-journey-btn {
  padding: 7px 18px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.start-journey-icon {
  width: 28px;
  height: 28px;
  margin-left: 5px;
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .start-journey-btn {
    padding: 7px 12px;
    font-size: 0.95rem;
  }
  .start-journey-icon {
    width: 24px;
    height: 24px;
    margin-left: 4px;
  }
}
@media (max-width: 575.98px) {
  .start-journey-btn {
    padding: 7px 8px;
    font-size: 0.89rem;
  }
  .start-journey-icon {
    width: 20px;
    height: 20px;
    margin-left: 3px;
  }
}


/* second section  */
/* ===== Responsive: Trusted Families Section ===== */
@media (max-width: 1200px) {
  .trustedFamiliesSection .overlay-box {
    padding: 2.5rem 2rem;
  }
  .trustedFamiliesSection .overlay-box p {
    margin : 0em 0px 0em 0px ;
   }
  .trustedFamiliesSection h2 {
    font-size: 2rem;
  }
  .trustedFamiliesSection{
    margin: 0px 25px 20px 25px;
  }
  .trustedFamiliesSection p {
    font-size: 1.11rem;
  }
  /* hero section 1 typography */
  .hero-text1 h2 { font-size: 2rem; }
  .hero-text1 p { font-size: 1.02rem; }
}

@media (max-width: 991px) {
  .trustedFamiliesSection .overlay-box {
    padding: 2rem 0.8rem;
  }
  .trustedFamiliesSection h2 {
    font-size: 1.5rem;
  }
  .trustedFamiliesSection{
    margin: 0px 30px 20px 30px;
  }
  .trustedFamiliesSection p {
    font-size: 1.01rem;
  }
  /* hero section 1 typography */
  .hero-text1 h2 { font-size: 1.7rem; }
  .hero-text1 p { font-size: 0.98rem; }
}

@media (max-width: 700px) {
  .trustedFamiliesSection .overlay-box {
    padding: 1.4rem 0.7rem;
    border-radius: 12px;
  }
  .trustedFamiliesSection h2 {
    font-size: 1.22rem;
    line-height: 1.25;
  }
  .trustedFamiliesSection{
    margin: 0px 30px 20px 30px;
  }
  .trustedFamiliesSection p {
    font-size: 0.84rem;
  }
  /* hero section 1 typography */
  .hero-text1 h2 { font-size: 1.17rem; }
  .hero-text1 p { font-size: 0.84rem; }
}

@media (max-width: 480px) {
  .trustedFamiliesSection .overlay-box {
    padding: 0.92rem 0.36rem;
    border-radius: 10px;
    width:90%
    
  }
  .trustedFamiliesSection{
    margin: 0px 20px 20px 20px;
  }
  .trustedFamiliesSection h2 {
    font-size: 0.98rem;
    letter-spacing: 0.3px;
  }
  .trustedFamiliesSection p {
    font-size: 0.71rem;
  }
  /* hero section 1 typography */
  .hero-text1 h2 { font-size: 0.98rem; }
  .hero-text1 p { font-size: 0.78rem; }
}

/* Ensure left side (family) of the hero image stays visible on smaller screens */
@media (max-width:1300px){
  .hero-section1 .hero-image1 img {
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-position: center;
    
  }
  .hero-section1{
    margin: 30px 25px 0px 25px;
  }
}

/* @media (max-width : 2000px) {
  .hero-section1{
    margin: 20px 95px 0px 95px;
  }
} */




@media (max-width: 700px) {
  .hero-section1{
    margin: 30px 30px 0px 30px;
  }
}
@media (max-width: 480px) {
  
  .hero-section1{
    margin: 25px 20px 0px 20px;
  }
}

/* For tablet: show left-center of the hero background image */
@media (max-width: 991px) {
  .hero-section1 {
    background-position: left center ;
    background-size: cover !important;
  }
   /* .hero-section1{
    margin: 0px 30px 0px 30px;
  } */
}
/* For mobile: show left-top of the hero background image for best family visibility */
@media (max-width: 700px) {
  .hero-section1 {
    background-position: 20% 20% ;
    background-size: cover !important;
    background: linear-gradient(360deg, black, transparent), url("/assets/images/Home/family.webp");
  }
}


/* Responsive styles for the top bar */

/* From 300px to 530px: Center phone icon, adjust location */
@media (min-width: 300px) and (max-width: 530px) {
  .top-bar .container {
    grid-template-columns: auto 1fr;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0 10px;
  }

  /* Center the phone icon and reduce its size */
  .top-left {
    grid-column: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .top-left img {
    width: 16px;
    height: 16px;
  }
  
  .top-left span {
    font-size: 11px;
  }

  /* Position location to the right */
  .top-right {
    grid-column: 2;
    display: contents;
  }

  .top-right .location {
    justify-self: end;
    text-align: right;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .top-right .location img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Hide social icons in this range */
  .top-right .social-icons {
    display: none;
  }
}

/* From 300px to 460px: Keep location in two lines */
@media (min-width: 300px) and (max-width: 460px) {
  .top-right .location {
    /* max-width: 140px; */
    margin: 0;
    padding: 0;
  }

  .top-right .location span {
    display: -webkit-box;
    line-height: 1.2;
    font-size: 9px;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}