:root{
    --gold:#d8a72a;
    --bg:#fff8e6;
    --radius:50px;
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffff;
    font-family: 'outfit', sans-serif;
}

.header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 0px 6rem 9rem 9rem;
    width: 100%;
    position: absolute;
    top: -3px;
    z-index: 1000;
}

/* .navbar-logo {
    width: 10%;
    height: 10%;
} */


.nav-bar {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 1.5rem 10rem 2.2rem 10rem;
    position: relative;
    background: url("../images/Union.svg") no-repeat top/cover;
    background-size: contain;
    width: 74%;
    flex: 1;
}


.navbar-toggle {
    display: none;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* ✅ allows wrapping on smaller screens */
  gap: 3em; /* spacing between icons */
  margin-top: -1.5em;
  color: #fff;
  font-size: 18px;
}

.social-icons i {
  margin-top: -2rem;
  height: auto;
  /* transition: transform 0.3s ease-out; */
}

/* optional hover animation */
.social-icons img:hover {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .social-icons img {
    margin: 0.5em;
  }
}

@media (max-width: 480px) {
  .social-icons img {
    /* width: 28px; */
  }
}

@media (max-width: 769px) {
    .header {
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1rem 1rem 1rem;
        flex-wrap: wrap;
        position: absolute;
        z-index: 9;
        width: 100%;
    }

    .navbar-toggle {
        display: block;
        font-size: 28px;
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        padding: 4px 12px;
        border-radius: 8px;
        cursor: pointer;
    }


    .nav-item {
        position: relative;
        text-align: center;
    }

    .nav-bar {
        width: 100%;
        background: none;
        position: relative;
        padding: 0;
        flex: none;
        margin-top: 1rem;
    }

    .navbar-logo {
        width: 40%;
        height: 40%;
    }
}

.navbar-menu {
    list-style: none;
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 0px;
    margin: 0;
    padding: 0 1rem;
    z-index: 1;
}

@media (max-width: 769px) {

    .navbar-menu {
        display: none;
        flex-direction: column;
        /* position: fixed; */
        top: 60px;
        left: 0;
        width: 100%;
        color: #fff;
        padding: 1rem;
        gap: 35px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 0 0 16px 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .navbar-menu.open {
        display: flex;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 200;
    padding: 5px 20px;
    display: inline-block;
    transition: color 0.3s ease;
    font-family: 'Outfit', sans-serif;
    width: 100%;
}

.nav-link:hover {
    color: #DAAB2D;
    font-weight: 200;
}

.nav-link.active {
    color: #DAAB2D;
    font-weight: 200;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1em;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.4s ease;
    /* controls speed */
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    /* animate from left to right */
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -34px;
    width: 100%;
    height: 2px;
    background: #fff;
}

.hover-indicator {
    position: absolute;
    bottom: -1px;
    height: 2px;
    background: #DAAB2D;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: none;
}


.btn-get-started {
    background-color: #DAAB2D;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    cursor: pointer;
    font-weight: 400;
    width: 11rem;
    height: 50px;
    justify-content: center;
    align-items: center;
}

.btn-get-started:hover {
    box-shadow: 0px 2px 47.4px 0px #DAAB2D;
}

@media (min-width: 1200px) and (max-width: 1536px) {
 .navbar-menu {
    padding: 0;
 }
  .nav-link.active::after {
    bottom: -1em; 
  }
  .nav-bar {
    padding: 2.5rem 6rem 1.2rem 6rem;
    /* padding: 1.5rem 5rem 2.2rem 5rem; */
  }
}
@media (min-width: 600px) and (max-width: 769px) {
  .nav-link{
      font-size: 24px;
      padding: 20px 80px;
  }
  .nav-link.active::after {
    background: #ffffff40;
    height: 1px;
  }
}

@media (max-width: 769px) {
    .btn-get-started {
        font-size: 16px;
        width: 10rem;
        height: 42px;
    }

    .nav-item {
        text-align: center;
    }
    .nav-link::after {
        bottom: -20px !important;
    }
}



.btn {
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    width: 13rem;
    height: 50px;
}

.btn-outline {
    background: #fff;
    color: #353C42;
    border: 1px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #353C42;
    box-shadow: 0px 2px 47.4px 0px #DAAB2D;
}

.btn-primary {
    background: #DAAB2D;
    color: #020B13;
    border: 1px solid #DAAB2D;
}

.btn-primary:hover {
    background: #020B13;
    border: 1px solid #020B13;
}

.btn:first-child:active {
    color: #353C42;
    background-color: #ffff;
    border-color: #ffff;
}


.footer {
    background: #020B13;
    /* dark navy blue */
    color: #fff;
    padding: 50px 10%;
    font-family: 'Outfit', sans-serif;
}

.footer-container {
    display: grid;
    /* justify-content: space-between; */
    /* flex-wrap: wrap; */
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    /* gap: 30px; */
    margin-top: 4rem;
}

.footer-logo {
    width: 150px;
}

.footer-right .reverse {
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
}

.footer-right {
    gap: 1em;
}

.footer-center h3,
.footer-right h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-center p,
.footer-right p {
    font-size: 0.9rem;
    margin: 5px 0;
    line-height: 40px;
    font-weight: 200;
}

.footer-center a,
.footer-right a {
    color: #fff;
    text-decoration: none;
}

.footer-center a:hover,
.footer-right a:hover {
    color: #DAAB2D;
    /* green accent */
}

.footer-right span {
    line-height: 30px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 12px;
    font-size: 1.2rem;
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #16a34a;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* initial states */
.animate-left,
.animate-right,
.animate-top,
.animate-bottom {
    opacity: 0;
    transition: all 2s ease-out;
}

.animate-left {
    transform: translate3d(-100px, 0, 0);
}

.animate-right {
    transform: translate3d(100px, 0, 0);
}

.animate-top {
    transform: translate3d(0, -60px, 0);
}

.animate-bottom {
    transform: translate3d(0, 100px, 0);
}

/* when visible */
.animate-left.animate,
.animate-right.animate,
.animate-top.animate,
.animate-bottom.animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}


/* Pure Fade Animation */
@keyframes fadeOnly {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Class for fade */
.fade-only {
    opacity: 0;
    animation: fadeOnly 2s ease-in forwards;
    animation-delay: 0.1s;
}

.scrollBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 99;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: transparent;
}

html,
body {
    overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
}

.home-hero {
    position: relative;
    /* background: url("../images/Home_1-min\ 1.svg") no-repeat top center/cover; */
    text-align: center;
    padding: 3rem 20px 11rem;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow: hidden; 
    /* z-index: 0; */
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../images/Home_1-min\ 1.svg") no-repeat top center/cover; 
  transition: transform 0.5s ease;
  z-index: -1;
}

.home-hero:hover::before {
  transform: scale(1.1);
   animation: zoomSlow 5s linear infinite alternate; 
}

.home-hero-content {
    margin-top: 9rem;
}

.home-hero h1 {
    font-size: 109px;
    font-weight: 100;
    color: #fff;
    line-height: 1.1em;
}

.home-hero h1 .highlight {
    color: #DAAB2D;
    font-weight: 100;
    font-size: 109px;
    line-height: 1;
}
.home-hero-subtext1 {
    color: #fff;
    max-width: 76rem;
    margin: 1.2rem auto 2rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 0.2em;
    position: relative; /* important for positioning the pseudo-element */
    text-align: center;
}
.home-hero-subtext1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%; /* adjust this for desired center border length */
    border-top: 2px solid #DAAB2D;
}
.home-hero-subtext2 {
    color: #fff;
    max-width: 76rem;
    margin: 0.5rem auto 2rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* Buttons */
.home-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

@media (max-width: 678px) {
  .home-hero {
    background: url("../images/Home_1-min 1.svg") no-repeat center center/cover;
    padding: 6rem 10px 3rem;
    min-height: auto;
  }

  .home-hero::before {
    background: url("images/AiHome-bgImg.svg") no-repeat center center/cover;
  }

  .home-hero-content {
    margin-top: 6rem;
  }

  .home-hero h1 {
    font-size: 40px;
    line-height: 1.2em;
    padding: 0 10px;
  }

  .home-hero h1 .highlight {
    font-size: 40px;
    /* display: block;/ highlight moves below main text */
    line-height: 1.1em;
  }

  .home-hero-subtext1,
  .home-hero-subtext2 {
    font-size: 14px;
    line-height: 28px;
    max-width: 90%;
    margin: 1rem auto;
    padding: 0 0.5rem;
  }

  .home-hero-subtext1::before {
    width: 35%;
  }

  .home-hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .home-hero-buttons a {
    width: 80%;
    max-width: 260px;
    height: 45px;
    font-size: 13px;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  .home-hero {
    background: url("../images/Home_1-min 1.svg") no-repeat top center/cover;
    padding: 8rem 20px 8rem;
    min-height: auto;
  }

  .home-hero::before {
    background: url("images/AiHome-bgImg.svg") no-repeat top center/cover;
  }

  .home-hero-content {
    margin-top: 7rem;
  }

  .home-hero h1 {
    font-size: 72px;
    line-height: 1.1em;
  }

  .home-hero h1 .highlight {
    font-size: 72px;
  }

  .home-hero-subtext1,
  .home-hero-subtext2 {
    font-size: 15px;
    line-height: 26px;
    max-width: 85%;
    margin: 1.2rem auto;
  }

  .home-hero-subtext1::before {
    width: 25%;
  }

  .home-hero-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .home-hero-buttons a {
    width: 11rem;
    height: 45px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .home-hero {
    padding: 5rem 8px 5rem;
  }

  .home-hero h1 {
    font-size: 38px;
    line-height: 1.2em;
  }

  .home-hero h1 .highlight {
    font-size: 38px;
    display: block;
  }

  .home-hero-subtext1,
  .home-hero-subtext2 {
    font-size: 13px;
    line-height: 22px;
    max-width: 95%;
  }

  .home-hero-subtext1::before {
    width: 45%; /* slightly longer border for small screens */
  }

  .home-hero-buttons {
    gap: 0.8rem;
  }

  .home-hero-buttons a {
    width: 90%;
    height: 42px;
    font-size: 12px;
  }
}

.client-banner {
  background: #f2fbff;
  padding: 3rem 0;
  text-align: center;
  position: relative;
}

.bis-choose-us-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 300;
  color: #353C42;
  margin-top: 2em;
  text-align: center;
}

/* line before text */
.bis-choose-us-title::before {
  content: "";
  position: absolute;
  top: 80%;
  left: 0;
  transform: translateY(-50%);
  width: 38%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.bis-choose-us-title .highlight {
    color: #DAAB2D;
}

.bis-choose-us-header h2 {
    font-size: 40px;
    font-weight: 400;
    color: #020B13;
    margin-bottom: 2rem;
}

.bis-choose-us-grid {
    /* display: grid; */
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 8rem;
}

.bis-choose-us-card {
    position: relative;
    background: transparent;
    border-radius: 30px;
    padding: 5rem 1.8rem 2rem;
    /* transition: all 0.3s ease-in-out; */
    cursor: pointer;
    width: 17rem;
    z-index: 1;
    background-color: #020B1308;
    border: #020B1333 1px solid;
    text-align: center;
}

.bis-choose-us-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}


.bis-choose-us-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #353C42;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
    text-align: center;
}

.bis-choose-us-card p {
    font-size: 14px;
    font-weight: 300;
    color: #353C42;
    line-height: 30px;
    text-align: center;
}

.bis-choose-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.bis-choose-us-card img {
    max-width: 70px;
    margin-bottom: 1.5rem;
    justify-content: center;
}


/* Responsive */
@media (max-width: 768px) {
    .bis-choose-us-grid {
        grid-template-columns: repeat(1, 1fr);
        place-items: center;
    }

    .ai-core-modules {
        padding: 4rem 1rem 5rem;
    }

    .ai-module-card {
        padding: 2rem 10px;
        width: auto;
        height: auto;
    }
}

.clients-section {
  padding: 4rem 0;
  background: #fff;
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem; 
  padding: 8rem 0;
}

.clients-logos img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.client1-img{
  max-height: 4rem; 
}
.client2-img{
  max-height: 5rem; 
}
.client3-img{
  max-height: 8rem; 
}

.clients-logos img:hover {
  transform: scale(1.1);
}

.clients-text-section{
    margin-top: 7rem;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.clients-text-section h4{
    color: #353C42;
    font-size: 50px;
    font-weight: 300;
    margin-bottom: 2rem;
}
.clients-text-section p{
    color: #353C42;
    font-size: 18px;
    font-weight: 300;
    margin-top: 1rem;
    line-height: 1.8;
    max-width: 60rem;
    text-align: center;
}
/* Responsive */
@media (max-width: 768px) {
 .clients-logos {
   flex-direction: column;
   padding: 1rem 0;
   gap: 3rem;
}
.clients-text-section {
    padding: 0 1rem;
}
.clients-text-section h4 {
    text-align: center;
}
.client-title::after {
    width: 24%;
}
}



/* Keyframes for continuous zoom */
@keyframes zoomSlow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

.about-us-section {
  display: flex;
  align-items: center;
  gap: 3rem; /* space between image and content */
  padding: 4rem 2rem;
  flex-wrap: wrap; /* responsive for smaller screens */
  margin-top: 8rem;
}

.about-us-image {
  flex: 1; /* takes left half */
  min-width: 300px;
  height: 300px; /* adjust as needed */
  background: url('your-image.jpg') center/cover no-repeat;
  border-radius: 8px;
}

.about-us-content {
  flex: 1; /* takes right half */
  min-width: 300px;
  position: relative; /* container for pseudo-element */
  display: inline-block; /* shrink to text width */
}

/* header styling */
.about-us-header {
  margin-bottom: 1rem;
}

/* title styling with left line */
.about-us-title {
  position: relative;
  display: inline-block;
  font-size: 40px;
  font-weight: 300;
  color: #353C42;
  margin: 0;
}

/* line before text */
.about-us-content::before {
    content: "";
    position: absolute;
    top: 6%;
    left: 30%;
    right: 0;
    transform: translateY(100%);
    width: 100%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

/* highlight span */
.about-us-title .highlight {
  position: relative;
  z-index: 1;
  padding-left: 0.2em;
  color: #DAAB2D;
  font-weight: 200;
}

.about-us-subtitle {
    font-size: 30px;
    line-height: 30px;
    margin-top: 5%;
}

.about-us-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    padding-right: 7%;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .about-us-section {
    flex-direction: column;
    text-align: center;
  }

  .about-us-image,
  .about-us-content {
    min-width: 100%;
  }

  .about-us-title::before {
    width: 40%; /* shorter line on mobile */
    left: 30%;
  }
}
.about-us-image {
  position: relative;
  width: 450px;
  margin: auto;
}

.about-us-image img {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 100px; /* optional capsule shape */
}

/* Desktop layout */
.about-us-image .img-top {
  top: -8.5em;
  height: 338px;
  left: 7.5em;
  z-index: 3;
}

.about-us-image .img-middle {
  top: -2em;
  height: 338px;
  left: 18em;
  z-index: 2;
}

.about-us-image .img-bottom {
  top: 6em;
  height: 330px;
  left: 11em;
  z-index: 1;
}

/* Optional hover */
.about-us-image img:hover {
  transform: scale(1.05);
  z-index: 4;
}

/* -----------------------------------------
   📱 Responsive layout for mobile/tablet
----------------------------------------- */
@media (max-width: 768px) {
  .about-us-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .about-us-image img {
    position: static; /* reset absolute */
    width: 100%;
    height: auto;
    border-radius: 60px;
    transform: none !important;
  }

  .about-us-image img:hover {
    transform: none; /* disable hover zoom on mobile */
  }
}

.happy-customer-section {
    
    align-items: center;
    gap: 3rem; /* space between image and content */
    padding: 2rem 2rem;
    background: url("../images/Home_3-min\ 1.svg") no-repeat top center/cover;
     /* responsive for smaller screens */
    margin-top: 8rem;
}

.customer-section-body {
    position: relative;
    /* background: url("../images/Home_3-min\ 1.svg") no-repeat top center/cover; */
    text-align: center;
    /* padding: 3rem 20px 11rem; */
    font-family: 'Outfit', sans-serif;
    /* width: 1440px; */
    height: 1000px;
    /* overflow: hidden;  */
    z-index: 0;
}

/* title styling with left line */
.customer-section-title {
    padding: 13rem 10rem 4rem 10rem;
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 300;
    line-height: 60px;
    color: #ddd;
    margin: 0;
}

.customer-section-sub .subtitle {
    font-size: 16px;
    line-height: 30px;
    position: relative;
    display: inline-block;
    padding: 0 25rem;
}

.customer-section-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    padding: 0 21rem;
    text-align: center;
}

.customer-section-data .img-count {
    color: #fff;
    font-size: 50px;
    line-height: 50px;
    padding: 1rem;
    font-weight: 300 !important;
}

.customer-section-data .text {
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    padding: .2rem;
    font-weight: 300 !important;
}

.goals-section {
    display: grid;
    grid-template-columns: 60% 40%;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 1rem;
    /* justify-content: center; */
    margin-top: 8rem;
    /* padding: 0 21rem; */
    /* text-align: center; */
}

.goals-section.reverse {
    grid-template-columns: 40% 60%;
}

.goals-section .what-we-do .we-do-header {
    font-size: 30px;
    line-height: 30px;
    font-weight: 300;
}

.we-do-header {
    flex: 1; /* takes right half */
    min-width: 300px;
    position: relative; /* container for pseudo-element */
    display: inline-block;
    padding-left: 8rem; /* shrink to text width */
}

.we-do-body {
    margin-top: 2rem;
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
    padding: 0 5rem 0 8rem;
}

.we-do-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    /* transform: translateY(100%); */
    width: 35%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

.what-we-do-img img {
    /* width: 99px;
    height: 140px; */
    right: 0;
    position: absolute;
    padding-right: 8rem;
    padding-top: 2rem;
}

.our-mission-img img {
    left: 0;
    position: absolute;
    padding-left: 8rem;
    padding-top: 1rem;
}

.our-mission {
    text-align: right;
}

.our-mission-header {
    flex: 1; /* takes right half */
    min-width: 300px;
    position: relative; /* container for pseudo-element */
    display: inline-block;
    right: 0;
    font-size: 30px;
    padding-right: 8rem;
}

.our-mission-header::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    /* transform: translateY(100%); */
    width: 35%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

.our-mission-body {
    margin-top: 2rem;
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
    padding: 0 8rem 0 5rem;
}

.our-goal-header {
    flex: 1; /* takes right half */
    min-width: 300px;
    position: relative; /* container for pseudo-element */
    display: inline-block;
    padding-left: 8rem; /* shrink to text width */
    font-size: 30px;
}

.our-goal-body {
    margin-top: 2rem;
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
    padding: 0 5rem 0 8rem;
}

.our-goal-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    /* transform: translateY(100%); */
    width: 35%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

.our-goal-img img {
    /* width: 99px;
    height: 140px; */
    right: 0;
    position: absolute;
    padding-right: 8rem;
    padding-top: 2rem;
}

.testimonial-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 300;
  color: #353C42;
  margin-top: 2em;
  text-align: center;
}

/* line before text */
.testimonial-title::after {
  content: "";
  position: absolute;
  top: 80%;
  right: 0;
  transform: translateY(-50%);
  width: 35%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.testimonial-title .highlight {
    color: #DAAB2D;
}

.testimonial-header h2 {
    font-size: 40px;
    font-weight: 400;
    color: #020B13;
    margin-bottom: 2rem;
}

.testimonial-body {
    padding: 3rem 8rem;
}

.testimonial-body .card {
    min-height: 65vh;
    border-radius: 30px;
    background-color: #020B1305;
}

.testimonials {
  padding: 6rem 0;
  background-color: #fff;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
}

.testimonial-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  padding: 7rem 8rem 2rem 10rem;
  /* max-width: 1000px; */
}

.testimonial-content {
  flex: 1;
  text-align: left;
}

.testimonial-stars {
  color: #DAAB2D;
  font-size: 40px;
  margin-bottom: 1rem;
}

.testimonial-stars .half {
  position: relative;
  display: inline-block;
  color: #E5E5E5; /* base light grey for the empty part */
}

.testimonial-stars .half::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #DAAB2D; /* gold color for the filled half */
}

.testimonial-text {
  font-size: 16px;
  line-height: 28px;
  color: #353C42;
  font-weight: 300;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.testimonial-author span {
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #E5E5E5;
  border-radius: 50%;
  display: inline-block;
}

.dot.active {
  background-color: #DAAB2D;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .testimonial-container {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-avatar img {
    width: 120px;
    height: 120px;
  }

  .testimonial-content {
    padding: 0 2rem;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 26px;
  }
}

.clinic-hours-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 35rem;
}

.clinic-hours-section .contact {
    background: url("../images/clinichours.svg") no-repeat top center/cover;
    justify-content: left;
    padding: 0 1rem;
    text-align: left;
}

.clinic-header p {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    line-height: 50px;
    padding: 6rem 8rem 0 5rem;
}

.clinic-contact img {
    padding-left: 3rem ;
}

.clinic-contact span {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: #fff;
}

/* Make long address text wrap nicely */
.clinic-contact:last-child p {
  max-width: 500px;
}

/* ✅ Responsive for mobile */
@media (max-width: 768px) {
  .clinic-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .clinic-contact img {
    width: 24px;
    height: 24px;
  }

  .clinic-contact p {
    font-size: 15px;
    line-height: 22px;
  }
}

.clinic-body {
  display: flex;
  flex-direction: column; /* Stack contacts vertically */
  gap: 10px; /* 10px space between each contact */
  margin-top: 4rem;
}

.clinic-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #002138;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 24px;
  padding-left: 4rem;
  padding-bottom: 1rem;
}

.clinic-contact img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  background-color: #fff;     /* White background */
  border-radius: 50%;         /* Circle shape */
  padding: 6px;               /* Space inside circle */
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05); /* subtle shadow */
}

.hours {
    text-align: center;
    font-family: 'Arial', sans-serif;
    padding: 2rem;
}

.clinic-logo img {
    /* width: 200px; */
    margin-bottom: 2rem;
}

.clinic-hours-title {
    font-size: 24px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.clinic-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
}

.day {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    padding: 0.5rem 1rem;
}

.clinic-holiday {
    font-size: 16px;
    font-weight: 700;
    color: #353C42;
}

.footer-left h3 {
    margin-top: 1rem;
}

.footer-left .logos {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1.5rem;
    font-size: 20px;
}

.footer-left .logos i:hover {
  color: #DAAB2D;
}

.copyrights-section {
    background-color: #DAAB2D;
    min-height: 42px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 8rem;
    justify-content: center;
    align-items: center;
}

.copyrights-section .copyright {
    text-align: left;
    font-size: 12px;
    line-height: 30px;
}

.copyrights-section .created {
    text-align: right;
    font-size: 12px;
    line-height: 30px;
}

.eye-hero {
    position: relative;
    /* background: url("../images/Eye_1-min\ 1.svg") no-repeat top center/cover; */
    text-align: center;
    padding: 3rem 20px 11rem;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow: hidden; 
    /* transition: transform 0.5s ease; */
    z-index: 0;
}

.eye-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../images/Eye_1-min\ 1.svg") no-repeat top center/cover;
  transition: transform 0.5s ease;
  z-index: -1;
}

.eye-hero:hover::before {
  transform: scale(1.1);
   animation: zoomSlow 5s linear infinite alternate; 
}

.eye-hero-content {
    margin-top: 9rem;
}

.eye-hero h1 {
    font-size: 109px;
    font-weight: 100;
    color: #fff;
    line-height: 1.1em;
}

.eye-hero h1 .highlight {
    color: #DAAB2D;
    font-weight: 100;
    font-size: 109px;
    line-height: 1;
}
.eye-hero-subtext1 {
    color: #fff;
    max-width: 76rem;
    margin: 1.2rem auto 2rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 0.2em;
    position: relative; /* important for positioning the pseudo-element */
    text-align: center;
}
.eye-hero-subtext1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%; /* adjust this for desired center border length */
    border-top: 2px solid #DAAB2D;
}
.eye-hero-subtext2 {
    color: #fff;
    max-width: 76rem;
    margin: 4rem auto 4rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* Buttons */
.eye-hero-button {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .eye-hero h1 {
        font-size: 82px;
    }

    .eye-hero h1 .highlight {
        color: #DAAB2D;
        font-weight: 200;
        font-size: 44px;
        line-height: 1;
    }

    .eye-hero {
        padding: 11rem 1rem 6rem;
        height: 50vh;
    }
    .eye-hero-content {
    margin-top: 0;
}
}

@media (min-width: 600px) and (max-width: 768px) {
    .eye-hero::before {
        height: 100%;
}
.eye-hero {
        padding: 11rem 20px 6rem;
        min-height: auto;
    }
}

@media (max-width: 380px) {
    .eye-hero {
        min-height: 130vh;
    }
}

.ortho-treatment-section {
  display: flex;
  align-items: center;
  gap: 3rem; /* space between image and content */
  padding: 4rem 2rem;
  flex-wrap: wrap; /* responsive for smaller screens */
  margin-top: 8rem;
}

.ortho-treatment-image {
  flex: 1; /* takes left half */
  min-width: 300px;
  height: 300px; /* adjust as needed */
  background: url('your-image.jpg') center/cover no-repeat;
  border-radius: 8px;
}

.ortho-treatment-content {
  flex: 1; /* takes right half */
  min-width: 300px;
  position: relative; /* container for pseudo-element */
  display: inline-block; /* shrink to text width */
  margin-left: auto;
  right: 0;
  text-align: right;
  padding-right: 8rem;
}

/* header styling */
.ortho-treatment-header {
  margin-bottom: 1rem;
}

/* title styling with left line */
.ortho-treatment-title {
  position: relative;
  display: inline-block;
  font-size: 40px;
  font-weight: 300;
  color: #353C42;
  margin-top: 1em;
  text-align: right;
}

/* line before text */
.ortho-treatment-content::before {
    content: "";
    position: absolute;
    top: 8rem;
    left: 41em;
    right: 0;
    transform: translateY(100%);
    width: 26%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

/* highlight span */
.ortho-treatment-title .highlight {
  position: relative;
  z-index: 1;
  padding-left: 0.2em;
  color: #DAAB2D;
  font-weight: 200;
}

.ortho-treatment-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: right;
    /* padding-right: 7%; */
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .ortho-treatment-section {
    flex-direction: column;
    text-align: center;
  }

  .ortho-treatment-image,
  .ortho-treatment-content {
    min-width: 100%;
  }

  .ortho-treatment-title::before {
    width: 40%; /* shorter line on mobile */
    left: 30%;
  }
}
.ortho-treatment-image {
  position: relative;
  width: 450px;
  margin: auto;
}

.ortho-treatment-image img {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 100px; /* optional capsule shape */
}

/* Desktop layout */
.ortho-treatment-image .img-top {
  top: -8.5em;
  height: 338px;
  left: 7.5em;
  z-index: 2;
}

.ortho-treatment-image .img-middle {
  top: -2em;
  height: 338px;
  left: 18em;
  z-index: 3;
}

.ortho-treatment-image .img-bottom {
  top: 6em;
  height: 330px;
  left: 11em;
  z-index: 1;
}

/* Optional hover */
.ortho-treatment-image img:hover {
  transform: scale(1.05);
  z-index: 4;
}

/* -----------------------------------------
   📱 Responsive layout for mobile/tablet
----------------------------------------- */
@media (max-width: 768px) {
  .ortho-treatment-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .ortho-treatment-image img {
    position: static; /* reset absolute */
    width: 100%;
    height: auto;
    border-radius: 60px;
    transform: none !important;
  }

  .ortho-treatment-image img:hover {
    transform: none; /* disable hover zoom on mobile */
  }
}

.ortho-section {
  display: flex;
  align-items: center;
  gap: 3rem; /* space between image and content */
  padding: 4rem 2rem;
  flex-wrap: wrap; /* responsive for smaller screens */
  margin-top: 8rem;
}

.ortho-image {
  flex: 1; /* takes left half */
  min-width: 300px;
  height: 300px; /* adjust as needed */
  background: url('your-image.jpg') center/cover no-repeat;
  border-radius: 8px;
}

.ortho-content {
  flex: 1; /* takes right half */
  min-width: 300px;
  position: relative; /* container for pseudo-element */
  display: inline-block; /* shrink to text width */
  left: 0;
  text-align: left;
  padding-left: 8rem;
}

/* header styling */
.ortho-header {
  margin-bottom: 1rem;
}

/* title styling with left line */
.ortho-title {
  position: relative;
  display: inline-block;
  font-size: 30px;
  font-weight: 300;
  color: #353C42;
  margin-top: 1em;
  text-align: left;
}

/* line before text */
.ortho-content::before {
  content: "";
  position: absolute;
  top: 7rem;              /* Start from the top of the container */
  left: -2rem;
  width: 20%;
  height: 2px;
  background: #DAAB2D;
  transform: translateY(-150%); /* moves line above the text */
}

.ortho-content.reverse::before {
    top: 2rem;  
}

/* highlight span */
.ortho-title .highlight {
  position: relative;
  z-index: 1;
  padding-left: 0.2em;
  color: #DAAB2D;
  font-weight: 200;
}

.ortho-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: justify;
    /* padding-right: 7%; */
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .ortho-section {
    flex-direction: column;
    text-align: center;
  }

  .ortho-image,
  .ortho-content {
    min-width: 100%;
  }

  .ortho-title::before {
    width: 40%; /* shorter line on mobile */
    left: 30%;
  }
}
.ortho-image {
  position: relative;
  /* width: 450px; */
  margin: auto;
}

.ortho-image img {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 100px; /* optional capsule shape */
}

/* Desktop layout */
.ortho-image .img-top {
  /* top: -8.5em; */
  height: 338px;
  right: 4.5em;
  z-index: 2;
}

.ortho-image .img-bottom {
  top: 9em;
  height: 270px;
  left: -2em;
  z-index: 1;
}

/* Optional hover */
.ortho-image img:hover {
  transform: scale(1.05);
  z-index: 4;
}

.ortho-body {
    font-size: 15px;
    font-weight: 300;
    padding-right: 9rem;
    line-height: 30px;
}
/* -----------------------------------------
   📱 Responsive layout for mobile/tablet
----------------------------------------- */
@media (max-width: 768px) {
  .ortho-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .ortho-image img {
    position: static; /* reset absolute */
    width: 100%;
    height: auto;
    border-radius: 60px;
    transform: none !important;
  }

  .ortho-image img:hover {
    transform: none; /* disable hover zoom on mobile */
  }
}

.link-gallery {
    font-size: 18px;
    font-weight: 400;
    text-decoration: underline solid #DAAB2D;
    color: #DAAB2D;
    text-align: right;
    position: absolute;
    margin-top: 23em;
    padding-left: 19em;
}

.link-gallery.reverse {
  margin-top: 21em;
  padding-left: 5rem;
}

.disting-section {
  padding-top: 6rem;
}

.disting-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 300;
  color: #353C42;
  margin-top: 2em;
  text-align: center;
}

/* line before text */
.disting-title::before {
  content: "";
  position: absolute;
  top: 80%;
  right: 0;
  transform: translateY(-50%);
  width: 33%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.disting-title .highlight {
    color: #DAAB2D;
}

.disting-header h2 {
    font-size: 40px;
    font-weight: 400;
    color: #020B13;
    margin-bottom: 2rem;
}

.disting-grid {
    /* display: grid; */
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 8rem;
}

.disting-card {
    position: relative;
    background: transparent;
    border-radius: 30px;
    padding: 5rem 1.8rem 2rem;
    /* transition: all 0.3s ease-in-out; */
    cursor: pointer;
    width: 17rem;
    z-index: 1;
    background-color: #020B1308;
    border: #020B1333 1px solid;
    text-align: center;
}

.disting-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}


.disting-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #353C42;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
    text-align: center;
}

.disting-card p {
    font-size: 14px;
    font-weight: 300;
    color: #353C42;
    line-height: 30px;
    text-align: center;
}

.disting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.disting-card img {
    max-width: 70px;
    margin-bottom: 1.5rem;
    justify-content: center;
}


/* Responsive */
@media (max-width: 768px) {
    .disting-grid {
        grid-template-columns: repeat(1, 1fr);
        place-items: center;
    }

    .ai-core-modules {
        padding: 4rem 1rem 5rem;
    }

    .ai-module-card {
        padding: 2rem 10px;
        width: auto;
        height: auto;
    }
}

.glucoma-section {
  display: flex;
  align-items: center;
  gap: 4rem; /* space between image and content */
  padding: 4rem 2rem;
  flex-wrap: wrap; /* responsive for smaller screens */
  margin-top: 8rem;
  padding-left: 8rem;
}

.glucoma-image {
  flex: 1; /* takes left half */
  min-width: 300px;
  height: 300px; /* adjust as needed */
  background: url('your-image.jpg') center/cover no-repeat;
  border-radius: 8px;
}

.glucoma-content {
  flex: 1; /* takes right half */
  min-width: 300px;
  position: relative; /* container for pseudo-element */
  display: inline-block; /* shrink to text width */
  margin-left: auto;
  right: 0;
  text-align: left;
  padding-right: 8rem;
}

/* header styling */
.glucoma-header {
  margin-bottom: 1rem;
}

/* title styling with left line */
.glucoma-title {
  position: relative;
  display: inline-block;
  font-size: 30px;
  font-weight: 300;
  color: #353C42;
  margin-top: 1em;
  text-align: left;
}

/* line before text */
.glucoma-content::before {
    content: "";
    position: absolute;
    top: 3.5rem;
    left: 36em;
    right: 0;
    transform: translateY(100%);
    width: 30%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

/* highlight span */
.glucoma-title .highlight {
  position: relative;
  z-index: 1;
  padding-left: 0.2em;
  color: #DAAB2D;
  font-weight: 200;
}

.glucoma-body .content {
    font-size: 15px;
    line-height: 30px;
    margin-top: 5%;
    text-align: left;
    padding-right: 8em;
}

.glucoma-body.reverse .content {
    padding-right: 1rem;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .glucoma-section {
    flex-direction: column;
    text-align: center;
  }

  .glucoma-image,
  .glucoma-content {
    min-width: 100%;
  }

  .glucoma-title::before {
    width: 40%; /* shorter line on mobile */
    left: 30%;
  }
}
.glucoma-image {
  position: relative;
  width: 450px;
  margin: auto;
}

.glucoma-image img {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  /* border-radius: 100px; optional capsule shape */
}

/* Optional hover */
.glucoma-image img:hover {
  transform: scale(1.05);
  z-index: 4;
}

/* -----------------------------------------
   📱 Responsive layout for mobile/tablet
----------------------------------------- */
@media (max-width: 768px) {
  .glucoma-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .glucoma-image img {
    position: static; /* reset absolute */
    width: 100%;
    height: auto;
    border-radius: 60px;
    transform: none !important;
  }

  .glucoma-image img:hover {
    transform: none; /* disable hover zoom on mobile */
  }
}

.eye-care-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 300;
  color: #353C42;
  margin-top: 2em;
  text-align: center;
}

/* line before text */
.eye-care-title::before {
  content: "";
  position: absolute;
  top: 80%;
  left: 0;
  transform: translateY(-50%);
  width: 36%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.eye-care-title .highlight {
    color: #DAAB2D;
}

.eye-care-header h2 {
    font-size: 40px;
    font-weight: 400;
    color: #020B13;
    margin-bottom: 2rem;
}

.eye-care-grid {
    display: grid;
    position: relative;
    /* display: flex; */
    text-align: center;
    justify-content: center;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 8rem;
    padding: 0 8rem;
}

.eye-care-card {
    position: relative;
    background: transparent;
    border-radius: 30px;
    padding: 3rem 1.8rem 1rem;
    /* transition: all 0.3s ease-in-out; */
    cursor: pointer;
    width: 14rem;
    z-index: 1;
    background-color: #020B1308;
    border: #020B1333 1px solid;
    text-align: center;
}

.eye-care-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}


.eye-care-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #353C42;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
    text-align: center;
}

.eye-care-card p {
    font-size: 13px;
    font-weight: 300;
    color: #353C42;
    line-height: 30px;
    text-align: center;
}

.eye-care-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.eye-care-card img {
    max-width: 70px;
    margin-bottom: 1.5rem;
    justify-content: center;
}


/* Responsive */
@media (max-width: 768px) {
    .eye-care-grid {
        grid-template-columns: repeat(1, 1fr);
        place-items: center;
    }

    .ai-core-modules {
        padding: 4rem 1rem 5rem;
    }

    .ai-module-card {
        padding: 2rem 10px;
        width: auto;
        height: auto;
    }
}

.appointment {
    margin-top: 7rem;
}

.dental-appointment {
    margin-top: 0;
}

.appointment, .dental-appointment {
  background-color: #fdfbf4; /* off-white background */
  padding: 3rem 0;
  border-bottom: 2px solid #000; /* black divider line */
}

.appointment-div {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

.appointment-call {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* 
.appointment-call img {
  width: 60px;
  height: 60px;
  object-fit: contain;
} */

.appointment-call h1 {
  font-size: 60px;
  font-weight: 500;
  color: #353C42;
}

.appointment-info {
  text-align: left;
  line-height: 1.4;
}

.appointment-info p {
  margin: 0;
  font-size: 20px;
  color: #353C42;
}

.appointment-info .phone {
  font-size: 20px;
  font-weight: 500;
  color: #DAAB2D; /* golden yellow tone */
}

/* Responsive design */
@media (max-width: 768px) {
  .appointment-div {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .call-now h1 {
    font-size: 2rem;
  }

  .call-now img {
    width: 50px;
    height: 50px;
  }
}

.additional-services-section {    
    align-items: center;
    gap: 3rem; /* space between image and content */
    background: url("../images/Eye_5-min\ 1.svg") no-repeat top center/cover;
     /* responsive for smaller screens */
    margin-top: 8rem;
}

.additional-section-body {
    position: relative;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    height: 1000px;
    z-index: 0;
}

/* title styling with left line */
.additional-section-title {
    padding: 13rem 15.5rem 4rem 15.5rem;
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 300;
    line-height: 60px;
    color: #ddd;
    margin: 0;
}

.additional-section-sub .subtitle {
    font-size: 16px;
    line-height: 30px;
    position: relative;
    display: inline-block;
    padding: 0 25rem;
}

.additional-section-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 13em;
    text-align: center;
    color: #fff;
}

.additional-section-data .highlight {
  color: #DAAB2D;
}

.additional-section-data .left-data {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: inline-block;
    left: 0;
    text-align: left;
    padding-right: 8rem;
}

.additional-section-data .left-data::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: -0;
    transform: translateY(100%);
    width: 15%;
    height: 2px;
    background: #DAAB2D;  
}

.additional-section-data .left-data h3 {
  padding-left: 8rem;
  padding-right: 3rem;
  font-weight: 300;
  line-height: 45px;
}

.additional-section-data .left-data .content {
  margin-top: 3rem;
  margin-left: 8rem;
  border: 1px solid #daab2db5;
  /* min-height: 14rem; */
  border-radius: 30px;
  padding: 42px 37px;
  position: relative;
}

.additional-section-data .left-data .content ul {
  line-height: 30px;
}

.additional-section-data .left-data .content ul li {
  color: #fff !important;
}

.additional-section-data .right-data {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: inline-block;
    left: 0;
    margin-top: 2rem;
    text-align: right;
    padding-right: 8rem;
}

.additional-section-data .right-data::before {
    content: "";
    position: absolute;
    top: 9.3rem;
    right: 0;
    transform: translateY(100%);
    width: 15%;
    height: 2px;
    background: #DAAB2D;  
}

.additional-section-data .right-data h3 {
  padding-left: 8rem;
  margin-top: 3rem;
  font-weight: 300;
  line-height: 45px;
}

.additional-section-data .right-data .content {
  margin-top: 3rem;
  margin-left: 8rem;
  border: 1px solid #daab2db5;
  min-height: 14rem;
  border-radius: 30px;
  padding: 38px 57px;
  position: relative;
}

.additional-section-data .right-data .head {
  font-weight: 600;
}

.additional-section-data .right-data .head.reverse {
  margin-top: 3rem;
}

.additional-section-data .right-data .body {
  font-size: 14px;
  line-height: 26px;
}

.dental-hero {
    position: relative;
    /* background: url("../images/dental-home.svg") no-repeat top center/cover; */
    text-align: center;
    padding: 3rem 20px 11rem;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow: hidden; 
    /* transition: transform 0.5s ease; */
    z-index: 0;
}

.dental-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../images/dental-home.svg") no-repeat top center/cover;
  transition: transform 0.5s ease;
  z-index: -1;
}

.dental-hero:hover::before {
  transform: scale(1.1);
   animation: zoomSlow 5s linear infinite alternate; 
}

.dental-hero-content {
    margin-top: 9rem;
}

.dental-hero h1 {
    font-size: 109px;
    font-weight: 100;
    color: #fff;
    line-height: 1.1em;
}

.dental-hero h1 .highlight {
    color: #DAAB2D;
    font-weight: 100;
    font-size: 109px;
    line-height: 1;
}
.dental-hero-subtext1 {
    color: #fff;
    max-width: 76rem;
    margin: 1.2rem auto 2rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 0.2em;
    position: relative; /* important for positioning the pseudo-element */
    text-align: center;
}
.dental-hero-subtext1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%; /* adjust this for desired center border length */
    border-top: 2px solid #DAAB2D;
}
.dental-hero-subtext2 {
    color: #fff;
    max-width: 76rem;
    margin: 4rem auto 4rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* Buttons */
.dental-hero-button {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .dental-hero h1 {
        font-size: 82px;
    }

    .dental-hero h1 .highlight {
        color: #DAAB2D;
        font-weight: 200;
        font-size: 44px;
        line-height: 1;
    }

    .dental-hero {
        padding: 11rem 1rem 6rem;
        height: 50vh;
    }
    .dental-hero-content {
    margin-top: 0;
}
}

@media (min-width: 600px) and (max-width: 768px) {
    .dental-hero::before {
        height: 100%;
}
.dental-hero {
        padding: 11rem 20px 6rem;
        min-height: auto;
    }
}

@media (max-width: 380px) {
    .dental-hero {
        min-height: 130vh;
    }
}

.paed-section {
  display: flex;
  align-items: center;
  gap: 3rem; /* space between image and content */
  padding: 4rem 2rem;
  flex-wrap: wrap; /* responsive for smaller screens */
  margin-top: 8rem;
}

.paed-image {
  flex: 1; /* takes left half */
  min-width: 300px;
  height: 300px; /* adjust as needed */
  background: url('your-image.jpg') center/cover no-repeat;
  border-radius: 8px;
}

.paed-content {
  flex: 1; /* takes right half */
  min-width: 300px;
  position: relative; /* container for pseudo-element */
  display: inline-block; /* shrink to text width */
  margin-left: auto;
  right: 0;
  text-align: right;
  padding-right: 8rem;
}

/* header styling */
.paed-header {
  margin-bottom: 1rem;
}

/* title styling with left line */
.paed-title {
  position: relative;
  display: inline-block;
  font-size: 40px;
  font-weight: 300;
  color: #353C42;
  margin-top: 1em;
  text-align: right;
}

/* line before text */
.paed-content::before {
    content: "";
    position: absolute;
    top: 8rem;
    left: 41em;
    right: 0;
    transform: translateY(100%);
    width: 26%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

/* highlight span */
.paed-title .highlight {
  position: relative;
  z-index: 1;
  padding-left: 0.2em;
  color: #DAAB2D;
  font-weight: 200;
}

.paed-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: right;
    /* padding-right: 7%; */
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .paed-section {
    flex-direction: column;
    text-align: center;
  }

  .paed-image,
  .paed-content {
    min-width: 100%;
  }

  .paed-title::before {
    width: 40%; /* shorter line on mobile */
    left: 30%;
  }
}
.paed-image {
  position: relative;
  width: 450px;
  margin: auto;
}

.paed-image img {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 100px; /* optional capsule shape */
}

/* Desktop layout */
.paed-image .img-top {
  top: -8.5em;
  height: 338px;
  left: 18em;
  z-index: 2;
}

.paed-image .img-middle {
  top: -2em;
  height: 338px;
  left: 7.5em;
  z-index: 3;
}

.paed-image .img-bottom {
  top: 6em;
  height: 330px;
  left: 16em;
  z-index: 1;
}

/* Optional hover */
.paed-image img:hover {
  transform: scale(1.05);
  z-index: 4;
}

/* -----------------------------------------
   📱 Responsive layout for mobile/tablet
----------------------------------------- */
@media (max-width: 768px) {
  .paed-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .paed-image img {
    position: static; /* reset absolute */
    width: 100%;
    height: auto;
    border-radius: 60px;
    transform: none !important;
  }

  .paed-image img:hover {
    transform: none; /* disable hover zoom on mobile */
  }
}

.more-section {
  display: flex;
  align-items: center;
  gap: 3rem; /* space between image and content */
  padding: 4rem 2rem;
  flex-wrap: wrap; /* responsive for smaller screens */
  margin-top: 8rem;
}

.more-image {
  flex: 1; /* takes left half */
  min-width: 300px;
  height: 300px; /* adjust as needed */
  background: url('your-image.jpg') center/cover no-repeat;
  border-radius: 8px;
}

.more-content {
  flex: 1; /* takes right half */
  min-width: 300px;
  position: relative; /* container for pseudo-element */
  display: inline-block; /* shrink to text width */
  left: 0;
  text-align: left;
  padding-left: 8rem;
}

/* header styling */
.more-header {
  margin-bottom: 1rem;
}

/* title styling with left line */
.more-title {
  position: relative;
  display: inline-block;
  font-size: 30px;
  font-weight: 300;
  color: #353C42;
  margin-top: 1em;
  text-align: left;
}

/* line before text */
.more-content::before {
  content: "";
  position: absolute;
  top: 8rem;              /* Start from the top of the container */
  left: -2rem;
  width: 20%;
  height: 2px;
  background: #DAAB2D;
  transform: translateY(-150%); /* moves line above the text */
}

.more-content.reverse::before {
    top: 2rem;  
}

/* highlight span */
.more-title .highlight {
  position: relative;
  z-index: 1;
  padding-left: 0.2em;
  color: #DAAB2D;
  font-weight: 200;
}

.more-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: justify;
    /* padding-right: 7%; */
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .more-section {
    flex-direction: column;
    text-align: center;
  }

  .more-image,
  .more-content {
    min-width: 100%;
  }

  .more-title::before {
    width: 40%; /* shorter line on mobile */
    left: 30%;
  }
}
.more-image {
  position: relative;
  /* width: 450px; */
  margin: auto;
}

.more-image img {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 100px; /* optional capsule shape */
}

/* Desktop layout */
.more-image .img-top {
  top: -3.5em;
  height: 300px;
  left: 4.5em;
  z-index: 2;
}

.more-image .img-middle {
  top: 3.5em;
  height: 300px;
  left: 13.5em;
  z-index: 3;
}

.more-image .img-bottom {
  top: 9em;
  height: 300px;
  left: 7em;
  z-index: 1;
}

/* Optional hover */
.more-image img:hover {
  transform: scale(1.05);
  z-index: 4;
}

.more-body {
    font-size: 15px;
    font-weight: 300;
    padding-right: 3rem;
    line-height: 30px;
}
/* -----------------------------------------
   📱 Responsive layout for mobile/tablet
----------------------------------------- */
@media (max-width: 768px) {
  .more-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .more-image img {
    position: static; /* reset absolute */
    width: 100%;
    height: auto;
    border-radius: 60px;
    transform: none !important;
  }

  .more-image img:hover {
    transform: none; /* disable hover zoom on mobile */
  }
}

.services-section {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.dental-services-section {    
    align-items: center;
    gap: 3rem; /* space between image and content */
    background: url("../images/Frame\ 1171276601.svg") no-repeat top center/cover;
     /* responsive for smaller screens */
    margin-top: 8rem;
}

.dental-section-body {
    position: relative;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    height: 1086px;
    z-index: 0;
}

/* title styling with left line */
.dental-section-title {
    padding: 13rem 15.5rem 4rem 15.5rem;
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 300;
    line-height: 60px;
    color: #ddd;
    margin: 0;
}

.dental-section-sub .subtitle {
    font-size: 16px;
    line-height: 30px;
    position: relative;
    display: inline-block;
    padding: 0 25rem;
}

.dental-section-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 4rem;
    text-align: center;
    color: #fff;
}

.dental-section-data .highlight {
  color: #DAAB2D;
}

.dental-section-data .left-data .sub-left-section {
    flex: 1;
    /* min-width: 300px; */
    position: relative;
    display: block;
    /* left: -4rem; */
    text-align: left;
    padding-right: 8rem;
}

.dental-section-data .left-data .sub-left-section::before {
    content: "";
    position: absolute;
    top: 5rem;
    left: 0;
    transform: translateY(100%);
    width: 15%;
    height: 2px;
    background: #DAAB2D;  
}

.dental-section-data .left-data h3 {
  padding-left: 8rem;
  margin-top: 3rem;
  font-weight: 300;
  line-height: 45px;
}

.dental-section-data .left-data .content {
  margin-top: 2rem;
  margin-left: 8rem;
  position: relative;
  line-height: 30px;
}

.dental-section-data .left-data {
  padding-top: 12rem;
}

.dental-section-data .left-data .sub-left-section {
  padding-top: .2rem;
}

.dental-section-data .right-data .sub-right-section {
    flex: 1;
    /* min-width: 300px; */
    position: relative;
    display: block;
    left: 0;
    text-align: right;
    padding-right: 8rem;
}

.dental-section-data .right-data {
  padding-top: 5.5rem;
}

.dental-section-data .right-data .sub-right-section::before {
    content: "";
    position: absolute;
    top: 4.4rem;
    right: -3rem;
    transform: translateY(100%);
    width: 20%;
    height: 2px;
    background: #DAAB2D;  
}

.dental-section-data .right-data h3 {
  padding-left: 8rem;
  margin-top: 3rem;
  font-weight: 300;
  line-height: 45px;
}

.dental-section-data .right-data .content {
  margin-top: 2rem;
  margin-left: 8rem;
  min-height: 4rem;
  position: relative;
  line-height: 30px;
}

.dental-section-data .right-data .head {
  font-weight: 600;
}

.dental-section-data .right-data .head.reverse {
  margin-top: 3rem;
}

.dental-section-data .right-data .body {
  font-size: 14px;
  line-height: 26px;
}

.dental-section-data .right-data .sub-right-section {
  padding-top: .2rem;
}

.dental-section-footer {
  margin-top: -5rem;
}

.rehab-section {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  gap: 3rem; /* space between image and content */
  padding: 4rem 0rem;
  flex-wrap: wrap; /* responsive for smaller screens */
  margin-top: 6rem;
}

.rehab-image {
  flex: 1; /* takes left half */
  min-width: 300px;
  height: 300px; /* adjust as needed */
  background: url('your-image.jpg') center/cover no-repeat;
  border-radius: 8px;
}

.rehab-content {
  flex: 1; /* takes right half */
  min-width: 300px;
  position: relative; /* container for pseudo-element */
  display: inline-block; /* shrink to text width */
  left: 0;
  text-align: left;
  padding-left: 8rem;
}

/* header styling */
.rehab-header {
  margin-bottom: 1rem;
}

/* title styling with left line */
.rehab-title {
  position: relative;
  display: inline-block;
  font-size: 30px;
  font-weight: 300;
  color: #353C42;
  margin-top: 1rem;
  text-align: left;
}

/* line before text */
.rehab-content::before {
  content: "";
  position: absolute;
  top: 7rem;              /* Start from the top of the container */
  left: -2rem;
  width: 18%;
  height: 2px;
  background: #DAAB2D;
  transform: translateY(-150%); /* moves line above the text */
}

.rehab-content.reverse::before {
    top: 6rem;  
}

/* highlight span */
.rehab-title .highlight {
  position: relative;
  z-index: 1;
  padding-left: 0.2em;
  color: #DAAB2D;
  font-weight: 200;
}

.rehab-body .p {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: justify;
    /* padding-right: 7%; */
}

.rehab-body p {
  padding-top: 1rem;
}
/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .rehab-section {
    flex-direction: column;
    text-align: center;
  }

  .rehab-image,
  .rehab-content {
    min-width: 100%;
  }

  .rehab-title::before {
    width: 40%; /* shorter line on mobile */
    left: 30%;
  }
}
.rehab-image {
  position: relative;
  /* width: 450px; */
  /* margin: auto;/ */
  margin-top: 4rem;
  margin-right: 8rem;
}

.rehab-image img {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 100px; /* optional capsule shape */
}

/* Desktop layout */
.rehab-image .img-top {
  /* top: -8.5em; */
  height: 300px;
  right: 3.5em;
  z-index: 2;
}

.rehab-image .img-bottom {
  top: 9em;
  height: 250px;
  right: 10rem;
  z-index: 1;
}

/* Optional hover */
.rehab-image img:hover {
  transform: scale(1.05);
  z-index: 4;
}

.rehab-body {
    font-size: 15px;
    font-weight: 300;
    padding-right: 9rem;
    line-height: 30px;
}
/* -----------------------------------------
   📱 Responsive layout for mobile/tablet
----------------------------------------- */
@media (max-width: 768px) {
  .rehab-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .rehab-image img {
    position: static; /* reset absolute */
    width: 100%;
    height: auto;
    border-radius: 60px;
    transform: none !important;
  }

  .rehab-image img:hover {
    transform: none; /* disable hover zoom on mobile */
  }
}

.services-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 300;
  color: #353C42;
  margin-top: 4em;
  text-align: center;
}

/* line before text */
.services-title::before {
  content: "";
  position: absolute;
  top: 80%;
  right: 0;
  transform: translateY(-50%);
  width: 41%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.services-title .highlight {
    color: #DAAB2D;
}

.services-header h2 {
    font-size: 40px;
    font-weight: 400;
    color: #020B13;
    margin-bottom: 2rem;
}

.services-grid {
    /* display: grid; */
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 8rem;
}

.services-card {
    position: relative;
    background: transparent;
    border-radius: 30px;
    padding: 5rem 1.8rem 2rem;
    /* transition: all 0.3s ease-in-out; */
    cursor: pointer;
    width: 19rem;
    z-index: 1;
    background-color: #020B1308;
    border: #020B1333 1px solid;
    text-align: center;
}

.services-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}


.services-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #353C42;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 30px;
}

.services-card p {
    font-size: 14px;
    font-weight: 300;
    color: #353C42;
    line-height: 30px;
    text-align: center;
}

.services-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.services-card img {
    max-width: 70px;
    margin-bottom: 1.5rem;
    justify-content: center;
}


/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        place-items: center;
    }

    .ai-core-modules {
        padding: 4rem 1rem 5rem;
    }

    .ai-module-card {
        padding: 2rem 10px;
        width: auto;
        height: auto;
    }
}

.quote-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 35rem;
    margin-top: 8rem;
}

.quote-section .contact {
    background: url("../images/DSC00928\ 1.svg") no-repeat top center/cover;
    justify-content: left;
    padding: 0 1rem;
    text-align: left;
}

.quote-header p {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    line-height: 50px;
    padding: 6rem 8rem 0 5rem;
}

.quote-contact img {
    padding-left: 3rem ;
}

.quote-contact span {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: #fff;
}

/* Make long address text wrap nicely */
.quote-contact:last-child p {
  max-width: 500px;
}

/* ✅ Responsive for mobile */
@media (max-width: 768px) {
  .quote-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .quote-contact img {
    width: 24px;
    height: 24px;
  }

  .quote-contact p {
    font-size: 15px;
    line-height: 22px;
  }
}

.quote-body {
  display: flex;
  flex-direction: column; /* Stack contacts vertically */
  gap: 10px; /* 10px space between each contact */
  margin-top: 4rem;
}

.quote-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #002138;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 24px;
  padding-left: 4rem;
  padding-bottom: 1rem;
}

.quote-contact img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  background-color: #fff;     /* White background */
  border-radius: 50%;         /* Circle shape */
  padding: 6px;               /* Space inside circle */
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05); /* subtle shadow */
}

.quote {
    text-align: left;
    font-family: 'Arial', sans-serif;
    padding: 7rem;
}

.quote-logo img {
    /* width: 200px; */
    margin-bottom: 2rem;
}

.quote-title {
    font-size: 60px;
    font-weight: 200 !important;
}

.quote-title .highlight {
  color: #DAAB2D;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
}

.quote-holiday {
    font-size: 16px;
    font-weight: 700;
    color: #353C42;
}
.doctors-hero {
    position: relative;
    /* background: url("../images/Doctor_1-min\ 1.svg") no-repeat top center/cover; */
    text-align: center;
    padding: 3rem 20px 11rem;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow: hidden; 
    /* transition: transform 0.5s ease; */
    z-index: 0;
}

.doctors-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../images/Doctor_1-min\ 1.svg") no-repeat top center/cover;
  transition: transform 0.5s ease;
  z-index: -1;
}

.doctors-hero:hover::before {
  transform: scale(1.1);
   animation: zoomSlow 5s linear infinite alternate; 
}

.doctors-hero-content {
    margin-top: 9rem;
}

.doctors-hero h1 {
    font-size: 109px;
    font-weight: 100;
    color: #fff;
    line-height: 1.1em;
}

.doctors-hero h1 .highlight {
    color: #DAAB2D;
    font-weight: 100;
    font-size: 109px;
    line-height: 1;
}

.doctors-hero-subtext2 {
    color: #fff;
    max-width: 76rem;
    margin: 5rem auto 2rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* Buttons */
.doctors-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .doctors-hero h1 {
        font-size: 82px;
    }

    .doctors-hero h1 .highlight {
        color: #DAAB2D;
        font-weight: 200;
        font-size: 44px;
        line-height: 1;
    }

    .doctors-hero {
        padding: 11rem 1rem 6rem;
        height: 50vh;
    }
    .doctors-hero-content {
    margin-top: 0;
}
}

@media (min-width: 600px) and (max-width: 768px) {
    .doctors-hero::before {
        height: 100%;
}
.doctors-hero {
        padding: 11rem 20px 6rem;
        min-height: auto;
    }
}

@media (max-width: 380px) {
    .doctors-hero {
        min-height: 130vh;
    }
}

.doctor-profile {
  margin-top: 8rem;
  display: flex;
  /* justify-content: center; */
  padding: 40px 20px;
  margin-left: 18.5rem;
}

.profile-container {
  display: flex;
  align-items: left;
  background: #fff;
  border: 2px solid #f2c94c;
  border-radius: 100px;
  padding: 20px;
  max-width: 1100px;
  width: 100%;
  gap: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

/* LEFT IMAGE */
.profile-image {
  text-align: center;
  margin-top: 2.5rem;
  margin-left: -14rem;
}

.profile-image img {
  width: 100%;
  max-width: 370px;
  height: auto;
  /* border-radius: 50%; */
  /* border: 4px solid #f2c94c; */
  /* object-fit: cover;. */
}

/* RIGHT CONTENT */
.profile-content {
  flex: 2 1 500px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding-right: 4rem;
  padding-left: 4rem;
}

.heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  /* width: 24px; */
  height: 70px;
}

.subtitle {
  font-weight: 500;
  color: #fff;
}

.doctor-name {
  font-size: 30px;
  margin: 10px 0;
  /* color: #222; */
}

.doctor-name span {
  color: #d9a700;
}

.doctor-name small {
  font-size: 16px;
  /* color: #555; */
}

.tagline {
  font-size: 1rem;
  color: #353C42;
  margin-top: 1.5rem;
}

.description {
  margin-top: 10px;
  line-height: 30px;
  color: #555;
  font-size: 16px;
}

.expertise-title {
  margin-top: 20px;
  font-weight: 200;
  color: #353C42;
}

.expertise-title span {
  color: #d9a700;
}

.expertise-list {
  margin-top: 8px;
  padding-left: 20px;
  color: #555;
  line-height: 1.8;
}

.philosophy-title {
  margin-top: 20px;
  font-weight: 200;
}

.philosophy-title span {
  color: #d9a700;
}

.philosophy {
  color: #555;
  line-height: 1.6;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    text-align: center;
  }
  .profile-image img {
    margin-bottom: 20px;
  }
  .heading {
    justify-content: center;
  }
}

.contact-section-header {
  margin-bottom: 5rem;
}

.contact-section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 300;
  margin-top: 2em;
  text-align: center;
}

.contact-section-title::after {
  content: "";
  position: absolute;
  top: 80%;
  right: 0;
  transform: translateY(-50%);
  width: 40%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.contact-section-title .highlight {
    color: #DAAB2D;
}

.connect-section {
    position: relative;
    background: url("../images/Doctor_4-min\ 1.svg") no-repeat top center/cover;
    text-align: center;
    padding: 3rem 20px 11rem;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow: hidden; 
    z-index: 0;
}

.connect-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("images/AiHome-bgImg.svg") no-repeat top center/cover;
  transition: transform 0.5s ease;
  z-index: -1;
}

.connect:hover::before {
  transform: scale(1.1);
   animation: zoomSlow 5s linear infinite alternate; 
}

.connect-content {
    margin-top: 17rem;
}

.connect-content h1 {
    font-size: 109px;
    font-weight: 100;
    color: #fff;
    line-height: 1.2em;
}

.connect-content h1 .highlight {
    color: #DAAB2D;
    font-weight: 100;
    font-size: 109px;
    line-height: 1;
}
.connect-subtext1 {
    color: #fff;
    max-width: 76rem;
    margin: 4rem auto 2rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 0.2em;
    position: relative; /* important for positioning the pseudo-element */
    text-align: center;
}
.connect-subtext1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%; /* adjust this for desired center border length */
    border-top: 2px solid #DAAB2D;
}
.connect-subtext2 {
    color: #fff;
    max-width: 76rem;
    margin: 0.5rem auto 3rem;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* Buttons */
.connect-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .connect h1 {
        font-size: 82px;
    }

    .connect h1 .highlight {
        color: #DAAB2D;
        font-weight: 200;
        font-size: 44px;
        line-height: 1;
    }

    .connect {
        padding: 11rem 1rem 6rem;
        height: 50vh;
    }
    .connect-content {
    margin-top: 0;
}
}

@media (min-width: 600px) and (max-width: 768px) {
    .connect::before {
        height: 100%;
}
.connect {
        padding: 11rem 20px 6rem;
        min-height: auto;
    }
}

@media (max-width: 380px) {
    .connect {
        min-height: 130vh;
    }
}

.contact-section {
  background-color: #fff;
  margin-top: 6rem;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

/* Contact Container with Rounded Border */
.contact-container {
  background-color: #fefcf8;
  border: 1.5px solid #d9a700;
  border-radius: 40px;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  min-height: 25rem;
}

/* Individual Contact Item */
.contact-item {
  text-align: center;
}

/* Icon Circle */
.icon-circle {
  width: 90px;
  height: 90px;
  border: 1.5px solid #d9a700;
  border-radius: 50%;
  display: flex;
  align-items: top;
  justify-content: center;
  margin: 0 auto 15px;
}

/* Text */
.contact-text-det {
  font-size: 1rem;
  line-height: 1.6;
  color: #000 ;
  position: relative;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
}

.doctors-hours-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 750px;
    margin-top: 5rem;
}

.doctors-hours-section .hours {
    background: url("../images/Doctor_5-min\ 1.svg") no-repeat top center/cover;
    justify-content: center;
    padding: 0 1rem;
    text-align: center;
    padding-top:8rem ;
    color: #fff;
}

.doctors-hours-section .contact {
    background-color: #DAAB2D0D;
    justify-content: center;
    padding: 0 1rem;
    text-align: center;
    padding-top:8rem ;
    color: #fff;
}

.clinic-header p {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    line-height: 50px;
    padding: 6rem 8rem 0 5rem;
}

.clinic-contact img {
    padding-left: 3rem ;
}

.clinic-contact span {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: #fff;
}

/* Make long address text wrap nicely */
.clinic-contact:last-child p {
  max-width: 500px;
}

/* ✅ Responsive for mobile */
@media (max-width: 768px) {
  .clinic-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .clinic-contact img {
    width: 24px;
    height: 24px;
  }

  .clinic-contact p {
    font-size: 15px;
    line-height: 22px;
  }
}

.clinic-body {
  display: flex;
  flex-direction: column; /* Stack contacts vertically */
  gap: 10px; /* 10px space between each contact */
  margin-top: 4rem;
}

.clinic-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #002138;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 24px;
  padding-left: 4rem;
  padding-bottom: 1rem;
}

.clinic-contact img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  background-color: #fff;     /* White background */
  border-radius: 50%;         /* Circle shape */
  padding: 6px;               /* Space inside circle */
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05); /* subtle shadow */
}

.hours {
    text-align: center;
    font-family: 'Arial', sans-serif;
    padding: 2rem;
}

.doctors-logo img {
    /* width: 200px; */
    margin-bottom: 2rem;
}

.doctors-hours-title {
    font-size: 24px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.doctors-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
}

.day {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    padding: 0.5rem 1rem;
}

.clinic-holiday-doctor {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.contact-header h3 {
  color: #000;
  font-weight: 600;
  font-size: 40px;
  margin-bottom:3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 4rem 3rem 4rem;
}

/* Input Fields & Textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  color: #353C42;
  background-color: #fff;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

/* Focus Effect */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d9a700;
  box-shadow: 0 0 4px rgba(217, 167, 0, 0.3);
}

/* Button */
.contact-form button {
  background-color: #d9a700;
  color: #000;
  border: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 39rem;
}

/* Button Hover */
.contact-form button:hover {
  /* background-color: #b88a00; */
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 600px) {
  .contact-section {
    padding: 30px 20px;
  }
  .contact-section h2 {
    font-size: 1.7rem;
  }
}

.gallery-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 300;
  margin-top: 2em;
  text-align: center;
}

/* line before text */
.gallery-title::before {
  content: "";
  position: absolute;
  top: 80%;
  left: 0;
  transform: translateY(-50%);
  width: 40%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.gallery-title .highlight {
  color: #DAAB2D;
}

.gallery-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  margin-left: 12rem;
  padding: 30px;
}

/* Tab toggle */
.tab-switch {
  display: flex;
  background: var(--bg);
  border: 1px solid #d8b44b;
  border-radius: var(--radius);
  overflow: hidden;
  width: 25%;
  margin-bottom: 3rem;
  /* margin-left: 10rem; */
}
.tab-btn {
  padding: 12px 48px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  /* border-radius: var(--radius); */
  transition: all 220ms;
}
.tab-btn.active {
  background: var(--gold);
  color: #fff;
}

/* Main gallery area */
.gallery-area {
  position: relative;
  width: 100%;
  /* height: 500px; */
  max-width: 64rem;
  margin: 0;
  border-radius: 12px;
  /* overflow: hidden;s */
}

/* Controls for slides */
.slides-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1026px;
  pointer-events: none;
}
.slide-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 20px;
}
.slide-arrow.left {
  left: -4rem;
}
.slide-arrow.right {
  right: -2rem;
}

/* Thumbnails grid */
.slides-wrap {
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
  justify-items: stretch;
}
.thumb {
  width: 20rem;
  height: 14rem;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  background: #eee;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Slide footer */
.slide-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}
.page-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}
.page-dot.active {
  background: var(--gold);
}

/* ✅ Expanded view (covers the entire gallery area) */
.expanded-view {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center; /* ✅ enables vertical centering */
  justify-content: center;
  z-index: 10;
  border-radius: 12px;
  animation: fadeIn 0.25s ease;
}

.expanded-view img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ fills area completely, cropped if necessary */
  border-radius: 0;
}

/* Navigation arrows for expanded view */
.nav-expanded {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s;
  z-index: 12;
}
.nav-expanded.left {
  left: 25px;
}
.nav-expanded.right {
  right: 25px;
}
.nav-expanded:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Close button */
.expanded-view .close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  background: #d9a700;
  color: white;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  z-index: 15;
  transition: background 0.25s;
}
.expanded-view .close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Fade-in animation for smooth appearance */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .thumb {
    height: 150px;
  }
}
@media (max-width: 640px) {
  .thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
  .thumb {
    height: 140px;
  }
  .tab-btn {
    padding: 10px 28px;
    font-size: 16px;
  }
}
@media (max-width: 420px) {
  .thumbnails {
    grid-template-columns: repeat(1, 1fr);
  }
  .thumb {
    height: 200px;
  }
  .gallery-area {
    min-height: 460px;
  }
}