*{
  margin: 0;
  padding: 0;box-sizing: border-box;
}

:root{
  --primary-color: #304770;
  --primary-color-hover: #4A5F8C;
  --primary-light1: #637ab0;
  --primary-light2: #7894d0;
  --primary-light3: #adc7ff;
  --secondary-color: #2B2B2B;
  --background-white: #fff;
  --text-black: #333;
  --text-white: #fff;
  --font-family: 'Arial', sans-serif;
}


/* header top strip  */

.top-strip {
  background-color: #000;
  padding: 12px 20px;
}
.top-strip .contact {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.top-strip .contact a{
  color: var(--text-white);
  text-decoration: none;
  font-size: 17px;
}

  .top-strip .contact a:hover {
    color: #f7d7ef;
  }

/* header main  */
  header {
    background-color: var(--background-white);
    /* padding: 10px 0; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .header-main {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
    gap: 16px;
  }

  .header-main .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
  }

  .header-main .logo-img{
    width: 80px;
    height: auto;
  }

  .header-main nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
  }

  .header-main nav ul li a {
    color: var(--text-black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px;
    transition: color 0.3s ease;
  }

  .header-main nav ul li a:hover {
    color: var(--primary-color);
  }

  .header-main nav ul li a {
    white-space: nowrap;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }
  /* Header responsive styles */
  .header-main{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}
  .nav-links{flex:1 1 auto;min-width:0;display:flex;justify-content:flex-end}
  .nav-links nav{max-width:100%}
  .nav-links nav ul{display:flex;flex-wrap:wrap;justify-content:flex-end;list-style:none;padding:0;margin:0;gap:8px 10px}
  .nav-links nav a{color:inherit;text-decoration:none}

  .mobile-menu-btn{display:none;background:none;border:0;font-size:22px;cursor:pointer;z-index:1300}

  /* Slide-in mobile nav */
  .mobile-nav{position:fixed;top:0;right:0;height:100%;width:80%;max-width:360px;background:#fff;box-shadow:-6px 0 24px rgba(0,0,0,0.12);transform:translateX(100%);transition:transform .32s ease;z-index:1200;padding:24px}
  .mobile-nav.open{transform:translateX(0)}
  .mobile-nav nav ul{display:flex;flex-direction:column;gap:18px;padding:0;margin-top:28px;list-style:none}
  .mobile-nav-close{position:absolute;top:10px;right:12px;border:0;background:none;font-size:28px;cursor:pointer}

  .mobile-nav nav ul li a{display:block;padding:12px 8px;border-radius:8px;color:#111;text-decoration:none}
  .mobile-nav nav ul li + li{margin-top:6px}

  .mobile-nav .submenu{
    background:#f8f8fb;
    border-left:2px solid rgba(142, 42, 123, 0.12);
    border-radius:10px;
    padding:10px 0 10px 12px;
  }

  .mobile-nav .submenu-two-columns{
    display:block;
    min-width:0;
  }

  .mobile-nav .submenu-two-columns li + li{
    margin-top:6px;
  }

  /* add safe padding at bottom so last item isn't flush with bottom */
  .mobile-nav{padding-bottom:48px}

  /* hide top-strip contact links on very small screens to save space */
  @media (max-width:575.98px){
    .top-strip{padding:8px 14px}
    .top-strip .contact{display:none}
    .header-main{padding:10px 14px}
    .header-main .logo-img{width:68px}
  }

  /* Show hamburger and hide desktop nav on small screens */
  @media (max-width:991.98px){
    .nav-links{display:none}
    .mobile-menu-btn{display:inline-flex !important;align-items:center;position:absolute;right:18px;top:50%;transform:translateY(-50%);z-index:1300}
    .mobile-nav{width:86%;max-width:380px}
  }

  /* ensure hamburger sits within header on very small screens */
  @media (max-width:575.98px){
    .mobile-menu-btn{top:18px;transform:none}
    .mobile-nav{width:100%;max-width:none;padding:20px 16px 24px}
  }

/* when a nav is open, hide the hamburger via class on body (more specific) */
body.nav-open .mobile-menu-btn{display:none !important}

/* Desktop dropdowns */
.nav-links .has-submenu{position:relative}
.nav-links .has-submenu .submenu{display:none;position:absolute;left:0;top:100%;min-width:220px;background:#fff;border-radius:6px;padding:8px 0;box-shadow:0 8px 24px rgba(0,0,0,0.12);z-index:1200}
.nav-links .has-submenu .submenu li a{padding:8px 16px;display:block;color:var(--text-black)}
.nav-links .has-submenu .submenu li a{white-space:nowrap;line-height:1.35}
.nav-links .has-submenu:hover > .submenu{display:block}
.nav-links .has-submenu .has-submenu .submenu{left:100%;top:0}
.nav-links .has-submenu .submenu-two-columns{display:none;right:0;left:auto;grid-template-columns:repeat(2,minmax(250px,1fr));column-gap:20px;row-gap:0;width:min(92vw,760px);padding:8px 20px}
.nav-links .has-submenu .submenu-two-columns li a{white-space:nowrap;line-height:1.35}
.nav-links .has-submenu:hover > .submenu-two-columns{display:grid}
.nav-links .has-submenu .submenu-two-columns li{break-inside:avoid}

  @media (max-width: 1399.98px) {
    .header-main nav ul li a {
      font-size: 13px;
      padding: 8px 9px;
    }

    .nav-links .has-submenu .submenu {
      min-width: 200px;
    }

    .nav-links .has-submenu .submenu-two-columns {
      width: min(94vw, 720px);
      grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
  }

  @media (max-width: 1199.98px) and (min-width: 992px) {
    .header-main {
      gap: 10px;
    }

    .header-main .logo-img {
      width: 70px;
    }

    .header-main nav ul {
      gap: 4px 6px;
    }

    .nav-links .has-submenu .submenu {
      min-width: 180px;
    }

    .nav-links .has-submenu .submenu-two-columns {
      width: min(96vw, 640px);
      grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
  }

.submenu-caret{margin-left:6px;font-size:12px}
.submenu-caret-right{margin-left:6px;font-size:12px}

/* Mobile slide-in submenu accordion */
.mobile-nav .has-submenu > a{display:flex;justify-content:space-between;align-items:center}
.mobile-nav .has-submenu .submenu{display:none;padding-left:12px;margin-top:6px}
.mobile-nav .has-submenu.open > .submenu{display:block}
.mobile-nav .submenu li a{padding:8px 6px;color:#111}


  /* Hide slide-in mobile nav on large screens (desktop) */
  @media (min-width:992px){
    .mobile-nav{display:none !important}
    .mobile-menu-btn{display:none !important}
  }

  /* Hide hero slider nav buttons on small screens to avoid overlap */
  @media (max-width:575.98px){
    .hero-prev, .hero-next, .hero-nav-btn {display:none !important}
  }

  /* hero section  */

  /* hero section homepage  */

  .hero-section {
  position: relative; 
  padding: 60px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden; 
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); 
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  color: #fff;
}

  .hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  .hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .hero-btn-service{
  background-color: var(--primary-color);
  /* background-color: var(--primary-color); */
  color: #fff;
  transition: all 0.3s ease;
  padding: 10px 20px;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 20px;
  }

  .hero-btn-service:hover{
    background-color: var(--primary-color-hover);
    color: #fff;
    transform: translateY(-5px);
  }

  
  .hero-nav-btn button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
}

 

  .hero-nav-btn {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none; 
}


.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  pointer-events: all; 
}

/* Left button */
.hero-prev {
  left: 20px;
}

/* Right button */
.hero-next {
  right: 20px;
}


  /* footer  */

  footer {
    background-color: #000;
    color: #fff;
    padding: 20px 20px 10px;
    /* text-align: center; */
  }

  .footer-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
  }

  .footer-logo-img {
    width: 80px;
    height: auto;
    margin-right: 15px;
  }

  .footer-social a {
    font-size: 20px;
    color: #fff;
    margin-right: 10px;
    transition: color 0.3s;
  }

  .footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
  }

  .footer-bottom a{
    color: #fff;
    text-decoration: none;
  }

  /* Responsive footer */
      .footer-top{display:flex;gap:24px;align-items:flex-start;padding:36px 0}
      .footer-logo-img{width:120px;height:auto;border-radius:6px}
      .footer-top h4{color:#fff}
      @media (max-width:767.98px){
        .footer-top{flex-direction:column;align-items:center;text-align:center}
        .footer-logo{width:100%}
        .footer-top .col-md-4{width:100%;margin-bottom:18px}
        .footer-logo-img{margin:0 auto}
      }
      .footer-bottom{text-align:center}


      /* service section  */

  .service-section{
    background-color: #f8f9fa;
    padding: 60px 0;
  }
  .section-title{
    text-align: center;
    margin-bottom: 40px;
  }
  .section-title:after{
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
  }
  .about-home{padding:70px 0;
    background:linear-gradient(180deg,#fff 0%,#faf7f9 100%);
    /* background: #f5f5f5; */
  }
  .about-media{position:relative;max-width:520px;margin:0 auto}
  .about-img{width:100%;height:460px;object-fit:cover;border-radius:28px;box-shadow:0 18px 50px rgba(16,24,40,.14);transition:transform .35s ease, box-shadow .35s ease}
  .about-media:hover .about-img{transform:scale(1.02) rotate(-.5deg);box-shadow:0 24px 60px rgba(16,24,40,.16)}
  .about-content{padding:18px 14px 18px 34px}
  .about-content h2{text-align:left;font-size:2.2rem;margin-bottom:18px}
  .about-content p{font-size:1rem;line-height:1.8;color:#505050;text-align:left;margin-bottom:20px}
  .about-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:22px}
  .about-highlight-card{background:#fff;border-radius:16px;padding:18px 16px;box-shadow:0 10px 30px rgba(16,24,40,.06);border:1px solid rgba(142,42,123,.08);display:flex;flex-direction:column;gap:6px;transition:transform .28s ease, box-shadow .28s ease}
  .about-highlight-card i{font-size:22px;color:var(--primary-color)}
  .about-highlight-card strong{font-size:15px;color:#222}
  .about-highlight-card span{font-size:13px;color:#6c757d}
  .about-highlight-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(16,24,40,.1)}
  .about-actions{justify-content:flex-start}
  .about-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;background:var(--primary-color);color:#fff;text-decoration:none;border-radius:999px;transition:transform .28s ease, box-shadow .28s ease, background .28s ease;box-shadow:0 10px 24px rgba(142,42,123,.18)}
  .about-btn:hover{background:var(--primary-color-hover);transform:translateY(-3px)}
  .about-floating-card{position:absolute;display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);padding:12px 14px;border-radius:14px;box-shadow:0 14px 36px rgba(16,24,40,.12);border:1px solid rgba(255,255,255,.8);transition:transform .3s ease}
  .about-floating-card span{font-size:1.25rem;font-weight:700;color:var(--primary-color)}
  .about-floating-card small{color:#555;font-size:.8rem}
  .about-floating-card-top{top:18px;left:18px}
  .about-floating-card-bottom{right:18px;bottom:18px}
  .about-media:hover .about-floating-card-top{transform:translateY(-4px) rotate(-2deg)}
  .about-media:hover .about-floating-card-bottom{transform:translateY(4px) rotate(2deg)}

  .service-card{
    position: relative;
    background-color: #fff;
    padding: 28px 22px 18px;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(16,24,40,0.06);
    text-align: center;
    color: #222;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 320px;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
  }

  .service-card-image-wrap{overflow:hidden;border-radius:18px 18px 14px 14px}
  .service-card-image{width:100%;height:210px;object-fit:cover;display:block;transition:transform .45s ease}
  .service-card:hover .service-card-image{transform:scale(1.08)}
  .service-card::after{content:'';position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--primary-color),var(--primary-light2));transform:scaleX(.2);transform-origin:left;transition:transform .3s ease}
  .service-card:hover::after{transform:scaleX(1)}

  .service-card h3{font-size:1.1rem;margin-top:18px;margin-bottom:8px;font-weight:700}
  .service-card p{color:#6b6b6b;padding:0 6px}
  .service-card:hover{transform:translateY(-8px);box-shadow:0 26px 56px rgba(16,24,40,0.08)}
  .service-section .row > [class*="col-"]{
    display: flex;
  }
  
  
  /* Doctor section styles (responsive) */
  .doctor-section{
    padding: 60px 0;
    background-color: transparent;
  }
  .doctor-section h2{
    text-align: center;
    margin-bottom: 30px;
  }
  .doctor-section .row > [class*="col-"]{
    display: flex;
  }
  .doctor-card{
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    text-align: center;
    color: #222;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .doctor-img{
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 14px 40px rgba(16,24,40,0.12), 0 0 0 8px rgba(142,42,123,0.04) inset;
  }
  .doctor-card{transition:transform .3s ease, box-shadow .3s ease}
  .doctor-card:hover{transform:translateY(-8px);box-shadow:0 18px 44px rgba(0,0,0,0.1)}

  /* Stats section */
  .stats-section{
    padding: 26px 0 0;
    background: #181818;

  }
  .stats-row{
    margin: 0;
    /* background: linear-gradient(135deg, var(--primary-color) 0%, #d61a8a 100%); */
    background: #181818;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(142,42,123,0.18);
  }
  .stats-row > [class*="col-"]{
    padding: 0;
    position: relative;
  }
  .stats-row > [class*="col-"]:not(:last-child)::after{
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    width: 1px;
    height: 64%;
    background: rgba(255,255,255,0.18);
  }
  .stats-card{
    min-height: 220px;
    padding: 38px 24px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .stats-card i{
    font-size: 34px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 6px;
  }
  .stats-card h3{
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.04em;
  }
  .stats-card p{
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  /* Testimonial section */
  .testimonial-section{
    padding: 60px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f4f8 100%);
  }
  .testimonial-slider{
    overflow: hidden;
    position: relative;
  }
  .testimonial-track{
    display: flex;
    gap: 20px;
    will-change: transform;
    transition: transform .55s ease;
  }
  .testimonial-card{
    flex: 0 0 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(142,42,123,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
  }
  @media (min-width: 768px){
    .testimonial-card{flex:0 0 50%;max-width:50%}
  }
  @media (min-width: 992px){
    .testimonial-card{flex:0 0 33.333%;max-width:33.333%}
  }
  .testimonial-quote{
    color: var(--primary-color);
    font-size: 28px;
  }
  .testimonial-card p{
    color: #444;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
  }
  .testimonial-card h4{
    margin: 0;
    font-size: 18px;
    color: #222;
  }
  .testimonial-card span{
    color: var(--primary-color);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  @media (max-width: 767.98px){
    .testimonial-section{padding: 48px 0}
    .testimonial-track{gap: 16px}
    .testimonial-card{padding: 20px}
    .about-home{padding:48px 0}
    .about-media{max-width:100%;margin-bottom:18px}
    .about-img{height:300px;border-radius:20px}
    .about-content{padding:8px 6px}
    .about-content h2{text-align:center;font-size:1.9rem}
    .about-content p{text-align:center}
    .about-highlights{grid-template-columns:1fr}
    .about-actions{justify-content:center}
  }

  @media (prefers-reduced-motion: reduce){
    .testimonial-track{transform:none !important}
  }

  /* Small screens: stack and compact layout */
  @media (max-width: 767.98px){
    .doctor-section .row{
      gap: 16px;
    }
    .doctor-section .row > [class*="col-"]{
      display: block;
    }
    .doctor-card{
      flex-direction: row;
      align-items: center;
      text-align: left;
      padding: 12px;
    }
    .doctor-img{
      width: 84px;
      height: 84px;
      border-radius: 8px;
      margin-right: 12px;
      border-width: 3px;
    }
  }

  /* Extra-small screens: stack doctor card vertically for better spacing */
  @media (max-width: 575.98px){
    .doctor-card{
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 14px;
    }
    .doctor-img{
      width: 110px;
      height: 110px;
      border-radius: 50%;
      margin-right: 0;
      margin-bottom: 10px;
    }

    /* Service cards spacing on very small screens */
    .service-section .row > [class*="col-"]{
      display: block;
      margin-bottom: 18px;
    }
    .service-card{margin-bottom:12px}
    .service-card-image{height:180px}
    .about-img{height:260px}
    .about-floating-card{padding:10px 12px}
    .about-floating-card span{font-size:1.05rem}
  }

  /* Medium screens: ensure cards stretch and images scale */
  @media (min-width: 768px) and (max-width: 991.98px){
    .doctor-img{
      width: 140px;
      height: 140px;
    }
    .doctor-card{
      padding: 18px;
    }
  }


  /* message from doctor  */

  .hero-doctor-message {
    background-color: var(--primary-color);
    /* background: url(../images/hero-section/hero-main.jpg);
    object-fit: cover; */
    padding: 40px 20px;
    height: 40vh;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
  }
  .doctor-hero-link{
    font-size: 14px;
    color: #fff;
    font-weight: 600;
  }
  .doctor-hero-link a{
    color: #fff;
    text-decoration: none;
  }

  .dr-ankush-arya {
    margin-top: 34px;
  }
  .dr-ankush-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* gap: 28px; */
  }
  .dr-ankush-image-wrap {
    display: flex;
    justify-content: center;
  }
  .doctor-profile-img {
    width: 100%;
    max-width: 460px;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    object-fit: cover;
  }
  .dr-ankush-content h2 {
    margin-bottom: 16px;
    color: var(--text-black);
  }
  .dr-ankush-content p {
    margin-bottom: 12px;
    background-color: #f8f9fa;
    /* padding: 14px 16px; */
    border-radius: 10px;
    line-height: 1.75;
  }
  .dr-ankush-qualification {
    font-weight: 700;
  }

  .dr-qualification-title-inline {
    margin-top: 20px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
  }
  .dr-qualification-list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .dr-qualification-list-inline li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  .dr-qualification-list-inline li:hover {
    gap: 16px;
  }
  .dr-qualification-list-inline .qualification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-color: #f8f9fa;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
  }
  .dr-qualification-list-inline .qualification-text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    padding-top: 6px;
  }

  @media (max-width: 991.98px) {
    .dr-qualification-title-inline {
      margin-top: 18px;
      margin-bottom: 14px;
      font-size: 17px;
    }
    .dr-qualification-list-inline {
      gap: 12px;
    }
    .dr-qualification-list-inline .qualification-icon {
      width: 34px;
      height: 34px;
      font-size: 15px;
    }
    .dr-qualification-list-inline .qualification-text {
      font-size: 14px;
    }
  }

  @media (max-width: 767.98px) {
    .dr-qualification-title-inline {
      margin-top: 16px;
      margin-bottom: 12px;
      font-size: 16px;
    }
    .dr-qualification-list-inline {
      gap: 11px;
    }
    .dr-qualification-list-inline .qualification-icon {
      width: 32px;
      height: 32px;
      font-size: 14px;
      border-width: 2px;
    }
    .dr-qualification-list-inline .qualification-text {
      font-size: 13px;
      padding-top: 5px;
    }
  }

/* Additional styles for Why Choose Us, testimonial controls and Blog */
.why-choose-section{padding:60px 0;background:#fff}
.why-choose-section .reason-card{padding:30px 24px;text-align:center;border-radius:18px;box-shadow:0 12px 32px rgba(16,24,40,.06);background:#fff;transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;position:relative;overflow:hidden;border:1px solid rgba(142,42,123,.08)}
.why-choose-section .reason-card::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(142,42,123,.06),rgba(255,255,255,0));opacity:0;transition:opacity .3s ease}
.why-choose-section .reason-card i{font-size:34px;color:var(--primary-color);margin-bottom:14px;position:relative;z-index:1}
.why-choose-section .reason-card h4{margin:0 0 8px;font-weight:700;position:relative;z-index:1}
.why-choose-section .reason-card p{color:#6c757d;padding:0;margin:0;position:relative;z-index:1}
.why-choose-section .reason-card:hover{transform:translateY(-10px);box-shadow:0 22px 48px rgba(16,24,40,.1);border-color:rgba(142,42,123,.18)}
.why-choose-section .reason-card:hover::before{opacity:1}

.testimonial-controls{position:absolute;top:12px;right:12px;z-index:6}
.testi-prev,.testi-next{background:#fff;border:1px solid rgba(0,0,0,.06);padding:8px 12px;border-radius:8px;cursor:pointer}

.blog-section{padding:60px 0}
.blog-section .row > [class*="col-"]{display:flex}
.blog-card{display:flex;flex-direction:column;flex:1;padding:0;background:#f5f5f5;border-radius:10px;overflow:hidden}
.blog-card img{width:100%;height:260px;object-fit:cover}
.blog-card h4{padding:14px 16px 0;margin:0}
.blog-card p{padding:8px 16px 12px;color:#6c757d;margin:0}
.blog-card .read-more{display:inline-block;margin:12px 16px 18px; width: fit-content; padding:8px 14px;background:var(--primary-color);color:#fff;border-radius:6px;text-decoration:none;margin-top:auto}

/* Book now CTA */

.book-now-section{padding:10px 0 0; background: #181818;}
.book-now-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:28px 32px;
  border-radius:18px;
  /* background:linear-gradient(135deg,var(--primary-color) 0%, #d61a8a 100%); */
  background: #181818;
  color:#fff;
  box-shadow:0 18px 44px rgba(142,42,123,.18);
}
.book-now-content{max-width:760px}
.book-now-eyebrow{display:inline-block;margin-bottom:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;opacity:.9}
.book-now-card h2{margin:0 0 10px;font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.15}
.book-now-card p{margin:0;color:rgba(255,255,255,.92);font-size:1rem;line-height:1.7}
.book-now-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:999px;
  background:#fff;
  color:var(--primary-color);
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.book-now-btn:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.16);background:#fff;color:var(--primary-color-hover)}

/* Video section */
.video-section{padding:60px 0;background:#111}
.video-section .section-title{color:#fff}
.video-row{display:flex;}
.video-thumb{position:relative;border-radius:8px;overflow:hidden;cursor:pointer;background:#000}
.video-thumb img{width:100%;height:360px;object-fit:cover;display:block;filter:brightness(.85)}
.video-thumb video{width:100%;height:360px;object-fit:cover;display:block;filter:brightness(.85)}
.video-thumb .play-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,.45);width:84px;height:84px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;transition:transform .18s ease,background .18s ease}
.video-thumb:hover .play-overlay{transform:translate(-50%,-50%) scale(1.06);background:rgba(0,0,0,.6)}
.video-thumb .video-caption{position:absolute;left:0;right:0;bottom:0;padding:14px 16px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.6));color:#fff;font-weight:600}

/* Modal */
.video-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:2000}
.video-modal.open{display:flex}
.video-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7)}
.video-modal-content{position:relative;max-width:1100px;width:94%;z-index:2}
.video-modal-close{position:absolute;right:-18px;top:-18px;background:#fff;border-radius:50%;width:44px;height:44px;border:0;font-size:24px;cursor:pointer;z-index:3}
.video-wrapper{background:#000;padding-top:56.25%;position:relative;border-radius:8px;overflow:hidden}
.video-wrapper iframe{position:absolute;left:0;top:0;width:100%;height:100%}
.video-wrapper video{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}

@media(max-width:768px){.video-row{flex-direction:column; gap: 20px; justify-content: center; align-items: center;}.video-thumb img{height:220px}}

@media(max-width:767.98px){
  .stats-section{padding-top:18px;}
  .stats-row{border-radius:14px;}
  .stats-row > [class*="col-"]:not(:last-child)::after{display:none;}
  .stats-card{min-height:180px;padding:28px 18px;}
  .stats-card h3{font-size:2rem;}
  .stats-card p{font-size:.98rem;}
  .book-now-card{flex-direction:column;align-items:flex-start;padding:24px 20px;}
  .book-now-btn{width:100%;}
  .video-thumb video{width:100%;height:260px;object-fit:cover;display:block;filter:brightness(.85)}
}


  @media (max-width: 575.98px) {
    .dr-qualification-title-inline {
      margin-top: 14px;
      margin-bottom: 10px;
      font-size: 15px;
    }
    .dr-qualification-list-inline {
      gap: 10px;
    }
    .dr-qualification-list-inline .qualification-icon {
      width: 30px;
      height: 30px;
      font-size: 13px;
      border-width: 2px;
    }
    .dr-qualification-list-inline .qualification-text {
      font-size: 12px;
      padding-top: 4px;
    }
  }

  .dr-association-section {
    padding: 26px 0;
  }
  .dr-association-section-past {
    padding-top: 6px;
    padding-bottom: 52px;
  }
  .dr-association-title {
    margin: 20px 0;
    font-size: 30px;
    font-weight: 700;
    color: #333;
  }
  .dr-association-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .dr-association-grid-three {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .association-card {
    min-height: 140px;
    background: #f3f3f3;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }
  .association-card  img{
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
  }
  .association-card span {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #2f2f2f;
  }

  @media (max-width: 991.98px) {
    .dr-ankush-main {
      gap: 22px;
    }
    .dr-ankush-content p {
      font-size: 15px;
    }
    .dr-association-title {
      font-size: 34px;
    }
    .dr-association-grid-three {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 767.98px) {
    .dr-ankush-arya {
      margin-top: 24px;
    }
    .dr-ankush-main {
      gap: 16px;
      flex-direction: column; /* stack vertically on small screens */
    }
    .dr-ankush-image-wrap { order: 0; }
    .dr-ankush-content { order: 1; }
    .dr-ankush-content h2 {
      margin-bottom: 12px;
      font-size: 30px;
    }
    .dr-ankush-content p {
      padding: 12px 14px;
      line-height: 1.65;
    }
    .dr-association-section {
      padding: 20px 0;
    }
    .dr-association-section-past {
      padding-top: 0;
      padding-bottom: 38px;
    }
    .dr-association-title {
      margin-bottom: 14px;
      font-size: 29px;
    }
    .dr-association-grid,
    .dr-association-grid-three {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .association-card {
      min-height: 108px;
      padding: 16px;
    }
    .association-card span {
      font-size: 27px;
    }
  }

  @media (max-width: 575.98px) {
    .doctor-profile-img {
      max-width: 100%;
    }
    .dr-ankush-content h2 {
      font-size: 27px;
    }
    .dr-association-title {
      font-size: 24px;
    }
    .association-card span {
      font-size: 23px;
    }
  }

  /* contact  */

  .hero-contact {
    background-color: var(--primary-color);
    padding: 40px 20px;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
  }
  .contact-hero-link{
    font-size: 14px;
    color: #fff;
    font-weight: 600;
  }
  .contact-hero-link a{
    color: #fff;
    text-decoration: none;
  }

  .contact-page-main{
    display: flex;
    flex-wrap: wrap;
  flex-direction: row;
  }
  .contact-details{
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
  }
  .contact-details i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 10px;
  }
  .contact-details h4 {
    display: inline-block;
    margin-right: 5px;
    font-size: 18px;
    color: var(--text-black);
  }
  .contact-details p {
    margin: 0 0 15px 30px;
    font-size: 16px;
    color: var(--text-gray);
  }
  .contact-details a {
    color: var(--primary-color);
    text-decoration: none;
  }
  .contact-form {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
  }

  /* Dr Ankush Contact Section */
  .dr-ankush-contact-section {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 58px 0;
    margin-top: 48px;
  }
  .dr-ankush-contact-title {
    margin-bottom: 32px;
    text-align: center;
  }
  .dr-ankush-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .dr-ankush-contact-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
  }
  .dr-ankush-contact-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 36px rgba(142, 42, 123, 0.15);
    transform: translateY(-8px);
  }
  .dr-ankush-contact-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: block;
  }
  .dr-ankush-contact-card h4 {
    margin-bottom: 14px;
    font-size: 19px;
    font-weight: 700;
    color: #222;
  }
  .dr-ankush-contact-card p {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
  }
  .dr-ankush-contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
  }
  .dr-ankush-contact-card a:hover {
    color: var(--primary-color-hover);
  }

  @media (max-width: 991.98px) {
    .dr-ankush-contact-section {
      padding: 46px 0;
      margin-top: 40px;
    }
    .dr-ankush-contact-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }
    .dr-ankush-contact-card {
      padding: 26px 20px;
    }
    .dr-ankush-contact-card i {
      font-size: 32px;
    }
    .dr-ankush-contact-card h4 {
      font-size: 18px;
    }
  }

  @media (max-width: 767.98px) {
    .dr-ankush-contact-section {
      padding: 38px 0;
      margin-top: 32px;
    }
    .dr-ankush-contact-title {
      margin-bottom: 24px;
      font-size: 28px;
    }
    .dr-ankush-contact-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .dr-ankush-contact-card {
      padding: 22px 18px;
    }
    .dr-ankush-contact-card i {
      font-size: 28px;
      margin-bottom: 12px;
    }
    .dr-ankush-contact-card h4 {
      font-size: 17px;
      margin-bottom: 12px;
    }
    .dr-ankush-contact-card p {
      font-size: 14px;
      margin-bottom: 6px;
    }
  }

  @media (max-width: 575.98px) {
    .dr-ankush-contact-card {
      padding: 20px 16px;
    }
    .dr-ankush-contact-card i {
      font-size: 24px;
    }
    .dr-ankush-contact-card h4 {
      font-size: 16px;
    }
    .dr-ankush-contact-card p {
      font-size: 13px;
    }
  }

  .map-iframe{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
  }


  /* general dermatology  */

  .service-detail-page {
    padding: 54px 0 30px;
  }

  .service-detail-copy h2,
  .service-detail-faq h2 {
    margin-bottom: 18px;
    font-size: 32px;
    font-weight: 700;
    color: #222;
  }

  .service-detail-copy p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 14px;
  }

  .service-detail-box {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    /* align-items: center; */
    flex-wrap: wrap;
  }

  .service-detail-box img {
    width: 100%;
    /* max-width: 360px; */
    /* max-width: 600px; */
    max-height: 400px;
    border-radius: 22px;
    object-fit: cover;
    flex: 0 1 360px;
  }

  .service-detail-benefits {
    flex: 1 1 280px;
    min-width: 0;
  }

  .service-detail-benefits h3,
  .service-detail-steps h3 {
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 700;
    color: #222;
  }

  .service-detail-benefits ul {
    margin: 0;
    padding-left: 18px;
    color: #666;
  }

  .service-detail-benefits li {
    margin-bottom: 14px;
    line-height: 1.7;
  }

  .service-detail-steps {
    margin-top: 34px;
  }

  .service-step {
    border-left: 3px solid var(--primary-color);
    padding-left: 18px;
    margin-bottom: 22px;
  }

  .service-step h4 {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
    color: #111;
  }

  .service-step p {
    margin-bottom: 0;
  }

  .service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .service-sidebar-card {
    background: var(--primary-light3);
    border-radius: 24px;
    padding: 28px 28px 20px;
  }

  .service-sidebar-card.dark {
    /* background: linear-gradient(180deg, #a94c98 0%, #105d5d 100%); */
    background: linear-gradient(180deg, var(--primary-light2) 0%, var(--primary-color) 100%);
    color: #fff;
  }

  .service-sidebar-card h3 {
    margin-bottom: 18px;
    font-size: 30px;
    font-weight: 700;
    color: inherit;
  }

  .service-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .service-sidebar-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 16px;
  }

  .service-sidebar-list a{
    text-decoration: none;
    color: inherit;
  }

  .service-sidebar-card:not(.dark) .service-sidebar-list li {
    color: #4b4b4b;
  }

  .service-sidebar-list li:last-child {
    border-bottom: 0;
  }

  .service-sidebar-list .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(42, 166, 185, 0.18);
    flex: 0 0 auto;
  }

  .consult-card {
    color: #fff;
  }

  .consult-card p {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .consult-call {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 8px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }

  .consult-call .call-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* color: #1b4f4f; */
    color: #fff;
    font-size: 24px;
    flex: 0 0 auto;
  }

  .service-detail-faq {
    padding: 40px 0 70px;
  }

  .faq-visual {
    position: relative;
    max-width: 510px;
    margin: 0 auto;
  }

  .faq-visual img {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;
    display: block;
  }

  .faq-visual-card {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: var(--primary-light3);
    border: 3px solid var(--primary-color-hover);
    border-radius: 22px;
    padding: 24px 22px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  }

  .faq-visual-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
  }

  .faq-visual-card p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.7;
  }

  .faq-eyebrow {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .service-faq-list {
    margin-top: 26px;
  }

  .service-faq-item {
    padding: 18px 0;
    border-bottom: 1px solid #d7edf0;
  }

  .service-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 20px;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .service-faq-item summary::-webkit-details-marker {
    display: none;
  }

  .service-faq-item summary::before {
    content: '\25BE';
    color: var(--primary-color);
    font-size: 21px;
    line-height: 1;
    transition: transform 0.2s ease;
    margin-top: 5px;
    margin-right: 10px;
    flex: 0 0 auto;
  }

  .service-faq-item[open] summary {
    color: var(--primary-color-hover);
  }

  .service-faq-item[open] summary::before {
    transform: rotate(180deg);
  }

  .service-faq-item p {
    margin: 14px 0 0;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .service-faq-ordered-list {
    margin: 10px 0 0 1rem;
    padding: 0;
  }

  .service-faq-ordered-list li {
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .service-detail-page .row > [class*="col-"],
  .service-detail-faq .row > [class*="col-"] {
    min-width: 0;
  }

  /* Others page treatment cards */
  .other-treatment-section {
    margin-top: 42px;
  }

  .other-treatment-heading {
    margin-bottom: 22px;
  }

  .other-treatment-heading h3 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #222;
  }

  .other-treatment-heading p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.7;
  }

  .treatment-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f5fcfd 100%);
    border: 1px solid #dbeff2;
    box-shadow: 0 12px 28px rgba(25, 95, 112, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    min-height: 220px;
  }

  .treatment-card::after {
    content: '';
    position: absolute;
    inset: auto -24px -24px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(42, 166, 185, 0.08);
    pointer-events: none;
    transition: transform 0.25s ease, background 0.25s ease;
  }

  .treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(25, 95, 112, 0.14);
    border-color: var(--primary-color);
  }

  .treatment-card:hover::after {
    transform: scale(1.15);
    background: rgba(42, 166, 185, 0.12);
  }

  .treatment-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex: 0 0 auto;
    box-shadow: 0 10px 22px rgba(42, 166, 185, 0.28);
  }

  .treatment-card__eyebrow {
    display: inline-block;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
  }

  .treatment-card h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1d;
  }

  .treatment-card p {
    margin: 0;
    color: #666;
    line-height: 1.7;
    flex: 1 1 auto;
  }

  .treatment-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
  }

  .treatment-card__link i {
    transition: transform 0.2s ease;
  }

  .treatment-card:hover .treatment-card__link i {
    transform: translateX(4px);
  }

  @media (max-width: 991.98px) {
    .service-detail-box {
      flex-direction: column;
      align-items: flex-start;
    }

    .service-detail-box img {
      max-width: 100%;
    }

    .service-detail-copy h2,
    .service-detail-faq h2 {
      font-size: 28px;
    }

    .service-sidebar-card h3 {
      font-size: 26px;
    }

    .other-treatment-section {
      margin-top: 36px;
    }

    .other-treatment-heading h3 {
      font-size: 26px;
    }

    .treatment-card {
      min-height: 210px;
      padding: 22px;
    }

    .treatment-card h4 {
      font-size: 21px;
    }
  }

  @media (max-width: 767.98px) {
    .service-detail-page {
      padding: 38px 0 20px;
    }

    .service-detail-faq {
      padding: 24px 0 54px;
    }

    .service-sidebar-card,
    .faq-visual-card {
      border-radius: 20px;
    }

    .service-sidebar-card {
      padding: 22px 20px 16px;
    }

    .service-sidebar-card h3 {
      font-size: 24px;
      margin-bottom: 14px;
    }

    .service-sidebar-list li {
      font-size: 15px;
      padding: 11px 0;
    }

    .consult-call {
      font-size: 16px;
      display: flex;
      width: 100%;
      gap: 10px;
    }

    .consult-call .call-icon {
      width: 48px;
      height: 48px;
      font-size: 22px;
    }

    .faq-visual-card {
      position: static;
      margin-top: 12px;
      padding: 18px 16px;
    }

    .faq-visual-card h3 {
      font-size: 20px;
    }

    .service-faq-item summary {
      font-size: 18px;
    }

    .other-treatment-section {
      margin-top: 30px;
    }

    .other-treatment-heading {
      margin-bottom: 18px;
    }

    .other-treatment-heading h3 {
      font-size: 24px;
    }

    .other-treatment-heading p {
      font-size: 14px;
    }

    .treatment-card {
      min-height: 200px;
      padding: 20px;
      border-radius: 20px;
    }

    .treatment-card__icon {
      width: 48px;
      height: 48px;
      font-size: 20px;
      border-radius: 14px;
    }

    .treatment-card h4 {
      font-size: 20px;
    }

    .treatment-card p {
      font-size: 14px;
    }
  }

  @media (max-width: 575.98px) {
    .service-detail-copy h2,
    .service-detail-faq h2 {
      font-size: 24px;
    }

    .service-detail-benefits h3,
    .service-detail-steps h3 {
      font-size: 20px;
    }

    .service-step h4 {
      font-size: 17px;
    }

    .service-sidebar-card h3 {
      font-size: 22px;
    }

    .service-faq-item summary {
      font-size: 17px;
    }

    .service-detail-copy p,
    .service-faq-item p {
      font-size: 14px;
      line-height: 1.7;
    }

    .faq-visual {
      margin-bottom: 12px;
    }

    .consult-call .call-icon {
      width: 42px;
      height: 42px;
      min-width: 42px;
      font-size: 18px;
    }

    .other-treatment-section {
      margin-top: 26px;
    }

    .other-treatment-heading h3 {
      font-size: 22px;
    }

    .treatment-card {
      min-height: 188px;
      padding: 18px;
    }

    .treatment-card__icon {
      width: 44px;
      height: 44px;
      font-size: 18px;
    }

    .treatment-card h4 {
      font-size: 18px;
    }

    .treatment-card__link {
      font-size: 13px;
    }


  /* cosmetic dermatology pages */
  .cosmetic-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    color: #fff;
  }

  .cosmetic-hero .doctor-hero-link,
  .cosmetic-hero .doctor-hero-link a {
    color: rgba(255, 255, 255, 0.92);
  }

  .cosmetic-page-intro,
  .cosmetic-why-section,
  .cosmetic-solution-section,
  .cosmetic-faq-section {
    padding: 60px 0;
  }

  .cosmetic-section-heading {
    margin-bottom: 24px;
  }

  .cosmetic-section-heading .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .cosmetic-section-heading h2 {
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 700;
    color: #222;
  }

  .cosmetic-section-heading p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.8;
  }

  .cosmetic-topic-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 30px;
    align-items: center;
  }

  .cosmetic-topic-visual {
    position: relative;
  }

  .cosmetic-topic-visual img {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  }

  .cosmetic-topic-chip {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: #0f766e;
    border-radius: 18px;
    padding: 16px 18px;
    max-width: 260px;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
  }

  .cosmetic-topic-chip strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
  }

  .cosmetic-topic-chip span {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
  }

  .cosmetic-topic-content p {
    color: #666;
    line-height: 1.85;
    margin-bottom: 14px;
  }

  .cosmetic-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .cosmetic-why-card {
    background: #fff;
    border: 1px solid #d9eef0;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .cosmetic-why-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 16px 34px rgba(42, 166, 185, 0.14);
  }

  .cosmetic-why-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    font-size: 20px;
    margin-bottom: 16px;
  }

  .cosmetic-why-card h4 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
  }

  .cosmetic-why-card p {
    margin-bottom: 0;
    color: #6b7280;
    line-height: 1.7;
  }

  /* Interactive + responsive additions for cosmetic pages */
  .cosmetic-topic-visual img {
    transition: transform 350ms ease, box-shadow 350ms ease;
  }

  .cosmetic-topic-visual:hover img {
    transform: scale(1.03);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.14);
  }

  .cosmetic-topic-content p {
    font-size: 16px;
    color: #4b5563;
  }

  .cosmetic-callout {
    margin-top: 18px;
    background: linear-gradient(90deg, rgba(42,166,185,0.06), rgba(15,118,110,0.04));
    border-left: 4px solid var(--primary-color-hover);
    padding: 14px 18px;
    border-radius: 12px;
  }

  .cosmetic-cta { display:inline-block; background:var(--primary-color); color:#fff; padding:10px 16px; border-radius:10px; text-decoration:none; transition:transform .18s ease, box-shadow .18s ease; }
  .cosmetic-cta:hover{ transform:translateY(-3px); box-shadow:0 8px 24px rgba(15,118,110,0.12)}

  /* FAQ styling */
  .service-faq-list{ margin-top:18px; display:block }
  .service-faq-item{ border-top:1px solid #eef2f4; padding:14px 0; transition:background .18s ease }
  .service-faq-item summary{ cursor:pointer; font-weight:700; list-style:none; outline:none; position:relative; padding-right:28px }
  .service-faq-item summary::-webkit-details-marker{display:none}
  .service-faq-item summary::after{ content:'+'; position:absolute; right:0; top:50%; transform:translateY(-50%); font-weight:700; color:var(--primary-light3) }
  .service-faq-item[open] summary::after{ content:'−' }
  .service-faq-item p{ margin:10px 0 0; color:#575757; line-height:1.8 }

  /* Why cards icon resizing on small screens */
  .cosmetic-why-card .icon{ width:56px; height:56px; font-size:22px }

  /* Grid / stacking responsive rules */
  @media (max-width: 991.98px) {
    .cosmetic-topic-grid{ grid-template-columns: 1fr; gap:20px }
    .cosmetic-topic-visual{ order: -1 }
    .cosmetic-why-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .cosmetic-why-card{ padding:18px }
  }

  @media (max-width: 575.98px) {
    .cosmetic-why-grid{ grid-template-columns: 1fr; gap:12px }
    .cosmetic-topic-chip{ left: 12px; bottom: 12px; padding: 10px 12px; max-width: 220px }
    .cosmetic-section-heading h2{ font-size:22px }
    .cosmetic-topic-content p{ font-size:15px }
    .cosmetic-topic-visual img{ border-radius:16px }
    .cosmetic-callout{ padding:10px 12px }
  }

  /* subtle entrance animation for cards */
  .cosmetic-why-card{ transform: translateY(0); will-change: transform }
  .cosmetic-why-card[data-reveal='true']{ transform: translateY(-6px); }


  .cosmetic-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .cosmetic-problem-card,
  .cosmetic-solution-card {
    border-radius: 24px;
    padding: 26px;
    background: #f8fcfd;
    border: 1px solid var(--primary-light3);
    height: 100%;
  }

  .cosmetic-problem-card {
    background: linear-gradient(180deg, var(--primary-light2) 0%, var(--primary-light3) 100%);
  }

  .cosmetic-solution-card {
    background: linear-gradient(180deg, var(--primary-light2) 0%, var(--primary-light3) 100%);
  }

  .cosmetic-problem-card h3,
  .cosmetic-solution-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
  }

  .cosmetic-problem-list,
  .cosmetic-solution-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .cosmetic-problem-list li,
  .cosmetic-solution-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    color: #4b5563;
    line-height: 1.7;
  }

  .cosmetic-problem-list li::before,
  .cosmetic-solution-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary-color);
  }

  .cosmetic-callout {
    margin-top: 22px;
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(42, 166, 185, 0.12), rgba(15, 118, 110, 0.12));
    border: 1px solid rgba(42, 166, 185, 0.18);
  }

  .cosmetic-callout strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-light3);
  }

  .cosmetic-callout p {
    margin-bottom: 0;
    color: var(--primary-color);
    line-height: 1.7;
  }
}

  @media (max-width: 1199.98px) {
    .cosmetic-why-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cosmetic-topic-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 767.98px) {
    .cosmetic-page-intro,
    .cosmetic-why-section,
    .cosmetic-solution-section,
    .cosmetic-faq-section {
      padding: 42px 0;
    }

    .cosmetic-section-heading h2 {
      font-size: 26px;
    }

    .cosmetic-why-grid,
    .cosmetic-solution-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .cosmetic-problem-card,
    .cosmetic-solution-card {
      padding: 22px;
      border-radius: 20px;
    }

    .cosmetic-why-card {
      padding: 22px 18px;
    }

    .cosmetic-topic-chip {
      left: 12px;
      right: 12px;
      bottom: 12px;
      max-width: none;
    }
  }

  @media (max-width: 575.98px) {
    .cosmetic-section-heading h2 {
      font-size: 23px;
    }

    .cosmetic-problem-card h3,
    .cosmetic-solution-card h3,
    .cosmetic-why-card h4 {
      font-size: 18px;
    }

    .cosmetic-why-card .icon {
      width: 46px;
      height: 46px;
      font-size: 18px;
    }

    .cosmetic-topic-chip {
      padding: 14px 16px;
    }

    .cosmetic-topic-chip strong {
      font-size: 15px;
    }

    .cosmetic-topic-chip span {
      font-size: 13px;
    }
  
    .consult-call span:last-child {
      overflow-wrap: anywhere;
      min-width: 0;
    }

    .service-faq-ordered-list {
      margin-left: 0.9rem;
    }
  }


  /* Anti-Ageing Effects Section */
    .anti-ageing-effects-section {
      background: #fff;
    }

    .effects-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .effects-image {
      position: relative;
    }

    .effects-img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .effects-content h2 {
      color: var(--primary-color);
      font-size: 32px;
      margin-bottom: 20px;
      font-weight: 600;
    }

    .effects-content p {
      color: var(--text-black);
      font-size: 16px;
      line-height: 1.6;
      margin-bottom: 28px;
    }

    .effects-benefits {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .benefit-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .benefit-item i {
      color: var(--primary-color);
      font-size: 24px;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .benefit-item h4 {
      color: var(--primary-color);
      font-size: 16px;
      margin-bottom: 6px;
      font-weight: 600;
    }

    .benefit-item p {
      color: var(--text-black);
      font-size: 14px;
      margin-bottom: 0;
    }

    /* Types Section */
    .types-section {
      background: #f8f9fa;
    }

    .bg-light {
      background-color: #f8f9fa !important;
    }

    .section-heading {
      color: var(--primary-color);
      font-size: 32px;
      font-weight: 600;
    }

    .treatments-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
    }

    .treatment-card {
      background: #fff;
      padding: 32px 24px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid #e0e0e0;
      transition: all 0.3s ease;
    }

    .treatment-card:hover {
      box-shadow: 0 6px 20px rgba(48, 71, 112, 0.15);
      border-color: var(--primary-color);
      transform: translateY(-4px);
    }

    .treatment-icon {
      font-size: 44px;
      color: var(--primary-color);
      margin-bottom: 16px;
    }

    .treatment-card h3 {
      color: var(--primary-color);
      font-size: 18px;
      margin-bottom: 12px;
      font-weight: 600;
    }

    .treatment-card p {
      color: var(--text-black);
      font-size: 14px;
      line-height: 1.6;
    }

    /* How to Choose Section */
    .how-to-choose {
      background: #fff;
    }

    .how-care-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 30px;
      align-items: start;
    }

    .how-care-card {
      background: #f8f9fa;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      padding: 32px;
    }

    .how-care-card-alt {
      background: #fff;
    }

    .how-to-choose h2 {
      color: var(--primary-color);
      font-size: 32px;
      margin-bottom: 24px;
      font-weight: 600;
    }

    .how-to-choose h3 {
      color: var(--primary-color);
      font-size: 22px;
      margin-bottom: 16px;
      font-weight: 600;
    }

    .how-to-choose p {
      color: var(--text-black);
      font-size: 16px;
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .skincare-tips {
      list-style: none;
      padding-left: 0;
    }

    .skincare-tips li {
      color: var(--text-black);
      font-size: 15px;
      line-height: 1.8;
      padding-left: 28px;
      position: relative;
      margin-bottom: 12px;
    }

    .skincare-tips li:before {
      content: "✓";
      position: absolute;
      left: 0;
      color: var(--primary-color);
      font-weight: bold;
      font-size: 16px;
    }

    .mt-40 {
      margin-top: 40px;
    }

    .py-60 {
      padding: 60px 20px;
    }

    .mb-60 {
      margin-bottom: 60px;
    }

    /* Why Choose Us Grid */
    .why-choose-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
      margin-top: 40px;
    }

    .why-choose-card {
      background: #f8f9fa;
      padding: 28px 24px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid #e0e0e0;
      transition: all 0.3s ease;
    }

    .why-choose-card:hover {
      box-shadow: 0 4px 12px rgba(48, 71, 112, 0.15);
      border-color: var(--primary-color);
    }

    .why-choose-card .card-icon {
      font-size: 40px;
      color: var(--primary-color);
      margin-bottom: 16px;
    }

    .why-choose-card h3 {
      color: var(--primary-color);
      font-size: 18px;
      margin-bottom: 12px;
      font-weight: 600;
    }

    .why-choose-card p {
      color: var(--text-black);
      font-size: 14px;
      line-height: 1.6;
    }

    .why-choose-us-section h2 {
      color: var(--primary-color);
      margin-bottom: 24px;
      font-size: 32px;
      font-weight: 600;
    }

    /* CTA Section */
    .cta-section {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light1) 100%);
      color: #fff;
      padding: 60px 40px;
      border-radius: 8px;
      text-align: center;
    }

    .cta-section h2 {
      color: #fff;
      margin-bottom: 16px;
    }

    .cta-section p {
      color: #fff;
      font-size: 16px;
      margin-bottom: 24px;
    }

    .btn-primary {
      background-color: #fff;
      color: var(--primary-color);
      padding: 12px 32px;
      border-radius: 4px;
      text-decoration: none;
      display: inline-block;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .btn-primary:hover {
      background-color: #f0f0f0;
      transform: translateY(-2px);
    }

    .mt-60 {
      margin-top: 60px;
    }

    .text-center {
      text-align: center;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .effects-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .how-care-grid {
        grid-template-columns: 1fr;
      }

      .effects-content h2 {
        font-size: 24px;
      }

      .section-heading {
        font-size: 24px;
      }

      .treatments-grid {
        grid-template-columns: 1fr;
      }

      .treatment-card {
        padding: 24px 20px;
      }

      .how-to-choose h2 {
        font-size: 24px;
      }

      .why-choose-grid {
        grid-template-columns: 1fr;
      }

      .how-care-card {
        padding: 24px 20px;
      }

      .cta-section {
        padding: 40px 24px;
      }

      .py-60 {
        padding: 40px 16px;
      }
    }


    /* ear section  */

    .ear-description-section,
    .ear-solutions-section {
      background: #fff;
    }

    .ear-section-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 32px;
      align-items: center;
    }

    .ear-section-grid-reverse {
      direction: rtl;
    }

    .ear-section-grid-reverse > * {
      direction: ltr;
    }

    .ear-main-image {
      width: 100%;
      height: auto;
      border-radius: 14px;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
      object-fit: cover;
    }

    .ear-section-content h2 {
      color: var(--primary-color);
      font-size: 32px;
      margin-bottom: 18px;
      font-weight: 600;
    }

    .ear-section-content p {
      color: var(--text-black);
      font-size: 16px;
      line-height: 1.7;
      margin-bottom: 16px;
    }

    .ear-problems-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 24px;
    }

    .ear-problem-card {
      background: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      padding: 24px 20px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .ear-problem-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 24px rgba(48, 71, 112, 0.12);
    }

    .ear-problem-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: rgba(48, 71, 112, 0.08);
      color: var(--primary-color);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 16px;
    }

    .ear-problem-card h3 {
      color: var(--primary-color);
      font-size: 18px;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .ear-problem-card p,
    .ear-solution-list li {
      color: var(--text-black);
      font-size: 15px;
      line-height: 1.7;
    }

    .ear-solution-list {
      list-style: none;
      padding-left: 0;
      margin-top: 18px;
      margin-bottom: 0;
    }

    .ear-solution-list li {
      position: relative;
      padding-left: 26px;
      margin-bottom: 12px;
    }

    .ear-solution-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--primary-color);
      font-weight: 700;
    }

    @media (max-width: 991.98px) {
      .ear-section-grid,
      .ear-problems-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 767.98px) {
      .ear-section-grid,
      .ear-problems-grid {
        grid-template-columns: 1fr;
      }

      .ear-section-grid-reverse {
        direction: ltr;
      }

      .ear-section-content h2 {
        font-size: 24px;
      }
    }