:root{
    --gold:#d8a72a;
    --bg:#fff8e6;
    --radius:50px;
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffff;
    font-family: 'outfit', light;
    font-size: 16px;
}

.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; */
    padding: 2.5rem 6rem 1.2rem 6rem;
    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: 2em; /* spacing between icons */
  margin-top: -1.5em;
  color: #fff;
  font-size: 18px;
} 

@media (max-width: 768px) {
  .header {
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1rem 1rem 1rem;
        flex-wrap: wrap;
        position: absolute;
        z-index: 9;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .header {
        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%;
    }

    .social-icons {
      margin-left: 18rem;
      padding-top: 2rem;
    }
}

.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: 1024px) {

    .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;
    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: -0.8em;
    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: -0.8em;
    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-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;
  }
} */
@media (min-width: 600px) and (max-width: 1024px) {
  .nav-link{
      font-size: 24px;
      padding: 20px 80px;
  }
  .nav-link.active::after {
    background: #ffffff40;
    height: 1px;
  }
}

@media (max-width: 1024px) {
    .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: 300;
    /* transition: all 0.3s ease; */
    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: 2px solid #DAAB2D;
}

.btn:first-child:active {
    color: #353C42;
    background-color: #ffff;
    border-color: #ffff;
}


.footer {
    background: #020B13;
    /* dark navy blue */
    color: #fff;
    padding: 50px 10%;
}

.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: #DAAB2D;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        grid-template-columns: none;
    }

    .social-icons {
        justify-content: center;
        text-align: center;
        align-items: end;
        position: relative;
        margin-left: 4rem;
        margin-top: 1rem;
    }
}

/* initial states */
.animate-left,
.animate-right,
.animate-top,
.animate-bottom {
    opacity: 0;
    transition: all 1s 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 1s 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;
    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.png") 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;
}
.home-hero-subtext1 {
    color: #fff;
    max-width: 76rem;
    margin: 1.2rem auto 2rem;
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    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: 22%; /* 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-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.png") 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.png") 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%;
  right: 60%;
  transform: translateY(-50%);
  width: 100%; /* 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;
    flex-wrap: wrap;
    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: 18px;
    font-weight: 500;
    color: #353C42;
    margin-bottom: 1rem;
    text-align: center;
}

.bis-choose-us-card p {
    font-size: 16px;
    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: 1024px) {
  .bis-choose-us-title {
    font-size: 42px;
  }
/* 
  .bis-choose-us-grid {
    gap: 30px;
    margin-top: 6rem;
  } */

   .bis-choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px; /* optional tighter spacing */
        margin-top: 4rem; /* optional smaller margin */
        padding: 2rem;
        display: grid;
    }

  .bis-choose-us-title::before {
    right: 34rem;
  }


  .bis-choose-us-card {
    width: 100%; /* smaller cards */
    padding: 4rem 1.5rem 2rem;
  }

  .bis-choose-us-card img {
    max-width: 60px;
  }

  .bis-choose-us-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .bis-choose-us-title {
    font-size: 34px;
  }

  .bis-choose-us-title::before {
    width: 100%;
    right: 80%;
  }

  .bis-choose-us-grid {
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    margin-top: 4rem;
  }

  .bis-choose-us-card {
    width: 45%; /* two cards per row */
    padding: 3rem 1.2rem 1.5rem;
  }

  .bis-choose-us-card h3 {
    font-size: 15px;
  }

  .bis-choose-us-card p {
    font-size: 13px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .bis-choose-us-title {
    font-size: 28px;
  }

  .bis-choose-us-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 3rem;
  }

  .bis-choose-us-card {
    width: 90%; /* full width on mobile */
    padding: 2.5rem 1rem 1.5rem;
  }

  .bis-choose-us-card img {
    max-width: 55px;
    margin-bottom: 1rem;
  }

  .bis-choose-us-card h3 {
    font-size: 14px;
  }

  .bis-choose-us-card p {
    font-size: 13px;
    line-height: 22px;
  }
}

.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: 400;
  color: #353C42;
  margin: 0;
}

/* line before text */
.about-us-content::before {
    content: "";
    position: absolute;
    top: 6%;
    left: 25%;
    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: 400;
}

.about-us-subtitle {
    font-size: 30px;
    font-weight: 400;
    line-height: 30px;
    margin-top: 5%;
}

.about-us-body .content {
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
    margin-top: 5%;
    padding-right: 7%;
}

.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;
}

@media (max-width: 1024px) {
  .about-us-section {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding: 3rem 2rem;
  }

  .about-us-content {
    order: 2;
    text-align: center;
    margin-top: 6rem;
  }

  .about-us-content::before {
    width: 35%;
    left: 0;
    right: 0;
    /* margin-top: 9%; */
  }

  .about-us-title {
    font-size: 36px;
  }

  .about-us-subtitle {
    font-size: 26px;
  }

  .about-us-body .content {
    font-size: 15px;
    line-height: 28px;
  }

  /* Scale down overlapping images but keep layout */
  .about-us-image {
    order: 1;
    transform: scale(0.9);
    width: 400px;
    height: 320px;
  }

  .about-us-image .img-top {
    top: -7em;
    left: 6em;
    height: 300px;
  }

  .about-us-image .img-middle {
    top: -1.5em;
    left: 15em;
    height: 300px;
  }

  .about-us-image .img-bottom {
    top: 5em;
    left: 9em;
    height: 290px;
  }
}

@media (max-width: 767px) {
  .about-us-section {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
    padding: 3rem 1rem;
  }

  .about-us-image {
    width: 300px;
    height: 250px;
    transform: scale(0.9);
  }

  /* Keep overlapping image design */
  .about-us-image .img-top {
    top: -5.5em;
    left: 4em;
    height: 220px;
  }

  .about-us-image .img-middle {
    top: -1em;
    left: 10em;
    height: 220px;
  }

  .about-us-image .img-bottom {
    top: 3em;
    left: 6em;
    height: 210px;
  }

  .about-us-title {
    font-size: 30px;
    margin-top: 3rem;
  }

  .about-us-subtitle {
    font-size: 22px;
  }

  .about-us-body .content {
    font-size: 14px;
    line-height: 26px;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .about-us-section {
    padding: 2.5rem 0rem;
    gap: 1.5rem;
    margin-top: 6rem;
  }

  .about-us-title::before {
    width: 25%;
  }

  .about-us-image {
    width: 260px;
    height: 210px;
    transform: scale(0.85);
    margin-bottom: 15rem;
  }

  /* scaled-down overlap for small screens */
  .about-us-image .img-top {
    top: -4.5em;
    left: 3em;
    height: 230px;
  }

  .about-us-image .img-middle {
    top: -0.8em;
    left: 8em;
    height: 230px;
  }

  .about-us-image .img-bottom {
    top: 2.5em;
    left: 5em;
    height: 230px;
  }

  .about-us-title {
    font-size: 26px;
  }

  .about-us-subtitle {
    font-size: 20px;
  }

  .about-us-body .content {
    font-size: 14px;
    line-height: 24px;
    padding: 0 2rem;
    text-align: left;
  }
}

.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; */
    /* 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;
    font-weight: 300;
    position: relative;
    display: inline-block;
    padding: 0 25rem;
    color: #fff;
}

.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;
}

@media (max-width: 1024px) {
  .happy-customer-section {
    background-size: cover;
    background-position: center top;
    padding: 1.5rem 1.5rem;
  }

  .customer-section-title {
    padding: 6rem 2rem 2rem 2rem;
    font-size: 30px;
    line-height: 42px;
  }

  .customer-section-sub .subtitle {
    padding: 0 3rem;
    font-size: 15px;
    line-height: 26px;
  }

  .customer-section-data {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 0 4rem;
  }

  .customer-section-data .img-count {
    font-size: 40px;
  }
}

/* -------------------- MOBILE VIEW -------------------- */
@media (max-width: 768px) {
  .happy-customer-section {
    background-size: cover; /* show full image */
    background-position: top center;
    padding: 1rem 1rem;
  }

  .customer-section-title {
    padding: 4rem 1rem 1rem 1rem;
    font-size: 24px;
    line-height: 34px;
  }

  .customer-section-body {
    height: 830px;
  }

  .customer-section-sub .subtitle {
    padding: 0 1rem;
    font-size: 13px;
    line-height: 22px;
  }

  .customer-section-data {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .customer-section-data img {
    width: 60px;
  }

  .customer-section-data .img-count {
    font-size: 32px;
    line-height: 24px;
  }

  .customer-section-data .text {
    font-size: 14px;
  }
}

.goals-section {
    display: grid;
    grid-template-columns: 60% 40%;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 1rem;
    /* justify-content: center; */
    margin-top: 8rem;
    flex-wrap: wrap;
    /* padding: 0 21rem; */
    /* text-align: center; */
}

.goals-section.reverse {
    grid-template-columns: 40% 60%;
}

.goals-section .what-we-do .we-do-header h3 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 400;
}

.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;
}

@media (max-width: 1024px) {
  .what-we-do-section {
    grid-template-columns: 1fr 1fr;
  }

  .we-do-header {
    font-size: 26px;
    padding-left: 4rem;
  }

  .we-do-header::before {
    width: 25%;
  }

  .we-do-body {
    padding: 0 3rem;
    font-size: 15px;
  }

  .what-we-do-img img {
    position: relative;
    padding-left: 0;
    padding-top: 2rem;
    max-width: 400px;
    display: block;
    margin: 0 auto;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .goals-section {
    display: grid;
    grid-template-columns: none;
  }
  .what-we-do-section {
    /* grid-template-columns: 1fr 1fr; */
    text-align: center;
  }

  .we-do-header {
    font-size: 24px;
    padding: 0;
    padding-left: 8rem;
  }

  .we-do-header::before {
    /* display: none; */
  }

  .we-do-body {
    padding: 0 1.5rem;
    font-size: 15px;
    line-height: 26px;
  }

  .what-we-do-img img {
    padding: 0;
    margin: 0 auto;
    max-width: 90%;
    height: auto;
  }
}

.our-mission-img img {
    position: relative;
    margin: 1rem auto 0;
    padding: 0;
    padding-left: 8rem;
    max-width: 90%;
    height: auto;
}

.our-mission {
    text-align: right;
}

.our-mission-header h3 {
    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;
    font-weight: 400;
}

.our-mission-header::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    /* transform: translateY(100%); */
    width: 13%; /* 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;
}

/* ---------- Tablet View (≤1024px) ---------- */
@media (max-width: 1024px) {
  .our-mission-img img {
    position: relative;
    padding-left: 0;
    padding-top: 2rem;
    max-width: 400px;
    display: block;
    margin: 0 auto;
  }

  .our-mission {
    text-align: center;
  }

  .our-mission-header h3 {
    font-size: 26px;
    padding-right: 0;
    margin-top: 1rem;
  }

  .our-mission-header::before {
    /* display: none; hide decorative line for smaller screens */
  }

  .our-mission-body {
    padding: 1rem 4rem;
    font-size: 15px;
    line-height: 28px;
  }
}

/* ---------- Mobile View (≤768px) ---------- */
@media (max-width: 768px) {
  .goals-section.reverse {
    grid-template-columns: none;
    margin-top: 4rem;
  }
  .our-mission-img img {
    padding: 0;
    margin: 0 auto;
    max-width: 90%;
    height: auto;
  }

  .our-mission {
    text-align: center;
  }

  .our-mission-header h3 {
    font-size: 22px;
    line-height: 32px;
    padding-right: 0;
    margin: 1rem 0;
  }

  .our-mission-header::before {
    width: 100%;
    left: 18rem;
  }

  .our-mission-body {
    padding: 0 1.5rem;
    font-size: 14px;
    line-height: 24px;
    text-align: right;
  }
}

.our-goal-header h3 {
    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;
    font-weight: 400;
}

.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: 13%; /* 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;
}

/* ---------- Tablet View (≤1024px) ---------- */
@media (max-width: 1024px) {
  .our-goal-header h3 {
    font-size: 26px;
    padding-left: 4rem;
  }

  .our-goal-header::before {
    /* width: 10%; */
  }

  .our-goal-body {
    padding: 1rem 3rem 0 4rem;
    font-size: 15px;
    line-height: 28px;
  }

  .our-goal-img img {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 2rem 0 0 0;
    max-width: 400px;
  }

  .our-goal {
    text-align: center;
  }
}

/* ---------- Mobile View (≤768px) ---------- */
@media (max-width: 768px) {
  .our-goal-header h3 {
    font-size: 22px;
    line-height: 32px;
    padding-left: 0;
    margin-top: 1rem;
    text-align: center;
  }

  .our-goal-header::before {
    width: 35%;
  }

  .our-goal-body {
    padding: 0 1.5rem;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
  }

  .our-goal-img img {
    position: relative;
    margin: 1rem auto 0;
    padding: 0;
    max-width: 90%;
    height: auto;
  }
}

.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: 50vh;
    border-radius: 30px;
    background-color: #020B1305;
}

.testimonials {
  padding: 6rem 0 0rem 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: 20px;
  font-weight: 400;
  color: #020B13CC;
}

.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;
}

/* ---------- Tablet View (≤1024px) ---------- */
@media (max-width: 1024px) {
  .testimonial-title {
    font-size: 40px;
  }

  .testimonial-title::after {
    width: 25%;
  }

  .testimonial-header h2 {
    font-size: 32px;
  }

  .testimonial-body {
    padding: 2rem 4rem;
  }

  .testimonial-container {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 3rem 2rem 3rem;
    text-align: center;
  }

  .testimonial-content {
    text-align: center;
  }

  .testimonial-stars {
    font-size: 32px;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 26px;
  }

  .testimonial-author {
    font-size: 18px;
  }
}


/* ---------- Mobile View (≤768px) ---------- */
@media (max-width: 768px) {
  .testimonial-title {
    font-size: 28px;
    margin-top: 1.5em;
  }

  .testimonial-title::after {
    width: 20%;
  }

  .testimonial-header h2 {
    font-size: 24px;
    text-align: center;
  }

  .testimonial-body {
    padding: 1rem 1.5rem;
  }

  .testimonial-container {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .testimonial-content {
    text-align: center;
  }

  .testimonial-stars {
    font-size: 28px;
  }

  .testimonial-text {
    font-size: 14px;
    line-height: 24px;
  }

  .testimonial-author {
    font-size: 16px;
  }

  .testimonial-body .card {
    min-height: auto;
    padding: 1.5rem;
    border-radius: 20px;
  }

  .testimonial-dots {
    margin-bottom: 2rem;
  }
}

.location-map-section {
  background-color: #fff;
  margin-top: 6rem;
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.map-container {
  background-color: #fefcf8;
  /* border: 1.5px solid #d9a700; */
  border-radius: 40px;
  align-items: center;
  justify-items: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  min-height: 25rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 1.5px solid #d9a700;
    border-radius: 30px;
    display: block;
}

/* ---------- Tablet View (≤1024px) ---------- */
@media (max-width: 1024px) {
  .location-map-section {
    margin-top: 4rem;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
  }

  .map-container {
    border-radius: 30px;
    min-height: 20rem;
  }

  .map-container iframe {
    border-radius: 20px;
  }
}

/* ---------- Mobile View (≤768px) ---------- */
@media (max-width: 768px) {
  .location-map-section {
    flex-direction: column;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .map-container {
    border-radius: 20px;
    min-height: 18rem;
  }

  .map-container iframe {
    border-radius: 15px;
    height: 300px; /* fixed height for mobile screens */
  }
}

.clinic-hours-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 35rem;
}

.clinic-hours-section .contact {
    background: url("../images/clinichours.png") no-repeat top center/cover;
    justify-content: left;
    padding: 0 1rem;
    text-align: left;
}

.clinic-hours-section .clinic-header p {
    color: #fff;
    font-size: 30px;
    font-weight: 200;
    line-height: 50px;
    padding: 6rem 8rem 0 5rem;
}

.clinic-contact img {
    padding-left: 3rem ;
}

.clinic-hours-section .clinic-contact span {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: #fff;
}

/* Make long address text wrap nicely */
.clinic-contact:last-child p {
  max-width: 500px;
}

.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-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;
    padding: 2rem;
}

.clinic-logo img {
    /* width: 200px; */
    margin-bottom: 2rem;
}

.clinic-hours-title {
    font-size: 30px;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.clinic-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
}

.clinic-hours-grid .day {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 300;
    padding: 0.5rem 1rem;
}

.clinic-holiday {
    font-size: 16px;
    font-weight: 700;
    color: #353C42;
}

/* ---------------- TABLET VIEW ---------------- */
@media (max-width: 1024px) and (min-width: 768px) {

  .clinic-hours-section {
    grid-template-columns: 1fr; /* stack vertically */
    min-height: auto;
  }

  .clinic-hours-section .contact {
    background: url("../images/clinichours.png") no-repeat center center/cover;
    text-align: center;
    padding: 3rem 2rem;
    justify-content: center;
  }

  .clinic-hours-section .clinic-header p {
    font-size: 24px;
    line-height: 40px;
    padding: 3rem 2rem 1rem 2rem;
    text-align: center;
  }

  .clinic-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .clinic-contact img {
    padding: 0;
    margin-bottom: 1rem;
    width: 60px; /* smaller, consistent size */
  }

  .clinic-hours-section .clinic-contact span {
    font-size: 16px;
    line-height: 28px;
    color: #fff;
    text-align: center;
  }

  .clinic-contact:last-child p {
    max-width: 90%;
    margin: 0 auto;
  }
}

/* ---------------- MOBILE VIEW ---------------- */
@media (max-width: 768px) {
  .clinic-hours-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .clinic-hours-section .contact {
    background-position: center;
    padding: 2rem 1rem;
    text-align: center;
  }

  .clinic-hours-section .clinic-header p {
    font-size: 22px;
    line-height: 32px;
    padding: 3rem 1.5rem 0 1.5rem;
  }

  .clinic-body {
    margin-top: 2rem;
    gap: 0.8rem;
    align-items: left;
  }

  .clinic-contact {
    padding-left: 1rem !important;
    justify-content: left;
    text-align: left;
  }

  .clinic-contact img {
    width: 22px;
    height: 22px;
  }

  .clinic-hours-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }

  .clinic-hours-title {
    font-size: 24px;
  }

  .clinic-hours-grid .day {
    font-size: 15px;
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }

  .clinic-holiday {
    font-size: 14px;
  }
}

.footer-left h3 {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 26px;
}

.footer-left p {
    font-weight: 300;
    font-size: 16px;
}

.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;
}

.footer-right h5 {
  font-size: 16px;
  font-weight: 600;
}

.footer-right p {
  font-size: 14px;
  font-weight: 300;
}

.footer-right .clinic-contact span {
  font-size: 16px;
  font-weight: 300;
}

/* ---------------- TABLET VIEW ---------------- */
@media (max-width: 1024px) {
  .footer-left h3 {
    font-size: 22px;
  }

  .footer-left p {
    font-size: 15px;
  }

  .footer-left .logos {
    /* grid-template-columns: repeat(3, 1fr); */
    font-size: 18px;
    gap: 0.8rem;
  }

  .footer-right h5 {
    font-size: 15px;
  }

  .footer-right p,
  .footer-right .clinic-contact span {
    font-size: 14px;
  }
}

/* ---------------- MOBILE VIEW ---------------- */
@media (max-width: 768px) {
  .footer-left,
  .footer-right {
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .footer-left h3 {
    font-size: 20px;
    margin-bottom: 0.8rem;
  }

  .footer-left p {
    font-size: 14px;
    line-height: 22px;
  }

  .footer-left .logos {
    /* grid-template-columns: repeat(2, 1fr); */
    font-size: 18px;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .footer-right h5 {
    font-size: 14px;
  }

  .footer-right p,
  .footer-right .clinic-contact span {
    font-size: 13px;
    line-height: 20px;
  }
}

.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;
}

/* For screens up to 1024px (Tablet Landscape) */
@media (max-width: 1024px) {
  .copyrights-section {
    padding: 0 4rem;
    grid-template-columns: 1fr 1fr;
  }

  .copyrights-section .copyright,
  .copyrights-section .created {
    font-size: 11.5px;
  }
}

/* For screens up to 768px (Tablet Portrait & Mobile) */
@media (max-width: 768px) {
  .copyrights-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 2rem;
  }

  .copyrights-section .copyright,
  .copyrights-section .created {
    text-align: center;
    font-size: 11px;
    line-height: 26px;
  }
}

.eye-hero {
  position: relative;
  text-align: center;
  padding: 3rem 20px 11rem;
  min-height: 100vh;
  overflow: hidden;
  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-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-weight: 300;
}

/* Buttons */
.eye-hero-button {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* ============================= */
/* Tablet Responsive (≤ 1024px) */
/* ============================= */
@media (max-width: 1024px) {
  .eye-hero {
    padding: 2.5rem 15px 8rem;
  }

  .eye-hero h1,
  .eye-hero h1 .highlight {
    font-size: 80px;
  }

  .eye-hero-content {
    margin-top: 7rem;
  }

  .eye-hero-subtext1,
  .eye-hero-subtext2 {
    font-size: 15px;
    max-width: 90%;
  }

  .eye-hero-subtext1::before {
    width: 30%;
  }
}

/* ============================= */
/* Mobile Responsive (≤ 768px)  */
/* ============================= */
@media (max-width: 768px) {
  .eye-hero {
    padding: 2rem 10px 6rem;
    min-height: auto;
  }

  .eye-hero h1,
  .eye-hero h1 .highlight {
    font-size: 54px;
    line-height: 1.2em;
  }

  .eye-hero-content {
    margin-top: 10rem;
  }

  .eye-hero-subtext1,
  .eye-hero-subtext2 {
    font-size: 14px;
    line-height: 26px;
    margin: 1.5rem auto 2rem;
    max-width: 95%;
  }

  .eye-hero-subtext1::before {
    width: 40%;
  }

  .eye-hero-button {
    flex-direction: column;
    gap: 16px;
  }
}

.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: 30px;
  font-weight: 400;
  color: #353C42;
  margin-top: 1.5em;
  text-align: right;
}

/* line before text */
.ortho-treatment-content::before {
    content: "";
    position: absolute;
    top: 8rem;
    left: 41em;
    right: 0;
    transform: translateY(100%);
    width: 100%; /* 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: 400;
}

.ortho-treatment-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: right;
    font-weight: 300;
    /* padding-right: 7%; */
}


.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;
}

/* ================================= */
/* Tablet Responsive (≤1024px) */
/* ================================= */
@media (max-width: 1024px) {
  .ortho-treatment-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .ortho-treatment-content {
    order: 2;
    text-align: center;
    padding-right: 0;
  }

  .ortho-treatment-content::before {
    width: 25%;
  }

  .ortho-treatment-title {
    font-size: 26px;
    text-align: center;
  }

  .ortho-treatment-body .content {
    font-size: 15px;
    line-height: 28px;
    text-align: right;
  }

  .ortho-treatment-image {
    order: 1;
    width: 380px;
    height: 260px;
  }

  .ortho-treatment-image img {
    border-radius: 60px;
  }

  .ortho-treatment-image .img-top {
    top: -6em;
    height: 260px;
    left: 4em;
  }

  .ortho-treatment-image .img-middle {
    top: -1em;
    height: 260px;
    left: 11em;
  }

  .ortho-treatment-image .img-bottom {
    top: 4em;
    height: 260px;
    left: 6em;
  }
}

/* ================================= */
/* Mobile Responsive (≤768px) */
/* ================================= */
@media (max-width: 768px) {
  .ortho-treatment-section {
    flex-direction: column;
    padding: 3rem 1rem;
    margin-top: 5rem;
  }

  .ortho-treatment-content {
    padding-right: 0;
    text-align: center;
    margin-top: 16rem;
  }

  .ortho-treatment-title {
    font-size: 22px;
  }

  .ortho-treatment-content::before {
    width: 25%;
    left: 18rem;
  }

  .ortho-treatment-body .content {
    font-size: 14px;
    line-height: 26px;
    margin-top: 1rem;
  }

  .ortho-treatment-image {
    width: 300px;
    height: 220px;
  }

  .ortho-treatment-image .img-top {
    top: -5em;
    height: 220px;
    left: 2.5em;
  }

  .ortho-treatment-image .img-middle {
    top: -1em;
    height: 220px;
    left: 7em;
  }

  .ortho-treatment-image .img-bottom {
    top: 3em;
    height: 220px;
    left: 3.5em;
  }
}

.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: 400;
  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: 400;
}

.ortho-body .content {
  font-size: 16px;
  line-height: 30px;
  margin-top: 5%;
  text-align: justify;
}

.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 {
  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: 16px;
  font-weight: 300;
  padding-right: 9rem;
  line-height: 30px;
}

/* ================================= */
/* Tablet Responsive (≤1024px) */
/* ================================= */
@media (max-width: 1024px) {
  .ortho-section {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }

  .ortho-content {
    order: 2;
    text-align: center;
    padding-left: 0;
  }

  .ortho-content::before {
    display: none; /* hide yellow line */
  }

  .ortho-title {
    font-size: 26px;
    text-align: center;
  }

  .ortho-body {
    font-size: 15px;
    padding-right: 0;
    line-height: 28px;
  }

  .ortho-body .content {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
  }

  .ortho-image {
    order: 1;
    width: 380px;
    height: 260px;
  }

  .ortho-image img {
    border-radius: 60px;
  }

  .ortho-image .img-top {
    right: 2.5em;
    height: 260px;
  }

  .ortho-image .img-bottom {
    top: 6em;
    left: 0;
    height: 220px;
  }
}

/* ================================= */
/* Mobile Responsive (≤768px) */
/* ================================= */
@media (max-width: 768px) {
  .ortho-section {
    flex-direction: column;
    padding: 2.5rem 1rem;
    margin-top: 4rem;
  }

  .ortho-content {
    padding-left: 0;
    text-align: left;
    margin-top: 16rem;
  }

  .ortho-title {
    font-size: 22px;
  }

  .ortho-body {
    padding-right: 0;
    font-size: 14px;
    line-height: 26px;
  }

  .ortho-body .content {
    font-size: 14px;
    line-height: 26px;
    text-align: left;
  }

  .ortho-image {
    width: 300px;
    height: 220px;
  }

  .ortho-image .img-top {
    right: 0;
    height: 220px;
  }

  .ortho-image .img-bottom {
    top: 5em;
    left: 0;
    height: 200px;
  }
}

.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: 38%; /* covers from left edge to center */
  height: 2px;
  background: #DAAB2D;
}

.disting-title .highlight {
    color: #DAAB2D;
}

.disting-header h2 {
    font-size: 30px;
    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;
    margin-bottom: 1rem;
    text-align: center;
}

.disting-card p {
    font-size: 15px;
    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;
}

/* ✅ Tablet Responsive (max-width: 1024px) */
@media (max-width: 1024px) {
  .disting-title {
    font-size: 38px;
  }

  .disting-title::before {
    width: 50%;
    top: 90%;
  }

  .disting-grid {
    gap: 30px;
    margin-top: 6rem;
  }

  .disting-card {
    width: 14rem;
    padding: 4rem 1.5rem 2rem;
  }

  .disting-card h3 {
    font-size: 15px;
  }

  .disting-card p {
    font-size: 14px;
    line-height: 26px;
  }
}

/* ✅ Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
  .disting-section {
    padding-top: 3rem;
  }

  .disting-title {
    font-size: 32px;
    margin-top: 1.5em;
  }

  .disting-title::before {
    display: none; /* hide decorative line on small screens */
  }

  .disting-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 4rem;
  }

  .disting-card {
    width: 90%;
    padding: 3rem 1.2rem 2rem;
  }

  .disting-card img {
    max-width: 60px;
  }

  .disting-card h3 {
    font-size: 15px;
  }

  .disting-card p {
    font-size: 14px;
    line-height: 24px;
  }
}

.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: 400;
  color: #353C42;
  margin-top: 1em;
  text-align: left;
}

/* line before text */
.glucoma-content::before {
    content: "";
    position: absolute;
    top: 3.5rem;
    left: 31em;
    right: 0;
    transform: translateY(100%);
    width: 100%; /* covers from left edge to center */
    height: 2px;
    background: #DAAB2D;
}

.glucoma-content.reverse::before {
    content: "";
    position: absolute;
    top: 3.5rem;
    left: 24em;
    right: 0;
    transform: translateY(100%);
    width: 100%; /* 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: 400;
}

.glucoma-body .content {
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
    margin-top: 5%;
    text-align: left;
    /* padding-right: 8em; */
}

.glucoma-body.reverse .content {
    padding-right: 1rem;
}

.glucoma-image {
  position: relative;
  width: 450px;
  margin: auto;
}

.glucoma-image iframe {
  position: absolute;
  object-fit: cover;
  transition: all 0.5s ease;
  /* border-radius: 100px; optional capsule shape */
}

/* Optional hover */
.glucoma-image iframe:hover {
  transform: scale(1.05);
  z-index: 4;
}

/* ✅ Tablet Responsive (≤1024px) */
@media (max-width: 1024px) {
  .glucoma-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
    gap: 2.5rem;
    padding-left: 0;
  }

  .glucoma-content {
    padding-right: 0;
    text-align: center;
    margin: 0 auto;
  }

  .glucoma-title {
    font-size: 26px;
    text-align: center;
  }

  .glucoma-content::before,
  .glucoma-content.reverse::before {
    display: none; /* Hide yellow line on smaller screens */
  }

  .glucoma-body .content {
    text-align: center;
    font-size: 15px;
    line-height: 28px;
    max-width: 90%;
    margin: 1.5rem auto 0;
  }

  .glucoma-image {
    width: 100%;
    max-width: 420px;
  }
}

/* ✅ Mobile Responsive (≤768px) */
@media (max-width: 768px) {
  .glucoma-section {
    flex-direction: column;
    padding: 2rem 1rem;
    margin-top: 5rem;
    gap: 2rem;
  }

  .glucoma-title {
    font-size: 22px;
    line-height: 1.3em;
  }

  .glucoma-body .content {
    font-size: 14px;
    line-height: 26px;
    text-align: justify;
    padding: 0 1rem;
  }

  .glucoma-image {
    max-width: 320px;
    height: auto;
  }

  .glucoma-image iframe {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .glucoma-content::before,
  .glucoma-content.reverse::before {
    display: none;
  }
}

.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%;
  right: 61%;
  transform: translateY(-50%);
  width: 100%; /* 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: 18px;
    font-weight: 500;
    color: #353C42;
    margin-bottom: 1rem;
    text-align: center;
}

.eye-care-card p {
    font-size: 16px;
    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;
}

/* ✅ Tablet (1024px and below) */
@media (max-width: 1024px) {
  .eye-care-title {
    font-size: 40px;
  }

  .eye-care-title::before {
    right: 55%;
  }

  .eye-care-header h2 {
    font-size: 32px;
  }

  .eye-care-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 4rem;
    margin-top: 6rem;
  }

  .eye-care-card {
    width: 12rem;
    padding: 2.5rem 1rem 1rem;
  }

  .eye-care-card img {
    max-width: 60px;
  }
}

/* ✅ Mobile (768px and below) */
@media (max-width: 768px) {
  .eye-care-title {
    font-size: 28px;
    margin-top: 1.5em;
  }

  .eye-care-title::before {
    right: 80%;
    /* display: none; remove line for mobile to keep clean */
  }

  .eye-care-header h2 {
    font-size: 26px;
  }

  .eye-care-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 2rem;
    margin-top: 4rem;
  }

  .eye-care-card {
    width: 100%;
    padding: 2rem 1rem;
  }

  .eye-care-card h3 {
    font-size: 16px;
  }

  .eye-care-card p {
    font-size: 14px;
    line-height: 26px;
  }

  .eye-care-card img {
    max-width: 55px;
  }
}

.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 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;
  font-weight: 500;
  color: #353C42;
}

.appointment-info .phone {
  font-size: 20px;
  font-weight: 500;
  color: #DAAB2D; /* golden yellow tone */
}

/* ✅ Tablet (≤1024px) */
@media (max-width: 1024px) {
  .appointment-div {
    gap: 3rem;
    padding: 0 3rem;
  }

  .appointment-call h1 {
    font-size: 45px;
  }

  .appointment-info p {
    font-size: 18px;
  }

  .appointment-info .phone {
    font-size: 18px;
  }
}

/* ✅ Mobile (≤768px) */
@media (max-width: 768px) {
  .appointment-div {
    flex-direction: column; /* stack items vertically */
    text-align: center;
    gap: 2rem;
    padding: 0 2rem;
  }

  .appointment-call {
    justify-content: center;
  }

  .appointment-call h1 {
    font-size: 36px;
  }

  .appointment-info {
    text-align: center;
  }

  .appointment-info p {
    font-size: 16px;
    line-height: 1.6;
  }

  .appointment-info .phone {
    font-size: 18px;
  }

  .appointment {
    margin-top: 5rem;
    padding: 2.5rem 0;
  }
}

.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;
    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: 400;
  font-size: 30px;
  line-height: 45px;
}

.additional-section-data .left-data .content ul {
  margin: 0;
}

.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;
  font-size: 16px;
  font-weight: 300;
}

.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: 400;
  font-size: 30px;
  line-height: 45px;
}

.additional-section-data .right-data .content {
  margin-top: 3rem;
  margin-left: 5rem;
  border: 1px solid #daab2db5;
  min-height: 14rem;
  border-radius: 30px;
  padding: 40px 57px;
  position: relative;
  font-size: 16px;
}

.additional-section-data .right-data .head {
  font-weight: 700;
}

.additional-section-data .right-data .head.reverse {
  margin-top: 3rem;
}
.additional-section-data .right-data .content p {
  margin: 0;
}

.additional-section-data .right-data .body {
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}

/* ====================== */
/* ✅ Tablet Responsive   */
/* ====================== */
@media (max-width: 1024px) {
  .additional-section-title {
    padding: 10rem 8rem 3rem 8rem;
    font-size: 32px;
    line-height: 50px;
  }

  .additional-section-sub .subtitle {
    padding: 0 10rem;
    font-size: 15px;
  }

  .additional-section-data {
    gap: 1.5rem;
    padding-top: 8em;
  }

  .additional-section-data .left-data,
  .additional-section-data .right-data {
    padding-right: 4rem;
  }

  .additional-section-data .left-data h3,
  .additional-section-data .right-data h3 {
    font-size: 26px;
    padding-left: 5rem;
  }

  .additional-section-data .left-data .content,
  .additional-section-data .right-data .content {
    margin-left: 4rem;
    padding: 30px;
  }
}

/* ====================== */
/* ✅ Mobile Responsive   */
/* ====================== */
@media (max-width: 768px) {

  .additional-services-section {
    margin-top: 4rem;
    padding-bottom: 4rem;
  }

  .additional-section-body {
    height: auto;
  }

  .additional-section-title {
    padding: 6rem 2rem 2rem 2rem;
    font-size: 26px;
    line-height: 38px;
  }

  .additional-section-sub .subtitle {
    padding: 0 2rem;
    font-size: 14px;
    line-height: 24px;
  }

  .additional-section-data {
    grid-template-columns: 1fr; /* stack columns */
    padding-top: 4em;
  }

  .additional-section-data .left-data {
    text-align: left;
    padding: 0 2rem;
  }

  .additional-section-data .right-data {
    text-align: right;
    padding: 0 2rem;
  }

  .additional-section-data .left-data::before {
    width: 8%;
  }

  .additional-section-data .right-data::before {
    width: 8%;
  }

  .additional-section-data .left-data h3,
  .additional-section-data .right-data h3 {
    padding: 0;
    font-size: 22px;
  }

  .additional-section-data .left-data .content,
  .additional-section-data .right-data .content {
    margin: 2rem auto 0 auto;
    padding: 25px 20px;
    font-size: 15px;
    border-radius: 20px;
    width: 90%;
    line-height: 28px;
  }
}

.dental-hero {
    position: relative;
    /* background: url("../images/dental-home.svg") no-repeat top center/cover; */
    text-align: center;
    padding: 3rem 20px 11rem;
    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.png") 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-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-weight: 300;
}

/* Buttons */
.dental-hero-button {
    display: flex;
    justify-content: center;
    gap: 24px;
}
/* ---------------------------- */
/* ✅ Tablet Responsive (768px–1023px) */
/* ---------------------------- */
@media (max-width: 1024px) {
  .dental-hero {
    padding: 3rem 20px 8rem;
  }

  .dental-hero-content {
    margin-top: 6rem;
  }

  .dental-hero h1 {
    font-size: 72px;
  }

  .dental-hero h1 .highlight {
    font-size: 72px;
  }

  .dental-hero-subtext1,
  .dental-hero-subtext2 {
    max-width: 90%;
    font-size: 15px;
    line-height: 26px;
  }

  .dental-hero-button {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ---------------------------- */
/* ✅ Mobile Responsive (below 767px) */
/* ---------------------------- */
@media (max-width: 767px) {
  .dental-hero {
    padding: 2rem 15px 6rem;
    min-height: auto;
  }

  .dental-hero-content {
    margin-top: 12rem;
  }

  .dental-hero h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .dental-hero h1 .highlight {
    font-size: 40px;
  }

  .dental-hero-subtext1,
  .dental-hero-subtext2 {
    max-width: 100%;
    font-size: 14px;
    line-height: 24px;
    margin: 1.5rem auto 2rem;
  }

  .dental-hero-subtext1::before {
    width: 40%;
  }

  .dental-hero-button {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

.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: 30px;
  font-weight: 400;
  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: 400;
}

.paed-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: right;
    font-weight: 300;
    /* padding-right: 7%; */
}

.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;
}

/* ==================================== */
/* ✅ Tablet (1024px) — keep alignment  */
/* ==================================== */
@media (max-width: 1024px) {
  .paed-section {
    gap: 2rem;
    padding: 3rem 2rem;
  }

  .paed-image {
    width: 370px;
  }

  .paed-image .img-top {
    top: -6em;
    left: 13em;
    height: 280px;
  }

  .paed-image .img-middle {
    top: -1em;
    left: 6em;
    height: 280px;
  }

  .paed-image .img-bottom {
    top: 4em;
    left: 11em;
    height: 270px;
  }

  .paed-content {
    padding-right: 5rem;
  }

  .paed-content::before {
    left: 28em;
    width: 22%;
    top: 7rem;
  }

  .paed-title {
    font-size: 26px;
  }

  .paed-body .content {
    font-size: 15px;
  }
}

/* ==================================== */
/* ✅ Mobile (768px and below)          */
/* ==================================== */
@media (max-width: 768px) {
  .paed-section {
    flex-direction: column;
    align-items: center;
    text-align: right;
    padding: 3rem 1.5rem;
    margin-top: 5rem;
  }

  .paed-image {
    width: 300px;
  }

  .paed-image .img-top {
    top: -4em;
    left: 6em;
    height: 220px;
  }

  .paed-image .img-middle {
    top: 0;
    left: 2.5em;
    height: 220px;
  }

  .paed-image .img-bottom {
    top: 3.5em;
    left: 5em;
    height: 210px;
  }

  .paed-content {
    padding-right: 0.5rem;
    margin-top: 10rem;
  }

  .paed-content::before {
    left: 20em;
    width: 100%;
    top: 6rem;
  }

  .paed-title {
    font-size: 22px;
  }

  .paed-body .content {
    font-size: 14px;
    line-height: 26px;
  }
}

.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: 400;
  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: 400;
}

.more-body .content {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: justify;
    /* padding-right: 7%; */
}
.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: 16px;
    font-weight: 300;
    padding-right: 3rem;
    line-height: 30px;
}

/* ================================ */
/* ✅ Tablet Responsive (1024px)    */
/* ================================ */
@media (max-width: 1024px) {
  .more-section {
    gap: 2rem;
    padding: 3rem 2rem;
  }

  .more-image {
    height: 260px;
  }

  .more-image .img-top {
    top: -2.5em;
    left: 3em;
    height: 250px;
  }

  .more-image .img-middle {
    top: 3em;
    left: 10em;
    height: 250px;
  }

  .more-image .img-bottom {
    top: 7em;
    left: 5.5em;
    height: 250px;
  }

  .more-content {
    padding-left: 5rem;
  }

  .more-content::before {
    top: 7rem;
    left: -1.5rem;
    width: 18%;
  }

  .more-title {
    font-size: 26px;
  }

  .more-body .content {
    font-size: 15px;
    line-height: 28px;
  }
}

/* ================================ */
/* ✅ Mobile Responsive (768px)     */
/* ================================ */
@media (max-width: 768px) {
  .more-section {
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    margin-top: 0;
  }

  .more-image {
    width: 300px;
    height: 250px;
  }

  .more-image .img-top {
    top: -2em;
    left: 3em;
    height: 200px;
  }

  .more-image .img-middle {
    top: 2em;
    left: 6em;
    height: 200px;
  }

  .more-image .img-bottom {
    top: 5em;
    left: 4em;
    height: 200px;
  }

  .more-content {
    padding-left: 0.5rem;
    margin-top: 2rem;
    text-align: left;
  }

  .more-content::before {
    top: 6rem;
    /* left: 0; */
    width: 8%;
  }

  .more-title {
    font-size: 22px;
  }

  .more-body .content {
    font-size: 14px;
    line-height: 26px;
  }

  .link-gallery {
    margin-top: 15em;
    padding-left: 10em;
  }
}

.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.png") no-repeat top center/cover;
     /* responsive for smaller screens */
    margin-top: 8rem;
}

.dental-section-body {
    position: relative;
    text-align: center;
    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;
    right: 39rem;
    transform: translateY(100%);
    width: 100%;
    height: 2px;
    background: #DAAB2D;  
}

.dental-section-data .left-data h3 {
  padding-left: 8rem;
  margin-top: 3rem;
  font-size: 30px;
  font-weight: 300;
  line-height: 45px;
}

.dental-section-data .left-data .content {
  margin-top: 2rem;
  margin-left: 8rem;
  font-size: 16px;
  font-weight: 300;
  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;
    left: 39rem;
    transform: translateY(100%);
    width: 100%;
    height: 2px;
    background: #DAAB2D;  
}

.dental-section-data .right-data h3 {
  padding-left: 8rem;
  margin-top: 3rem;
  font-size: 30px;
  font-weight: 300;
  line-height: 45px;
}

.dental-section-data .right-data .content {
  margin-top: 2rem;
  margin-left: 8rem;
  min-height: 4rem;
  font-size: 16px;
  font-weight: 300;
  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;
}

/* -------- TABLET (768px – 1024px) -------- */
@media (max-width: 1024px) {
  .dental-section-body {
    height: auto;
    padding: 6rem 2rem;
  }

  .dental-section-title {
    font-size: 32px;
    line-height: 48px;
    padding: 8rem 5rem 3rem 5rem;
  }

  .dental-section-sub .subtitle {
    padding: 0 6rem;
    font-size: 15px;
  }

  .dental-section-data {
    grid-template-columns: 1fr; /* Stack sections */
    gap: 4rem;
    padding-top: 2rem;
  }

  .dental-section-data .left-data,
  .dental-section-data .right-data {
    padding-top: 4rem;
    text-align: center;
  }

  .dental-section-data .left-data h3,
  .dental-section-data .right-data h3 {
    font-size: 26px;
    padding-left: 0;
  }

  .dental-section-data .left-data .content,
  .dental-section-data .right-data .content {
    margin: 1.5rem 0;
    padding: 0 1rem;
    text-align: justify;
  }

  .dental-section-data .left-data .sub-left-section::before,
  .dental-section-data .right-data .sub-right-section::before {
    
  }
}

/* -------- MOBILE (≤767px) -------- */
@media (max-width: 767px) {
  .dental-services-section {
    margin-top: 4rem;
    background-size: cover;
  }

  .dental-section-body {
    height: auto;
    padding: 2rem 1.5rem;
    margin-top: 18rem;
  }

  .dental-section-title {
    font-size: 24px;
    line-height: 36px;
    padding: 5rem 2rem 2rem 2rem;
  }

  .dental-section-sub .subtitle {
    padding: 0 1rem;
    font-size: 14px;
    line-height: 24px;
  }

  .dental-section-data {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 0;
  }

  .dental-section-data .left-data,
  .dental-section-data .right-data {
    padding-top: 2rem;
    text-align: center;
  }

  .dental-section-data .left-data h3,
  .dental-section-data .right-data h3 {
    font-size: 22px;
    line-height: 32px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .dental-section-data .left-data .content {
    margin: 1rem 0;
    padding: 0 1rem;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
  }

  .dental-section-data .right-data .content {
    text-align: right;
  }

  .dental-section-data .left-data .sub-left-section,
  .dental-section-data .right-data .sub-right-section {
    padding-right: 0;
  }

  .dental-section-data .left-data .sub-left-section::before {
    width: 16%;
    right: 21rem;
  }

  .dental-section-data .right-data .sub-right-section::before {
    width: 16%;
    left: 21rem;
  }

  .dental-section-footer {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}


.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: 400;
  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: 400;
}

.rehab-body .p {
    font-size: 16px;
    line-height: 30px;
    margin-top: 5%;
    text-align: justify;
    /* padding-right: 7%; */
}

.rehab-body p {
  padding-top: 1rem;
}

.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: 16px;
    font-weight: 300;
    padding-right: 9rem;
    line-height: 30px;
}

/* ----------- Tablet (max-width: 1024px) ----------- */
@media (max-width: 1024px) {
  .rehab-section {
    grid-template-columns: 55% 45%;
    gap: 2rem;
    padding: 3rem 2rem;
  }

  .rehab-content {
    padding-left: 4rem;
  }

  .rehab-title {
    font-size: 26px;
    line-height: 38px;
  }

  .rehab-body {
    padding-right: 4rem;
  }

  .rehab-body p {
    font-size: 15px;
    line-height: 28px;
  }

  .rehab-image {
    margin-right: 4rem;
    margin-top: 2rem;
  }

  .rehab-image img {
    height: 260px;
  }

  .rehab-content::before {
    top: 6rem;
    left: -1rem;
    width: 20%;
  }
}

/* ----------- Mobile (max-width: 768px) ----------- */
@media (max-width: 768px) {
  .rehab-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .rehab-content {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
  }

  .rehab-title {
    font-size: 22px;
    line-height: 32px;
  }

  .rehab-body {
    padding-right: 0;
  }

  .rehab-body p {
    font-size: 14px;
    line-height: 26px;
  }

  .rehab-image {
    margin-right: 0;
    margin-top: 2rem;
  }

  .rehab-image img {
    height: 220px !important;
    right: 0.5em !important;
    border-radius: 60px !important;
  }

  .img-bottom {
    right: 1rem !important;
    top: 5rem !important;
  }

  .rehab-content::before {
    top: 5rem;
    right: 0;
    width: 8%;
  }
}

.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%;
  left: 56rem;
  transform: translateY(-50%);
  width: 100%; /* 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: 18px;
    font-weight: 500;
    color: #353C42;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 30px;
}

.services-card p {
    font-size: 16px;
    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;
}

/* ----------- Tablet (max-width: 1024px) ----------- */
@media (max-width: 1024px) {
  .services-title {
    font-size: 38px;
    margin-top: 3em;
  }

  .services-title::before {
    left: 32rem;
    width: 60%;
  }

  .services-grid {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .services-card {
    width: 16rem;
    padding: 4rem 1.5rem 2rem;
  }

  .services-card img {
    max-width: 60px;
  }

  .services-card h3 {
    font-size: 17px;
  }

  .services-card p {
    font-size: 15px;
    line-height: 26px;
  }
}

/* ----------- Mobile (max-width: 768px) ----------- */
@media (max-width: 768px) {
  .services-title {
    font-size: 28px;
    margin-top: 1em;
  }

  .services-title::before {
    left: 0;
    transform: translateX(-50%);
    width: 50%;
    top: 100%;
  }

  .services-grid {
    /* flex-direction: column; */
    /* align-items: left; */
    margin-top: 4rem;
    gap: 2rem;
  }

  .services-card {
    width: 85%;
    max-width: 22rem;
    padding: 3rem 1.5rem 2rem;
  }

  .services-card img {
    max-width: 55px;
  }

  .services-card h3 {
    font-size: 16px;
  }

  .services-card p {
    font-size: 14px;
    line-height: 24px;
  }
}


.quote-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 35rem;
    margin-top: 8rem;
}

.quote-section .contact {
    background: url("../images/DSC00928\ 1.png") 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;
}

.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-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;
    padding: 7rem;
}

.quote-logo img {
    /* width: 200px; */
    margin-bottom: 2rem;
}

.quote-title {
    font-size: 61px;
    font-weight: 200 !important;
}

.quote-title .highlight {
  color: #DAAB2D;
}

/* Tablet screens (≤1024px) */
@media (max-width: 1024px) {
  .quote-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quote {
    padding: 4rem 3rem;
    text-align: center;
  }

  .quote-header p {
    padding: 4rem 3rem 0 3rem;
    font-size: 26px;
    line-height: 40px;
  }

  .quote-body {
    margin-top: 3rem;
    padding: 0 3rem;
  }

  .quote-contact {
    padding-left: 0;
    justify-content: center;
  }
}

/* Mobile screens (≤768px) */
@media (max-width: 768px) {
  .quote-section {
    grid-template-columns: 1fr;
    margin-top: 5rem;
    min-height: auto;
  }

  .quote {
    padding: 3rem 2rem;
    text-align: center;
  }

  .quote-header p {
    font-size: 22px;
    line-height: 36px;
    padding: 3rem 2rem 0 2rem;
  }

  .quote-title {
    font-size: 42px;
  }

  .quote-body {
    margin-top: 2rem;
    padding: 0 2rem;
  }

  .quote-contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
    padding-bottom: 0.8rem;
  }

  .quote-contact img {
    margin-bottom: 0.5rem;
  }

  .quote-contact span {
    font-size: 15px;
  }
}

.doctors-hero {
    position: relative;
    /* background: url("../images/Doctor_1-min\ 1.svg") no-repeat top center/cover; */
    text-align: center;
    padding: 3rem 20px 11rem;
    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-weight: 300;
    padding: 0 6rem;
}

/* Buttons */
.doctors-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* -------------------------------------- */
/* ✅ Tablet Responsive Styles (≤1024px) */
/* -------------------------------------- */
@media (max-width: 1024px) {
  .doctors-hero {
    padding: 4rem 2rem 8rem;
    min-height: 90vh;
    background-position: center;
  }

  .doctors-hero-content {
    margin-top: 7rem;
  }

  .doctors-hero h1 {
    font-size: 70px;
    line-height: 1.2em;
  }

  .doctors-hero h1 .highlight {
    font-size: 70px;
  }

  .doctors-hero-subtext2 {
    max-width: 50rem;
    margin: 3rem auto 2rem;
    font-size: 15px;
    line-height: 28px;
  }

  .doctors-hero-buttons {
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* -------------------------------------- */
/* ✅ Mobile Responsive Styles (≤768px) */
/* -------------------------------------- */
@media (max-width: 768px) {
  .doctors-hero {
    padding: 3rem 1.5rem 6rem;
    min-height: auto;
    background-position: center;
  }

  .doctors-hero-content {
    margin-top: 8rem;
  }

  .doctors-hero h1 {
    font-size: 42px;
    line-height: 1.2em;
  }

  .doctors-hero h1 .highlight {
    font-size: 42px;
  }

  .doctors-hero-subtext2 {
    max-width: 100%;
    margin: 2rem auto 1.5rem;
    font-size: 15px;
    line-height: 26px;
    padding: 0 1rem;
  }

  .doctors-hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.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;
}

/* 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;
}

.profile-content .subtitle {
  font-weight: 500;
  font-size: 20px;
  font-weight: 300;
  margin-top: 2.5rem;
  /* color: #fff; */
}

.doctor-name {
  font-size: 40px;
  font-weight: 400;
  margin: 10px 0;
  /* color: #222; */
}

.doctor-name span {
  color: #d9a700;
}

.doctor-name small {
  font-size: 20px;
  font-weight: 300;
  /* color: #555; */
}

.tagline {
  font-size: 16px;
  font-weight: 600;
  color: #353C42;
  margin-top: 1.5rem;
}

.description {
  margin-top: 10px;
  line-height: 30px;
  color: #555;
  font-size: 16px;
  font-weight: 300;
}

.expertise-title {
  margin-top: 20px;
  font-weight: 400;
  font-size: 30px;
  color: #353C42;
}

.expertise-title span {
  color: #d9a700;
}

.expertise-list {
  margin-top: 8px;
  padding-left: 20px;
  color: #555;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 300;
}

.philosophy-title {
  margin-top: 20px;
  font-weight: 400;
}

.philosophy-title span {
  color: #d9a700;
}

.philosophy {
  color: #555;
  line-height: 1.6;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 300;
}

/* -------------------------------------- */
/* ✅ Tablet Responsive (≤1024px) */
/* -------------------------------------- */
@media (max-width: 1024px) {
  .doctor-profile {
    margin-left: 6rem;
    padding: 30px 20px;
  }

  .profile-container {
    flex-direction: column;
    align-items: center;
    border-radius: 60px;
    padding: 30px;
    gap: 30px;
  }

  .profile-image {
    margin-left: 0;
    margin-top: 2rem;
  }

  .profile-content {
    padding: 2rem;
    text-align: center;
  }

  .doctor-name {
    font-size: 34px;
  }

  .doctor-name small {
    font-size: 18px;
  }

  .expertise-title {
    font-size: 26px;
  }
}

/* -------------------------------------- */
/* ✅ Mobile Responsive (≤768px) */
/* -------------------------------------- */
@media (max-width: 768px) {
  .doctor-profile {
    margin-left: 0;
    padding: 20px 10px;
    margin-top: 5rem;
  }

  .profile-container {
    flex-direction: column;
    align-items: center;
    border-radius: 40px;
    padding: 20px;
    gap: 20px;
  }

  .profile-image {
    margin-left: 0;
    margin-top: 1rem;
  }

  .profile-image img {
    max-width: 280px;
  }

  .profile-content {
    padding: 0.5rem;
    text-align: left;
    margin-top: 0;
  }

  .doctor-name {
    font-size: 28px;
    line-height: 1.3;
  }

  .doctor-name small {
    font-size: 16px;
  }

  .profile-content .subtitle {
    font-size: 18px;
  }

  .tagline,
  .description,
  .expertise-list,
  .philosophy {
    font-size: 15px;
    line-height: 26px;
  }

  .expertise-title {
    font-size: 22px;
  }

  .icon {
    height: 50px;
  }
}

.contact-section-header {
  margin-bottom: 5rem;
}

.contact-section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 400;
  margin-top: 2em;
  text-align: center;
}

.contact-section-title::after {
  content: "";
  position: absolute;
  top: 80%;
  left: 55rem;
  transform: translateY(-50%);
  width: 100%; /* 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;
    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-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: 22%; /* 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-weight: 300;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .connect-content {
    margin-top: 14rem;
  }

  .connect-content h1,
  .connect-content h1 .highlight {
    font-size: 90px;
  }

  .connect-subtext1,
  .connect-subtext2 {
    font-size: 15px;
    line-height: 26px;
    max-width: 90%;
  }

  .contact-section-title {
    font-size: 34px;
  }

  .contact-section-title::after {
    left: 42rem;
    width: 90%;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .connect-content {
    margin-top: 5rem;
  }

  .connect-content h1,
  .connect-content h1 .highlight {
    font-size: 65px;
  }

  .connect-subtext1,
  .connect-subtext2 {
    font-size: 14px;
    line-height: 24px;
    /* padding: 0 1rem; */
  }

  .connect-subtext1::before {
    width: 75%;
  }

  .connect-section {
    padding: 3rem 20px 2rem;
  }

  .contact-section-title {
    font-size: 28px;
  }

  .contact-section-title::after {
    left: 18rem;
    width: 100%;
  }
}

.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: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #000 ;
  position: relative;
  margin-top: 2rem;
}

/* ✅ Tablet: max-width 1024px */
@media (max-width: 1024px) {
  .contact-section {
    padding: 50px 30px;
    margin-top: 5rem;
  }

  .contact-container {
    padding: 35px 40px;
    gap: 25px;
    max-width: 1000px;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
  }

  .contact-text-det {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* ✅ Mobile: max-width 768px */
@media (max-width: 768px) {
  .contact-section {
    padding: 0 1rem;
    margin-top: 4rem;
  }

  .contact-container {
    padding: 30px 25px;
    gap: 20px;
    max-width: 95%;
  }

   .contact-container {
    grid-template-columns: 1fr; /* show one by one */
    padding: 30px 20px;
    gap: 20px;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
  }

  .contact-text-det {
    font-size: 15px;
  }
}

.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;
}

.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-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;
    padding: 2rem;
}

.doctors-logo img {
    /* width: 200px; */
    margin-bottom: 2rem;
}

.doctors-hours-title {
    font-size: 30px;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.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;
    font-weight: 300;
    padding: 0.5rem 1rem;
}

.clinic-holiday-doctor {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.contact-header h3 {
  color: #000;
  font-weight: 300;
  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 Design - 1024px */
/* ============================= */
@media (max-width: 1024px) {

  .doctors-hours-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .doctors-hours-section .hours,
  .doctors-hours-section .contact {
    padding-top: 5rem;
  }

  .clinic-header p {
    padding: 4rem 4rem 0 4rem;
    font-size: 24px;
    line-height: 40px;
  }

  .doctors-hours-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-form {
    padding: 0 2rem 3rem 2rem;
  }

  .contact-form button {
    width: 100%;
  }
}

/* ============================= */
/* 📱 Responsive Design - 768px */
/* ============================= */
@media (max-width: 768px) {

  .doctors-hours-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .clinic-header p {
    padding: 2rem;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
  }

  .clinic-body {
    margin-top: 2rem;
    gap: 1rem;
  }

  .clinic-contact {
    padding-left: 1.5rem;
    flex-direction: row;
    align-items: center;
  }

  .clinic-contact img {
    width: 22px;
    height: 22px;
  }

  .doctors-hours-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.8rem;
  }

  .doctors-hours-title {
    font-size: 24px;
    margin-bottom: 1rem;
  }

  .contact-header h3 {
    font-size: 30px;
    margin-bottom: 2rem;
  }

  .contact-form {
    padding: 0 1.5rem 3rem 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .contact-form button {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
  }
}

.gallery-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 400;
  margin-top: 2em;
  text-align: center;
}

/* line before text */
.gallery-title::before {
  content: "";
  position: absolute;
  top: 80%;
  right: 55rem;
  transform: translateY(-50%);
  width: 100%; /* 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 Design - 1024px */
/* ============================= */
@media (max-width: 1024px) {

  .gallery-title {
    font-size: 32px;
    margin-top: 1.5em;
  }

  .gallery-title::before {
    right: 35rem;
  }

  .gallery-content {
    margin-left: 6rem;
    padding: 20px;
  }

  .tab-switch {
    width: 45%;
    margin-bottom: 2.5rem;
  }

  .tab-btn {
    padding: 10px 36px;
    font-size: 16px;
  }

  .gallery-area {
    max-width: 52rem;
  }

  .slides-controls {
    width: 800px;
  }

  .thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    justify-items: center;
  }

  .thumb {
    width: 18rem;
    height: 12rem;
  }
}

@media (max-width: 768px) {

  .gallery-title {
    font-size: 28px;
    margin-top: 1.5em;
    text-align: center;
  }

  .gallery-title::before {
    display: none;
  }

  .gallery-content {
    margin-left: 0;
    padding: 15px;
    text-align: center;
  }

  .tab-switch {
    width: 80%;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .tab-btn {
    flex: 1 1 50%;
    font-size: 15px;
    padding: 10px 20px;
  }

  .gallery-area {
    max-width: 100%;
    margin: 0 auto;
  }

  .slides-controls {
    width: 100%;
  }

  .slide-arrow.left {
    left: 0.5rem;
  }

  .slide-arrow.right {
    right: 0.5rem;
  }

  /* Transparent fullscreen image preview (background gallery visible) */
  .expanded-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent so background gallery is visible */
    padding: 0;
    z-index: 9999;
    backdrop-filter: blur(3px); /* subtle blur effect for nice focus */
  }

  .expanded-view img {
    width: 90%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  }

  .expanded-view .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #000;
    border: none;
  }

  .thumbnails {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .thumb {
    width: 100%;
    max-width: 22rem;
    height: 14rem;
  }

  .slide-footer {
    gap: 6px;
    margin-top: 1.5rem;
  }

  .page-dot {
    width: 9px;
    height: 9px;
  }

  .nav-expanded {
    width: 45px;
    height: 45px;
    font-size: 28px;
  }
}
