:root {
    /* ========================================= */
    /* LUMINESSE CLINIC BRAND IDENTITY COLORS   */
    /* STRICT ADHERENCE - NO DEVIATIONS ALLOWED */
    /* ========================================= */

    /* PRIMARY BRAND COLORS */
    --color-primary: #3A3A3A;
    /* Deep Charcoal - Primary Text & Titles */
    --color-secondary: #C6A65A;
    /* Champagne Gold - Accents, Buttons, Links */
    --color-bg-light: #F8F6F3;
    /* Soft Ivory - Header & Site Background */

    /* SUPPORTING BRAND COLORS */
    --color-text-main: #3A3A3A;
    /* Deep Charcoal for all text */
    --color-text-light: #6D6D6D;
    /* Muted gray for secondary text */
    --color-bg-soft: #F8F6F3;
    /* Soft Ivory for alternating sections */
    --color-warm-beige: #E9E1D3;
    /* Secondary palette - Warm Beige */
    --color-muted-blush: #EBD8C4;
    /* Accent palette - Muted Blush */
    --color-white: #FFFFFF;
    /* Keep white for general use */

    /* Typography */
    --font-header: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-arabic: 'Cairo', sans-serif;

    /* Effects - Brand-aligned shadows and overlays */
    --glass-bg: rgba(248, 246, 243, 0.95);
    --glass-border: 1px solid rgba(198, 166, 90, 0.15);
    --shadow-soft: 0 10px 30px rgba(58, 58, 58, 0.06);
    --shadow-hover: 0 20px 40px rgba(198, 166, 90, 0.25);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background: var(--color-bg-light);
    /* Pure Soft Ivory #F8F6F3 */
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 60px;
    /* Space for mobile sticky bar */
}

/* ... lines 66-213 omitted ... */

/* Logo Image - Must have transparent background */
.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    /* Remove any black background */
    mix-blend-mode: normal;
    /* Ensure proper rendering on Soft Ivory */
}

.logo-symbol {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
    padding: 5px 8px;
    border-radius: 50%;
    /* Temporary logo placeholder style */
}

.logo-text h1 {
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    /* Champagne Gold Underline */
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
    /* Champagne Gold Text */
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 20px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--color-text-main);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-secondary);
    padding-left: 30px;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

#search-trigger {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-primary);
}

.lang-switch {
    display: flex;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.3s;
}

.lang-btn.active {
    color: var(--color-secondary);
}

/* Search Overlay */
#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#search-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.search-container {
    width: 80%;
    max-width: 800px;
    text-align: center;
}

#search-input {
    width: 100%;
    padding: 20px;
    font-size: 2rem;
    border: none;
    border-bottom: 2px solid var(--color-primary);
    background: transparent;
    font-family: var(--font-header);
    color: var(--color-primary);
    outline: none;
}

#close-search {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Zigzag pattern removed */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s forwards;
}

.line-2 {
    color: var(--color-secondary);
    font-weight: 700;
    animation-delay: 0.2s !important;
}

.line-3 {
    animation-delay: 0.4s !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 90%;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeSlideUp 0.8s forwards 0.6s;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--color-primary);
    opacity: 0;
    animation: fadeIn 1s forwards 0.8s;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 400px;
    height: 500px;
    background: #ccc;
    border-radius: 200px 200px 0 0;
    /* Symmetric Arch */
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    z-index: 1;
}

.image-frame.with-fade::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--color-bg-light), transparent);
    z-index: 2;
    pointer-events: none;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: 50px;
    left: 0;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 50px;
    right: -20px;
    animation-delay: 3s;
}

/* Concept Section */
#concept {
    padding: 100px 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(240, 235, 230, 0.4) 50%,
            rgba(255, 255, 255, 0.5) 100%);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    margin: 0 auto;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.concept-card {
    background: var(--color-white);
    height: 400px;
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.concept-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
    pointer-events: none;
}

.concept-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: var(--shadow-hover);
}

.concept-card:hover::after {
    background: linear-gradient(to top, rgba(72, 50, 62, 0.9), rgba(72, 50, 62, 0.5), transparent);
}

.card-label {
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: var(--font-header);
    font-size: 3rem;
    opacity: 0.2;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.concept-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.concept-card p {
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    font-size: 1.05rem;
}

/* Services */
#services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Comparison Slider */
#results {
    padding: 100px 0;
    text-align: center;
}

.comparison-slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
}

.img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.img-container.modified {
    width: 50%;
    /* JS will control this */
    background-color: #eee;
    z-index: 2;
    border-right: 2px solid white;
}

/* Services with Images */
.service-item.has-image {
    background-size: cover;
    background-position: center;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item.has-image .service-content-wrapper {
    position: relative;
    z-index: 2;
}

.service-item.has-image .service-icon {
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(72, 50, 62, 0.9), rgba(72, 50, 62, 0.3));
    z-index: 1;
    transition: all 0.3s;
}

.service-item.has-image:hover .service-overlay {
    background: linear-gradient(to top, rgba(225, 49, 30, 0.9), rgba(225, 49, 30, 0.3));
}

/* Results Gallery */
.results-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.result-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    height: 300px;
    cursor: pointer;
}

.result-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.result-card:hover img {
    transform: scale(1.05);
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.result-card:hover .result-overlay {
    opacity: 1;
    transform: translateY(0);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: col-resize;
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.label-badge {
    position: absolute;
    top: 20px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 5px;
    font-size: 0.8rem;
}

.modified .label-badge {
    right: 20px;
}

.original .label-badge {
    left: 20px;
}

/* Mobile Sticky Footer */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;
    display: none;
    /* Flex on mobile */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.sticky-btn.whatsapp {
    background: var(--color-secondary);
    /* Brand Gold */
    color: white;
}

.sticky-btn.call {
    background: var(--color-primary);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .cards-wrapper {
        grid-template-columns: 1fr;
    }

    .image-frame {
        margin: 0 auto;
    }
}

/* =========================================================
   MOBILE-FIRST PROFESSIONAL CSS (< 640px)
   STRICT RULES FOR HIGH-END APP EXPERIENCE
   ========================================================= */

@media (max-width: 640px) {

    /* ============================================
       RULE 1: PERFECT ALIGNMENT (Container Rule)
       ============================================ */

    /* Apply consistent padding to ALL sections */
    .container,
    #hero .container,
    #philosophy .container,
    #quick-access .container,
    #cabinet .container,
    #contact .container,
    section .container {
        padding-left: 1.5rem !important;
        /* px-6 = 24px */
        padding-right: 1.5rem !important;
        /* px-6 = 24px */
        width: 100%;
        max-width: 100%;
    }

    /* Ensure all text and buttons align to the invisible grid */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    button,
    .cta-btn {
        margin-left: 0;
        margin-right: 0;
    }

    /* ============================================
       RULE 2: TYPOGRAPHY SCALING
       ============================================ */

    /* H1 - Maximum text-4xl on mobile */
    h1,
    .hero-title {
        font-size: 2.25rem !important;
        /* text-4xl = 36px */
        line-height: 1.2 !important;
        text-align: center;
    }

    /* H2 - Scale down properly */
    h2,
    .section-header h2 {
        font-size: 1.875rem !important;
        /* text-3xl = 30px */
        line-height: 1.3 !important;
        text-align: center;
    }

    /* H3 - Balanced for mobile */
    h3 {
        font-size: 1.5rem !important;
        /* text-2xl = 24px */
        line-height: 1.4 !important;
    }

    /* Paragraph text - readable base size */
    p,
    .hero-subtitle,
    body {
        font-size: 1rem !important;
        /* text-base = 16px */
        line-height: 1.6 !important;
    }

    /* Center-align Hero and Concept sections */
    #hero .hero-text,
    #philosophy,
    #concept {
        text-align: center !important;
    }

    #hero .hero-title,
    #hero .hero-subtitle,
    #philosophy h2,
    #philosophy p,
    #concept h2 {
        text-align: center !important;
    }

    /* ============================================
       RULE 3: THE STACKING LOGIC
       ============================================ */

    /* Force ALL side-by-side elements to stack vertically */
    .hero-split,
    .cards-wrapper,
    .quick-cards-grid,
    .cabinet-gallery,
    .footer-content,
    .contact-wrapper,
    .treatments-grid,
    .men-treatments-grid,
    .needs-grid,
    .services-grid,
    .men-benefits,
    .image-service-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        /* gap-6 = 24px */
    }

    /* Ensure all cards take full width when stacked */
    .quick-card,
    .concept-card,
    .gallery-item,
    .service-item,
    .treatment-card,
    .need-card,
    .men-treatment-card,
    .image-service-card {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Images: Full width and proper aspect ratio */
    img,
    .image-frame img,
    .gallery-item img,
    .service-item img,
    .image-service-img {
        width: 100% !important;
        height: auto;
        object-fit: cover !important;
    }

    /* Image containers */
    .image-frame {
        width: 100% !important;
        max-width: 320px;
        height: 400px;
        margin: 2rem auto 0;
    }

    /* ============================================
       RULE 4: PROFESSIONAL MOBILE MENU
       ============================================ */

    /* Hide desktop navigation */
    .nav-links {
        display: none !important;
    }

    .nav-links.active {
        /* Full-Screen Overlay */
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #F8F6F3 !important;
        /* Soft Ivory */
        z-index: 9999 !important;
        /* NEVER hidden */
        padding-top: 80px !important;
        overflow-y: auto !important;

        /* Center the links */
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 2rem !important;
    }

    /* Main menu list items - perfect width */
    .nav-links.active>li {
        width: 80% !important;
        list-style: none !important;
    }

    /* Large, tappable links */
    .nav-links.active a {
        font-size: 1.25rem !important;
        /* text-xl */
        padding: 1rem 2rem !important;
        width: 100% !important;
        /* Full width of parent li */
        text-align: center !important;
        color: var(--color-primary) !important;
        display: block !important;
    }

    /* Dropdown menus in mobile overlay */
    .nav-links.active .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        margin-top: 0.5rem !important;
        padding: 0 !important;
        width: 100% !important;
        /* Full width container */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        /* Center the items */
    }

    .nav-links.active .dropdown-menu li {
        width: 80% !important;
        /* Same as main links */
        list-style: none !important;
    }

    .nav-links.active .dropdown-menu a {
        font-size: 1.125rem !important;
        /* text-lg */
        color: var(--color-text-light) !important;
        padding: 0.75rem 1rem !important;
        width: 100% !important;
        /* Full width of li */
        text-align: center !important;
        /* PERFECT CENTER */
        display: block !important;
    }

    /* Mobile menu button */
    #mobile-menu-btn {
        display: block !important;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: var(--color-primary);
        cursor: pointer;
        z-index: 10000;
    }

    /* ============================================
       ADDITIONAL MOBILE ADJUSTMENTS
       ============================================ */

    /* Header */
    #main-header {
        height: 70px;
        padding: 0.5rem 0;
    }

    .header-content {
        padding: 0 1.5rem !important;
        /* Match container padding */
    }

    .logo-img {
        height: 50px;
    }

    /* Hide desktop-only elements */
    #search-trigger,
    .header-actions .cta-btn {
        display: none !important;
    }

    /* Keep language toggle visible but styled */
    .lang-switch {
        display: flex !important;
        gap: 0.5rem;
        font-size: 0.875rem;
    }

    /* Hero Section */
    #hero {
        padding-top: 100px;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    .hero-actions .cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 1rem 2rem !important;
    }

    /* Sections spacing */
    section {
        padding: 3rem 0 !important;
    }

    #concept,
    #philosophy,
    #quick-access,
    #cabinet {
        padding: 3rem 0 !important;
    }

    /* Concept Cards - Better mobile height */
    .concept-card {
        height: 350px;
        padding: 2rem 1.5rem;
    }

    .concept-card h3 {
        font-size: 1.5rem !important;
    }

    .concept-card p {
        font-size: 1rem !important;
    }

    /* Quick Access Cards */
    .quick-card {
        padding: 2rem 1.5rem;
    }

    .quick-card-icon {
        font-size: 3rem;
    }

    .quick-card h3 {
        font-size: 1.375rem !important;
        /* text-xl+ */
    }

    /* Gallery items */
    .gallery-item {
        height: 280px;
    }

    /* Footer */
    footer {
        padding: 3rem 0 5rem 0;
        /* Extra bottom for sticky bar */
    }

    .footer-content {
        text-align: center;
    }

    /* Mobile sticky bar */
    .mobile-sticky-bar {
        display: flex !important;
    }

    /* Floating WhatsApp - reposition for mobile */
    .whatsapp-float {
        bottom: 80px;
        /* Above sticky bar */
        right: 20px;
        width: 56px;
        height: 56px;
    }

    /* Prevent horizontal scroll */
    body,
    html {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    /* All images responsive */
    * {
        max-width: 100%;
    }

    /* Hide floating badges - they clutter mobile */
    .floating-badge {
        display: none !important;
    }

    /* Form elements full width */
    .booking-form-container,
    .form-group input,
    .form-group select,
    .submit-btn {
        width: 100% !important;
    }

    .booking-form-container {
        padding: 1.5rem !important;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Mobile Menu Styles */
.mobile-only {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background: var(--color-bg-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        height: auto;
        padding: 20px 0;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    /* Keep existing mobile styles */
    .mobile-sticky-bar {
        display: flex;
    }

    #hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Logo Image */
.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    /* filter: brightness(1.05) contrast(1.1); Removed to keep original colors */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Booking Form */
.booking-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.booking-form-container h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text-main);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #f9f9f9;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(72, 50, 62, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    pointer-events: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #c12110;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 49, 30, 0.3);
}

/* Adjust contact wrapper for form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Quick Access Cards */
.quick-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.quick-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transition: height 0.4s ease;
    z-index: 0;
}

.quick-card:hover::before {
    height: 100%;
}

.quick-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
}

.quick-card-icon {
    font-size: 3.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.quick-card:hover .quick-card-icon {
    color: white;
    transform: scale(1.1);
}

.quick-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.quick-card:hover h3 {
    color: white;
}

.quick-card p {
    color: var(--color-text-light);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.quick-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.card-arrow {
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--color-secondary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.quick-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: white;
}

/* Cabinet Gallery */
.cabinet-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 350px;
    transition: transform 0.4s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 15px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-header);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: white;
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Needs Cards (Besoins Page) */
.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.need-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-secondary);
}

.need-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.need-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.need-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.need-card>p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.need-solutions {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.need-solutions strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.need-solutions ul {
    list-style: none;
    padding-left: 0;
}

.need-solutions li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.need-solutions li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

.need-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.need-link:hover {
    gap: 12px;
    color: var(--color-primary);
}

.need-link i {
    transition: transform 0.3s;
}

.need-link:hover i {
    transform: translateX(5px);
}

/* Treatment Cards (Traitements Page) */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.treatment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.treatment-card.featured {
    border: 2px solid var(--color-secondary);
}

.treatment-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 30px;
    text-align: center;
}

.treatment-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.treatment-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: white;
}

.treatment-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.treatment-body {
    padding: 30px;
    flex-grow: 1;
}

.treatment-body>div {
    margin-bottom: 20px;
}

.treatment-body strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.treatment-body p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.price-highlight {
    color: var(--color-secondary);
    font-size: 1.3rem;
    font-weight: 700;
}

.treatment-cta {
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--color-secondary);
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
}

.treatment-cta:hover {
    background: var(--color-primary);
}

/* Page Header */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1440 320\"><path fill=\"rgba(255,255,255,0.1)\" d=\"M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,90.7C960,96,1056,128,1152,138.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z\"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* Men's Page Styles */
.men-treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.men-treatment-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #2c3e50;
}

.men-treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-top-color: var(--color-secondary);
}

.men-card-icon {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.men-treatment-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.treatment-intro {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: center;
}

.treatment-solutions {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.treatment-solutions strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1rem;
}

.treatment-solutions ul {
    list-style: none;
    padding: 0;
}

.treatment-solutions li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--color-text-main);
    line-height: 1.6;
}

.treatment-solutions li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--color-secondary);
}

.men-cta {
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--color-primary);
    /* Deep Charcoal */
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.men-cta:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

/* Men's Benefits Grid */
.men-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.benefit-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Pricing Table Styles */
.pricing-table {
    margin-top: 50px;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    padding: 25px 30px;
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.pricing-row:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pricing-row.highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.pricing-row.highlight .pricing-service h4,
.pricing-row.highlight .pricing-service p,
.pricing-row.highlight .pricing-amount {
    color: white;
}

.pricing-service h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.pricing-service p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.pricing-amount {
    text-align: right;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.pricing-amount strong {
    font-size: 1.4rem;
    color: var(--color-secondary);
    font-weight: 700;
}

.pricing-row.highlight .pricing-amount strong {
    color: white;
    font-size: 1.6rem;
}

.pricing-notes {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-notes h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.pricing-notes h3 i {
    color: var(--color-secondary);
    margin-right: 10px;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
}

.pricing-notes li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    line-height: 1.7;
    color: var(--color-text-main);
}

.pricing-notes li i {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .pricing-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .pricing-amount {
        text-align: center;
    }
}

/* WhatsApp Direct Button (Contact Page) */
.whatsapp-direct-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: var(--color-secondary);
    /* Brand Gold */
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-direct-btn:hover {
    background: var(--color-primary);
    /* Dark Charcoal on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 166, 90, 0.4);
}

.whatsapp-direct-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* =========================================
   MOBILE-FIRST CONSISTENCY & ALIGNMENT FIXES
   ========================================= */

@media (max-width: 768px) {

    /* 1. Container Alignment */
    .container {
        padding: 0 20px;
        /* Standardize side padding */
        width: 100%;
    }

    /* 2. Grid Consistency - Force Stacking */
    .quick-cards-grid,
    .cabinet-gallery,
    .treatments-grid,
    .men-treatments-grid,
    .men-benefits,
    .pricing-table,
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        /* Force single column */
        gap: 20px;
    }

    /* 3. Card Sizing & Spacing */
    .quick-card,
    .treatment-card,
    .men-treatment-card,
    .pricing-row {
        padding: 25px 20px;
        /* Comfortable touch padding */
        width: 100%;
        margin: 0 auto;
    }

    /* 4. Typography Scale - Readable & Balanced */
    h1 {
        font-size: 2.2rem !important;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    /* 5. Header & Navigation */
    #main-header {
        height: 70px;
        /* Reduce sticky header height */
    }

    .logo-img {
        height: 50px;
        /* Scale logo for mobile */
    }

    /* 6. Specific Component Fixes */
    .pricing-amount {
        text-align: left;
        /* Align pricing left on mobile */
        margin-top: 10px;
    }

    .gallery-item {
        height: 250px;
        /* Reduce image height on mobile */
    }

    /* 7. Button Touch Targets */
    .cta-btn,
    .treatment-cta,
    .submit-btn {
        width: 100%;
        /* Full width buttons for easy tapping */
        padding: 15px;
        font-size: 1rem;
    }

    /* 8. Fix Horizontal Scroll Issues */
    body,
    html {
        overflow-x: hidden;
    }
}

/* ========================================= */
/*  MOBILE LANGUAGE TOGGLE FIX (AR/FR)      */
/* ========================================= */
@media (max-width: 768px) {

    /* Ensure language toggle is visible on mobile */
    .lang-switch {
        display: flex !important;
        gap: 5px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        order: 2;
    }

    /* Hide desktop CTA on mobile to save header space */
    .header-actions .cta-btn {
        display: none !important;
    }

    /* Organize header elements visually */
    #mobile-menu-btn {
        order: 1;
    }
}

/* EMERGENCY FIX START - Restore Luxury Header & Layout */
/* Tailwind Utilities Simulation & Layout Fixes */
.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

/* Global Container Override - Fix 'Kahza' touching edges */
.container {
    max-width: 80rem !important;
    /* Matches max-w-7xl (~1280px) */
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    /* px-6 equivalent */
    width: 100%;
    box-sizing: border-box;
}

/* Header Restoration - Luxury Design */
#main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background-color: #F8F6F3 !important;
    /* Soft Ivory */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    width: 100%;
    height: auto !important;
    /* Let content dictate height */
    border-bottom: 1px solid rgba(198, 166, 90, 0.1);
}

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    /* py-4 px-8 */
    max-width: 80rem !important;
    margin: 0 auto !important;
}

/* Logo Alignment */
.logo {
    display: flex;
    align-items: center;
}

/* Navigation Links - Fix Blue Links & Bullets */
.nav-links {
    display: flex !important;
    gap: 2rem !important;
    /* space-x-8 */
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

.nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a {
    color: #3A3A3A !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    /* tracking-wide */
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: #C6A65A !important;
    /* Gold Hover */
}

/* Header Actions & CTA */
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

.cta-btn {
    background-color: #C6A65A !important;
    color: white !important;
    padding: 0.6rem 1.8rem !important;
    /* px-6 py-2 */
    border-radius: 9999px !important;
    /* rounded-full */
    text-decoration: none !important;
    transition: background-color 0.3s ease;
    font-weight: 600 !important;
    display: inline-block;
    border: none !important;
    font-size: 0.9rem !important;
    line-height: normal !important;
}

.cta-btn:hover {
    background-color: #b08d45 !important;
    transform: translateY(-1px);
}

/* Language Switcher Fix */
.lang-switch {
    display: flex !important;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: none !important;
    border: none !important;
    color: #3A3A3A !important;
    font-weight: 500;
    cursor: pointer;
    padding: 0 !important;
}

.lang-btn.active {
    color: #C6A65A !important;
}

/* Mobile Visibility Override */
@media (max-width: 968px) {
    .nav-links {
        display: none !important;
    }

    .header-actions .cta-btn {
        display: none !important;
    }

    #mobile-menu-btn {
        display: block !important;
        font-size: 1.5rem;
        color: #3A3A3A;
        border: none;
        background: none;
        cursor: pointer;
    }

    .header-content {
        padding: 1rem 1.5rem !important;
    }
}

/* EMERGENCY FIX END */

/* Image Service Grid for Hommes Page */
.image-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.image-service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(198, 166, 90, 0.15);
}

.image-service-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.image-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-service-card:hover .image-service-img {
    transform: scale(1.05);
}

.image-service-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-service-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3A3A3A;
    margin: 0;
}

/* Remove blue underlines from all links */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* Specific fix for quick-card links */
.quick-card h3,
.quick-card p,
.quick-card {
    text-decoration: none !important;
}