/* ========================================
   MEVLIDA'S CLEANING - MODERN MINIMALIST DESIGN
   Inspired by Linear, Superhuman, and Framer
======================================== */

/* ========================================
   CSS RESET & FUNDAMENTALS
======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
}

:root {
    /* ========================================
       CLEAN TECH PALETTE
       Trust • Clarity • Fresh • Rewarding
    ======================================== */

    /* Primary Colors */
    --color-blue: #2F80ED;
    --color-blue-dark: #1E3A8A;
    --color-blue-light: #60A5FA;
    --color-seafoam: #2EC4B6;
    --color-seafoam-dark: #25A89D;
    --color-seafoam-light: #5FD4C8;
    --color-amber: #FFC857;
    --color-amber-dark: #F5B93E;
    --color-amber-light: #FFD686;
    --color-white: #FFFFFF;

    /* Supporting Colors */
    --blue-muted: #4B8FEE;
    --seafoam-bg: #E8F7F6;
    --amber-highlight: #FFDB8F;
    --text-dark: #0B1321;
    --text-medium: #4B5563;
    --text-light: #9CA3AF;

    /* Semantic Colors */
    --bg-primary: var(--color-white);
    --bg-secondary: var(--seafoam-bg);
    --bg-tertiary: #F9FAFB;
    --text-primary: var(--text-dark);
    --text-secondary: var(--text-medium);
    --text-tertiary: var(--text-light);
    --border-color: #E5E7EB;
    --accent: var(--color-blue);

    /* Shadows - Subtle & Sophisticated */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* ========================================
       TYPOGRAPHY - INTER VARIABLE FONT
    ======================================== */

    --font-family: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Font Sizes - Large & Bold Headlines */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */
    --text-8xl: 6rem;        /* 96px */

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* ========================================
       SPACING SYSTEM - 8PX INCREMENTS
    ======================================== */

    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */
    --space-40: 10rem;     /* 160px */

    /* Section Padding */
    --section-padding: 7.5rem;  /* 120px */

    /* ========================================
       LAYOUT & GRID
    ======================================== */

    --max-width-sm: 640px;
    --max-width-md: 768px;
    --max-width-lg: 1024px;
    --max-width-xl: 1280px;
    --max-width-2xl: 1440px;

    /* ========================================
       BORDERS & RADIUS
    ======================================== */

    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;

    /* ========================================
       TRANSITIONS & ANIMATIONS
    ======================================== */

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Navigation Height */
    --nav-height: 100px;
}

/* ========================================
   INTER VARIABLE FONT IMPORT
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========================================
   BASE STYLES
======================================== */

body {
    font-family: var(--font-family);
    font-size: var(--text-lg);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-container,
.nav-content,
.hero-content,
.footer-content {
    max-width: 100%;
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(var(--text-5xl), 6vw, var(--text-8xl));
    font-weight: var(--font-extrabold);
    line-height: var(--leading-none);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(var(--text-4xl), 4vw, var(--text-6xl));
    font-weight: var(--font-bold);
}

h3 {
    font-size: clamp(var(--text-3xl), 3vw, var(--text-5xl));
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    max-width: 65ch;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.7;
}

/* ========================================
   AUTO-HIDE NAVIGATION
======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--color-white);
    z-index: 1000;
    transition: transform var(--transition-base);
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.nav-content {
    max-width: var(--max-width-2xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.logo {
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    letter-spacing: -0.02em;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-left: calc(var(--space-2) * -1);
}

.logo:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    flex: 1;
    justify-content: center;
    margin: 0 var(--space-8);
    transform: translateX(-40px);
}

.nav-links a {
    color: var(--text-dark);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    padding: var(--space-2) 0;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
    position: relative;
}

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

.nav-links a.active {
    color: var(--color-blue);
    border-bottom-color: var(--color-blue);
}

.nav-cta {
    background-color: var(--color-amber);
    color: var(--text-dark);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(255, 139, 123, 0.2);
    flex-shrink: 0;
}

.nav-cta:hover {
    opacity: 1;
    background-color: var(--color-amber-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 139, 123, 0.4);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background-color: var(--color-blue-light);
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-left: var(--space-4);
    margin-right: calc(var(--space-2) * -1);
    overflow: hidden;
}

.dark-mode-toggle:hover {
    background-color: var(--color-blue);
}

.toggle-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toggle-icon svg {
    width: 100%;
    height: 100%;
}

.toggle-icon svg path,
.toggle-icon svg line {
    stroke-width: 3.5px;
}

/* Light mode: Sun visible (centered), Moon hidden (slid left) */
.toggle-icon.sun {
    transform: translateX(0);
    opacity: 1;
}

.toggle-icon.moon {
    transform: translateX(-30px);
    opacity: 0;
}

/* Dark mode: Moon visible (centered), Sun hidden (slid right) */
[data-theme="dark"] .toggle-icon.sun {
    transform: translateX(30px);
    opacity: 0;
}

[data-theme="dark"] .toggle-icon.moon {
    transform: translateX(0);
    opacity: 1;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 10001;
}

@media (min-width: 641px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-blue);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Dropdown Menu - Hidden on Desktop */
.mobile-menu {
    display: none !important;
}

@media (min-width: 641px) {
    .mobile-menu,
    .mobile-menu.active,
    .mobile-menu-links,
    .mobile-menu-link,
    .mobile-menu-cta {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 640px) {
    .mobile-menu {
        display: block !important;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: var(--shadow-xl);
        z-index: 10000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .mobile-menu.active {
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }
}

.mobile-menu-links {
    list-style: none;
    padding: var(--space-4) 0;
}

.mobile-menu-links li {
    border-bottom: 1px solid var(--color-seafoam);
}

.mobile-menu-link {
    display: block;
    padding: var(--space-4) var(--space-6);
    color: var(--text-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-menu-link:hover {
    background-color: var(--seafoam-bg);
    color: var(--color-blue-dark);
}

.mobile-menu-cta {
    display: block;
    margin: var(--space-4) var(--space-6);
    padding: var(--space-4);
    background-color: var(--color-amber);
    color: var(--text-dark);
    text-align: center;
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-menu-cta:hover {
    background-color: var(--color-amber-dark);
}

[data-theme="dark"] .mobile-menu {
    background-color: var(--text-dark);
}

[data-theme="dark"] .mobile-menu-link {
    color: var(--color-white);
}

[data-theme="dark"] .mobile-menu-link:hover {
    background-color: #556B5E;
}

[data-theme="dark"] .mobile-menu-toggle span {
    background-color: var(--color-white);
}

/* ========================================
   HERO SECTION - FULL SCREEN
======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.hero-content {
    max-width: var(--max-width-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 60% 40%;
    gap: var(--space-16);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--space-6);
}

.hero-text p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
}

.btn-primary {
    background-color: var(--color-amber);
    color: var(--text-dark);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--color-amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 200, 87, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-blue-dark);
    padding: var(--space-4) var(--space-8);
    border: 2px solid var(--color-blue);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--color-blue-dark);
    background-color: var(--color-blue);
    color: var(--color-white);
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(168, 197, 181, 0.3);
    background-color: var(--bg-primary);
    will-change: auto;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-width: 100%;
    min-height: 100%;
    position: relative;
    transform: none !important;
    transition: none !important;
}

/* Bubble Explosion Animation */
.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 3;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(173, 216, 230, 0.6), rgba(46, 196, 182, 0.3));
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(173, 216, 230, 0.4);
    pointer-events: none;
    opacity: 0;
}

/* Keyframe: Explode outward then float down */
@keyframes bubbleExplodeFloat {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    15% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    30% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .bubble {
        box-shadow:
            inset 0 0 10px rgba(255, 255, 255, 0.5),
            0 0 10px rgba(173, 216, 230, 0.4);
    }
}

/* ========================================
   SECTION STYLES
======================================== */

section {
    padding: var(--section-padding) 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

/* Contact section fits in viewport */
#contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-8) 0;
}

/* Reduce section header spacing on contact section */
#contact .section-header h2 {
    margin-bottom: var(--space-2);
}

#contact .section-header p {
    font-size: var(--text-base);
}

.section-container {
    max-width: var(--max-width-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

/* Contact section header - more compact */
#contact .section-header {
    margin-bottom: var(--space-8);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-xl);
    color: var(--color-blue);
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
======================================== */

#about {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-story {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: var(--space-16);
    align-items: center;
}

.about-content h2 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    color: var(--color-blue);
}

.about-content h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-8);
    color: var(--text-primary);
    font-weight: var(--font-semibold);
}

.about-content p {
    margin-bottom: var(--space-6);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
    margin-top: var(--space-16);
    padding: var(--space-8);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.stat {
    text-align: center;
    padding: var(--space-4);
}

.stat-number {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    color: var(--color-blue);
    line-height: var(--leading-none);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-base);
    color: var(--text-secondary);
    font-weight: var(--font-medium);
}

.about-image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(47, 128, 237, 0.2);
    position: relative;
    margin-left: auto;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 128, 237, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   SERVICES SECTION
======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    background-color: var(--color-white);
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    width: 100%;
}

.service-card p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    max-width: 100%;
}

.service-price {
    font-size: var(--text-xl);
    font-weight: var(--font-extrabold);
    color: var(--color-blue);
    margin-bottom: var(--space-4);
    width: 100%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-6);
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-features li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-2) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    justify-content: center;
}

.service-features li:before {
    content: "✓";
    color: var(--color-blue);
    font-weight: var(--font-bold);
}

.service-cta {
    background-color: var(--color-amber);
    color: var(--text-dark);
    padding: var(--space-3) var(--space-6);
    border: 2px solid var(--color-amber);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
    margin-top: auto;
}

.service-cta:hover {
    background-color: var(--color-amber-dark);
    border-color: var(--color-amber-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 200, 87, 0.4);
}

/* Service Detail Modal */
.service-modal {
    z-index: 10000;
}

.service-modal-content {
    background-color: var(--color-white);
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.service-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    background: var(--color-blue);
    color: var(--color-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    font-size: var(--text-3xl);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.service-close:hover {
    background-color: var(--color-blue-dark);
    transform: rotate(90deg);
}

.service-modal-header {
    text-align: center;
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-6);
    border-bottom: 2px solid var(--color-seafoam);
}

.service-modal-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal-header h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    color: #000000;
}

.service-modal-price {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-amber);
}

.service-modal-body {
    margin-bottom: var(--space-8);
}

.service-detail-section {
    margin-bottom: var(--space-8);
}

.service-detail-section h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    color: #000000;
}

.service-detail-section p {
    font-size: var(--text-lg);
    color: #000000;
    line-height: var(--leading-relaxed);
}

.service-detail-section ul {
    list-style: none;
}

.service-detail-section ul li {
    font-size: var(--text-base);
    color: #000000;
    padding: var(--space-3) 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    line-height: var(--leading-relaxed);
}

.service-detail-section ul li:before {
    content: "✓";
    color: var(--color-blue);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
}

.service-modal-footer {
    display: flex;
    justify-content: center;
    padding-top: var(--space-6);
    border-top: 2px solid var(--color-seafoam);
}

.service-modal-footer .btn-primary {
    min-width: 200px;
}

/* ========================================
   TESTIMONIALS
======================================== */

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--space-4);
}

.testimonial-card {
    background-color: var(--bg-secondary);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    width: 100%;
    max-width: 800px;
}

.testimonial-card:hover {
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-blue);
    color: var(--color-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    font-size: var(--text-3xl);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--color-blue-dark);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -60px;
}

.slider-next {
    right: -60px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: var(--color-blue-light);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--color-blue);
    width: 32px;
}

.dot:hover {
    background-color: var(--color-blue-dark);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    color: var(--color-amber);
    justify-content: center;
}

.testimonial-text {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    text-align: center;
    max-width: 100%;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    justify-content: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--color-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    color: var(--color-blue-dark);
}

.author-info h4 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-1);
}

.author-info p {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.review-source {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

/* ========================================
   CONTACT FORM / QUOTE FORM
======================================== */

.quote-form {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--seafoam-bg) 100%);
    padding: var(--space-8);
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(46, 196, 182, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    border: 2px solid transparent;
    background-color: var(--color-white);
    border-radius: 12px;
    font-size: var(--text-sm);
    font-family: var(--font-family);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232F80ED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    background-size: 20px;
    padding-right: var(--space-12);
    cursor: pointer;
    font-weight: var(--font-medium);
}

.form-group select:hover {
    background-color: #D9F0EE;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232F80ED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-group select option {
    padding: var(--space-3);
    background-color: var(--color-white);
    color: var(--text-dark);
    font-weight: var(--font-medium);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--color-seafoam);
    box-shadow: 0 4px 12px rgba(46, 196, 182, 0.15);
    transform: translateY(-1px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-blue);
    box-shadow: 0 8px 24px rgba(47, 128, 237, 0.15), 0 0 0 4px rgba(47, 128, 237, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-amber-dark) 100%);
    color: var(--text-dark);
    padding: var(--space-4);
    border: none;
    border-radius: 16px;
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(255, 200, 87, 0.4);
    position: relative;
    overflow: hidden;
}

.form-submit::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;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 200, 87, 0.6);
}

.form-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 200, 87, 0.4);
}

/* ========================================
   FAQ SECTION
======================================== */

.faq-list {
    max-width: var(--max-width-md);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.faq-item {
    border-bottom: 2px solid var(--color-seafoam);
    margin-bottom: var(--space-6);
    padding: 0 var(--space-4);
}

.faq-question {
    width: 100%;
    padding: var(--space-6) var(--space-4);
    background: none;
    border: none;
    text-align: left;
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    color: #000000;
}

.faq-question:hover {
    color: var(--color-blue);
}

.faq-icon {
    transition: transform var(--transition-fast);
    font-size: var(--text-2xl);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-4) var(--space-6) var(--space-4);
}

.faq-answer p {
    color: #000000;
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* ========================================
   FOOTER
======================================== */

footer {
    background-color: var(--text-dark);
    color: var(--color-white);
    padding: var(--space-20) 0 var(--space-8);
}

.footer-content {
    max-width: var(--max-width-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-column h4 {
    color: var(--color-white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--text-base);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-coral-light);
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.4);
}

.footer-bottom {
    max-width: var(--max-width-2xl);
    margin: 0 auto;
    padding: var(--space-8) var(--space-6) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--color-seafoam);
    font-size: var(--text-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    position: relative;
}

.footer-bottom p {
    margin: 0;
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-seafoam);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    position: absolute;
    right: var(--space-6);
}

.developer-credit:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.developer-heart {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
    }

    .developer-credit {
        position: static;
    }

    /* Testimonials Slider Mobile */
    .slider-prev {
        left: 0;
    }

    .slider-next {
        right: 0;
    }

    .testimonials-slider {
        padding: var(--space-8) var(--space-12) 0;
    }
}

/* ========================================
   WHATSAPP WIDGET
======================================== */

.whatsapp-widget {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    z-index: 999;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* ========================================
   MODAL / POPUP
======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-white);
    padding: var(--space-16);
    border-radius: var(--radius-2xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}

.modal-content p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin: 0 auto var(--space-8);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    font-size: var(--text-3xl);
    cursor: pointer;
    color: var(--text-tertiary);
}

/* ========================================
   SCROLL ANIMATIONS
======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   DARK MODE
======================================== */

[data-theme="dark"] {
    /* Dark Mode Color Palette */
    --bg-primary: #0A0E1A;              /* Almost-black with navy hint */
    --bg-secondary: #1E2A3A;            /* Deep slate blue cards */
    --bg-tertiary: #2D3A4D;             /* Elevated surfaces */
    --text-primary: #F5F7FA;            /* Soft off-white */
    --text-secondary: #9CA3AF;          /* Cool gray */
    --text-tertiary: #6B7280;           /* Muted gray */
    --border-color: #374151;            /* Muted blue-gray */

    /* Interactive Colors */
    --color-blue: #3B94FF;              /* Bright cerulean blue */
    --color-blue-dark: #2563EB;         /* Darker blue for hovers */
    --color-blue-light: #60A5FA;        /* Lighter blue accents */
    --color-seafoam: #5FD4C8;           /* Calm seafoam/mint */
    --color-seafoam-dark: #2EC4B6;      /* Deeper mint */
    --color-amber: #FFC857;             /* Warm golden amber */
    --color-amber-dark: #F5B93E;        /* Deeper amber */

    /* Semantic Colors */
    --color-success: #4ADE80;           /* Fresh spring green */
    --focus-ring: #7DD3FC;              /* Pale sky-blue glow */
}

[data-theme="dark"] .nav {
    background-color: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .testimonial-card:hover {
    background-color: var(--bg-primary);
    border-color: var(--color-blue);
}

[data-theme="dark"] .service-card h3,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .service-features li {
    color: var(--text-primary);
}

[data-theme="dark"] .service-price {
    color: var(--color-blue);
}

[data-theme="dark"] .service-icon {
    border: 2px solid var(--color-amber);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: 0 0 20px rgba(255, 200, 87, 0.3);
}

[data-theme="dark"] .modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-content h1,
[data-theme="dark"] .modal-content h2,
[data-theme="dark"] .modal-content h3,
[data-theme="dark"] .modal-content p,
[data-theme="dark"] .modal-content li {
    color: var(--text-primary);
}

[data-theme="dark"] .service-modal-content {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-modal-header h2,
[data-theme="dark"] .service-detail-section h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .service-detail-section p,
[data-theme="dark"] .service-detail-section ul li {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-modal-price {
    color: var(--color-amber);
}

[data-theme="dark"] .service-modal-header {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .service-modal-footer {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .mobile-menu {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .mobile-menu-links li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .mobile-menu-link {
    color: var(--text-primary);
}

[data-theme="dark"] .mobile-menu-link:hover {
    background-color: var(--bg-secondary);
    color: var(--color-blue);
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
}

[data-theme="dark"] section {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .logo {
    color: var(--color-blue-light);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--color-blue);
}

[data-theme="dark"] .nav-links a.active {
    color: var(--color-blue);
    border-bottom-color: var(--color-blue);
}

[data-theme="dark"] .quote-form {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-color: var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .form-group label {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background-color: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233B94FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="dark"] .form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233B94FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="dark"] .form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group select::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-tertiary);
}

[data-theme="dark"] .form-group input:hover,
[data-theme="dark"] .form-group select:hover,
[data-theme="dark"] .form-group textarea:hover {
    background-color: var(--bg-secondary);
    border-color: var(--color-seafoam);
    box-shadow: 0 4px 12px rgba(95, 212, 200, 0.2);
    transform: translateY(-1px);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    background-color: var(--bg-secondary);
    border-color: var(--color-blue);
    box-shadow: 0 8px 24px rgba(59, 148, 255, 0.2), 0 0 0 4px rgba(59, 148, 255, 0.15);
    transform: translateY(-2px);
}

[data-theme="dark"] #about {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .about-stats {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .stat-number {
    color: var(--color-blue-light);
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .faq-item {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-question {
    color: #FFFFFF;
}

[data-theme="dark"] .faq-answer p {
    color: #FFFFFF;
}

[data-theme="dark"] .footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-links a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--color-blue);
}

[data-theme="dark"] .social-icon {
    background-color: var(--bg-tertiary);
    border-color: var(--color-blue);
    box-shadow: 0 2px 8px rgba(59, 148, 255, 0.2);
}

[data-theme="dark"] .social-icon:hover {
    background-color: var(--color-blue);
    border-color: var(--color-blue-light);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 148, 255, 0.5);
}

[data-theme="dark"] .dark-mode-toggle {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .dark-mode-toggle:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--color-blue);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background-color: var(--color-blue);
}

/* ========================================
   PERFORMANCE & ACCESSIBILITY
======================================== */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-video video {
        animation: none;
        transition: none;
    }
}

/* Optimize for slow connections */
@media (prefers-reduced-data: reduce) {
    .hero-video {
        display: none;
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 5rem;
    }

    .hero-content,
    .about-story {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .hero-video {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet breakpoint */
@media (max-width: 768px) {
    .hero-video {
        max-width: 420px;
        border-width: 6px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 2rem;
        --nav-height: 64px;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
        --text-xl: 1.125rem;
    }

    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    body {
        overflow-x: hidden;
        font-size: var(--text-base);
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-menu {
        display: block !important;
    }

    .nav-cta {
        display: none !important;
    }

    .logo {
        flex-grow: 1;
        text-align: center;
        margin-right: auto;
    }

    .logo-image {
        height: 55px;
    }

    .dark-mode-toggle {
        width: 48px;
        height: 48px;
        margin-left: 0;
        margin-right: var(--space-2);
    }

    .toggle-icon {
        width: 28px;
        height: 28px;
    }

    .toggle-icon svg {
        stroke-width: 2.5px;
    }

    .toggle-icon.sun {
        filter: brightness(1.5) contrast(1.2) drop-shadow(0 1px 3px rgba(255, 255, 255, 0.4));
    }

    .toggle-icon.moon {
        filter: brightness(1.2) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    }

    [data-theme="dark"] .toggle-icon.sun {
        filter: brightness(1.8) contrast(1.3) drop-shadow(0 1px 4px rgba(255, 255, 255, 0.5));
    }

    [data-theme="dark"] .toggle-icon.moon {
        filter: brightness(1.3) drop-shadow(0 1px 3px rgba(255, 255, 255, 0.2));
    }

    .hero {
        min-height: 80vh;
        padding-top: var(--nav-height);
    }

    .hero-content {
        padding: var(--space-8) var(--space-4);
    }

    .hero-text h1 {
        font-size: var(--text-4xl);
        line-height: 1.2;
    }

    .hero-text p {
        font-size: var(--text-base);
    }

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

    .hero-cta a {
        width: 100%;
        text-align: center;
    }

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

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

    /* Contact form more compact on mobile */
    #contact {
        padding: var(--space-6) 0;
    }

    #contact .section-header {
        margin-bottom: var(--space-4);
    }

    #contact .section-header h2 {
        font-size: var(--text-2xl);
    }

    #contact .section-header p {
        font-size: var(--text-sm);
    }

    .quote-form {
        padding: var(--space-6);
        border-radius: 24px;
    }

    .form-grid {
        gap: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .form-group textarea {
        min-height: 60px;
    }

    .form-submit {
        padding: var(--space-3);
        font-size: var(--text-base);
    }

    /* Footer Mobile Optimizations */
    footer {
        padding: var(--space-12) 0 var(--space-6);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        margin-bottom: var(--space-8);
        padding: 0 var(--space-4);
    }

    .footer-column h4 {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .footer-links a {
        font-size: var(--text-sm);
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-6) var(--space-4) 0;
    }

    .developer-credit {
        position: static;
    }

    .hero-video {
        width: 100%;
        max-width: min(400px, 90vw);
        margin: 0 auto;
        border-width: 4px;
    }

    .about-image {
        height: 400px;
    }

    .about-content h2 {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-3);
    }

    .about-content h3 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-4);
    }

    .about-content p {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .about-stats {
        margin-top: var(--space-8);
        padding: var(--space-6);
        gap: var(--space-6);
    }

    .stat {
        padding: var(--space-2);
    }

    .stat-number {
        font-size: var(--text-5xl);
    }

    .stat-label {
        font-size: var(--text-sm);
    }

    .section-container {
        padding: 0 var(--space-4);
    }

    .modal-content,
    .service-modal-content {
        padding: var(--space-8);
        width: 95%;
    }

    .slider-prev {
        left: var(--space-2);
    }

    .slider-next {
        right: var(--space-2);
    }

    .service-modal-icon {
        width: 80px;
        height: 80px;
    }

    .btn-primary,
    .btn-secondary,
    .service-cta,
    .form-submit {
        min-height: 48px;
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-6);
    }

    input, select, textarea {
        min-height: 48px;
        font-size: 16px !important;
    }

    .section-header h2 {
        font-size: var(--text-3xl);
    }

    .section-header p {
        font-size: var(--text-base);
    }

    .testimonial-text {
        font-size: var(--text-base);
    }

    .whatsapp-widget {
        bottom: var(--space-6);
        right: var(--space-6);
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
    }

    .testimonials-slider {
        max-width: calc(100vw - 2rem);
        padding: var(--space-4) var(--space-2);
        margin: 0 auto;
    }

    .testimonial-slide {
        padding: 0 var(--space-2);
    }

    .testimonial-card {
        padding: var(--space-5);
        max-width: calc(100vw - 4rem);
        margin: 0 auto;
    }

    .testimonial-text {
        font-size: var(--text-sm);
        line-height: 1.5;
        margin-bottom: var(--space-4);
    }

    .testimonial-rating {
        margin-bottom: var(--space-3);
        font-size: var(--text-sm);
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: var(--text-sm);
    }

    .author-info h4 {
        font-size: var(--text-sm);
    }

    .author-info p {
        font-size: var(--text-xs);
    }

    .slider-btn {
        display: none;
    }

    /* Mobile Modal - Bottom Sheet Style */
    .modal {
        align-items: flex-end;
    }

    .service-modal-content {
        border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
        max-height: 85vh;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */

.container {
    max-width: var(--max-width-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   LIGHTBOX
======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: var(--space-2);
    transition: transform var(--transition-fast);
}

.lightbox-close:hover {
    transform: scale(1.2);
}
