/**
 * Clean Royal - Styles
 * Professional cleaning services website
 * 
 * Architecture:
 * - CSS Custom Properties (Royal Palette)
 * - Reset & Base Styles
 * - Header & Navigation
 * - Hero Section
 * - Content Sections (About, Services, etc.)
 * - Components (Cards, Buttons, Forms)
 * - Modals
 * - Scroll Animations
 * - Responsive Design
 */

/* ============================================================================
   CSS CUSTOM PROPERTIES - Royal Color Palette
   ============================================================================ */

:root {
    /* Primary Royal Colors */
    --color-primary: #0C2C55;           /* Deep Royal Blue */
    --color-secondary: #296374;         /* Teal Blue */
    --color-accent: #629FAD;            /* Soft Teal */
    --color-cream: #EDEDCE;             /* Cream/Beige */
    --color-gold: #C9A227;              /* Royal Gold accent */
    
    /* Derived Colors */
    --color-primary-dark: #081d3a;      /* Darker primary for hover */
    --color-primary-light: #0f3a6e;     /* Lighter primary */
    --color-text: #0C2C55;              /* Primary text */
    --color-text-light: #296374;        /* Secondary text */
    --color-text-muted: #5a7a8a;        /* Muted text */
    --color-text-body: #555555;         /* Body text - paragraphs */
    --color-text-subtle: #666666;       /* Subtle text - secondary info */
    --color-text-disabled: #888888;     /* Disabled/placeholder text */
    
    /* Background Colors */
    --color-bg-light: #f8f9f6;          /* Light background */
    --color-bg-white: #ffffff;          /* White */
    
    /* Spacing */
    --section-padding-y: 6rem;          /* Vertical section padding */
    --section-padding-x: 2rem;          /* Horizontal section padding */
    --section-margin-y: 6rem;           /* Vertical section margin */
    
    /* Breakpoints (for reference - CSS variables can't be used in media queries)
       --breakpoint-xl: 1024px;         Large tablets, small desktops
       --breakpoint-lg: 768px;          Tablets
       --breakpoint-md: 640px;          Large phones
       --breakpoint-sm: 480px;          Medium phones
       --breakpoint-xs: 400px;          Small phones
    */
    
    /* Transparency variants */
    --color-accent-rgb: 98, 159, 173;   /* RGB for rgba() usage */
    --color-primary-rgb: 12, 44, 85;    /* RGB for rgba() usage */
    --color-secondary-rgb: 41, 99, 116; /* RGB for rgba() usage */
    --color-gold-rgb: 201, 162, 39;     /* RGB for rgba() usage */
    --color-cream-rgb: 237, 237, 206;   /* RGB for rgba() usage */
    
    /* Typography - Luxurious Font Stack */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Fluid Typography Scale */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(2.75rem, 2rem + 3.75vw, 4.5rem);
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-duration: 0.3s;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-cream);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-size: var(--text-base);
}

/* Skip Link for Keyboard Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* Premium heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

header {
    background: var(--color-bg-white);
    color: var(--color-text);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(var(--color-primary-rgb), 0.08);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.15);
    min-height: 90px;
    overflow-x: hidden;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    object-position: center;
    display: block;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch-friendly optimizations for mobile/tablet devices */
@media (hover: none) and (pointer: coarse) {
    button,
    .cta-button,
    .submit-button,
    nav a,
    .close-modal,
    .slider-prev,
    .slider-next {
        min-height: 48px;
        min-width: 48px;
        padding: 0.8rem 1.2rem;
    }

    input,
    textarea,
    select {
        min-height: 48px;
        padding: 0.75rem 1rem;
    }

    nav a {
        padding: 0.75rem 1rem;
    }

    .cta-button:active,
    button:active,
    .submit-button:active {
        transform: scale(0.98);
    }

    .service-card,
    .client-box,
    .about-box {
        cursor: pointer;
    }
}

.logo-text {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    max-width: 100%;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.logo-text p {
    font-size: 0.8rem;
    opacity: 0.85;
    font-style: italic;
    color: var(--color-secondary);
    font-weight: 400;
    font-family: var(--font-body);
}

nav {
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-duration) var(--transition-smooth);
    position: relative;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    border-radius: 2px;
    transition: width var(--transition-duration) var(--transition-smooth);
}

nav a:hover {
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.1);
}

nav a:hover::after {
    width: calc(100% - 2.4rem);
}

/* Active navigation link state */
nav a.active {
    color: var(--color-primary);
    background: rgba(var(--color-accent-rgb), 0.15);
}

nav a.active::after {
    width: calc(100% - 2.4rem);
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Section highlight animation when navigated to */
@keyframes sectionPulse {
    0% {
        box-shadow: inset 0 0 0 0 rgba(var(--color-accent-rgb), 0);
    }
    30% {
        box-shadow: inset 0 0 0 4px rgba(var(--color-accent-rgb), 0.25);
    }
    100% {
        box-shadow: inset 0 0 0 0 rgba(var(--color-accent-rgb), 0);
    }
}

.section-highlight {
    animation: sectionPulse 1.2s ease-out;
}

/* Alternative subtle glow for dark sections */
.contact.section-highlight,
.hero.section-highlight {
    animation: none;
    position: relative;
}

.contact.section-highlight::after,
.hero.section-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-cream), transparent);
    animation: slideGlow 1.2s ease-out forwards;
}

@keyframes slideGlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    30% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    pointer-events: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all var(--transition-duration);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================================================
   LANGUAGE TOGGLE - Elegant Pill Design
   ============================================================================ */

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 1.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(var(--color-cream-rgb), 0.6), rgba(255, 255, 255, 0.8));
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    border-radius: 22px;
    padding: 5px 8px;
    box-shadow: 
        0 2px 8px rgba(var(--color-primary-rgb), 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.lang-divider {
    width: 1px;
    height: 20px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(var(--color-accent-rgb), 0.5) 20%,
        rgba(var(--color-accent-rgb), 0.5) 80%,
        transparent
    );
    margin: 0 4px;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    opacity: 0.5;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: transparent;
    transition: all 0.3s var(--transition-smooth);
    z-index: 0;
}

.lang-btn:hover {
    opacity: 0.85;
}

.lang-btn:hover::before {
    background: rgba(var(--color-accent-rgb), 0.12);
}

.lang-btn.active {
    opacity: 1;
}

.lang-btn.active::before {
    background: rgba(var(--color-cream-rgb), 0.9);
    box-shadow: 
        0 2px 6px rgba(var(--color-primary-rgb), 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.flag-icon {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: none;
    box-shadow: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Use clip-path for SVG rounded corners - border-radius doesn't work on SVGs */
    clip-path: inset(0 round 14px);
}

/* Language toggle responsive adjustments */

/* Mobile toggle wrapper - hidden on desktop */
.language-toggle-mobile {
    display: none;
}

@media (max-width: 992px) {
    .header-content > .language-toggle {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        padding: 4px 6px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    /* Hide header toggle on mobile */
    .header-content > .language-toggle {
        display: none;
    }
    
    /* Show mobile toggle inside nav menu */
    .language-toggle-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.5rem 1rem;
        border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.2);
        margin-bottom: 0.5rem;
        background: linear-gradient(
            to bottom,
            rgba(var(--color-cream-rgb), 0.3),
            transparent
        );
    }
    
    /* Ensure mobile toggle has same pill design as desktop */
    .language-toggle-mobile .language-toggle {
        display: flex;
        align-items: center;
        gap: 0;
        background: linear-gradient(135deg, rgba(var(--color-cream-rgb), 0.6), rgba(255, 255, 255, 0.8));
        border: 1px solid rgba(var(--color-accent-rgb), 0.3);
        border-radius: 22px;
        padding: 5px 8px;
        box-shadow: 
            0 4px 12px rgba(var(--color-primary-rgb), 0.1),
            inset 0 1px 2px rgba(255, 255, 255, 0.5);
    }
    
    .language-toggle-mobile .language-toggle .lang-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 28px;
        padding: 0;
        border: none;
        border-radius: 14px;
        background: transparent;
        cursor: pointer;
        overflow: hidden;
        opacity: 0.5;
        position: relative;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn.active {
        opacity: 1;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 14px;
        background: transparent;
        z-index: 0;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn.active::before {
        background: rgba(var(--color-cream-rgb), 0.9);
        box-shadow: 
            0 2px 6px rgba(var(--color-primary-rgb), 0.1),
            inset 0 1px 2px rgba(255, 255, 255, 0.8);
    }
    
    .language-toggle-mobile .language-toggle .lang-divider {
        width: 1px;
        height: 20px;
        margin: 0 4px;
        background: linear-gradient(
            to bottom,
            transparent,
            rgba(var(--color-accent-rgb), 0.5) 20%,
            rgba(var(--color-accent-rgb), 0.5) 80%,
            transparent
        );
    }
    
    .language-toggle-mobile .language-toggle .lang-btn .flag-icon {
        width: 100%;
        height: 100%;
        border-radius: 14px;
        border: none;
        box-shadow: none;
        position: relative;
        z-index: 1;
        overflow: hidden;
        clip-path: inset(0 round 14px);
    }
}

@media (max-width: 600px) {
    .language-toggle-mobile {
        padding: 1.25rem 1rem;
    }
    
    .language-toggle-mobile .language-toggle {
        border-radius: 22px;
        padding: 5px 8px;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn {
        width: 38px;
        height: 28px;
        padding: 0;
        border-radius: 14px;
        overflow: hidden;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn::before {
        border-radius: 14px;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn .flag-icon {
        border-radius: 14px;
        clip-path: inset(0 round 14px);
    }
}

@media (max-width: 400px) {
    .language-toggle-mobile {
        padding: 1rem;
    }
    
    .language-toggle-mobile .language-toggle {
        border-radius: 18px;
        padding: 4px 6px;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn {
        width: 34px;
        height: 26px;
        padding: 0;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn::before {
        border-radius: 12px;
    }
    
    .language-toggle-mobile .language-toggle .lang-divider {
        height: 18px;
        margin: 0 3px;
    }
    
    .language-toggle-mobile .language-toggle .lang-btn .flag-icon {
        border-radius: 12px;
        clip-path: inset(0 round 12px);
    }
}

/* ============================================================================
   HERO SECTION - Premium Animated Design
   ============================================================================ */

.hero {
    margin-top: 90px;
    background: 
        linear-gradient(-45deg, 
            rgba(12, 44, 85, 0.85), 
            rgba(41, 99, 116, 0.8), 
            rgba(8, 29, 58, 0.85), 
            rgba(98, 159, 173, 0.75)
        ),
        url('../images/hero-bg.jpg');
    background-size: 400% 400%, cover;
    background-position: 0% 50%, center center;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 9rem 2rem 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    width: 100%;
    max-width: 100vw;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%, center center; }
    50% { background-position: 100% 50%, center center; }
    100% { background-position: 0% 50%, center center; }
}

/* Floating decorative blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--color-cream-rgb), 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Sparkle decorations */
.hero-sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(var(--color-cream-rgb), 0.8);
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
    pointer-events: none;
}

.hero-sparkle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.hero-sparkle:nth-child(2) { top: 40%; right: 20%; animation-delay: 0.5s; }
.hero-sparkle:nth-child(3) { bottom: 30%; left: 25%; animation-delay: 1s; }
.hero-sparkle:nth-child(4) { top: 60%; right: 10%; animation-delay: 1.5s; }

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h2 {
    font-size: var(--text-5xl);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: var(--font-heading);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: var(--text-xl);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: var(--font-body);
}

/* Hero CTA Buttons Container */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ============================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================================================ */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-duration) var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(var(--color-accent-rgb), 0.35);
    min-height: 50px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(var(--color-accent-rgb), 0.45);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
}

/* Secondary outline button style */
.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: white;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-duration) var(--transition-smooth);
    min-height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-family: var(--font-body);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.cta-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button-secondary:hover::before {
    left: 100%;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* ============================================================================
   STATS SECTION
   ============================================================================ */

.stats {
    background: var(--color-bg-white);
    padding: 4rem 2rem;
    overflow-x: hidden;
    max-width: 100vw;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-box {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-cream) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.06);
    border: 1px solid rgba(var(--color-accent-rgb), 0.15);
    transition: all var(--transition-duration) var(--transition-smooth);
}

.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(var(--color-accent-rgb), 0.2);
    border-color: rgba(var(--color-accent-rgb), 0.35);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    font-weight: 500;
}

/* ============================================================================
   WAVE DIVIDERS - Section Separators
   ============================================================================ */

.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider-cream svg path {
    fill: var(--color-cream);
}

.wave-divider-white svg path {
    fill: var(--color-bg-white);
}

.wave-divider-primary svg path {
    fill: var(--color-primary);
}

.wave-divider-flip {
    transform: rotate(180deg);
}

/* ============================================================================
   ABOUT SECTION
   ============================================================================ */

.about {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
    overflow-x: hidden;
}

.about h2 {
    font-size: var(--text-4xl);
    color: var(--color-primary);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
    font-family: var(--font-heading);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.about-text .about-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-box {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.2);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    transition: all var(--transition-duration) var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Glassmorphism overlay */
.about-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-box:hover {
    box-shadow: 0 16px 48px rgba(var(--color-accent-rgb), 0.3);
    border-color: rgba(var(--color-accent-rgb), 0.5);
    transform: translateY(-6px);
}

.about-text p {
    font-size: var(--text-base);
    color: white;
    line-height: 2;
    letter-spacing: 0.3px;
    font-weight: 400;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
    z-index: 1;
}

.about-features {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 3rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.2);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    transition: all var(--transition-duration) var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-features:hover {
    box-shadow: 0 16px 48px rgba(var(--color-accent-rgb), 0.3);
    border-color: rgba(var(--color-accent-rgb), 0.5);
    transform: translateY(-6px);
}

.about-features h3 {
    margin-bottom: 2rem;
    font-size: var(--text-2xl);
    font-weight: 700;
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

.about-features ul {
    list-style: none;
    position: relative;
    z-index: 1;
}

.about-features li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-weight: 500;
    font-size: var(--text-sm);
}

.about-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-cream);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ============================================================================
   SERVICES SECTION
   ============================================================================ */

.services {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
    overflow: hidden;
}

.services h2 {
    font-size: var(--text-4xl);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
    font-family: var(--font-heading);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.15);
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 50%, var(--color-gold) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(var(--color-accent-rgb), 0.25);
    border-color: rgba(var(--color-accent-rgb), 0.35);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--transition-smooth);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.4s var(--transition-smooth);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: var(--text-xl);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-btn {
    margin-top: auto;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-duration) var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(var(--color-accent-rgb), 0.3);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--color-accent-rgb), 0.45);
}

/* ============================================================================
   CLIENTS SECTION
   ============================================================================ */

.clients {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
}

.clients h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 2rem;
    text-align: center;
}

.client-box {
    background: var(--color-bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.12);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
    transition: all var(--transition-duration) var(--transition-smooth);
}

.client-box:hover {
    box-shadow: 0 12px 40px rgba(var(--color-accent-rgb), 0.2);
    border-color: rgba(var(--color-accent-rgb), 0.25);
    transform: translateY(-4px);
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */

.contact {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: var(--section-padding-y) var(--section-padding-x);
    margin: var(--section-margin-y) 0 0 0;
    overflow-x: hidden;
    max-width: 100vw;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.contact-info {
    font-size: 1.05rem;
}

.contact-info h2 {
    margin-bottom: 2.5rem;
}

/* Contact Item - Semantic structure for each contact detail */
.contact-item {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item strong {
    color: var(--color-cream);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* Phone List - Vertical stacking for multiple numbers */
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-left: 0.5rem;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: inline;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-link:hover {
    color: var(--color-cream);
}

/* Email Link - Consistent with phone styling */
.email-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: inline;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.email-link:hover {
    color: var(--color-cream);
}

/* Hours List - Clear time display */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.65;
}

.hours-list span {
    display: block;
}

/* Contact Availability - Special emphasis */
.contact-availability {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--color-accent-rgb), 0.3);
}

.contact-availability p {
    margin: 0;
    font-style: italic;
    color: var(--color-cream);
    font-weight: 500;
    font-size: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent), var(--color-cream), var(--color-gold));
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: 2rem;
}

/* ============================================================================
   FORM ELEMENTS - Enhanced with floating labels
   ============================================================================ */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Floating Label Styles */
.floating-label {
    position: relative;
}

.floating-label label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    padding: 0 0.25rem;
}

.floating-label textarea + label {
    top: 1.2rem;
    transform: none;
}

/* When input has content or is focused - move label up */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
    padding: 0 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    min-height: 52px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group select option {
    background: var(--color-primary);
    color: white;
    padding: 0.75rem;
}

/* Enhanced Focus State with Glow */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 4px rgba(201, 162, 39, 0.15),
        0 0 20px rgba(201, 162, 39, 0.1);
}

/* Form Validation States */
.form-group.valid input,
.form-group.valid textarea {
    border-color: #4CAF50;
}

.form-group.valid input:focus,
.form-group.valid textarea:focus {
    border-color: #4CAF50;
    box-shadow: 
        0 0 0 4px rgba(76, 175, 80, 0.15),
        0 0 20px rgba(76, 175, 80, 0.1);
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ef5350;
}

.form-group.invalid input:focus,
.form-group.invalid textarea:focus {
    border-color: #ef5350;
    box-shadow: 
        0 0 0 4px rgba(239, 83, 80, 0.15),
        0 0 20px rgba(239, 83, 80, 0.1);
}

/* Validation error message */
.validation-message {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
    align-items: center;
    gap: 0.35rem;
}

.validation-message.error {
    color: #ef5350;
    display: flex;
}

.validation-message.success {
    color: #4CAF50;
    display: none;
}

.validation-icon {
    font-size: 0.9rem;
}

/* Input highlight underline animation */
.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.floating-label input:focus ~ .input-highlight,
.floating-label textarea:focus ~ .input-highlight {
    width: calc(100% - 2rem);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    -webkit-appearance: none;
    appearance: none;
}

/* Select wrapper with custom arrow */
.select-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.select-wrapper select:focus + .select-arrow {
    color: var(--color-gold);
    transform: translateY(-50%) rotate(180deg);
}

/* Enhanced Submit Button */
.submit-button {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 50%, var(--color-cream) 100%);
    background-size: 200% 200%;
    color: var(--color-primary);
    padding: 1.1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    width: 100%;
    min-height: 54px;
    touch-action: manipulation;
    box-shadow: 
        0 4px 15px rgba(201, 162, 39, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    background-position: 100% 100%;
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(201, 162, 39, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1);
}

.submit-button:active {
    transform: translateY(-1px);
}

.submit-button .btn-icon {
    transition: transform 0.3s var(--transition-bounce);
    font-size: 1.2rem;
}

.submit-button:hover .btn-icon {
    transform: translateX(5px);
}

/* ============================================================================
   STATUS MESSAGES - Enhanced
   ============================================================================ */

.success-message {
    background: linear-gradient(135deg, #2e7d32 0%, #4CAF50 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: none;
    position: relative;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: slideDown 0.4s ease;
}

.success-icon,
.error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message {
    background: linear-gradient(135deg, #c62828 0%, #ef5350 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: none;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
    animation: slideDown 0.4s ease;
}

.loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================================
   TEAM SECTION
   ============================================================================ */

.team {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
}

.team h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}

.team-slider {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.team-container {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s ease;
}

.team-member {
    min-width: calc(25% - 1.875rem);
    background: var(--color-bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.12);
    transition: all var(--transition-duration) var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(var(--color-accent-rgb), 0.2);
    border-color: rgba(var(--color-accent-rgb), 0.25);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1.2;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h3 {
    color: var(--color-primary);
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.team-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-duration) var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(var(--color-accent-rgb), 0.35);
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(var(--color-accent-rgb), 0.5);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */

.how-it-works {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
    overflow: hidden;
}

.how-it-works h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    background: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.12);
    text-align: center;
    position: relative;
    transition: all var(--transition-duration) var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--color-accent-rgb), 0.2);
    border-color: rgba(var(--color-accent-rgb), 0.25);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(var(--color-accent-rgb), 0.35);
}

.process-step h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.process-step p {
    color: var(--color-text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ============================================================================
   BEFORE/AFTER GALLERY
   ============================================================================ */

.before-after {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 4rem var(--section-padding-x);
    overflow-x: hidden;
}

.before-after h2 {
    font-size: var(--text-4xl);
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}

.before-after h2 + p,
.before-after .section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-lg);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 2.5rem;
    width: 100%;
    margin-top: 3rem;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.1);
    border: 1px solid rgba(var(--color-accent-rgb), 0.15);
    transition: all 0.4s var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(var(--color-accent-rgb), 0.25),
        0 0 0 1px rgba(var(--color-gold), 0.3);
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    cursor: ew-resize;
}

.comparison-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Placeholder content for images */
.placeholder-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.placeholder-before {
    background: linear-gradient(145deg, #e8e8e8 0%, #d0d0d0 50%, #c5c5c5 100%);
    color: var(--color-text-disabled);
}

.placeholder-after {
    background: linear-gradient(145deg, var(--color-soft-teal), var(--color-accent) 50%, var(--color-secondary) 100%);
    color: white;
}

/* Shimmer animation for placeholders */
.placeholder-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.placeholder-content svg {
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.placeholder-after .sparkle-icon {
    position: absolute;
    font-size: 1.5rem;
    top: 20%;
    right: 25%;
    animation: sparkleFloat 3s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-10px) rotate(15deg); 
        opacity: 1;
    }
}

/* Photo coming soon badge */
.photo-coming-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 20;
    white-space: nowrap;
    border: 1px solid rgba(var(--color-gold), 0.3);
}

.comparison-before {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-subtle);
    font-size: 3rem;
    font-weight: bold;
}

.comparison-handle {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
    left: 50%;
    top: 0;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 
        0 0 20px rgba(var(--color-gold), 0.5),
        0 0 40px rgba(var(--color-accent-rgb), 0.3);
}

.comparison-handle::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(var(--color-gold), 0.4);
    top: 50%;
    margin-top: -20px;
}

.comparison-handle::after {
    display: none;
}

.comparison-label {
    position: absolute;
    top: 15px;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(var(--color-accent-rgb), 0.4);
}

.comparison-before-label {
    left: 15px;
    background: linear-gradient(135deg, var(--color-text-disabled) 0%, var(--color-text-subtle) 100%);
}

.comparison-after-label {
    right: 15px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
}

.gallery-info {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(var(--color-cream-rgb), 0.3) 100%);
}

.gallery-info h3 {
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    font-size: var(--text-xl);
    font-family: var(--font-heading);
    font-weight: 700;
}

.gallery-info p {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* ============================================================================
   TESTIMONIALS SECTION
   ============================================================================ */

.testimonials {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
}

.testimonials h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.12);
    border-top: 4px solid var(--color-accent);
    transition: all var(--transition-duration) var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--color-accent-rgb), 0.2);
    border-color: rgba(var(--color-accent-rgb), 0.25);
}

.stars {
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3rem;
}

.testimonial-text {
    color: var(--color-text-body);
    line-height: 1.85;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(var(--color-accent-rgb), 0.35);
}

.author-info h4 {
    color: var(--color-primary);
    margin-bottom: 0.3rem;
    font-size: 1rem;
    font-weight: 700;
}

.author-info p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */

.faq {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
    overflow: hidden;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}

.faq-item {
    background: var(--color-bg-white);
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(var(--color-primary-rgb), 0.05);
    border: 1px solid rgba(var(--color-accent-rgb), 0.12);
    overflow: hidden;
    transition: all var(--transition-duration) var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(var(--color-accent-rgb), 0.15);
    border-color: rgba(var(--color-accent-rgb), 0.2);
}

.faq-question {
    padding: 1.8rem;
    background: var(--color-bg-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background var(--transition-duration);
}

.faq-question:hover {
    background: rgba(var(--color-accent-rgb), 0.05);
}

.faq-question h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
    font-weight: 600;
}

.faq-toggle {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all var(--transition-duration) var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(var(--color-accent-rgb), 0.25);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-toggle:hover {
    box-shadow: 0 6px 16px rgba(var(--color-accent-rgb), 0.35);
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(var(--color-accent-rgb), 0.03);
    border-top: 1px solid rgba(var(--color-accent-rgb), 0.12);
    transition: max-height var(--transition-duration) ease, background var(--transition-duration);
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.8rem;
    color: var(--color-text-body);
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================================================
   TRUST BADGES SECTION
   ============================================================================ */

.trust-badges {
    max-width: 1200px;
    margin: var(--section-margin-y) auto;
    padding: 0 var(--section-padding-x);
}

.trust-badges h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}

.badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 2rem;
    text-align: center;
}

.badge {
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--color-bg-white);
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.12);
    transition: all var(--transition-duration) var(--transition-smooth);
}

.badge:hover {
    box-shadow: 0 12px 40px rgba(var(--color-accent-rgb), 0.2);
    border-color: rgba(var(--color-accent-rgb), 0.25);
    transform: translateY(-4px);
}

.badge-icon {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(var(--color-accent-rgb), 0.25));
}

.badge h3 {
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.badge p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================================================
   MODAL STYLES
   ============================================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(4px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--color-bg-white);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(var(--color-primary-rgb), 0.3);
    animation: slideDown 0.3s var(--transition-smooth);
    max-height: 85vh;
    overflow: hidden;
    border: 1px solid rgba(var(--color-accent-rgb), 0.15);
    display: flex;
    flex-direction: column;
}

/* Webkit browsers (Chrome, Safari, Edge) custom scrollbar */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0 20px 20px 0;
    margin: 20px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-accent) 100%);
    background-clip: padding-box;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: var(--color-cream);
    color: var(--color-primary);
    padding: 2.5rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
    color: var(--color-primary);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(var(--color-accent-rgb), 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    z-index: 10;
    pointer-events: auto;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(var(--color-primary-rgb), 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
    
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) rgba(var(--color-accent-rgb), 0.1);
}

/* Webkit browsers (Chrome, Safari, Edge) custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(var(--color-accent-rgb), 0.08);
    border-radius: 3px;
    margin: 10px 0;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-accent) 100%);
}

.modal-body h3 {
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-body ul {
    list-style: none;
    padding: 0;
}

.modal-body ul li {
    padding: 0.8rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--color-text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.modal-body ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-cta {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
    background: rgba(var(--color-accent-rgb), 0.08);
    border-top: 1px solid rgba(var(--color-accent-rgb), 0.12);
    border-radius: 0 0 20px 20px;
}

.modal-cta h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.modal-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-duration) var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(var(--color-accent-rgb), 0.35);
    border: none;
    cursor: pointer;
}

.modal-cta-button:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.5);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
    background: var(--color-primary);
    color: white;
    padding: 4rem 2rem 1rem;
    border-top: 1px solid rgba(var(--color-accent-rgb), 0.15);
    overflow-x: hidden;
    max-width: 100vw;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--color-cream);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all var(--transition-duration) var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--color-cream);
    padding-left: 0.5rem;
}

/* Footer contact links (phone & email) */
.footer-link {
    color: var(--color-gold);
    text-decoration: none;
    transition: all var(--transition-duration) var(--transition-smooth);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-duration) var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-cream);
    padding-left: 0;
}

.footer-link:hover::after {
    width: 100%;
}

.social-placeholder {
    background: rgba(var(--color-accent-rgb), 0.15);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================================================
   SCROLL TO TOP BUTTON
   ============================================================================ */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(var(--color-accent-rgb), 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--transition-smooth);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--color-gold-rgb), 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
    }
}

@media (max-width: 1024px) {
    .header-content {
        padding: 0 1.5rem;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .team-member {
        min-width: calc(33.333% - 1.35rem);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-content {
        gap: 2.5rem;
    }

    .stat-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        min-height: 70px;
        padding: 0;
        overflow: visible;
    }

    .hamburger {
        display: flex;
        padding: 0.5rem;
        border-radius: 8px;
        transition: background 0.3s ease;
        flex-shrink: 0;
        cursor: pointer;
        position: relative;
        z-index: 1002;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger:hover {
        background: rgba(var(--color-accent-rgb), 0.08);
    }

    .hamburger:active {
        background: rgba(var(--color-accent-rgb), 0.15);
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 1rem;
        gap: 0.5rem;
        overflow: visible;
        min-height: 70px;
        align-items: center;
    }

    .logo {
        gap: 0.5rem;
        flex-shrink: 1;
        min-width: 0;
        max-width: calc(100% - 60px);
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .logo-img {
        height: 50px;
        width: auto;
        max-height: 50px;
    }

    .logo-icon svg {
        width: 30px;
        height: 30px;
    }

    .logo-text {
        min-width: 0;
        overflow: hidden;
        flex: 1 1 auto;
        max-width: 100%;
    }

    .logo-text h1 {
        font-size: 1rem;
        white-space: nowrap;
        line-height: 1.3;
    }

    .logo-text p {
        display: none;
    }

    nav {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        transition: transform 0.3s ease;
        z-index: 999;
        padding: 2rem 0;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        visibility: visible;
        opacity: 1;
        transform: translateX(-100%);
    }

    nav.active {
        transform: translateX(0) !important;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    nav li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.15);
    }

    nav a {
        color: var(--color-secondary);
        display: block;
        padding: 1rem;
        border-radius: 0;
    }

    nav a:hover {
        background: rgba(var(--color-accent-rgb), 0.1);
        color: var(--color-accent);
    }

    /* Hero Mobile Optimization */
    .hero {
        margin-top: 70px;
        padding: 3rem 1.5rem 4rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h2 {
        font-size: var(--text-3xl);
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: var(--text-base);
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-button,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        min-height: 54px;
    }

    /* Hide decorative blobs on tablet for performance */
    .hero-blob {
        display: none;
    }

    .hero-sparkle {
        display: none;
    }

    .wave-divider svg {
        height: 40px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .about {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .about h2 {
        font-size: var(--text-3xl);
        margin-bottom: 2rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .about-box {
        padding: 2rem;
    }

    .about-features {
        padding: 2rem;
    }

    .about-features h3 {
        font-size: 1.3rem;
    }

    .about-features li {
        padding: 0.8rem 0;
        padding-left: 2rem;
        font-size: 0.95rem;
    }

    .services {
        padding: 3rem 1rem;
    }

    .services h2 {
        font-size: var(--text-3xl);
        margin-bottom: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .service-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 1rem;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .how-it-works {
        padding: 3rem 1rem;
        margin: 2rem auto;
    }

    .how-it-works h2 {
        font-size: var(--text-3xl);
        margin-bottom: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step {
        max-width: 100%;
    }

    /* Before/After Gallery Mobile */
    .before-after {
        padding: 3rem 1rem;
    }

    .before-after h2 {
        font-size: var(--text-3xl);
        margin-bottom: 2rem;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-slider {
        height: 280px;
    }

    .photo-coming-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .comparison-handle::before {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }

    .trust-badges {
        padding: 3rem 1rem;
    }

    .badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .clients {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .clients h2 {
        font-size: var(--text-3xl);
        margin-bottom: 2rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .client-box {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .team {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .team h2 {
        font-size: var(--text-3xl);
    }

    .team-member {
        min-width: calc(50% - 1rem);
    }

    .team-photo {
        aspect-ratio: 1 / 1.4;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 3rem 1rem;
    }

    .contact h2 {
        font-size: var(--text-3xl);
        margin-bottom: 1.5rem;
    }

    .contact-info {
        font-size: 1rem;
    }

    .contact-info strong {
        width: 70px;
    }

    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .contact-form h3 {
        font-size: var(--text-xl);
    }

    .form-subtitle {
        font-size: var(--text-sm);
        margin-bottom: 1.5rem;
    }

    /* Form Row - Stack on mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .floating-label label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 52px;
        font-size: 16px;
        padding: 1rem;
    }

    .submit-button {
        min-height: 54px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    footer {
        padding: 3rem 1rem 1rem;
    }

    .faq {
        margin: 4rem auto;
        padding: 0 1.5rem;
    }

    .faq h2 {
        font-size: var(--text-3xl);
        margin-bottom: 2.5rem;
    }

    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1.25rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-toggle {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .faq-answer p {
        padding: 1.25rem;
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

@media (max-width: 640px) {
    header {
        min-height: 60px;
        padding: 0;
    }

    .header-content {
        padding: 0 0.75rem;
        gap: 0.4rem;
        min-height: 60px;
        align-items: center;
    }

    .hamburger {
        display: flex;
        padding: 0.5rem 0.25rem;
        flex-shrink: 0;
    }

    .logo {
        max-width: calc(100% - 50px);
        gap: 0.4rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }

    .logo-img {
        height: 45px;
        width: auto;
        max-height: 45px;
    }

    .logo-icon svg {
        width: 25px;
        height: 25px;
    }

    nav {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .logo-text h1 {
        font-size: 0.9rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* Hero 640px Optimization */
    .hero {
        margin-top: 60px;
        padding: 2.5rem 1rem 3rem;
        min-height: auto;
    }

    .hero h2 {
        font-size: var(--text-2xl);
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: var(--text-base);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-button,
    .cta-button-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-height: 50px;
        border-radius: 25px;
        width: 100%;
    }

    .cta-button:active,
    .cta-button-secondary:active {
        transform: translateY(-2px);
    }

    .wave-divider svg {
        height: 30px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-box {
        padding: 1rem;
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: bold;
    }

    .stat-label {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    .about {
        margin: 2rem auto;
        padding: 0 0.75rem;
    }

    .about h2 {
        font-size: var(--text-2xl);
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    .about-box {
        padding: 1.25rem;
        backdrop-filter: blur(5px);
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-features {
        padding: 1.25rem;
    }

    .about-features h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .about-features li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .services {
        padding: 2rem 0.75rem;
    }

    .services h2 {
        font-size: var(--text-2xl);
        margin-bottom: 1.5rem;
    }

    .service-card {
        padding: 1.25rem;
        border-radius: 16px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: white;
    }

    .service-card:active {
        transform: translateY(-2px);
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 0.75rem;
    }

    .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .how-it-works {
        padding: 2rem 0.75rem;
        margin: 1.5rem auto;
    }

    .how-it-works h2 {
        font-size: var(--text-2xl);
        margin-bottom: 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .process-step h3 {
        font-size: 1.1rem;
    }

    .process-step p {
        font-size: 0.95rem;
    }

    /* Gallery 640px */
    .before-after {
        padding: 2rem 0.75rem;
    }

    .before-after::before {
        width: 60px;
        height: 3px;
    }

    .before-after h2 {
        font-size: var(--text-2xl);
    }

    .gallery-item {
        margin-bottom: 1.5rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: white;
    }

    .comparison-slider {
        height: 240px;
    }

    .comparison-label {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
    }

    .photo-coming-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        bottom: 10px;
    }

    .placeholder-content svg {
        width: 36px;
        height: 36px;
    }

    .gallery-info {
        padding: 1.5rem;
    }

    .gallery-info h3 {
        font-size: var(--text-lg);
    }

    .trust-badges {
        padding: 2rem 0.75rem;
    }

    .badges-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .badge {
        padding: 1.25rem;
    }

    .clients {
        margin: 2rem auto;
        padding: 0 0.75rem;
    }

    .clients h2 {
        font-size: var(--text-2xl);
        margin-bottom: 1.5rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .client-box {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .team {
        margin: 2rem auto;
        padding: 0 0.75rem;
    }

    .team h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .team-container {
        margin: 0 -0.75rem;
    }

    .team-member {
        min-width: 100%;
        margin: 0;
    }

    .team-photo {
        aspect-ratio: 1 / 1.3;
        max-height: 300px;
    }

    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        min-height: 44px;
        min-width: 44px;
    }

    .contact {
        padding: 2rem 0.75rem;
    }

    .contact h2 {
        font-size: var(--text-2xl);
        margin-bottom: 1.5rem;
    }

    .contact-container {
        gap: 1.5rem;
    }

    .contact-info {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .contact-info strong {
        width: 60px;
        display: block;
        margin-bottom: 0.25rem;
    }

    /* Contact Form 640px */
    .contact-form {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .contact-form::before {
        height: 3px;
    }

    .contact-form h3 {
        font-size: var(--text-lg);
        margin-bottom: 0.5rem;
    }

    .form-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .floating-label label {
        font-size: 0.85rem;
    }

    .floating-label input:focus + label,
    .floating-label input:not(:placeholder-shown) + label,
    .floating-label textarea:focus + label,
    .floating-label textarea:not(:placeholder-shown) + label {
        font-size: 0.7rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem 0.9rem;
        font-size: 16px;
        min-height: 44px;
        border-radius: 4px;
        width: 100%;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    .submit-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
        border-radius: 4px;
    }

    .faq {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .faq h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .faq-item {
        margin-bottom: 0.75rem;
        border-radius: 10px;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .faq-toggle {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
        margin-left: 0.5rem;
    }

    .faq-answer p {
        padding: 1rem;
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .modal-content {
        width: 95%;
        max-width: 90vw;
        margin: 8% auto;
        border-radius: 12px;
    }

    .modal-header {
        padding: 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .modal-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 0.5rem;
    }

    .close-modal {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        min-height: 44px;
        min-width: 44px;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .modal-body h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    footer {
        padding: 2rem 0.75rem 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section a,
    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    header {
        min-height: 56px;
        padding: 0;
    }

    .hamburger {
        display: flex;
        padding: 0.5rem 0.25rem;
        width: 44px;
        height: 44px;
        min-width: 44px;
        flex-shrink: 0;
    }

    .hamburger span {
        width: 25px;
        height: 2px;
    }

    .header-content {
        padding: 0 0.5rem;
        gap: 0.3rem;
        min-height: 56px;
        align-items: center;
    }

    .logo {
        gap: 0.3rem;
        max-width: calc(100% - 50px);
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .logo-img {
        height: 40px;
        width: auto;
        max-height: 40px;
    }

    .logo-icon svg {
        width: 22px;
        height: 22px;
    }

    .logo-text h1 {
        font-size: 0.85rem;
        max-width: 100%;
        line-height: 1.2;
        white-space: nowrap;
    }

    nav {
        top: 56px;
        height: calc(100vh - 56px);
    }

    /* Hero 480px - Maximum mobile optimization */
    .hero {
        margin-top: 56px;
        padding: 2rem 1rem 2.5rem;
        min-height: auto;
    }

    .hero h2 {
        font-size: var(--text-xl);
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: var(--text-sm);
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .cta-button,
    .cta-button-secondary {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    .cta-button .btn-icon,
    .cta-button-secondary .btn-icon {
        font-size: 1rem;
    }

    .wave-divider svg {
        height: 25px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-box {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .about {
        margin: 1.5rem auto;
        padding: 0 0.75rem;
    }

    .about h2 {
        font-size: var(--text-xl);
        margin-bottom: 1rem;
    }

    .about-box {
        padding: 1rem;
        border-radius: 12px;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

    .about-features {
        padding: 1rem;
        border-radius: 12px;
    }

    .about-features h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .about-features li {
        padding: 0.4rem 0;
        padding-left: 1.25rem;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Services 480px */
    .services {
        padding: 1.5rem 0.75rem;
    }

    .services h2 {
        font-size: var(--text-xl);
        margin-bottom: 1.25rem;
    }

    .service-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .service-icon {
        width: 44px;
        height: 44px;
    }

    .service-icon svg {
        width: 22px;
        height: 22px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .how-it-works {
        padding: 1.5rem 0.75rem;
        margin: 1rem auto;
    }

    .how-it-works h2 {
        font-size: var(--text-xl);
        margin-bottom: 1.25rem;
    }

    .process-step {
        padding: 1.25rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .process-step h3 {
        font-size: 1rem;
    }

    .process-step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Gallery 480px */
    .before-after {
        padding: 1.5rem 0.75rem;
    }

    .before-after::before {
        width: 50px;
        height: 2px;
    }

    .before-after h2 {
        font-size: var(--text-xl);
    }

    .gallery-item {
        border-radius: 12px;
    }

    .comparison-slider {
        height: 200px;
    }

    .comparison-handle::before {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

    .comparison-label {
        font-size: 0.65rem;
        padding: 0.4rem 0.6rem;
        top: 10px;
    }

    .comparison-before-label {
        left: 10px;
    }

    .comparison-after-label {
        right: 10px;
    }

    .photo-coming-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.6rem;
        bottom: 8px;
    }

    .placeholder-content svg {
        width: 32px;
        height: 32px;
    }

    .gallery-info {
        padding: 1.25rem;
    }

    .gallery-info h3 {
        font-size: var(--text-base);
    }

    .gallery-info p {
        font-size: 0.85rem;
    }

    .trust-badges {
        padding: 1.5rem 0.75rem;
    }

    .badge {
        padding: 1rem;
    }

    .badge-icon {
        font-size: 2rem;
    }

    .badge h3 {
        font-size: 0.95rem;
    }

    .badge p {
        font-size: 0.85rem;
    }

    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .clients {
        margin: 1.5rem auto;
        padding: 0 0.5rem;
    }

    .clients h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .client-box {
        padding: 0.75rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .team {
        margin: 1.5rem auto;
        padding: 0 0.5rem;
    }

    .team h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .team-member {
        min-width: 100%;
    }

    .team-photo {
        aspect-ratio: 1 / 1.25;
        max-height: 250px;
    }

    .slider-prev,
    .slider-next {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
        padding: 0;
    }

    /* Contact 480px - Mobile Form Optimization */
    .contact {
        padding: 1.5rem 0.75rem;
    }

    .contact h2 {
        font-size: var(--text-xl);
        margin-bottom: 1rem;
    }

    .contact-container {
        gap: 1rem;
    }

    .contact-info {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .contact-info strong {
        width: auto;
        display: inline;
        margin-right: 0.25rem;
    }

    .contact-form {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .contact-form::before {
        height: 2px;
    }

    .contact-form h3 {
        font-size: var(--text-lg);
        margin-bottom: 0.25rem;
    }

    .form-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    /* Floating labels on 480px */
    .floating-label {
        margin-bottom: 1.25rem;
    }

    .floating-label label {
        font-size: 0.85rem;
        left: 0.9rem;
    }

    .floating-label input:focus + label,
    .floating-label input:not(:placeholder-shown) + label,
    .floating-label textarea:focus + label,
    .floating-label textarea:not(:placeholder-shown) + label {
        font-size: 0.65rem;
        top: -0.4rem;
        left: 0.6rem;
    }

    .select-label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.9rem;
        font-size: 16px;
        min-height: 48px;
        border-radius: 10px;
        width: 100%;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    .submit-button {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        min-height: 52px;
        width: 100%;
        border-radius: 12px;
        gap: 0.5rem;
    }

    .submit-button .btn-icon {
        font-size: 1rem;
    }

    /* Success/Error messages mobile */
    .success-message,
    .error-message {
        padding: 1rem;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .success-icon,
    .error-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .modal-content {
        width: 95%;
        max-width: 95vw;
        margin: 5% auto;
        border-radius: 16px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .modal-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
    }

    .faq {
        margin: 2.5rem auto;
        padding: 0 0.75rem;
    }

    .faq h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .faq-item {
        margin-bottom: 0.65rem;
        border-radius: 8px;
    }

    .faq-question {
        padding: 0.85rem;
    }

    .faq-question h3 {
        font-size: 0.9rem;
        line-height: 1.35;
        padding-right: 0.25rem;
    }

    .faq-toggle {
        width: 36px;
        height: 36px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1rem;
        margin-left: 0.5rem;
    }

    .faq-answer p {
        padding: 0.85rem;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .close-modal {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        min-height: 44px;
        min-width: 44px;
        padding: 0;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-body h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .modal-body p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    footer {
        padding: 1.5rem 0.5rem 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-section a,
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-bottom {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
}
/* ============================================================================
   CSS SCROLL-DRIVEN ANIMATIONS - Modern Browser Support
   ============================================================================ */

/* Keyframes for scroll reveal animation */
@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal-scale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes reveal-left {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes reveal-right {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-driven animation classes - DISABLED to prevent fade issues */
.scroll-reveal {
    animation: none;
    opacity: 1;
    transform: none;
}

.scroll-reveal-scale {
    animation: none;
    opacity: 1;
    transform: none;
}

.scroll-reveal-left {
    animation: none;
    opacity: 1;
    transform: none;
}

.scroll-reveal-right {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Apply scroll animations to sections - DISABLED to prevent fade issues */
/* All components should be fully visible at all times */
.about-box,
.service-card,
.process-step,
.trust-badge,
.testimonial-card,
.client-box,
.gallery-item {
    animation: none;
    opacity: 1;
    transform: none;
}

/* FAQ items should always be fully visible - no scroll-driven animation */
.faq-item {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Staggered delays - DISABLED */
.service-card:nth-child(1),
.process-step:nth-child(1),
.trust-badge:nth-child(1) {
    animation: none;
    opacity: 1;
    transform: none;
}

.service-card:nth-child(2),
.process-step:nth-child(2),
.trust-badge:nth-child(2) {
    animation: none;
    opacity: 1;
    transform: none;
}

.service-card:nth-child(3),
.process-step:nth-child(3),
.trust-badge:nth-child(3) {
    animation: none;
    opacity: 1;
    transform: none;
}

.process-step:nth-child(4),
.trust-badge:nth-child(4) {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Section headings - DISABLED scroll animation */
section > h2,
.section-header h2 {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Stats - DISABLED scroll animation */
.stat-box {
    animation: none;
    opacity: 1;
    transform: none;
}

/* About features - DISABLED scroll animation */
.about-feature {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Form elements - DISABLED scroll animation */
.contact-form .form-group {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Team cards - DISABLED scroll animation */
.team-card {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Fallback for browsers that don't support scroll-driven animations */
@supports not (animation-timeline: view()) {
    .scroll-reveal,
    .scroll-reveal-scale,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .about-box,
    .service-card,
    .process-step,
    .trust-badge,
    .testimonial-card,
    .client-box,
    .gallery-item,
    section > h2,
    .section-header h2,
    .stat-box,
    .about-feature,
    .contact-form .form-group,
    .team-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    /* FAQ items always visible */
    .faq-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    /* JavaScript-based fallback classes */
    .js-scroll-reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
    }
    
    .js-scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .js-scroll-reveal-scale {
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
    }
    
    .js-scroll-reveal-scale.revealed {
        opacity: 1;
        transform: scale(1);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-scale,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .about-box,
    .service-card,
    .process-step,
    .trust-badge,
    .testimonial-card,
    .client-box,
    .gallery-item,
    section > h2,
    .section-header h2,
    .stat-box,
    .about-feature,
    .contact-form .form-group,
    .team-card,
    .faq-item,
    .js-scroll-reveal,
    .js-scroll-reveal-scale {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}