   /* === 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;
    /* Optional: Add a subtle background color if you want it to stand out more */
    /* background-color: rgba(255, 255, 255, 0.9); */
}

/* Custom styles for the CTA button in the header */
.cta-button-header {
    background-color: var(--color-accent); /* Use your accent color */
    color: var(--color-white);
    white-space: nowrap; /* Prevents text from wrapping on smaller screens */
}

.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);
}

/* Ensure the button is appropriately sized on small screens */
@media (max-width: 639px) { /* Tailwind's 'sm' breakpoint is 640px */
    .cta-button-header {
        padding: 0.6rem 0.9rem; /* Slightly less padding for compactness */
        font-size: 0.875rem; /* Smaller text size for mobile */
    }
}

/* === Sticky WhatsApp Button CSS === */

.whatsapp-stick {
    position: fixed; /* Makes the element stick to the viewport */
    bottom: 85px;    /* 25px from the bottom */
    right: 25px;     /* 25px from the right */
    z-index: 1000;   /* Ensures it's on top of other content */
}

.whatsapp-stick a {
    display: flex; /* Helps to center the icon inside */
    align-items: center;
    justify-content: center;
    width: 60px;  /* Button width */
    height: 60px; /* Button height */
    background-color: #25D366; /* Official WhatsApp color */
    border-radius: 50%; /* Makes it a circle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* A nice shadow for depth */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

/* The icon inside the button */
.whatsapp-stick img {
    width: 35px; /* Adjust icon size */
    height: auto;
}

/* The hover effect */
.whatsapp-stick a:hover {
    transform: scale(1.1); /* Slightly enlarges the button on hover */
}

/* Adjustments for the logo size */
header.main-header .w-14 { /* For screens smaller than sm */
    width: 3.5rem; /* ~56px */
}

header.main-header .sm\:w-16 { /* For screens sm and up */
    width: 4rem; /* ~64px */
}
        /* === HEADER STYLES END === */
        
       /* === HERO SECTION STYLES START === */
.hero-section {
    position: relative;
    width: 100%;
    background-color: var(--color-primary-bg);
    overflow: hidden;

    /* --- ADD THESE THREE LINES --- */
    display: flex;
    align-items: center;
    padding-top: 6rem; /* This creates a small, fixed space for the header */
}
.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);
}

/* ============================================= */
/* Icon Stat Box Styles                         */
/* ============================================= */

/* ============================================= */
/* Compact & Aesthetic Icon Box Styles          */
/* ============================================= */

/* The main bar that holds all three stats */
.stats-container {
       display: flex
;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
}

/* Container for ONE stat (icon + text) */
.stat-box {
    text-align: center;
    display: flex
;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center; 
}

/* The NEW circular container for the icon */
.stat-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--color-white, #FFFFFF);
    border-radius: 50%; /* This makes it a circle */
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(90, 62, 56, 0.08);
}

/* Your PNG icon styles */
.stat-icon-png {
    width: 42px;
    height: 42px;
    /* This filter converts a BLACK icon to your theme's accent color */
    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; /* 20px - made slightly more compact */
    font-weight: 500;
    color: var(--color-heading, #5A3E38);
    line-height: 1.2;
}

.stat-label-small {
    font-size: 0.875rem; /* 14px */
    color: var(--color-text-body, #7A6F6C);
    margin-top: 0.25rem;
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .stats-container {
        justify-content: space-around; /* This will spread the icons out nicely on one line */
        flex-direction: row; /* Change from column back to row for a compact look */
        gap: 1rem; /* Reduce gap for mobile */
        padding: 1rem 0;
    }
    
    .stat-icon-container {
        width: 60px; /* Slightly smaller for mobile */
        height: 60px;
    }

    .stat-icon-png {
        width: 36px; /* Adjust icon size accordingly */
        height: 36px;
    }

    .stat-number-large {
        font-size: 1.1rem; /* Adjust font size for mobile */
    }

    .stat-label-small {
        font-size: 0.75rem; /* Adjust font size for mobile */
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 1023px) { /* Changed to 1023px to match lg breakpoint */
    
    /* This rule targets the OLD stats container that is now hidden on mobile. 
       It ensures it behaves if you ever want to show it again. */
    .hero-section .grid .stats-container {
       justify-content: space-between;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
    }

    /* These rules style the individual elements within ANY stat box on mobile */
    .stat-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem; /* Reduced margin */
    }

    .stat-icon-png {
        width: 36px;
        height: 36px;
    }

    .stat-number-large {
        font-size: 1.1rem;
    }

    .stat-label-small {
        font-size: 0.75rem;
    }

    /* === NEW CSS FOR THE MOBILE STACKED STATS === */
    /* This specifically targets the new stacked layout */
    .lg\:hidden .stats-container {
        flex-direction: column; /* Stacks the stat boxes */
        gap: 1.5rem; /* Vertical gap between stacked items */
        align-items: flex-start; /* Aligns them to the left */
        padding: 0; /* Removes extra padding */
    }
    
    .lg\:hidden .stat-box {
        flex-direction: row; /* Icon and text are side-by-side */
        gap: 0.75rem; /* Gap between icon and text */
        text-align: left; /* Aligns text to the left */
        align-items: center; /* Vertically centers icon and text */
    }
    
    .lg\:hidden .stat-icon-container {
        width: 48px !important; /* Smaller icon circle for this layout */
        height: 48px !important;
        flex-shrink: 0; /* Prevents the icon from shrinking */
        margin-bottom: 0; /* Remove bottom margin as it's now side-by-side */
    }
    
    .lg\:hidden .stat-icon-png {
        width: 28px !important;
        height: 28px !important;
    }
}

/* === HERO SECTION STYLES END === */

   /* === UPDATED TRUST SECTION STYLES (Standard CSS) === */
.trust-section-bg { 
    background-color: #856d60; 
}

/* This is the class for each of the 6 badges */
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Mobile First: Use smaller padding for mobile */
    padding: 1rem; /* p-4 */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
    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 {
    /* Mobile First: Smaller icon and margin */
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    margin-bottom: 0.5rem; /* mb-2 */
    filter: brightness(0) invert(1);
}

.trust-title {
    display: flex;
    align-items: center;
    text-align: center;
    /* Mobile First: Smaller font and less height */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    height: 2rem; /* h-8 */
    font-weight: 600; /* font-semibold */
}

.trust-subtitle {
    /* Mobile First: Smaller font */
    font-size: 0.75rem; /* text-xs */
    line-height: 1rem;
    font-weight: 300; /* font-light */
    opacity: 0.8;
    margin-top: 0.25rem; /* mt-1 */
}

/* === Styles for Tablets and Desktops (sm: 640px and up) === */
@media (min-width: 640px) {
    .trust-badge {
        /* Restore original padding for larger screens */
        padding: 1.5rem; /* sm:p-6 */
    }

    .trust-icon {
        /* Restore original icon size and margin */
        width: 3rem; /* sm:w-12 */
        height: 3rem; /* sm:h-12 */
        margin-bottom: 1rem; /* sm:mb-4 */
    }

    .trust-title {
        /* Restore original font size and height */
        font-size: 1rem; /* sm:text-base */
        height: 2.5rem; /* sm:h-10 */
    }

    .trust-subtitle {
        /* Restore original font size */
        font-size: 0.875rem; /* sm:text-sm */
    }
}
      /* No changes needed for .concerns-section (desktop styles are fine) */
/* ============================================= */
/* New Concerns Section Styles                  */
/* ============================================= */
/* ============================================= */
/* Final Concerns Section Styles                */
/* ============================================= */

.concern-item {
    transition: transform 0.3s ease;
}
.concern-item:hover {
    transform: translateY(-8px);
}

.concern-card-image {
    aspect-ratio: 4 / 5; /* A taller ratio for a better card size */
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    box-shadow: 0 15px 30px rgba(90, 62, 56, 0.1);
}

.concern-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The caption box below the image */
.concern-caption {
    width: 90%;
    margin: 0 auto;
    margin-top: -2rem; /* Pull up to overlap the image */
    position: relative; /* Needed for the number positioning */
    z-index: 10;
    
    /* Apply the SAME clip-path as the image */
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

/* An inner div to safely contain the text inside the skewed shape */
.caption-content {
    background-color: var(--color-white, #FFFFFF);
    padding: 1.25rem 2rem 0.75rem; /* Adjust padding: top, sides, bottom */
    text-align: center;
}

.caption-number {
    font-family: 'Marcellus', serif;
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.caption-title {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--color-heading);
}

/* --- Mobile Swiper Styles --- */
.concerns-swiper {
    width: 100%;
    padding: 2.5rem 0;
}

/* This is the critical fix for invisible slides */
.concerns-swiper .swiper-slide {
    overflow: visible !important;
    width: 65%;
    max-width: 280px;
}

.swiper-pagination {
    position: static;
    margin-top: -1rem; /* Pull pagination up a bit */
}

.swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background-color: var(--color-light-accent);
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-accent);
}



/* ============================================= */
/* CTA Section Styles                           */
/* ============================================= */

.cta-section {
    background-color: #856d60; /* Using the same color as your trust badges */
    padding: 4rem 0; /* 64px top and bottom padding */
    color: var(--color-white, #FFFFFF);
}

.cta-content-wrapper {
    display: flex;
    flex-direction: column; /* Stacked on mobile by default */
    align-items: center;
    text-align: center;
}

.cta-heading {
    font-size: 2.25rem; /* 36px */
    line-height: 1.2;
}

.cta-subheading {
    font-size: 1.125rem; /* 18px */
    opacity: 0.85;
    margin-top: 1rem; /* 16px */
    max-width: 600px; /* Constrain line length for readability */
}

.cta-button-container {
    margin-top: 2rem; /* 32px */
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent, #eb7555);
    color: var(--color-white, #FFFFFF);
    font-family: 'Marcellus', serif;
    font-size: 1.125rem; /* 18px */
    padding: 1rem 2.5rem; /* 16px 40px */
    border-radius: 9999px; /* pill shape */
    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);
}

/* Desktop layout adjustments */
@media (min-width: 1024px) {
    .cta-section {
        padding: 5rem 0; /* More padding on desktop */
    }

    .cta-content-wrapper {
        flex-direction: row; /* Side-by-side on desktop */
        justify-content: space-between;
        text-align: left;
    }
    
    .cta-text {
        flex-basis: 60%; /* Text takes up 60% of the width */
    }

    .cta-subheading {
        margin-top: 0.5rem;
        max-width: none;
    }
    
    .cta-button-container {
        margin-top: 0;
        flex-shrink: 0; /* Prevent the button from shrinking */
    }
}



/* ======================================================= */
/* Meet The Doctor Section (CSS with minor adjustment)     */
/* ======================================================= */
.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;
    }
}

/* --- Mobile Heading Wrapper --- */
.doctor-heading-wrapper {
    /* On mobile, center the heading text for a cleaner look */
    text-align: center;
}
@media (min-width: 1024px) {
    /* Revert to left-align on desktop */
    .doctor-heading-wrapper {
        text-align: left;
    }
}


/* --- Left Column: Image --- */
.doctor-photo-column {
    /* On desktop, this flex behavior helps align the photo container */
    display: flex;
    align-items: flex-end;
}
.doctor-photo-container-final {
    width: 100%;
    /* Add a max-width on mobile to prevent the image from being too wide */
    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;
}

/* --- Right Column: Bio --- */
.doctor-bio-column {
    /* KEY CHANGE: The margin-top is no longer needed
      because the parent flex container's 'gap' handles mobile spacing.
    */
}

.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; /* Increased margin slightly for better spacing under name */
}
.doctor-experience {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent, #A87C6F);
    /* No margin-top needed here; spacing is handled by the block layout */
}

/* --- Actionable Google Rating --- */
.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);
}

/* --- Tighter Bio & Key Points --- */
.doctor-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-body);
    margin-top: 1.25rem; /* Standardized margin */
}
.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);
}

/* --- Simplified Call to Action --- */
.doctor-cta-group {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    text-align: center; /* Center on mobile by default */
}
.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; /* Revert to left-align on desktop */
    }
}
/* === WHY CHOOSE US SECTION STYLES === */
/* === WHY CHOOSE US SECTION - FINAL PURE CSS VERSION === */
/* === WHY CHOOSE US SECTION - v3 - THEME ALIGNED === */

/* NOTE: This code assumes your :root variables are defined globally.
  The colors from your theme are used below.
*/

/* --- KEYFRAME ANIMATIONS (No changes needed here) --- */
@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); } /* Uses your --color-accent */
    50% { box-shadow: 0 0 35px 10px rgba(235, 117, 85, 0.25); } /* Uses your --color-accent */
    100% { box-shadow: 0 0 25px 0px rgba(235, 117, 85, 0.15); } /* Uses your --color-accent */
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* --- MAIN SECTION STYLES --- */
.why-choose-us-section {
    background-color: var(--color-heading);
    /* Atmospheric background using a lighter shade of your heading color for the center */
    background-image: radial-gradient(circle at 50% 50%, #6b4f4a, var(--color-heading)),
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><filter id="f"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="1" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23f)" opacity="0.04"/></svg>');
    color: var(--color-white);
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

/* Header styles */
.why-choose-us-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}
.why-choose-us-section .headline {
    color: var(--color-white);
    font-family: 'Marcellus', serif;
}
.why-choose-us-section .sub-headline {
    color: var(--color-light-accent);
    opacity: 0.9;
}

/* --- LAYOUT CONTAINER (Mobile First) --- */
.features-radial-layout {
    position: relative;
    max-width: 1100px;
    margin: 0rem auto;
    display: grid;
    justify-items: center;
    gap: 3.5rem;
}
.connecting-lines { display: none; }

.central-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    grid-row: 1;
    z-index: 10;
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s both;
    box-shadow: none!important;
}
.central-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(228, 213, 201, 0.15); /* Using RGBA of your --color-light-accent */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(0,0,0,0.3);
}

.feature-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    max-width: 280px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}
/* Staggered animation delays for mobile */
.feature-point:nth-of-type(3) { animation-delay: 0.4s; }
.feature-point:nth-of-type(4) { animation-delay: 0.5s; }
.feature-point:nth-of-type(5) { animation-delay: 0.6s; }
.feature-point:nth-of-type(6) { animation-delay: 0.7s; }
.feature-point:nth-of-type(7) { animation-delay: 0.8s; }
.feature-point:nth-of-type(8) { animation-delay: 0.9s; }


.icon-wrapper {
    width: 65px; height: 65px;
    display: flex;
    justify-content: center; align-items: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(228, 213, 201, 0.2); /* Using RGBA of your --color-light-accent */
    border-radius: 50%;
    transition: all 0.4s ease;
}
.icon-wrapper svg {
    width: 32px; height: 32px;
    color: var(--color-white);
    stroke-width: 1;
    transition: all 0.4s ease;
}
.feature-point-title {
    font-family: 'Marcellus', serif;
    font-size: 1.25rem; color: var(--color-white); margin-bottom: 0;
}
.feature-point-description {
    color: var(--color-light-accent);
    line-height: 1.5; font-size: 0.9rem;
    max-width: 200px; margin: 0 auto;
}

/* === DESKTOP RADIAL LAYOUT (1024px and up) === */
@media (min-width: 1024px) {
    .features-radial-layout {
        height: 600px;
        display: block;
        margin-top: 1rem; margin-bottom: 1rem;
    }
    .central-image-wrapper {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 320px; height: 320px;
        animation: scaleIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s both,
                   pulseGlow 5s infinite ease-in-out 1.5s;
    }
    .central-image-wrapper img { border-width: 5px; }

    .connecting-lines {
        display: block;
        position: absolute; width: 100%; height: 100%;
        top: 0; left: 0; z-index: 1;
    }
    .connecting-lines path {
        stroke: rgba(228, 213, 201, 0.3); /* Using RGBA of your --color-light-accent */
        stroke-width: 1.5;
        stroke-dasharray: 6 6;
        stroke-dashoffset: 400; /* Approx length */
        animation: drawLine 1.2s ease-out 0.8s forwards;
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .feature-point {
        position: absolute; width: 220px;
        transform: translate(-50%, -50%) scale(1);
        z-index: 5;
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
        animation: scaleIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) both;
    }
    .feature-point-description {
        opacity: 0; /* Hide description by default */
        height: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease, height 0.4s ease;
    }

    /* Precise positioning */
    .point-1 { top: 150px; left: 250px; animation-delay: 1.2s; }
    .point-2 { top: 150px; left: 850px; animation-delay: 1.3s; }
    .point-3 { top: 300px; left: 170px; animation-delay: 1.4s; }
    .point-4 { top: 300px; left: 930px; animation-delay: 1.5s; }
    .point-5 { top: 450px; left: 250px; animation-delay: 1.6s; }
    .point-6 { top: 450px; left: 850px; animation-delay: 1.7s; }

    /* --- THE "SPOTLIGHT" HOVER EFFECT --- */
    .features-radial-layout:hover .feature-point {
        opacity: 0.4;
    }
    .features-radial-layout:hover .feature-point:hover {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    .features-radial-layout:hover .connecting-lines path {
        stroke: rgba(228, 213, 201, 0.1); /* Dimmed line */
    }
    
    .feature-point:hover .icon-wrapper {
        background-color: rgba(235, 117, 85, 0.1); /* BG using your --color-accent */
        border-color: var(--color-accent);
    }
    .feature-point:hover .icon-wrapper svg {
        color: var(--color-accent);
        transform: scale(1.1);
    }
    .feature-point:hover .feature-point-description {
        opacity: 1;
        height: auto;
        transform: translateY(0);
    }

    /* Highlight the correct line on hover */
    .point-1:hover ~ .connecting-lines .line-1,
    .point-2:hover ~ .connecting-lines .line-2,
    .point-3:hover ~ .connecting-lines .line-3,
    .point-4:hover ~ .connecting-lines .line-4,
    .point-5:hover ~ .connecting-lines .line-5,
    .point-6:hover ~ .connecting-lines .line-6 {
        stroke: var(--color-accent);
        stroke-width: 2;
        stroke-dasharray: none;
        filter: url(#glow);
    }
}

/* --- CTA Button Styles --- */
.cta-wrapper {
    text-align: center;
    margin-top: 1rem;
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 1s both;
}
@media (min-width: 1024px) {
    .cta-wrapper {
         margin-top: 0;
         animation-delay: 2s; /* Delay until radial animation is done */
    }
}
.why-choose-us-cta {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-heading);
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.7rem 3rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.why-choose-us-cta:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(235, 117, 85, 0.3); /* Shadow using your --color-accent */
}
/* ============================================= */
/* Treatments Section (8-Card Grid Version)     */
/* ============================================= */

/* --- NEW & IMPROVED CARD STYLES --- */

/* Treatment Card Base Styles */
/* --- SECTION STYLES --- */
.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;
}

/* --- RESTORED: Header Styles --- */
.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;
}

/* --- CARD STYLES (Updated) --- */
.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;
}

/* NEW: Specific fix for the Mesotherapy icon */
.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;
}

/* --- HOVER EFFECTS --- */
.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);
}

/* --- NEW: Main Section CTA Styles --- */
.section-cta-container {
    text-align: center;
    margin-top: 3.5rem; /* Space above the button */
}
.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; /* Pill shape */
    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 & GRID STYLES --- */
.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);
}

/* DESKTOP GRID */
@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 (IMPROVED) === */
.testimonials-section-v3 {
    /* Using a subtle gradient for a more modern feel */
    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; /* Prevents arrows from causing horizontal scroll */
}

.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;
    }
}

/* --- Left Column: Summary --- */
.testimonial-summary .headline {
    font-family: 'Marcellus', serif;
    color: var(--color-heading);
    font-size: clamp(2.5rem, 5vw, 2rem); /* Responsive font size */
    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; /* Improves readability */
}

.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;
}


/* --- Right Column: Slider --- */
.testimonial-slider-container {
    position: relative;
}

.testimonial-slides {
    /* Grid overlay technique to handle variable slide heights gracefully */
    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 {
    /* Each slide occupies the same grid cell */
    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;
    /* margin-bottom: 2rem; Give space before author */
    font-style: italic;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto; /* Pushes author to the bottom */
    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; /* Gold color for stars */
    font-size: 0.9rem;
}

/* --- Slider Controls (Arrows & Dots) --- */
.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);
}
/* Positioning the arrows outside the card on larger screens */
.prev-slide { left: -24px; }
.next-slide { right: -24px; }

/* Adjust arrow position for smaller screens */
@media (max-width: 640px) {
    .prev-slide { left: 10px; }
    .next-slide { right: 10px; }
}

.slider-dots {
    position: absolute;
    bottom: -2.5rem; /* Position below the card */
    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 Button --- */
.section-cta {
    display: inline-block;
    /* background: var(--color-heading); */
    /* color: var(--color-white); */
    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 === */
/* --- Global Colors Provided by You --- */
: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;
    --font-heading: 'Marcellus', serif;
    /* Assuming a standard sans-serif for body text. Replace with your project's body font if needed. */
    --font-body: sans-serif;
}

/* --- Base Section Styles --- */
.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);
}

/* --- Accordion Item Styling --- */
.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; /* Prevents content spill during animation */
}

/* ✨ UX: Change background and add shadow when open for emphasis */
.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; /* Removes the default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    width: 100%;
}

.faq-question::-webkit-details-marker {
    display: none;
}

/* ✨ UX: Change question color when open */
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;
}

/* ✅ UX: Added link styling within the answer */
.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;
}

/* --- ✨ Improved Icon Styling (+ to x animation) --- */
.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); /* Rotates the whole icon to an 'x' */
}

.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 { /* Horizontal line */
    width: 100%;
    height: 2.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after { /* Vertical line */
    width: 2.5px;
    height: 100%;
    transform: translate(-50%, -50%);
}

/* --- 📱 Mobile Responsiveness (using min-width for mobile-first) --- */
@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
===============================================
*/

/* --- Main Structure & Layout --- */

.final-cta-footer {
    background-color: #5A3E38; /* Your dark theme color */
    padding: 5rem 0 0; /* Add space at the top, copyright will handle the bottom */
    color: #d1d5db; /* Default light text color */
}

.final-cta-container {
    max-width: 1250px; /* Constrain width for a more premium feel */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.final-cta-grid {
    display: grid;
    align-items: center; /* This is key: vertically centers the columns */
    gap: 2rem;
}

/* On desktop, create a balanced two-column layout */
@media (min-width: 1024px) {
    .final-cta-grid {
        grid-template-columns: 1.1fr 1fr; /* Give slightly more space to text */
        gap: 4rem; /* Increase gap on larger screens */
    }
}


/* --- Left Column: Content & Details --- */

.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; /* Space between each contact item */
}

.contact-item {
    display: flex;
    align-items: flex-start; /* Aligns icon and text to the top */
    gap: 1rem;
    font-size: 1rem;
}

.contact-icon {
    color: #eb7555; /* Your accent color */
    font-size: 1.1rem;
    margin-top: 4px; /* Finely adjust icon to align with text baseline */
    width: 20px; /* Give icon a fixed width */
    text-align: center;
}


/* --- Right Column: Form Resizing & Styling --- */

/* This is the MODIFIER class to shrink the form for the footer */
.footer-form-card {
    padding: 2rem; /* Reduce padding */
    border-radius: 1rem; /* Soften corners */
    max-width: 480px; /* Control max form width */
    margin: 0 auto; /* Center form on mobile */
    color: #5a3e38;
}

.footer-form-card form .form-group {
    margin-bottom: 1rem; /* Space between form fields */
}

/* Style all inputs within the footer form */
.footer-form-card input,
.footer-form-card textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border-radius: 0.5rem; /* Match your existing style */
    border: 1px solid #E4D5C9; /* Your light accent border */
    background-color: #FFFFFF;
}

.footer-form-card input:focus,
.footer-form-card textarea:focus {
    outline: none;
    border-color: #eb7555; /* Your accent color */
    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; /* Match your existing style */
}


/* --- Copyright Bar --- */

.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);
}

/* Ensure Font Awesome icons are available for the contact details */
@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; /* Needed for positioning nav buttons */
}
.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; /* !important to override library defaults */
}
.swiper-slide {
    height: auto; /* Allow slide to size to its content */
    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%; /* Make card fill the slide height */
    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; /* Allows caption to fill space */
}
.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;
}

/* Custom Swiper Navigation & Pagination Styles */
.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; /* Adjust position for mobile */
}
@media (min-width: 1024px) {
    .swiper-pagination {
        bottom: 0px !important; /* Adjust position for desktop */
    }
}

/* === 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; /* Light gray border at the top */
    padding: 0.75rem 0; /* Vertical padding for the bar */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow above the bar */
    z-index: 50;

    /* Hide by default, then show on mobile */
    display: none;
}

@media (max-width: 767px) { /* This media query targets mobile screens */
    .mobile-cta-bar {
        display: block; /* Makes the bar visible on mobile */
    }
}

.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;
}


/* === BUTTON STYLES === */

/* Filled Button Style (corresponds to "Book Appointment" in your image) */
.btn-filled {
    background-color: var(--color-accent); /* Your accent color, like the orange in the image */
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 9999px; /* For the pill shape */
    font-size: 0.875rem; /* Adjusted for mobile buttons */
    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; /* Makes it take equal space with the other button */
    text-decoration: none;
}

.btn-filled:hover {
    background-color: color-mix(in srgb, var(--color-accent) 90%, black); /* Darken on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Outline Button Style (corresponds to "Call Now" in your image) */
.btn-outline {
    background-color: transparent;
    color: var(--color-accent); /* Text color is the accent color */
    border: 1px solid var(--color-accent); /* Outline in the accent color */
    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; /* Makes it take equal space with the other button */
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--color-accent); /* Fills on hover */
    color: var(--color-white); /* Text becomes white on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Font Awesome icon styling within buttons */
.btn-outline i, .btn-filled i {
    font-size: 0.875rem;
    margin-right: 0.35rem; /* Small space between icon and text */
}


.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); /* Slightly darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Higher than any other element */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px); /* A subtle blur for depth */
    -webkit-backdrop-filter: blur(4px);
}

.derma-popup-modal.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background-color: var(--color-white);
    border-radius: 1.5rem; /* Even more pronounced rounded corners for a softer look */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); /* Stronger, deeper shadow */
    width: 90%;
    max-width: 900px; /* Increased max-width for better desktop layout */
    position: relative;
    padding: 3rem; /* Increased internal padding */
    display: flex;
    flex-direction: column; /* Default for mobile, will be row for desktop */
    transform: translateY(30px); /* Initial position for slide-up effect */
    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); /* Smoother, more distinct animation */
}

.derma-popup-modal.active .popup-container {
    transform: translateY(0);
    opacity: 1;
}

.popup-close-btn {
    position: absolute;
    top: 20px; /* Slightly more space from top */
    right: 20px; /* Slightly more space from right */
    background: none;
    border: none;
    font-size: 2rem; /* Larger close icon */
    color: var(--color-text-body);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10; /* Ensure it's clickable */
    outline: none; /* Remove outline on focus for cleaner look */
}

.popup-close-btn:hover {
    color: var(--color-accent);
    transform: rotate(90deg) scale(1.1); /* Rotate and slight scale for emphasis */
}

.popup-content-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 3rem; /* Increased space between columns */
    align-items: flex-start; /* Align content to the top */
}

.popup-left-side {
    flex: 1 1 280px; /* Flexible width for left column, slightly larger base */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 1.5rem; /* Add some internal padding for separation */
}

.popup-doctor-img {
    width: 260px; /* Slightly larger image */
    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; /* More space below image */
}

.popup-heading {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem; /* Larger heading */
    color: var(--color-heading);
    margin-bottom: 1rem; /* More space below heading */
    line-height: 1.3;
}

.popup-text {
    font-size: 1.1rem; /* Slightly larger text */
    line-height: 1.7; /* Improved line height for readability */
    color: var(--color-text-body);
    margin: 0;
    max-width: 350px; /* Constrain text width for better readability on wider screens */
}

.popup-right-side {
    flex: 1 1 400px; /* Flexible width for right column, allowing more space for form */
    display: flex;
    flex-direction: column;
    padding-left: 2.5rem; /* Add separation line visual */
    border-left: 1px solid var(--color-light-accent); /* Clear separator line */
}

.popup-form-title {
    font-family: 'Marcellus', serif;
    font-size: 2rem; /* Larger form title */
    color: var(--color-heading);
    margin-bottom: 2rem; /* More space before form elements */
}

.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; /* More vertical padding for input fields */
    border: 1px solid var(--color-light-accent);
    border-radius: 1.5rem; /* Match custom rounding */
    background-color: var(--color-primary-bg); /* Slightly off-white background for inputs */
    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; /* Minimum height for textarea */
    resize: vertical; /* Allow vertical resize only */
}

.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; /* Assuming this is accent-dark */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.popup-form .space-y-4 > * + * {
    margin-top: 1.25rem;
}

/* To hide scrollbar on body when modal is open */
body.modal-open {
    overflow: hidden;
}

/* === Responsive adjustments for Popup === */
@media (max-width: 991px) { /* Tablet breakpoint */
    .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) { /* Mobile breakpoint */
    .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; /* Hide the entire left section on mobile */
    }
    .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) { /* Smaller mobile screens */
    .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)
===============================================
*/

/* --- Section Styling --- */
.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;
}

/* --- Masonry Grid Layout (Desktop First) --- */
.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;
}

/* Responsive adjustments for the grid */
@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}

/* ======================================================= */
/* === THIS IS THE NEW & IMPROVED MOBILE LAYOUT === */
/* ======================================================= */
@media (max-width: 640px) {
    .gallery-grid {
        /* Switch to a 2-column grid instead of a single stack */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem; /* Add a small gap between images */
        
        /* Unset the masonry property for this view */
        column-count: unset;
    }

    .gallery-item {
        /* Unset margin as 'gap' now handles spacing */
        margin-bottom: 0;
    }
}

/* --- Lightbox Styling (No Changes Needed Here) --- */
.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;
}
/* ... (rest of the lightbox CSS remains the same) */

.lightbox.active {
    display: flex; /* Shown when active */
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    animation: zoomIn 0.4s ease;
}

/* Lightbox Controls */
.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;
}

/* Animation for the image */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}