/* === GLOBAL THEME & VARIABLES === */
:root {
    --color-primary-bg: #FBF8F5;
    --color-secondary-bg: #F9F3EC;
    --color-heading: #5A3E38;
    --color-text-body: #7A6F6C;
    --color-accent: #eb7555;
    --color-accent-dark: #C27A65;
    --color-light-accent: #E4D5C9;
    --color-white: #FFFFFF;
    --color-border: #EADFD6;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-primary-bg);
    color: var(--color-text-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a{
    cursor: pointer;
}

button{
    cursor: pointer;
}

.font-marcellus { font-family: 'Marcellus', serif; }
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
/* === END GLOBAL STYLES === */

/* === HEADER STYLES START === */
header.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

.cta-button-header {
    background-color: var(--color-accent);
    color: var(--color-white);
    white-space: nowrap;
}

.cta-button-header:hover {
    background-color: var(--color-accent-dark, #C27A65);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 639px) { 
    .cta-button-header {
        padding: 0.6rem 0.9rem;
        font-size: 0.875rem;
    }
}

/* === Sticky WhatsApp Button CSS === */
.whatsapp-stick {
    position: fixed;
    bottom: 85px;   
    right: 25px;    
    z-index: 1000;  
}

.whatsapp-stick a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-stick img {
    width: 35px;
    height: auto;
}

.whatsapp-stick a:hover {
    transform: scale(1.1);
}

header.main-header .w-14 {
    width: 3.5rem;
}

header.main-header .sm\:w-16 {
    width: 4rem;
}
/* === HEADER STYLES END === */
      
/* === HERO SECTION STYLES START === */
.hero-section {
    position: relative;
    width: 100%;
    background-color: var(--color-primary-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}
.hero-bg-shape-1, .hero-bg-shape-2 {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(100px);
}
.hero-bg-shape-1 {
    width: clamp(300px, 40vw, 500px);
    height: clamp(300px, 40vw, 500px);
    background: var(--color-light-accent);
    top: -15%;
    left: -15%;
    opacity: 0.7;
}
.hero-bg-shape-2 {
    width: clamp(250px, 30vw, 400px);
    height: clamp(250px, 30vw, 400px);
    background: rgba(235, 117, 85, 0.15);
    bottom: -15%;
    right: -10%;
}

.hero-text-content {
    animation: fadeIn-up 0.8s 0.2s ease-out backwards;
}

.hero-image {
    max-width: 320px;
    filter: drop-shadow(0 10px 20px rgba(90, 62, 56, 0.15));
    animation: fadeIn-up 0.8s 0.4s ease-out backwards;
}
@media (min-width: 1024px) {
    .hero-image {
        max-width: 278px;
    }
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid var(--color-white);
    box-shadow: 0 20px 50px rgba(90, 62, 56, 0.1);
    animation: fadeIn-up 0.8s 0.6s ease-out backwards;
    margin-bottom: 1rem;
}
.hero-form-card input {
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}
.hero-form-card input::placeholder {
    color: var(--color-text-body);
    opacity: 0.7;
}
.hero-form-card input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(235, 117, 85, 0.3);
}

.hero-form-card textarea {
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}
.hero-form-card textarea::placeholder {
    color: var(--color-text-body);
    opacity: 0.7;
}
.hero-form-card textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(235, 117, 85, 0.3);
}

.hero-form-card button {
    width: 100%;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
.hero-form-card button:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(235, 117, 85, 0.4);
}

/* ============================================= */
/* Compact & Aesthetic Icon Box Styles       */
/* ============================================= */
.stats-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
}

.stat-box {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center; 
}

.stat-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--color-white, #FFFFFF);
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(90, 62, 56, 0.08);
}

.stat-icon-png {
    width: 42px;
    height: 42px;
    filter: invert(58%) sepia(21%) saturate(1553%) hue-rotate(325deg) brightness(94%) contrast(92%);
}

.stat-number-large {
    font-family: 'Marcellus', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-heading, #5A3E38);
    line-height: 1.2;
}

.stat-label-small {
    font-size: 0.875rem;
    color: var(--color-text-body, #7A6F6C);
    margin-top: 0.25rem;
}

@media (max-width: 767px) {
    .stats-container {
        justify-content: space-around;
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .stat-icon-container {
        width: 60px;
        height: 60px;
    }

    .stat-icon-png {
        width: 36px;
        height: 36px;
    }

    .stat-number-large {
        font-size: 1.1rem;
    }

    .stat-label-small {
        font-size: 0.75rem;
    }
}

@media (max-width: 1023px) { 
    .hero-section .grid .stats-container {
        justify-content: space-between;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
    }
    .stat-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .stat-icon-png {
        width: 36px;
        height: 36px;
    }

    .stat-number-large {
        font-size: 1.1rem;
    }

    .stat-label-small {
        font-size: 0.75rem;
    }

    .lg\:hidden .stats-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding: 0;
    }
    
    .lg\:hidden .stat-box {
        flex-direction: row;
        gap: 0.75rem;
        text-align: left;
        align-items: center;
    }
    
    .lg\:hidden .stat-icon-container {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    
    .lg\:hidden .stat-icon-png {
        width: 28px !important;
        height: 28px !important;
    }
}
/* === HERO SECTION STYLES END === */

/* === UPDATED TRUST SECTION STYLES === */
.trust-section-bg { 
    background-color: #856d60; 
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease-in-out;
}

.trust-badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-0.25rem);
}

.trust-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.trust-title {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    height: 2rem;
    font-weight: 600;
}

.trust-subtitle {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 300;
    opacity: 0.8;
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .trust-badge {
        padding: 1.5rem;
    }

    .trust-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 1rem;
    }

    .trust-title {
        font-size: 1rem;
        height: 2.5rem;
    }

    .trust-subtitle {
        font-size: 0.875rem;
    }
}
/* Modernized, Aesthetic-Driven Concern Card Styles */

.concern-card {
  position: relative;
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 14px 40px rgba(90,62,56,0.11);
  padding: 1.1rem 1rem 1.85rem 1rem;
  margin-bottom: 0.2rem;
  min-width: 180px;
  max-width: 220px;
  width: 100%;
  transition:
    box-shadow .28s cubic-bezier(.4,0,.2,1),
    transform .34s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  overflow: visible;
  z-index: 2;
}
.concern-card:hover, .concern-card:focus-within {
  box-shadow: 0 24px 60px 0 rgba(235,117,85,0.19), 0 4px 12px rgba(90,62,56,0.09);
  transform: translateY(-11px) scale(1.03) rotate(-2deg);
}
.concern-img-wrap {
  width: 124px; height: 164px;
  border-radius: 1.2rem 1.2rem 1.8rem 1.8rem/1.25rem 1.5rem 2rem 1.25rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 26px rgba(90, 62, 56, 0.10);
  transition: box-shadow .24s;
  margin-bottom: 1.2em;
}
.concern-card:hover .concern-img-wrap {
  box-shadow: 0 18px 44px rgba(235,117,85,0.22);
}
.concern-img-wrap img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.32s cubic-bezier(.6,-.13,.44,1.18);
}
.concern-card:hover img {
  transform: scale(1.08) rotate(-2deg);
  filter: brightness(0.93) saturate(1.12);
}
/* Floating badge on corner */
.concern-badge {
  position: absolute; left:12px; top:13px;
  background: linear-gradient(90deg, #eb7555 70%, #fff0 100%);
  color:#fff; font-weight: 700; font-size:1rem; font-family: 'Marcellus', serif;
  border-radius:19px; padding:0.32em 1.1em;
  box-shadow:0 2px 10px rgba(90,62,56,0.11);
  letter-spacing: 0.08em;
}
.concern-title {
  margin-top: 0.7em;
  margin-bottom: 0;
  font-size: 1.13rem;
  color: var(--color-heading,#5A3E38);
  font-family: 'Marcellus', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}
@media (max-width:1023px) {
  .concern-card { min-width: 200px; max-width: 235px; }
}
@media (max-width:680px) {
  .concern-img-wrap { width: 130px; height: 170px; }
  .concern-title { font-size: 1.07rem; }
}
@media (max-width:480px) {
  .concern-img-wrap { width: 120px; height: 150px; }
}

.wow-fadein-up {
  opacity:0; transform:translateY(30px); animation:fadeinup 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
.wow-fadein-up:nth-child(2){ animation-delay:0.08s;}
.wow-fadein-up:nth-child(3){ animation-delay:0.18s;}
.wow-fadein-up:nth-child(4){ animation-delay:0.29s;}
.wow-fadein-up:nth-child(5){ animation-delay:0.36s;}

@keyframes fadeinup {
  to { opacity:1; transform:none; }
}


/* ============================================= */
/* CTA Section Styles              */
/* ============================================= */
.cta-section {
    background-color: #856d60;
    padding: 4rem 0;
    color: var(--color-white, #FFFFFF);
}

.cta-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-heading {
    font-size: 2.25rem;
    line-height: 1.2;
}

.cta-subheading {
    font-size: 1.125rem;
    opacity: 0.85;
    margin-top: 1rem;
    max-width: 600px;
}

.cta-button-container {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent, #eb7555);
    color: var(--color-white, #FFFFFF);
    font-family: 'Marcellus', serif;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--color-accent-dark, #C27A65);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 5rem 0;
    }

    .cta-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .cta-text {
        flex-basis: 60%;
    }

    .cta-subheading {
        margin-top: 0.5rem;
        max-width: none;
    }
    
    .cta-button-container {
        margin-top: 0;
        flex-shrink: 0;
    }
}

/* ======================================================= */
/* Meet The Doctor Section                 */
/* ======================================================= */
.meet-doctor-section {
    background-color: var(--color-primary-bg, #FBF8F5);
    padding: 3rem 0;
}
@media (min-width: 1024px) {
    .meet-doctor-section {
        padding: 2.5rem 0rem 0rem 0rem;
    }
}

.doctor-heading-wrapper {
    text-align: center;
}
@media (min-width: 1024px) {
    .doctor-heading-wrapper {
        text-align: left;
    }
}

.doctor-photo-column {
    display: flex;
    align-items: flex-end;
}
.doctor-photo-container-final {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .doctor-photo-container-final {
        max-width: 480px;
    }
}
.doctor-photo-final {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.doctor-name {
    font-family: 'Marcellus', serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--color-heading, #5A3E38);
    line-height: 1.1;
}
.doctor-quals {
    font-size: 1.05rem;
    color: var(--color-text-body, #7A6F6C);
    margin-top: 0.5rem;
}
.doctor-experience {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent, #A87C6F);
}

.doctor-rating-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease-out;
    margin-top: 1rem;
}
.doctor-rating-link:hover {
    transform: translateY(-2px);
}
.doctor-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.doctor-rating .stars {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    color: #FFC107;
}
.doctor-rating .stars svg {
    width: 18px;
    height: 18px;
    fill: #FFC107;
}
.doctor-rating .rating-text {
    font-size: 0.85rem;
    color: var(--color-text-body);
}
.doctor-rating .rating-text strong {
    color: var(--color-heading);
}

.doctor-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-body);
    margin-top: 1.25rem;
}
.doctor-bio strong {
    color: var(--color-heading);
    font-weight: 600;
}
.doctor-key-points {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.key-point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.key-point-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background-color: rgba(168, 124, 111, 0.1);
    border-radius: 50%;
}
.key-point-icon-wrapper svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent, #A87C6F);
}

.doctor-cta-group {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    text-align: center;
}
.section-cta {
    padding: 0.875rem 2rem!important;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    font-size: 1rem!important;
}
.primary-cta {
    background-color: var(--color-accent, #A87C6F);
    color: white;
    display: inline-block;
}
.primary-cta:hover {
    background-color: var(--color-heading, #5A3E38);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
@media (min-width: 1024px) {
    .doctor-cta-group {
        text-align: left;
    }
}
/* === WHY CHOOSE US SECTION STYLES === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 25px 0px rgba(235, 117, 85, 0.15); }
    50% { box-shadow: 0 0 35px 10px rgba(235, 117, 85, 0.25); }
    100% { box-shadow: 0 0 25px 0px rgba(235, 117, 85, 0.15); }
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* =================================================================
   FINAL Why Choose Us Section (V3 - Reduced Spacing & Mobile Fix)
==================================================================== */

/* --- Main Section & Variables --- */
.why-section {
  --brand-color-primary: #D37A5A;
  --brand-color-secondary: #523226;
  --background-light: #FDF9F7;
  --text-color-soft: #7D6B64;
  --white: #ffffff;
  --shadow-color: rgba(82, 50, 38, 0.08);

  background-color: var(--background-light);
  /* ADJUSTMENT: Reduced vertical padding for a tighter look */
  padding: 4.5rem 0; 
  overflow: hidden;
  position: relative;
}

/* --- Container & Layout --- */
.why-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

/* --- Left Side: Content --- */
.why-content {
  padding-right: 1rem;
}

.why-headline {
  font-family: 'Marcellus', serif;
  font-size: 3rem;
  color: var(--brand-color-secondary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.why-subheadline {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-color-soft);
  line-height: 1.6;
  max-width: 40em;
  margin-bottom: 3rem;
}

/* --- The Grid of Cards --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.why-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 30px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F0EAE7;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 35px rgba(82, 50, 38, 0.12);
}

.why-icon-wrapper {
  background-color: #F8ECE7;
  color: var(--brand-color-primary);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.why-icon-wrapper svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.why-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-color-secondary);
  margin-bottom: 0.4rem;
}

.why-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-color-soft);
  line-height: 1.5;
}

/* --- Call to Action Button --- */
.why-cta {
  background: var(--brand-color-primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(211, 122, 90, 0.3);
}

.why-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 25px rgba(211, 122, 90, 0.4);
  background: #c66a4c;
}


/* --- Right Side: Image --- */
.why-image-wrapper {
  height: 520px;
  border-radius: 150px 12px 12px 150px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(82, 50, 38, 0.2);
}

.why-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==================================
   REVISED Responsive Design
================================== */
@media (max-width: 1200px) {
  .why-container {
    grid-template-columns: 1fr; /* Stack main content and image */
    gap: 3rem;
  }
  .why-content {
    padding-right: 0;
    text-align: center;
  }
  .why-subheadline {
    margin-left: auto;
    margin-right: auto;
  }
  .why-grid {
    text-align: left;
  }
  .why-image-wrapper {
    height: 400px;
    width: 80%;
    margin: 0 auto;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {

    .why-container {
 
  padding: 0 0.5rem!important;
    }

 .why-section {
   padding: 3.5rem 1rem;
 }
 .why-headline {
   font-size: 2.2rem; /* Slightly smaller headline on mobile */
   margin-bottom: 0.8rem;
 }
 .why-subheadline {
   font-size: 1rem;
   margin-bottom: 2rem;
 }
 .why-grid {
   grid-template-columns: repeat(2, 1fr);
   gap: 0.75rem; /* Reduced gap between cards */
   margin-bottom: 2rem;
 }
 .why-card {
   padding: 1rem; /* Reduced padding inside cards */
 }
 .why-icon-wrapper {
   width: 40px; /* Smaller icon wrapper */
   height: 40px;
   margin-bottom: 0.7rem;
 }
 .why-icon-wrapper svg {
   width: 22px;
   height: 22px;
 }
 .why-card-title {
   font-size: 1rem;
   margin-bottom: 0.3rem;
 }
 .why-card-desc {
   font-size: 0.85rem;
 }
 .why-image-wrapper {
   width: 100%;
   height: 240px; /* Slightly shorter image on mobile */
   border-radius: 12px;
 }
 .why-cta {
   font-size: 0.9rem;
   padding: 0.8rem 2rem;
 }
}
/* ============================================= */
/* Treatments Section (8-Card Grid Version)    */
/* ============================================= */
.treatments-section {
    background-color: var(--color-secondary-bg, #FBF8F5);
    padding: 2.7rem 0;
    position: relative;
    overflow: hidden;
}

.treatments-section .container {
    position: relative;
    z-index: 1;
}

.treatments-section .section-header {
    max-width: 700px;
    margin: 0 auto;
}
.treatments-section .headline {
    color: var(--color-heading, #5A3E38);
    font-family: 'Marcellus', serif;
    font-size: clamp(2.25rem, 5vw, 3rem);
    line-height: 1.2;
}
.treatments-section .headline::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent, #eb7555);
    margin: 1rem auto 0;
}
.treatments-section .sub-headline {
    color: var(--color-text-body, #7A6F6C);
    font-size: 1.125rem;
    margin-top: 1.5rem;
}

.treatment-card {
    background-color: var(--color-white, #FFFFFF);
    border: 1px solid var(--color-border, #EADFD6);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(90, 62, 56, 0.05);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon-background {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: #FBF8F5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.card-icon-png {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: invert(58%) sepia(21%) saturate(1553%) hue-rotate(325deg) brightness(94%) contrast(92%);
    transition: filter 0.3s ease-in-out;
}

.icon-fix-meso {
    width: 55px;
    height: 55px;
}

.card-content {
    flex-grow: 1; 
}

.card-title {
    font-family: 'Marcellus', serif;
    font-size: 1.375rem;
    color: var(--color-heading);
    line-height: 1.3;
    font-weight: 700;
}

.card-description {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-top: 0.75rem;
}

.treatment-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(90, 62, 56, 0.12);
    border-color: var(--color-accent, #eb7555);
}

.treatment-card:hover .card-icon-background {
    background-color: var(--color-accent, #eb7555);
    transform: scale(1.1);
}

.treatment-card:hover .card-icon-png {
    filter: brightness(0) invert(1);
}

.section-cta-container {
    text-align: center;
    margin-top: 3.5rem;
}
.section-cta {
    display: inline-block;
    background-color: var(--color-accent, #eb7555);
    color: var(--color-white, #FFFFFF);
    border: 2px solid var(--color-accent, #eb7555);
    border-radius: 9999px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(235, 117, 85, 0.2);
    font-family: marcellus;
}
.section-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(235, 117, 85, 0.3);
}

.swiper-slide {
    height: auto;
    display: flex;
}
.swiper-slide .treatment-card {
    width: 100%;
}
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #EADFD6;
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background-color: var(--color-accent, #eb7555);
    transform: scale(1.2);
}

@media (min-width: 1024px) {
    .treatments-swiper .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    .treatments-swiper .swiper-slide {
        width: auto !important; 
    }
}

/* === PATIENT TESTIMONIALS SECTION V3 === */
.testimonials-section-v3 {
    background: var(--color-secondary-bg);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-bg) 15%, var(--color-primary-bg) 85%, var(--color-white) 100%);
    padding: 2.7rem 0;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: minmax(320px, 1fr) 1.5fr;
        gap: 5rem;
    }
}

.testimonial-summary .headline {
    font-family: 'Marcellus', serif;
    color: var(--color-heading);
    font-size: clamp(2.5rem, 5vw, 2rem);
    line-height: 1.2;
    font-weight: 600;
}

.testimonial-summary .description {
    color: var(--color-text-body);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 45ch;
}

.testimonial-summary .divider {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, var(--color-accent), transparent);
    margin: 2rem 0;
    width: 50%;
}

.proof-items {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease;
}
.proof-item:hover {
    transform: translateX(5px);
}

.proof-icon {
    font-size: 1.25rem;
    color: var(--color-accent);
    background-color: var(--color-secondary-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.proof-title {
    font-family: 'Marcellus', serif;
    color: var(--color-heading);
    font-size: 1.15rem;
    margin-bottom: 0.1rem;
}

.proof-text {
    color: var(--color-text-body);
    font-size: 0.95rem;
}

.testimonial-slider-container {
    position: relative;
}

.testimonial-slides {
    display: grid;
    min-height: 400px;
    background-color: var(--color-white);
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.testimonial-card {
    grid-area: 1 / 1;
    margin: 0;
    padding: 2.5rem 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.1;
    transform: rotate(-10deg);
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--color-text-body);
    line-height: 1.7;
    font-style: italic;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.author-initial {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--color-light-accent);
    color: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Marcellus', serif;
    font-size: 1.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.author-details {
    line-height: 1.4;
}

.author-name {
    font-family: 'Marcellus', serif;
    color: var(--color-heading);
    display: block;
    font-style: normal;
    font-weight: 600;
}

.star-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-heading);
}

.slider-arrow:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.prev-slide { left: -24px; }
.next-slide { right: -24px; }

@media (max-width: 640px) {
    .prev-slide { left: 10px; }
    .next-slide { right: 10px; }
}

.slider-dots {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

.section-cta {
    display: inline-block;
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.section-cta:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
/* === FAQ SECTION STYLES === */
:root {
    --font-heading: 'Marcellus', serif;
    --font-body: sans-serif;
}

.faq-section {
    background-color: var(--color-secondary-bg);
    padding: 3rem 0;
}

.faq-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-section .headline {
    color: var(--color-heading);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.faq-section .sub-headline {
    color: var(--color-text-body);
    font-family: var(--font-body);
}

.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.faq-item details {
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    background-color: var(--color-primary-bg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item details[open] {
    background-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(90, 62, 56, 0.08);
    border-color: var(--color-light-accent);
}

.faq-question {
    padding: 1.25rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--color-heading);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    width: 100%;
}

.faq-question::-webkit-details-marker {
    display: none;
}

details[open] > .faq-question {
    color: var(--color-accent);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    color: var(--color-text-body);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer .faq-link {
    color: var(--color-accent-dark);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.faq-answer .faq-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.faq-icon-wrapper {
    flex-shrink: 0;
    margin-left: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

details[open] .faq-icon-wrapper {
    transform: rotate(45deg);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--color-accent);
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.faq-icon::before {
    width: 100%;
    height: 2.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2.5px;
    height: 100%;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }
    .faq-question {
        padding: 1.5rem;
        font-size: 1.2rem;
    }
    .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}
/*
===============================================
  FINAL POLISHED FOOTER & CTA SECTION STYLES
===============================================
*/
.final-cta-footer {
    background-color: #5A3E38;
    padding: 5rem 0 0;
    color: #d1d5db;
}

.final-cta-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.final-cta-grid {
    display: grid;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .final-cta-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
    }
}

.final-cta-headline {
    font-family: 'Marcellus', serif;
    font-size: 3.3rem;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.final-cta-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.final-cta-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
}

.contact-icon {
    color: #eb7555;
    font-size: 1.1rem;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.footer-form-card {
    padding: 2rem;
    border-radius: 1rem;
    max-width: 480px;
    margin: 0 auto;
    color: #5a3e38;
}

.footer-form-card form .form-group {
    margin-bottom: 1rem;
}

.footer-form-card input,
.footer-form-card textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    border: 1px solid #E4D5C9;
    background-color: #FFFFFF;
}

.footer-form-card input:focus,
.footer-form-card textarea:focus {
    outline: none;
    border-color: #eb7555;
    box-shadow: 0 0 0 3px rgba(235, 117, 85, 0.3);
}

.footer-form-card button {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-radius: 0.5rem;
}

.footer-copyright-bar {
    margin-top: 2rem;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
/* === BEFORE & AFTER GALLERY CAROUSEL === */
.gallery-section {
    background-color: var(--color-primary-bg);
    padding: 2.7rem 0;
    position: relative;
}
.gallery-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}
.gallery-section .headline {
    color: var(--color-heading);
    font-family: 'Marcellus', serif;
}
.gallery-section .sub-headline {
    color: var(--color-text-body);
}

.gallery-swiper {
    width: 100%;
    padding: 1rem 0 3rem !important;
}
.swiper-slide {
    height: auto;
    display: flex;
}
.transformation-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(90, 62, 56, 0.08);
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.image-container-static {
    aspect-ratio: 1 / 1;
}
.image-container-static img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-caption {
    padding: 1.5rem;
    background-color: var(--color-primary-bg);
    flex-grow: 1;
}
.caption-title {
    font-family: 'Marcellus', serif;
    color: var(--color-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.caption-text {
    color: var(--color-text-body);
    font-size: 0.95rem;
}

.gallery-nav-button {
    color: var(--color-accent);
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.gallery-nav-button:hover {
    background-color: var(--color-accent);
    color: white;
}
.gallery-nav-button::after {
    font-size: 1rem !important;
    font-weight: 900;
}
.swiper-button-prev.gallery-nav-button {
    left: 1.5rem;
    transform: translateX(-50%);
    top: 60%;
    bottom: 0px;
    padding: 0px 20px;
    background-color: var(--color-accent);
}
.swiper-button-next.gallery-nav-button {
    background-color: var(--color-accent);
    right: 1.5rem;
    transform: translateX(50%);
    top: 60%;
    bottom: 0px;
    padding: 0px 20px;
}

.swiper-button-next:after{
color : #fff;
}

.swiper-button-prev:after{
color : #fff;
}

.swiper-pagination-bullet {
    background-color: var(--color-light-accent);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background-color: var(--color-accent);
}

@media (min-width: 1024px) {
    .swiper-button-prev.gallery-nav-button {
        left: calc(50% - 60px);
        transform: translateX(-50%);
        top: auto;
        bottom: 0px;
        display: none;
    }
    .swiper-button-next.gallery-nav-button {
        right: calc(50% - 60px);
        transform: translateX(50%);
        top: auto;
        bottom: 0px;
        display: none;
    }
    .swiper-pagination {
        bottom: 0px !important;
    }
}

.swiper-pagination-bullet {
    background-color: var(--color-light-accent);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background-color: var(--color-accent);
}
.swiper-pagination {
    bottom: 5px !important;
}
@media (min-width: 1024px) {
    .swiper-pagination {
        bottom: 0px !important;
    }
}

/* === FIXED MOBILE CTA BAR STYLES === */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-top: 1px solid #E0E0E0;
    padding: 0.75rem 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 50;
    display: none;
}

@media (max-width: 767px) {
    .mobile-cta-bar {
        display: block;
    }
}

.mobile-cta-bar .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
}

.btn-filled {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-decoration: none;
}

.btn-filled:hover {
    background-color: color-mix(in srgb, var(--color-accent) 90%, black);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline i, .btn-filled i {
    font-size: 0.875rem;
    margin-right: 0.35rem;
}

.fa-phone-alt:before{
    bottom: 4px;
    position: relative;
}

.swiper-pagination {
    bottom: -10px !important;
}

/* === Contact Popup Modal Styles === */
.derma-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.derma-popup-modal.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background-color: var(--color-white);
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 900px;
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.derma-popup-modal.active .popup-container {
    transform: translateY(0);
    opacity: 1;
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-body);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
    outline: none;
}

.popup-close-btn:hover {
    color: var(--color-accent);
    transform: rotate(90deg) scale(1.1);
}

.popup-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.popup-left-side {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 1.5rem;
}

.popup-doctor-img {
    width: 260px;
    height: 300px;
    border-radius: 0 60px 0 60px;
    overflow: hidden;
    border-left: 5px solid var(--color-border-image);
    border-top: 5px solid var(--color-border-image);
    background: linear-gradient(to bottom, var(--color-secondary-bg) 0%, var(--color-primary-bg) 100%);
    object-fit: contain;
    margin-bottom: 2rem;
}

.popup-heading {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    color: var(--color-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.popup-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-body);
    margin: 0;
    max-width: 350px;
}

.popup-right-side {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    padding-left: 2.5rem;
    border-left: 1px solid var(--color-light-accent);
}

.popup-form-title {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    color: var(--color-heading);
    margin-bottom: 2rem;
}

.popup-form input[type="text"],
.popup-form input[type="email"],
.popup-form input[type="tel"],
.popup-form textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--color-light-accent);
    border-radius: 1.5rem;
    background-color: var(--color-primary-bg);
    font-size: 1rem;
    color: var(--color-text-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.popup-form input:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(235, 117, 85, 0.25);
}

.popup-form textarea {
    min-height: 100px;
    resize: vertical;
}

.popup-form .send-btn {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    font-weight: bold;
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.popup-form .send-btn:hover {
    background-color: #C27A65;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.popup-form .space-y-4 > * + * {
    margin-top: 1.25rem;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .popup-container {
        max-width: 700px;
        padding: 2.5rem;
    }
    .popup-content-wrapper {
        gap: 2rem;
    }
    .popup-left-side {
        flex-basis: 200px;
        padding-right: 1rem;
    }
    .popup-right-side {
        flex-basis: 300px;
        padding-left: 2rem;
    }
    .popup-doctor-img {
        width: 140px;
        height: 140px;
    }
    .popup-heading {
        font-size: 2rem;
    }
    .popup-form-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .popup-container {
        max-width: 95%;
        padding: 2.5rem 1.5rem;
        border-radius: 1rem;
    }
    .popup-close-btn {
        font-size: 1.6rem;
        top: 15px;
        right: 15px;
    }
    .popup-content-wrapper {
        flex-direction: column;
        gap: 0;
    }
    .popup-left-side {
        display: none;
    }
    .popup-right-side {
        flex: 0 0 100%;
        width: 100%;
        padding-left: 0 !important;
        border-left: none;
        align-items: center;
        text-align: center;
    }
    .popup-right-side .popup-form {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .popup-form-title {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .popup-container {
        padding: 1.5rem 1rem;
    }
    .popup-close-btn {
        font-size: 1.4rem;
        top: 10px;
        right: 10px;
    }
    .popup-heading {
        font-size: 1.5rem;
    }
    .popup-form-title {
        font-size: 1.4rem;
    }
}
/*
===============================================
  GALLERY & LIGHTBOX STYLES (Mobile Optimized)
===============================================
*/
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-bg) 15%, var(--color-primary-bg) 85%, var(--color-white) 100%)!important;
}

.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 8px 16px rgba(90, 62, 56, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(90, 62, 56, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        column-count: unset;
    }

    .gallery-item {
        margin-bottom: 0;
    }
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    animation: zoomIn 0.4s ease;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: #bbb;
}

.lightbox-close {
    top: 20px;
    right: 35px;
    font-size: 3rem;
}

.lightbox-prev, .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}