:root {
    /* Primary Colors */
    --primary: #2B2C9C;
    --primary-dark: #1e1f70;
    --accent: #F78E1E;
    --accent-dark: #e67100;

    /* Semantic Mapping (Maintaining compatibility with existing classes) */
    --primary-blue: var(--primary);
    --primary-dark-blue: var(--primary-dark);
    --accent-orange: var(--accent);
    --accent-dark-orange: var(--accent-dark);

    --primary-red: var(--primary);
    --primary-gold: var(--accent);
    --deep-pink: var(--primary);
    --primary-pink: var(--accent);
    --gold: var(--accent);

    /* Supporting Colors */
    --light-bg: #F8F9FA;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --dark-clinic: #1a1a1a;

    /* Theme Typography */
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Gradients */
    --primary-gradient: linear-gradient(45deg, var(--primary), var(--primary-dark));
    --accent-gradient: linear-gradient(45deg, var(--accent), var(--accent-dark));
    --theme-gradient: linear-gradient(135deg, var(--primary), var(--accent));

    /* Functional */
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease-in-out;
    --container-width: 1140px;
}


/* XXL Desktop Optimization */
@media (min-width: 1536px) {
    :root {
        --container-width: 1400px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-pink);
}

/* 
a:hover {
    color: var(--deep-pink);
} */

ul {
    list-style: none;
}

.section-padding {
    padding: 100px 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    color: var(--deep-pink);
    letter-spacing: 0.5px;
}

.font-title {
    font-family: var(--font-title);
}

.font-body {
    font-family: var(--font-body);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed,
.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(177, 42, 42, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    display: none;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        background-image: url('../images/pattern.png');
        background-size: 300px;
        background-repeat: repeat;
        background-blend-mode: overlay;
        flex-direction: column;
        padding: 100px 40px 60px;
        gap: 0;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        z-index: 1000;
        overflow-y: auto;
        text-align: left;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links>li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(177, 42, 42, 0.05);
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
}

.nav-links>li {
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95em;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--deep-pink);
}

.nav-btn {
    background: var(--primary-red);
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(177, 42, 42, 0.2);
    transition: 0.3s;
}

.nav-btn:hover {
    background: #8E1F1F;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(177, 42, 42, 0.3);
}

/* Mega Menu Treatment Dropdown */
.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 1100px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.menu-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.menu-featured {
    background: var(--light-pink);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(177, 42, 42, 0.1);
}

.menu-featured img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.menu-featured h5 {
    color: var(--primary-red);
    font-family: var(--font-title);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.menu-featured p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-menu-cta {
    background: var(--primary-red);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-align: center;
    transition: 0.3s;
}

.btn-menu-cta:hover {
    background: var(--primary-gold);
    transform: translateY(-2px) !important;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: white;
    border-left: 1px solid rgba(177, 42, 42, 0.1);
    border-top: 1px solid rgba(177, 42, 42, 0.1);
}

.menu-category h4 {
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-pink);
    display: block;
}

.menu-category ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-category ul li {
    padding: 0 !important;
}

.menu-category ul li a {
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    transition: 0.3s;
    white-space: nowrap;
}

.menu-category ul li a:hover {
    color: var(--primary-gold) !important;
    transform: translateX(5px);
}

@media (max-width: 1100px) {
    .mega-menu {
        width: 95vw;
        padding: 30px;
    }

    .menu-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        left: 0 !important;
        display: block !important;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        box-shadow: none;
        border: none;
        padding: 0;
        background: transparent;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-in-out !important;
    }

    .has-dropdown.active .mega-menu {
        max-height: 2000px;
        opacity: 1;
        padding: 10px 0;
    }

    .has-dropdown>a i {
        transition: transform 0.3s ease !important;
    }

    .has-dropdown.active>a i {
        transform: rotate(180deg);
    }

    .menu-categories-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .menu-category {
        border: none !important;
        padding: 15px !important;
        background: rgba(177, 42, 42, 0.03);
        border-radius: 20px;
        margin-bottom: 5px;
        border: 1px solid rgba(177, 42, 42, 0.05) !important;
    }

    .menu-category h4 {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
        border-bottom: 1px solid rgba(177, 42, 42, 0.08) !important;
        padding-bottom: 8px !important;
    }

    .menu-category ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .menu-category ul li a {
        background: #fff;
        border-radius: 12px;
        margin-bottom: 0;
        padding: 10px 12px !important;
        font-size: 0.75rem !important;
        display: flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(0, 0, 0, 0.03);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        color: #555 !important;
        line-height: 1.2;
    }

    .menu-category ul li a::before {
        content: '\f058';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: var(--primary-gold);
        font-size: 8px;
    }

    .nav-links li.has-dropdown>a i {
        display: inline-block;
    }

    .mega-menu::before {
        display: none !important;
    }

    .menu-category {
        padding-left: 20px;
        /* Nesting feel */
        border-left: 2px solid var(--light-pink);
        margin-top: 15px;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 2270 / 900;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-slider {
        aspect-ratio: 375 / 550;
        /* Mobile Portrait Friendly */
        min-height: 500px;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(253, 242, 247, 0.9) 0%, rgba(253, 242, 247, 0.4) 50%, transparent 100%);
}

.slide-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.slide-content .content-inner {
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.slide.active .slide-content .content-inner {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-red);
    font-family: var(--font-body);
    letter-spacing: -0.02em;
}

.slide-content p {
    font-size: clamp(0.9rem, 4vw, 1.15rem);
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 35px;
    max-width: 550px;
}

@media (max-width: 768px) {
    .slide-content {
        padding: 0 25px;
        text-align: center;
    }

    .slide-content .content-inner {
        max-width: 100%;
        margin: 0 auto;
    }

    .slide::after {
        background: linear-gradient(0deg, rgba(253, 242, 247, 0.9) 0%, rgba(253, 242, 247, 0.6) 100%);
    }
}

.btn-hero {
    background: var(--primary-red);
    color: white !important;
    padding: 16px 40px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(177, 42, 42, 0.25);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hero:hover {
    background: var(--primary-gold);
    color: white !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(198, 161, 95, 0.35);
}

/* Titles */
.section-title-container {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 8px auto 0;
}

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0;
    font-size: clamp(0.85rem, 3.5vw, 1rem);
}

/* About Us */
/* Custom Utilities for Bloomeditor */
.pointer {
    cursor: pointer !important;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    border: 1px solid #f3f4f6;
    padding: 16px;
    text-align: left;
    transition: all 0.3s;
}

.table th {
    background-color: #fef2f2;
    color: #b12a2a;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.table tbody tr:hover td {
    background-color: #fafafa;
    color: #b12a2a;
}

.table td {
    color: #4b5563;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 70px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 25px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1.2;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin: 0;
}

.stat-item p {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-banner-img {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/service_facial_1775215074562.png');
}

/* Specialized Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 25px;
}

.service-card-new {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
    display: block;
}

.service-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.service-card-new:hover img {
    transform: scale(1.1);
}

.service-title-box {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: #fff;
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.5s;
}

.service-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(43, 44, 156, 0.95), rgba(43, 44, 156, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    z-index: 3;
}

.service-card-new:hover .service-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.service-card-new:hover .service-title-box {
    opacity: 0;
    transform: translate(-50%, 20px);
}

.btn-service-view {
    padding: 10px 25px;
    border: 2px solid white;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-service-view i {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.btn-service-view:hover {
    background: white;
    color: var(--deep-pink);
}

.btn-service-view:hover i {
    transform: translateX(5px);
}

.btn-clinical {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-clinical i {
    transition: transform 0.3s ease;
}

.btn-clinical:hover i {
    transform: translateX(8px);
}

/* Why Choose Us */
.why-section {
    background: var(--light-bg);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 0 25px;
}

.why-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #f1f1f1;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(43, 44, 156, 0.15);
    border-color: var(--primary-red);
}

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.why-icon i {
    background: linear-gradient(45deg, var(--primary-pink), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- TESTIMONIAL SLIDER MASTER FIX --- */
.testimonial-container {
    max-width: var(--container-width);
    margin: 100px auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 25px;
}

.content-side {
    flex: 1;
    position: relative;
}

.testimonial-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s;
    transform: translateY(15px);
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

.content-side h2 {
    font-size: 3rem;
    color: var(--deep-pink);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.05rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.rating {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.reviewer-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px dashed var(--rose-pink);
    padding: 4px;
}

.reviewer-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.reviewer-details span {
    color: var(--primary-pink);
    font-size: 0.9rem;
    font-weight: 600;
}

.quote-container {
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

.quote-container::before {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    font-size: 10rem;
    color: var(--light-pink);
    top: -60px;
    left: 0;
    z-index: -1;
    opacity: 0.6;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.navigation-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 100;
}

.nav-btn {
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn i {
    font-size: 1.2rem;
    display: block;
    text-align: center;
}

.nav-btn.prev {
    background: var(--light-bg);
    color: var(--deep-pink);
}

.nav-btn.next {
    background: var(--deep-pink);
    color: white;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(163, 72, 113, 0.2);
    color: white;
}

.image-side {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
}

.grid-img:hover {
    transform: scale(1.03);
}

.img-1 {
    border-radius: 50% 50% 0 50%;
}

.img-2 {
    border-radius: 50% 50% 50% 0;
}

.img-3 {
    border-radius: 50% 0 50% 50%;
}

.img-4 {
    border-radius: 0 50% 50% 50%;
}

@media (max-width: 991px) {
    .testimonial-container {
        flex-direction: column;
        text-align: center;
    }

    .reviewer-info,
    .navigation-btns {
        justify-content: center;
    }
}

/* FAQ */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 25px;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(177, 42, 42, 0.1);
}

.faq-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon-toggle {
    color: var(--primary-pink);
    transition: 0.3s;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
    border-top: 0px solid transparent;
}

.faq-item.open .faq-body {
    max-height: 400px;
    border-top: 1px solid var(--light-pink);
}

.faq-item.open .faq-icon-toggle {
    transform: rotate(180deg);
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 50px 5%;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        margin: 0 auto 15px;
    }

    .hero-image-container {
        justify-content: center;
        margin-top: 40px;
    }

    footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    footer {
        grid-template-columns: 1fr;
        text-align: left;
    }

  

    .footer-col ul li {
        justify-content: left;
    }
}

/* NEW: Why Choose Us (Our Benefits) 3-Col Redesign */
.our-benefit-section {
    background-color: var(--deep-pink);
    position: relative;
    border-radius: 40px;
    margin: 80px 25px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="130" height="auto"><path fill="white" fill-opacity="0.08" d="M70,30 L100,5 L130,30 L130,70 L100,95 L70,70 Z" /><path fill="white" fill-opacity="0.06" d="M140,100 L160,85 L180,100 L180,130 L160,145 L140,130 Z" /></svg>');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 140px;
    overflow: hidden;
}

.benefit-inner-padding {
    padding: 80px 0;
}

.split-line-heading {
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}

.benefits-grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    justify-content: center;
    align-items: center;
}

.benefits-col {
    flex: 1;
    min-width: 290px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-pink);
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gold);
    color: var(--white);
}

.benefit-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.benefit-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.center-benefit-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    border: 8px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .benefits-grid-row {
        flex-direction: column;
    }

    .benefit-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .our-benefit-section {
        margin: 40px 15px;
        border-radius: 25px;
    }

    .split-line-heading {
        font-size: 2.2rem !important;
    }
}

/* --- BEFORE & AFTER TRANSFORMATION SECTION --- */
.results-section {
    background-color: var(--light-pink);
    position: relative;
    overflow: hidden;
}

.comparison-card {
    background: white;
    padding: 15px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(43, 44, 156, 0.1);
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(43, 44, 156, 0.15);
}

.twentytwenty-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 30px;
    aspect-ratio: 4/3;
    background: #eef2f0;
    cursor: ew-resize;
}

.twentytwenty-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

.twentytwenty-before {
    z-index: 2;
}

.twentytwenty-after {
    z-index: 1;
}

.twentytwenty-handle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: white;
    border: 3px solid var(--deep-pink);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.twentytwenty-handle:hover {
    background-color: var(--deep-pink);
}

.twentytwenty-handle span {
    width: 0;
    height: 0;
    border-style: solid;
}

.twentytwenty-left-arrow {
    border-width: 6px 8px 6px 0;
    border-color: transparent var(--deep-pink) transparent transparent;
    margin-right: 4px;
}

.twentytwenty-right-arrow {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent var(--deep-pink);
    margin-left: 4px;
}

.twentytwenty-handle:hover .twentytwenty-left-arrow {
    border-right-color: white;
}

.twentytwenty-handle:hover .twentytwenty-right-arrow {
    border-left-color: white;
}

.twentytwenty-label {
    position: absolute;
    bottom: 20px;
    background: rgb(43 44 156);
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

.view-all-results {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--deep-pink);
    padding: 15px 40px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 50px;
    transition: 0.3s;
}



@media (max-width: 768px) {
    .twentytwenty-handle {
        width: 36px;
        height: 36px;
    }

    .twentytwenty-label {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
}

/* --- Expert Section Layout --- */
.expert-layout-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-end;
}

.image-column-expert {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    min-height: 550px;
}

.bg-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 0;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 162, 76, 0.4);
    transform: translate(-50%, -50%);
    animation: spin-expert 30s linear infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.circle-2 {
    width: 420px;
    height: 420px;
    animation-duration: 35s;
}

.circle-3 {
    width: 550px;
    height: 550px;
    border: 1px dashed rgba(212, 162, 76, 0.2);
}

.circle::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    top: 10%;
    left: 20%;
}

@keyframes spin-expert {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.doctor-img-expert {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    display: block;
}

.expert-badge {
    position: absolute;
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.exp-badge-pos {
    left: -20px;
    top: 40%;
}

.exp-badge-pos .num {
    color: var(--primary-gold);
    font-size: 2.8rem;
    font-weight: 800;
}

.award-badge-pos {
    right: -20px;
    bottom: 15%;
}

.award-badge-pos i {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.content-column-expert {
    flex: 1.2;
}

.tag-expert {
    display: inline-block;
    background-color: #fce8db;
    color: var(--primary-red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.skills-divider-expert {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 1.5rem 0;
}

.skills-grid-expert {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
    margin-bottom: 1.5rem;
}

.skill-item-expert {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-item-expert::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-gold);
    font-size: 0.8rem;
}

.btn-appointment-expert {
    background-color: var(--primary-red);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.btn-appointment-expert:hover {
    background-color: var(--primary-gold);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .expert-layout-container {
        flex-direction: column;
        gap: 60px;
    }

    .image-column-expert {
        min-height: 500px;
    }

    .circle-3 {
        width: 450px;
        height: 450px;
    }
}

/* --- BLOG PAGE STYLES --- */
.blog-hero {
    height: 450px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/service_facial_1775215074562.png");
    background-size: cover;
    background-position: center;
    border-bottom: 8px solid var(--deep-pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-title);
    margin: 0;
}

.blog-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 10px auto 0;
}

.blog-container {
    padding-top: 100px;
}

.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    background: white;
    padding: 40px;
    border-radius: 50px;
    box-shadow: 0 40px 80px rgba(163, 72, 113, 0.08);
    margin-bottom: 100px;
    align-items: center;
    transition: 0.4s;
    overflow: hidden;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 50px 100px rgba(163, 72, 113, 0.12);
}

.featured-img {
    height: 480px;
    border-radius: 40px;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-meta-tag {
    display: inline-block;
    background: var(--light-pink);
    color: var(--primary-red);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 28px;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 15px;
    font-family: var(--font-title);
}

.featured-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--light-pink);
    object-fit: cover;
}

.author-details h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.author-details span {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-weight: 600;
}

.blog-grid-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.blog-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(163, 72, 113, 0.1);
}

.blog-card-img {
    height: 260px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 25px;
}

.blog-card-body .date {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.blog-card-body h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--font-title);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-card .author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-card .author-box img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-card .author-info h4 {
    font-size: 0.9rem;
    margin: 0;
}

.blog-card .author-info span {
    font-size: 0.75rem;
    color: var(--primary-red);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 100px;
}

.page-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--deep-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-pink);
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
}

.page-num:hover,
.page-num.active {
    background: var(--deep-pink);
    color: white;
    transform: scale(1.1);
}

/* Blog Responsiveness */
@media (max-width: 992px) {
    .featured-post {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }

    .featured-img {
        height: 350px;
    }

    .blog-grid-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 320px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .featured-post {
        padding: 20px;
        border-radius: 25px;
    }

    .featured-img {
        height: 240px;
        border-radius: 20px;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }

    .blog-grid-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-img {
        height: 220px;
    }
}

/* Dynamic Content Styling (For Editor Output) */
.tw-prose {
    color: var(--text-dark) !important;
}

.tw-prose ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.tw-prose ul li {
    position: relative;
    padding-left: 30px !important;
    margin-bottom: 12px !important;
}

.tw-prose ul li::before {
    content: "\f0a4" !important;
    /* check icon */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--primary-gold) !important;
    font-size: 14px !important;
}

.tw-prose ol {
    padding-left: 20px !important;
}

.tw-prose ol li::marker {
    color: var(--primary-red) !important;
    font-weight: bold !important;
}

.tw-prose table {
    width: 100% !important;
    margin: 30px 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.tw-prose table thead {
    background: var(--light-bg) !important;
    color: var(--primary-red) !important;
}

.tw-prose table th {
    padding: 15px 20px !important;
    text-align: left !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: bold !important;
}

.tw-prose table td {
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}


.tw-prose h1,
.tw-prose h2,
.tw-prose h3 {
    color: var(--primary-red) !important;
    font-family: 'Playfair Display', serif !important;
    margin-top: 1.5em !important;
    margin-bottom: 1em !important;
    font-weight: bold !important;
}

.tw-prose a {
    color: var(--primary-red) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--primary-gold) !important;
    transition: 0.3s !important;
}

.tw-prose a:hover {
    color: var(--primary-gold) !important;
}




/* --- Bloom Editor Content Styles --- */

/* Headings Styling */
.bloom-content h1,
.prose h1 {
    font-size: 1.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
    color: var(--primary) !important;
    letter-spacing: -0.02em !important;
}

.bloom-content h2,
.prose h2 {
    font-size: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
    color: var(--primary) !important;
    letter-spacing: -0.01em !important;
}

.bloom-content h3,
.prose h3 {
    font-size: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
    color: var(--primary) !important;
}

.bloom-content h4,
.prose h4 {
    font-size: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
    color: var(--primary) !important;
}

/* Link Styling within Editor Content */
.bloom-content a,
.prose a {
    color: var(--accent) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px dashed rgba(247, 142, 30, 0.4) !important;
}

.bloom-content a:hover,
.prose a:hover {
    color: var(--primary) !important;
    border-bottom-color: var(--primary) !important;
    background-color: rgba(247, 142, 30, 0.05) !important;
    border-radius: 2px !important;
}

/* Table Styling */
.bloom-content table,
.prose table {
    width: 100% !important;
    margin: 2.5rem 0 !important;
    border-collapse: collapse !important;
    border-radius: 1rem !important;
    border: 1px solid #718096 !important;
    background: #ffffff !important;
    font-family: inherit;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1) !important;
}

/* Custom Scrollbar for Tables - More prominent on mobile */
.bloom-content table::-webkit-scrollbar {
    height: 8px !important;
    background-color: #f5f5f5;
}

.bloom-content table::-webkit-scrollbar-thumb {
    background: var(--accent) !important; /* Brighter accent color */
    border-radius: 10px;
    border: 2px solid #f5f5f5;
}

.bloom-content table::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark) !important;
}

@media (min-width: 1024px) {
    .bloom-content table,
    .prose table {
        display: table;
        overflow: hidden !important;
    }
}

.bloom-content table th,
.prose table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff !important;
    padding: 1.25rem 1.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em;
    text-align: left !important;
    border: 1px solid #718096 !important;
    vertical-align: middle !important;
}

.bloom-content table td,
.prose table td {
    padding: 1.25rem 1.5rem !important;
    border: 1px solid #cbd5e0 !important; /* Slightly lighter inner borders */
    border-bottom: 1px solid #cbd5e0 !important;
    color: #2d3748 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    vertical-align: top !important;
    min-width: 160px;
}

/* Specific styling for the first column (Features/Labels) */
.bloom-content table tr td:first-child,
.bloom-content table tr th:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 10 !important;
    background-color: #f8fafc !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    min-width: 140px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05) !important;
}

/* Ensure header th stays above sticky td */
.bloom-content table tr th:first-child {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #ffffff !important;
    z-index: 11 !important;
}

.bloom-content table tr:nth-child(even) td:first-child {
    background-color: #f1f5f9 !important; /* Slightly different for striped rows */
}

.bloom-content table tr:nth-child(even) {
    background-color: #f7fafc !important;
}

.bloom-content table tr:hover td {
    background-color: #edf2f7 !important;
}

.bloom-content table td:last-child,
.prose table td:last-child {
    border-right: none;
}

.bloom-content table th:not(:last-child),
.prose table th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Unordered List Styling */
.bloom-content ul,
.prose ul {
    list-style: none !important;
    padding-left: 0.5rem !important;
    margin: 1rem 0 !important;
}

.bloom-content ul li,
.prose ul li {
    position: relative;
    padding-left: 2.5rem !important;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.7;
}

.bloom-content ul li::before,
.prose ul li::before {
    content: "\f058";
    /* FontAwesome check-circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.bloom-content ul li:hover::before,
.prose ul li:hover::before {
    transform: scale(1.2);
}

/* Ordered List Styling */
.bloom-content ol,
.prose ol {
    counter-reset: bloom-counter;
    list-style: none !important;
    padding-left: 0.5rem !important;
    margin: 2rem 0 !important;
}

.bloom-content ol li,
.prose ol li {
    counter-increment: bloom-counter;
    position: relative;
    padding-left: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.7;
}

.bloom-content ol li::before,
.prose ol li::before {
    content: counter(bloom-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 2rem;
    height: 2rem;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 8px 16px -4px rgba(43, 44, 156, 0.25);
    transition: all 0.3s ease;
}

.bloom-content ol li:hover::before,
.prose ol li:hover::before {
    transform: translateY(-3px) rotate(-5deg);
    box-shadow: 0 12px 20px -4px rgba(43, 44, 156, 0.35);
}

/* Blockquote Styling */
.bloom-content blockquote,
.prose blockquote {
    border-left: 4px solid var(--accent) !important;
    background: #fff9f4;
    padding: 2rem 2.5rem !important;
    border-radius: 0 1.5rem 1.5rem 0;
    margin: 2.5rem 0 !important;
    font-style: italic;
    color: var(--primary-dark);
    position: relative;
    box-shadow: inset 0 0 40px rgba(247, 142, 30, 0.05);
}

.bloom-content blockquote p,
.prose blockquote p {
    margin: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

.bloom-content blockquote::after,
.prose blockquote::after {
    content: "\f10e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 2rem;
    bottom: 1rem;
    font-size: 3rem;
    color: rgba(247, 142, 30, 0.07);
}



/* Hamburger Animation Styles */
#hamburger.open .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#hamburger.open .bar:nth-child(2) {
    opacity: 0;
}

#hamburger.open .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hamburger .bar {
    transform-origin: center;
    transition: all 0.3s ease-in-out;
}

/* Explicit Mobile Menu Visibility */
#mobile-menu:not(.hidden) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: mobileMenuSlide 0.3s ease-out forwards;
}

@keyframes mobileMenuSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu {
    position: relative;
    z-index: 60 !important;
}
