* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sage: #7FA86F;
    --deep-green: #3D5A2F;
    --cream: #FFF9F0;
    --white: #FFFFFF;
    --charcoal: #1A1A1A;
    --gold: #D4AF37;
    --terracotta: #D4A59A;
    --accent: #6B9D5F;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

body.loading {
    overflow: hidden;
}

body.loading .navbar,
body.loading section,
body.loading footer {
    opacity: 0;
    visibility: hidden;
}

/* ========== LOADER (EXACT Copy from loader.js) ========== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d1d9b8;
    z-index: 9999;
    will-change: opacity;
    pointer-events: all;
}

.loader.fade-out {
    pointer-events: none !important;
}

.loader svg {
    width: 85%;
    height: 85%;
}

.loader svg path {
    fill: none;
}

.loader svg .orbit-text {
    fill: #0f0f0f;
    text-transform: uppercase;
    font-size: 2.75rem;
    font-weight: 500;
}

.loader .counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader .counter p {
    font-size: 4rem;
    font-family: 'Inter', sans-serif;
    color: #0f0f0f;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 1000px) {
    .loader svg {
        width: 100%;
        height: 100%;
    }

    .loader svg .orbit-text {
        font-size: 3rem;
    }
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

/* Navbar text white on transparent (hero area) */
.navbar:not(.scrolled) .nav-links>a,
.navbar:not(.scrolled) .nav-links>.nav-dropdown,
.navbar:not(.scrolled) .logo {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}



/* Invert logo to white when on transparent background if it's an image */
.navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.navbar.scrolled {
    padding: 15px 6%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(156, 175, 136, 0.1);
}

.navbar.scrolled .logo img {
    filter: none;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.logo {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    transition: all 0.3s;
}

/* Desktop Nav */
.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-links>a,
.nav-links>.nav-dropdown {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    letter-spacing: 0.5px;
}

/* Book Consultation Button - Prevent expansion and keep centered */
.nav-links .btn-book {
    background: var(--sage);
    color: white !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-shadow: none !important;
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
    flex-grow: 0;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links .btn-book:hover {
    background: var(--deep-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 175, 136, 0.4);
}

/* Remove underline animation for btn-book */
.nav-links .btn-book:after {
    display: none;
}

.nav-links>a:after,
.nav-dropdown:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sage);
    transition: width 0.3s;
}

.nav-links>a:hover:after,
.nav-dropdown:hover:after {
    width: 100%;
}

.nav-links>a:hover {
    color: var(--sage);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    cursor: pointer;
}

.nav-dropdown>span,
.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit;
}

.nav-dropdown>span i,
.nav-dropdown>a i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover>span i,
.nav-dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    padding: 15px 0;
    margin-top: 20px;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--sage);
    border-left-color: var(--sage);
    padding-left: 30px;
}

.dropdown-menu a:after {
    display: none !important;
}

/* Large Multi-Column Dropdown */
.dropdown-menu-large {
    min-width: 650px;
    display: flex;
    gap: 0;
    padding: 20px;
}

.dropdown-section {
    flex: 1;
    padding: 0 20px;
    border-right: 1px solid var(--cream);
}

.dropdown-section:last-child {
    border-right: none;
}

.dropdown-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage) !important;
    margin-bottom: 15px;
    padding-left: 25px;
    display: block;
    text-decoration: none;
    cursor: pointer;
    background: transparent !important;
    border-left: 3px solid transparent !important;
}

.dropdown-merged-section {
    flex: 2;
    padding: 0 20px;
}

.dropdown-sub-columns {
    display: flex;
    gap: 0;
}

.dropdown-sub-columns .dropdown-column {
    flex: 1;
}

.text-center-heading {
    text-align: center;
    padding-left: 0 !important;
    border-left: none !important;
}

.dropdown-heading:hover {
    color: var(--deep-green) !important;
    background: transparent !important;
    padding-left: 25px !important;
    border-left: 3px solid transparent !important;
}

.dropdown-section a {
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.btn-book {
    padding: 12px 30px;
    background: var(--sage);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
}

.btn-book:after {
    display: none !important;
}

.btn-book:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(156, 175, 136, 0.3);
}

/* Mobile Menu */
.hamburger {
    display: none;
    width: 60px;
    height: 60px;
    padding: 0;
    /* Removed padding to let blob fill */
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    /* Slightly adjusted gap */
    border: none;
    /* No border */
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    position: relative;
    /* For blob positioning */
    z-index: 1002;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Springy effect */
}

.hamburger:hover {
    border-color: transparent;
    transform: scale(1.1);
}

.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    /* Fixed size slightly larger than hamburger */
    height: 80px;
    z-index: 1;
    /* Behind spans */
    pointer-events: none;
    animation: blobRotate 12s linear infinite;
    /* Animation on the SVG container */
}

.blob-bg path {
    fill: none;
    /* No fill - just outline */
    stroke: white;
    /* White by default */
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
    transition: stroke 0.3s ease;
}

/* Change blob to sage green when navbar is scrolled */
.navbar.scrolled .blob-bg path {
    stroke: var(--sage);
}

/* Turn blob green when menu is open */
body.menu-open .blob-bg path {
    stroke: var(--sage) !important;
}

@keyframes blobRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hamburger span {
    width: 24px;
    /* Fixed width for icon inside blob */
    height: 2px;
    background: white;
    /* White by default */
    transition: all 0.3s;
    border-radius: 2px;
    position: relative;
    z-index: 2;
    /* Above blob */
}

/* Keep white on transparent navbar */
.navbar:not(.scrolled) .hamburger span {
    background: white;
}

/* Change to sage green when scrolled for visibility on white navbar */
.navbar.scrolled .hamburger span {
    background: var(--sage);
}

.navbar:not(.scrolled) .hamburger {
    border-color: transparent;
}

.navbar:not(.scrolled) .hamburger {
    border-color: rgba(255, 255, 255, 0.4);
}

/* When mobile menu is open, make the X button sage green for visibility on white bg */
.mobile-menu.active~.navbar .hamburger span,
body.menu-open .hamburger span {
    background: var(--sage) !important;
}

/* Make logo sage green when mobile menu is open */
body.menu-open .logo img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(43%) saturate(350%) hue-rotate(60deg) brightness(92%) contrast(85%) !important;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
    visibility: hidden;
}

.mobile-menu.active {
    pointer-events: all;
    visibility: visible;
}

.mobile-menu-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--cream);
    transform: scale(2) rotate(180deg);
    transform-origin: center;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-menu.active .mobile-menu-bg {
    transform: scale(1) rotate(0deg);
}

/* Center mobile menu items vertically */
.mobile-menu-items {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* This will center everything */
    align-items: center;
    gap: 2.5rem;
    /* Slightly increased gap for better spacing */
    padding: 80px 6%;
}

/* Adjust social links spacing to not interfere with vertical centering */
.mobile-menu-items .mobile-social-links {
    margin-top: 1rem;
    /* Fixed small gap instead of auto */
    padding-bottom: 0;
    /* Hide social icons when menu is closed */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show social icons when menu is active */
.mobile-menu.active .mobile-social-links {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.3s;
    /* Slight delay on open for stagger effect */
}

.mobile-social-links .social-links {
    justify-content: center;
}

.mobile-social-links .social-links a {
    background: rgba(156, 175, 136, 0.2);
    color: var(--sage);
    box-shadow: none;
    /* Remove any transition delays */
    transition: all 0.3s ease !important;
}

.mobile-social-links .social-links a:hover {
    background: var(--sage);
    color: white;
}

/* Prevent underline on social icons */
.mobile-social-links .social-links a:after {
    display: none !important;
}

.mobile-menu-items a:not(.social-links a) {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    overflow: hidden;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.mobile-menu-items a:not(.social-links a):hover {
    color: var(--sage);
}

.mobile-menu-items a:not(.social-links a):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sage);
    transition: width 0.3s ease;
}

.mobile-menu-items a:not(.social-links a):hover:after {
    width: 100%;
}

.mobile-menu-items a .line {
    display: block;
    /* Removed slide up animation */
}

.mobile-menu.active .mobile-menu-items a .line {
    transform: translateY(0);
}

/* ========== GLOBAL NOISE OVERLAY ========== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background: url('data:image/svg+xml,<svg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
}

/* ========== HERO - PARALLAX CURTAIN ========== */
.hero-curtain {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Subtle blur to soften pixelation + enhanced color grading */
    filter: blur(1.5px) grayscale(15%) saturate(0.9) contrast(1.08) brightness(0.95);
    /* Slight zoom to hide edge artifacts and create depth */
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

/* Optional: Subtle zoom animation on load for premium feel */
.hero-curtain:hover .hero-bg-img {
    transform: scale(1.08);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Enhanced gradient overlay - darker and more sophisticated */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    /* Add subtle vignette effect */
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.3);
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 6%;
    max-width: 900px;
}

.hero-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: white;
    line-height: 1.2;
    margin-bottom: 50px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title em {
    font-style: italic;
    color: #B8D4A8;
}

.hero-cta {
    background: white;
    color: var(--charcoal);
}

.hero-cta:hover {
    background: var(--sage);
    color: white;
}

/* ========== TRUST STRIP ========== */
.trust-strip {
    position: relative;
    z-index: 10;
    background: #FAF7F2;
    padding: 25px 6%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888;
    font-weight: 500;
}

.trust-strip .divider {
    opacity: 0.3;
}

/* ========== CALM CTA ========== */
.calm-cta {
    padding: 120px 6%;
    background: var(--charcoal);
    text-align: center;
}

.calm-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.calm-cta h2 {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 25px;
    font-weight: 400;
}

.calm-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.calm-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.calm-cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.calm-cta .btn-secondary:hover {
    background: white;
    color: var(--charcoal);
    border-color: white;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--cream);
    padding: 180px 6%;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
}

.testimonial-name {
    font-family: 'Cormorant', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #5a5a5a;
    font-style: italic;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text Reveal Animation Styles */
.split-lines .line-wrapper {
    overflow: hidden;
    display: block;
}

.split-lines .line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
}

/* Character Reveal Animation Styles */
.char-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInScroll 1s ease 2s forwards;
    opacity: 0;
}

@keyframes fadeInScroll {
    to {
        opacity: 1;
    }
}

.scroll-indicator .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--sage);
    border-radius: 20px;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--sage);
    border-radius: 4px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

.scroll-indicator .scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Hide scroll indicator on mobile and when scrolled */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

.scroll-indicator.hidden {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.eyebrow {
    color: var(--sage);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 30px;
    display: block;
    opacity: 0.8;
}

.hero h1 {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 50px;
    max-width: 700px;
}

.hero h1 em {
    font-style: italic;
    color: var(--sage);
}

.hero p {
    font-size: 1.2rem;
    color: #5a5a5a;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 45px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--charcoal);
    color: white;
}

.btn-primary:hover {
    background: var(--sage);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 500px;
    height: 650px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 250px 250px 30px 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

/* Treated hero image: desaturated, subtle grain, reduced warmth */
.hero-img-treated {
    filter: grayscale(15%) saturate(0.9) contrast(1.02);
    position: relative;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 250px 250px 30px 30px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* ========== SECTIONS ========== */
section {
    padding: 140px 6%;
}

.section-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--charcoal);
    margin-bottom: 25px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #6a6a6a;
    line-height: 1.9;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

/* ========== PHILOSOPHY ========== */
.philosophy {
    background: var(--white);
    padding: 180px 6%;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.philosophy-card {
    padding: 50px 40px;
    background: var(--cream);
    border-radius: 20px;
    transition: all 0.5s;
    border-left: 3px solid transparent;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    border-left-color: var(--sage);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.philosophy-card h3 {
    font-family: 'Cormorant', serif;
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--charcoal);
    font-weight: 500;
}

.philosophy-card p {
    color: #6a6a6a;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========== TREATMENTS ========== */
.treatments {
    background: linear-gradient(to bottom, var(--white) 0%, var(--cream) 100%);
    padding: 80px 0;
    overflow: hidden;
}

.treatments-header {
    padding: 0 6%;
    margin-bottom: 60px;
}

.services-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 6%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Mobile: Stack vertically */
@media (max-width: 900px) {
    .services-grid-layout {
        grid-template-columns: 1fr;
    }
}

.treatment-card {
    /* Immersive Layout */
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    display: block;
    color: inherit;
    cursor: pointer;
    height: 450px;
    /* Fixed height for immersive feel */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push content to bottom */
}

.treatment-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.treatment-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.05);
}

.treatment-image::before {
    /* Dark overlay for entire image to ensure text pop */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

/* Removed rotating animation elements */

.treatment-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    text-align: left;
    /* Aligned left as per immersive style */
    width: 100%;
}

.treatment-content h3 {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.treatment-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.learn-more {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.treatment-card:hover .learn-more {
    gap: 15px;
}




/* ========== EXPERIENCE ========== */
.experience {
    background: var(--white);
    padding: 100px 6%;
}

.experience-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* Reduced gap */
    align-items: center;
}

.experience-image {
    position: relative;
    /* Default: Order follows DOM (Content -> Image) */
}

.experience-image img {
    width: 100%;
    height: 550px;
    /* Slightly adjusted height */
    object-fit: cover;
    object-position: center 20%;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.experience-content {
    /* Default: Order follows DOM */
}

/* Mobile-Specific Button Handling */
.mobile-only-btn {
    display: none;
}

.desktop-only-btn {
    display: inline-flex;
}

@media (max-width: 900px) {
    .experience-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .experience-image img {
        height: 400px;
    }

    .mobile-only-btn {
        display: inline-flex;
    }

    .desktop-only-btn {
        display: none;
    }
}


/* Doctors Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.doctor-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.doctor-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
}

.doctor-info h4 {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.doctor-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.experience-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: var(--charcoal);
    color: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    z-index: 2;
}

.experience-badge .number {
    font-family: 'Cormorant', serif;
    font-size: 4rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.9;
}

.experience-content h2 {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 25px;
    line-height: 1.2;
}

.experience-content p {
    font-size: 1.1rem;
    color: #6a6a6a;
    line-height: 1.8;
    margin-bottom: 35px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--sage);
    background: var(--cream);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.benefits-list span {
    color: #6a6a6a;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--cream);
    padding: 100px 6%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.5s;
    text-align: center;
    position: relative;
    /* For Absolute badge */
}

/* ========== LOCATION BANNER ========== */
.location-banner {
    background: linear-gradient(135deg, var(--sage), var(--deep-green));
    padding: 80px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-wrap: wrap;
    gap: 50px;
}

.location-content {
    display: flex;
    align-items: center;
    gap: 35px;
}

.location-content i {
    font-size: 3.5rem;
}

.location-text h3 {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.location-features {
    display: flex;
    gap: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 2.2rem;
}

/* GOOGLE REVIEW BADGE */
.google-review-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.75rem;
    color: #555;
    font-weight: 500;
}

.google-review-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-align: center;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #5a5a5a;
    margin-bottom: 25px;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sage), var(--terracotta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    font-size: 0.9rem;
    color: #999;
}

/* ========== LOCATION BANNER ========== */
.location-banner {
    background: linear-gradient(135deg, var(--sage), var(--deep-green));
    padding: 80px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-wrap: wrap;
    gap: 50px;
}

.location-content {
    display: flex;
    align-items: center;
    gap: 35px;
}

.location-content i {
    font-size: 3.5rem;
}

.location-text h3 {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.location-features {
    display: flex;
    gap: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 2.2rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 100px 6% 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 70px;
    margin-bottom: 70px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 30px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 35px;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-links a:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s, height 0.4s, top 0.4s, left 0.4s;
}

.social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.social-links a:hover:before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.social-links a.facebook:hover {
    background: #3b5998;
}

.social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links a.whatsapp:hover {
    background: #25D366;
}

.social-links a.youtube:hover {
    background: #FF0000;
}

.footer-col h3 {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.contact-info {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.contact-info i {
    color: var(--sage);
    margin-right: 12px;
}

.footer-hover-link {
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s;
}

.footer-hover-link:hover {
    color: white !important;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--sage);
    text-decoration: none;
    font-weight: 600;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1700px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 350px) {
    .logo img {
        display: none;
    }

    .logo::after {
        content: 'Varnya';
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--charcoal);
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 160px;
    }

    .hero p {
        margin: 0 auto 45px;
    }

    .experience-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-image-wrapper {
        width: 100%;
        height: 500px;
    }

    .floating-card {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .experience-badge {
        position: static;
        margin-top: 30px;
    }

    .location-banner {
        flex-direction: column;
        text-align: center;
    }

    .location-content {
        flex-direction: column;
    }

    .location-features {
        flex-direction: column;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Center align footer on mobile */
    .footer-brand,
    .footer-col {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        padding: 0;
    }
}

/* ==================== SERVICE CATEGORY PAGES ==================== */

/* Page Hero */
.page-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sage) 0%, var(--charcoal) 100%);
    color: white;
    text-align: center;
    padding: 150px 20px 100px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.page-hero.has-image::before {
    opacity: 0.3;
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
}

.page-hero .hero-content {
    max-width: 800px;
}

.page-hero h1 {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Grid */
.services-grid {
    padding: 80px 0;
}

.services-grid .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s;
    cursor: pointer;
}

.service-icon {
    display: none;
}

.service-image {
    width: 250px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Always show content on desktop - no hover reveal needed with images */
@media (min-width: 769px) {
    .service-item .service-content>p {
        opacity: 1;
        margin-bottom: 20px;
    }

    .service-item .service-benefits {
        opacity: 1;
        margin-bottom: 25px;
    }

    /* Expanded state for items navigated via anchor links - same as default now */
    .service-item.expanded .service-content>p {
        opacity: 1;
        margin-bottom: 20px;
    }

    .service-item.expanded .service-benefits {
        opacity: 1;
        margin-bottom: 25px;
    }
}

/* Hide Book Consultation buttons on individual items */
.service-item .btn-secondary {
    display: none;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--sage), var(--charcoal));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.service-content h3 {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.service-content>p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #555;
}

.service-benefits i {
    color: var(--sage);
    font-size: 0.9rem;
}

/* Featured Treatment Section */
.featured-treatment {
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
    padding: 80px 0;
}

.featured-badge {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.featured-badge i {
    margin-right: 8px;
}

.featured-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-subtitle {
    font-size: 1.3rem;
    color: var(--sage);
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-text h2 {
    font-family: 'Cormorant', serif;
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.featured-text>p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.featured-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #555;
}

.benefit-item i {
    color: var(--sage);
    font-size: 1.2rem;
}

.featured-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--sage) 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-family: 'Cormorant', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Responsive for Service Pages */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 200px 1fr;
        gap: 20px;
        padding: 30px;
    }

    .service-image {
        width: 200px;
        height: 160px;
    }

    .service-benefits {
        grid-template-columns: 1fr;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        padding: 120px 20px 80px;
    }

    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px;
    }

    .service-image {
        width: 100%;
        height: 180px;
        margin: 0 auto 20px;
    }

    .service-content h3 {
        font-size: 1.6rem;
    }

    .service-benefits {
        text-align: left;
    }

    .featured-benefits {
        grid-template-columns: 1fr;
    }
}

/* ========== PREMIUM SERVICES CARD REDESIGN (MOBILE) ========== */
@media (max-width: 768px) {
    .treatment-card {
        background: black;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        height: 500px;
        color: white;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        text-decoration: none;
        display: block;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        flex: 0 0 100%;
    }

    .treatment-card .treatment-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .treatment-card .treatment-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
        filter: brightness(0.85);
    }

    /* Content Overlay */
    .treatment-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 40px 30px;
        z-index: 3;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%);
        transform: translateY(20px);
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        text-align: left;
        align-items: flex-start;
        flex-grow: 0;
    }

    .treatment-card h3 {
        font-family: 'Cormorant', serif;
        font-size: 2.2rem;
        margin-bottom: 12px;
        color: white;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .treatment-card p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
        font-weight: 300;
        opacity: 0.9;
        max-width: 90%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .learn-more {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: white;
        font-weight: 500;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease 0.1s;
        margin-top: 0;
    }

    /* Hover State */
    .treatment-card:hover .treatment-image img {
        transform: scale(1.08);
        filter: brightness(0.7);
    }

    .treatment-card:hover .treatment-content {
        transform: translateY(0);
    }

    .treatment-card:hover .learn-more {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Override for light hero pages (White background hero) */
body.light-hero .navbar:not(.scrolled) .nav-links>a,
body.light-hero .navbar:not(.scrolled) .nav-links>.nav-dropdown,
body.light-hero .navbar:not(.scrolled) .logo {
    color: var(--charcoal);
    text-shadow: none;
}

body.light-hero .navbar:not(.scrolled) .logo img {
    filter: none;
}

body.light-hero .navbar:not(.scrolled) .hamburger span {
    background: var(--charcoal);
}

body.light-hero .navbar:not(.scrolled) .hamburger {
    border-color: rgba(26, 26, 26, 0.3);
}