/* =============================================
   MADIRA ATTORNEYS - Modern Startup Design System
   Premium Legal Services Website
   ============================================= */

/* =============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================= */
:root {
    /* Primary Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Accent Colors - Gold/Amber for premium feel */
    --accent-50: #fffbeb;
    --accent-100: #fef3c7;
    --accent-200: #fde68a;
    --accent-300: #fcd34d;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

    /* Neutral Colors */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-dark: #0a0a0a;
    --bg-dark-secondary: #171717;

    /* Text Colors */
    --text-primary: #171717;
    --text-secondary: #525252;
    --text-tertiary: #737373;
    --text-inverse: #ffffff;
    --text-muted: #a3a3a3;

    /* Typography Scale */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(245, 158, 11, 0.15);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, var(--text-6xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-300) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    position: relative;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-24) 0;
}

.section-sm {
    padding: var(--space-16) 0;
}

.section-lg {
    padding: var(--space-32) 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md), 0 4px 14px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--neutral-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 1px solid var(--primary-600);
}

.btn-outline:hover {
    background: var(--primary-600);
    color: var(--text-inverse);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-icon {
    padding: var(--space-3);
    border-radius: var(--radius-md);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-4) 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: var(--space-2) 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: all 0.4s ease;
}

.navbar-brand-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.4s ease;
}

.navbar.scrolled .navbar-brand-text {
    color: var(--text-primary);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.navbar-toggle {
    display: none;
    padding: var(--space-2);
    color: var(--text-primary);
    transition: all 0.4s ease;
}

.navbar.scrolled .navbar-toggle {
    color: var(--text-primary);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: var(--space-2) 0;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
        z-index: 9999;
        position: relative;
    }

    .navbar-toggle.active {
        background: var(--primary-600);
        color: white;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-4);
        padding: var(--space-8);
        background: #ffffff;
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        z-index: -1;
    }

    .nav-link {
        font-size: var(--text-lg);
        font-weight: 600;
        padding: var(--space-4) var(--space-8);
        width: 100%;
        max-width: 280px;
        text-align: center;
        border-radius: var(--radius-xl);
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--neutral-200);
        color: var(--text-primary);
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-600);
        color: white;
        border-color: var(--primary-600);
        transform: scale(1.02);
    }

    .navbar-actions .btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        height: 36px;
    }

    .nav-link {
        font-size: var(--text-lg);
        padding: var(--space-3) var(--space-6);
    }

    /* Small Mobile Hero */
    .hero {
        padding-top: 70px;
    }

    .hero-bg-image {
        opacity: 0.45;
    }

    .hero-mesh {
        width: 250px;
        height: 250px;
    }

    .hero-image-wrapper {
        max-width: 220px;
    }

    .hero-floating-card {
        padding: var(--space-1) var(--space-2);
    }

    .hero-floating-card-1 {
        left: 0;
        top: 5%;
    }

    .hero-floating-card-2 {
        right: 0;
        bottom: 5%;
    }

    .hero-title {
        font-size: var(--text-xl);
    }

    .hero-description {
        font-size: var(--text-xs);
        padding: 0 var(--space-2);
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2);
        padding: var(--space-3);
    }

    .hero-stat-value {
        font-size: var(--text-base);
    }

    .hero-stat-label {
        font-size: 8px;
    }

    .hero-actions .btn {
        max-width: 240px;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
}

/* =============================================
   MODERN HERO SECTION (NEW SLEEK DESIGN)
   ============================================= */
.hero-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: var(--space-20);
    overflow: hidden;
    background: #ffffff;
}

.hero-new-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #ffffff;
}

.hero-new-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: contrast(1.05);
    transform: scale(1.05);
}

.hero-new-mesh {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.05) 0%, transparent 55%),
        radial-gradient(circle at 85% 85%, rgba(37, 99, 235, 0.03) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.hero-new-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 2;
}

.hero-new-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-12);
    align-items: center;
}

/* Content Area */
.hero-new-content {
    max-width: 680px;
}

.hero-new-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: #2563eb;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.badge-text {
    color: #1e40af;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-new-title {
    font-size: clamp(2.5rem, 5vw, var(--text-7xl));
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.text-glow {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-new-description {
    font-size: var(--text-lg);
    color: #475569;
    line-height: 1.6;
    margin-bottom: var(--space-10);
    max-width: 580px;
}

.hero-new-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

/* Sleek Buttons */
.btn-sleek {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.btn-sleek-primary {
    background: #2563eb;
    color: white;
}

.btn-sleek-primary:hover {
    background: #1d4ed8;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.btn-sleek-secondary {
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.btn-sleek-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-4px);
}

/* New Stats */
.hero-new-stats {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-xs);
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
}

/* Visual Area */
.hero-new-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.visual-main-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    max-width: 480px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.visual-main-frame:hover .visual-image {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.2), transparent);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    backdrop-filter: blur(20px);
    z-index: 3;
    min-width: 200px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.glass {
    background: rgba(255, 255, 255, 0.8);
}

.float-1 {
    top: 15%;
    left: -20%;
    animation: float-slow 6s ease-in-out infinite;
}

.float-2 {
    bottom: 15%;
    right: -10%;
    animation: float-slow 6s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.float-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.float-icon.blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.float-icon.gold { background: rgba(251, 191, 36, 0.1); color: #d97706; }

.float-text {
    display: flex;
    flex-direction: column;
}

.float-title {
    color: #1e293b;
    font-size: var(--text-sm);
    font-weight: 700;
}

.float-subtitle {
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
}

/* Visual Decorations */
.visual-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

.decoration-1 {
    width: 300px;
    height: 300px;
    background: rgba(37, 99, 235, 0.05);
    top: -50px;
    right: -50px;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    background: rgba(30, 58, 138, 0.08);
    bottom: -30px;
    left: -30px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    opacity: 0.8;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #0f172a;
    border-radius: 14px;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.wheel {
    width: 4px;
    height: 8px;
    background: #2563eb;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-scroll 1.5s ease-in-out infinite;
}

.scroll-text {
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes pulse-ring {
    0% { transform: scale(0.33); opacity: 1; }
    80%, 100% { transform: scale(1.5); opacity: 0; }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

@keyframes mouse-scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-new-container {
        grid-template-columns: 1fr;
        gap: var(--space-16);
        text-align: center;
        padding-top: var(--space-12);
    }

    .hero-new-content {
        margin: 0 auto;
    }

    .hero-new-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-new-actions {
        justify-content: center;
    }

    .hero-new-stats {
        justify-content: center;
    }

    .hero-new-visual {
        justify-content: center;
    }

    .float-1 { left: -5%; }
    .float-2 { right: -5%; }
}

@media (max-width: 640px) {
    .hero-new {
        padding-top: 80px;
    }

    .hero-new-title {
        font-size: var(--text-4xl);
    }

    .hero-new-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-sleek {
        width: 100%;
        justify-content: center;
    }

    .hero-new-stats {
        gap: var(--space-4);
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .stat-box {
        flex: 1;
        min-width: 80px;
    }

    .visual-main-frame {
        border-radius: 24px;
    }

    .floating-card {
        min-width: 160px;
        padding: var(--space-3);
    }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-4);
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-tertiary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.service-card {
    position: relative;
    background: var(--bg-primary);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-100);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-xl);
    color: var(--primary-600);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-description {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-600);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: var(--space-3);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image:nth-child(2) {
    transform: translateY(var(--space-12));
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-experience {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: var(--text-inverse);
    padding: var(--space-6) var(--space-8);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-xl), 0 8px 32px rgba(59, 130, 246, 0.3);
}

.about-experience-value {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1;
}

.about-experience-label {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-top: var(--space-1);
}

.about-text .section-label {
    justify-content: flex-start;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin: var(--space-8) 0;
}

.about-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.about-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--text-inverse);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-list-icon svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: var(--space-8);
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-inverse);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--primary-200);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
}

.testimonial-card {
    background: var(--bg-primary);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    color: var(--accent-500);
}

.testimonial-content {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-16) var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 500px;
    height: 500px;
    background: var(--primary-400);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -25%;
    width: 400px;
    height: 400px;
    background: var(--primary-700);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
}

.cta-description {
    color: var(--primary-100);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-white {
    background: var(--bg-primary);
    color: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact-item-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-1);
}

.contact-item-value {
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-dark);
    color: var(--neutral-400);
    padding-top: var(--space-20);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid var(--neutral-800);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-inverse);
}

.footer-description {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    color: var(--neutral-400);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary-600);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.footer-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-inverse);
    margin-bottom: var(--space-6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    font-size: var(--text-sm);
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-inverse);
}

.footer-contact-item {
    display: flex;
    gap: var(--space-3);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.footer-contact-icon {
    color: var(--primary-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal-link {
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--text-inverse);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-100 { transition-delay: 100ms; }
.animate-delay-200 { transition-delay: 200ms; }
.animate-delay-300 { transition-delay: 300ms; }
.animate-delay-400 { transition-delay: 400ms; }
.animate-delay-500 { transition-delay: 500ms; }

/* Stagger animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.animated > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.animated > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.animated > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children.animated > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children.animated > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children.animated > *:nth-child(6) { transition-delay: 500ms; }

.stagger-children.animated > * {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   PAGE HEADER / BANNER
   ============================================= */
.page-header {
    position: relative;
    padding: 180px 0 80px;
    background: var(--bg-dark);
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(30, 58, 138, 0.7) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--primary-300);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-title {
    margin-bottom: var(--space-4);
    color: var(--text-inverse);
    font-size: clamp(2.5rem, 5vw, var(--text-6xl));
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-header-description {
    max-width: 600px;
    margin: 0 auto var(--space-6);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--leading-relaxed);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-link {
    color: var(--primary-300);
    transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
    color: var(--primary-200);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-600);
    color: var(--text-inverse);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-700);
    transform: translateY(-4px);
}

/* =============================================
   LOADING SPINNER
   ============================================= */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--neutral-200);
    border-top-color: var(--primary-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   GLASSMORPHISM UTILITIES
   ============================================= */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--primary-600); }
.text-muted { color: var(--text-tertiary); }
.text-inverse { color: var(--text-inverse); }

.bg-primary { background: var(--bg-primary); }
.bg-secondary { background: var(--bg-secondary); }

.rounded-full { border-radius: var(--radius-full); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.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;
}

/* =============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================= */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-6);
    }

    .section {
        padding: var(--space-16) 0;
    }

    .section-lg {
        padding: var(--space-20) 0;
    }

    h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
    h2 { font-size: clamp(1.75rem, 4vw, var(--text-4xl)); }
    h3 { font-size: clamp(1.25rem, 3vw, var(--text-2xl)); }

    .hero {
        padding-top: 140px;
        padding-bottom: var(--space-12);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: var(--space-8);
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-floating-card {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .section {
        padding: var(--space-12) 0;
    }

    .section-sm {
        padding: var(--space-10) 0;
    }

    .section-header {
        margin-bottom: var(--space-10);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    /* Hero Mobile Fix - Matching Page Header Style */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-10);
        position: relative;
        overflow: visible;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .hero-bg-image {
        opacity: 0.35;
        filter: brightness(0.9);
    }

    .hero-bg-gradient {
        background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.92) 0%,
            rgba(37, 99, 235, 0.85) 50%,
            rgba(30, 58, 138, 0.92) 100%
        );
    }

    .hero::before {
        display: none;
    }

    .hero-mesh {
        display: block !important;
        width: 400px;
        height: 400px;
        animation: floatMesh 8s ease-in-out infinite;
    }

    .hero-mesh-1 {
        top: 0%;
        right: -150px;
        background: linear-gradient(135deg, var(--primary-400), var(--primary-300));
        opacity: 0.6;
        animation-delay: 0s;
    }

    .hero-mesh-2 {
        bottom: 10%;
        left: -150px;
        background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
        opacity: 0.5;
        animation-delay: -4s;
    }

    @keyframes floatMesh {
        0%, 100% {
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(20px, -20px) scale(1.05);
        }
        50% {
            transform: translate(-10px, 15px) scale(0.95);
        }
        75% {
            transform: translate(15px, 10px) scale(1.02);
        }
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        position: relative;
        z-index: 2;
    }

    .hero-visual {
        order: -1;
        position: relative;
    }

    .hero-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
        position: relative;
        padding: var(--space-2);
    }

    .hero-image-wrapper::after {
        content: '';
        position: absolute;
        top: var(--space-2);
        left: var(--space-2);
        right: var(--space-2);
        bottom: var(--space-2);
        background: linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.15) 0%,
            rgba(59, 130, 246, 0.1) 50%,
            rgba(96, 165, 250, 0.08) 100%
        );
        border-radius: var(--radius-2xl);
        pointer-events: none;
        z-index: 1;
    }

    .hero-image {
        border-radius: var(--radius-2xl);
        box-shadow:
            0 25px 80px rgba(37, 99, 235, 0.25),
            0 10px 40px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.5),
            inset 0 0 0 1px rgba(255, 255, 255, 0.2);
        animation: imageFloat 6s ease-in-out infinite;
    }

    @keyframes imageFloat {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
        }
        50% {
            transform: translateY(-10px) rotate(1deg);
        }
    }

    .hero-floating-card {
        display: flex !important;
        position: absolute;
        padding: var(--space-2) var(--space-3);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        animation: cardFloat 4s ease-in-out infinite;
        font-size: var(--text-xs);
    }

    .hero-floating-card-1 {
        top: 10%;
        left: -20px;
        animation-delay: 0s;
    }

    .hero-floating-card-2 {
        bottom: 10%;
        right: -20px;
        animation-delay: -2s;
    }

    @keyframes cardFloat {
        0%, 100% {
            transform: translateY(0);
            opacity: 0.9;
        }
        50% {
            transform: translateY(-8px);
            opacity: 1;
        }
    }

    .hero-floating-card > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .hero-floating-card > div > div:first-child {
        width: 28px !important;
        height: 28px !important;
        border-radius: 8px !important;
    }

    .hero-floating-card > div > div:last-child > div:first-child {
        font-size: 11px !important;
    }

    .hero-floating-card > div > div:last-child > div:last-child {
        font-size: 9px !important;
    }

    .hero-text {
        text-align: center;
        position: relative;
        z-index: 3;
    }

    .hero-badge {
        margin-bottom: var(--space-3);
        animation: badgePulse 3s ease-in-out infinite;
        background: linear-gradient(135deg, var(--primary-50), rgba(255, 255, 255, 0.9));
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
    }

    @keyframes badgePulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
        }
        50% {
            transform: scale(1.02);
            box-shadow: 0 6px 30px rgba(37, 99, 235, 0.25);
        }
    }

    .hero-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-3);
        line-height: 1.2;
        animation: titleSlide 0.8s ease-out;
    }

    @keyframes titleSlide {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-title .text-gradient {
        background: linear-gradient(135deg, var(--primary-600), var(--primary-400), var(--accent-500));
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientShift 4s ease-in-out infinite;
    }

    @keyframes gradientShift {
        0%, 100% {
            background-position: 0% center;
        }
        50% {
            background-position: 100% center;
        }
    }

    .hero-description {
        font-size: var(--text-sm);
        margin-bottom: var(--space-5);
        color: var(--text-secondary);
        line-height: 1.6;
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
        margin-bottom: var(--space-6);
        animation: fadeInUp 0.8s ease-out 0.4s both;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .hero-actions .btn-primary {
        background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
    }

    .hero-actions .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
    }

    .hero-actions .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-3);
        padding: var(--space-4);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        animation: statsReveal 0.8s ease-out 0.6s both;
    }

    @keyframes statsReveal {
        from {
            opacity: 0;
            transform: translateY(20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .hero-stat {
        text-align: center;
        position: relative;
    }

    .hero-stat::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    .hero-stat:last-child::after {
        display: none;
    }

    .hero-stat-value {
        font-size: var(--text-lg);
        font-weight: 700;
        color: white;
        text-shadow: none;
        -webkit-text-fill-color: white;
    }

    .hero-stat-label {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .section-description {
        font-size: var(--text-base);
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: var(--space-10);
    }

    .hero-title {
        font-size: var(--text-2xl);
        line-height: 1.35;
        color: white;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    }

    /* Fix title highlight visibility on mobile */
    .hero-title .text-gradient {
        background: linear-gradient(135deg, #93c5fd 0%, #fbbf24 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline !important;
        font-weight: 700;
    }

    /* Ensure hero content is properly centered and visible */
    .hero-content {
        padding: 0 var(--space-4);
        flex-direction: column;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 var(--space-2);
        color: rgba(255, 255, 255, 0.9);
        font-size: var(--text-sm);
    }

    .hero-badge {
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-4);
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-3) var(--space-4);
    }

    .hero-actions .btn-primary {
        background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    }

    .hero-actions .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-3);
        padding: var(--space-4);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: var(--space-6);
    }

    .hero-stat {
        text-align: center;
        position: relative;
    }

    .hero-stat::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    .hero-stat:last-child::after {
        display: none;
    }

    .hero-stat-value {
        font-size: var(--text-xl);
        font-weight: 700;
        color: white;
        -webkit-text-fill-color: white;
    }

    .hero-stat-label {
        font-size: 9px;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .hero-image {
        border-radius: var(--radius-xl);
    }

    /* Page Header Mobile */
    .page-header {
        padding: 140px 0 var(--space-10);
        min-height: 320px;
    }

    .page-header-title {
        font-size: var(--text-3xl);
    }

    .page-header-description {
        font-size: var(--text-base);
        padding: 0 var(--space-2);
    }

    .page-header-label {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
    }

    /* Buttons Mobile */
    .btn {
        padding: var(--space-3) var(--space-5);
        font-size: var(--text-sm);
    }

    .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .service-card {
        padding: var(--space-6);
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-4);
    }

    .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-title {
        font-size: var(--text-lg);
    }

    /* About Section Mobile */
    .about-images {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .about-image:nth-child(2) {
        transform: none;
    }

    .about-image img {
        height: 250px;
    }

    .about-experience {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: var(--space-4);
        padding: var(--space-4) var(--space-6);
    }

    .about-experience-value {
        font-size: var(--text-4xl);
    }

    .about-list {
        gap: var(--space-3);
    }

    .about-list-item {
        gap: var(--space-3);
        font-size: var(--text-sm);
    }

    /* Stats Section Mobile */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .stat-card {
        padding: var(--space-6);
    }

    .stat-value {
        font-size: var(--text-3xl);
    }

    .stat-label {
        font-size: var(--text-xs);
    }

    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: var(--space-6);
    }

    .testimonial-content {
        font-size: var(--text-base);
    }

    /* CTA Section Mobile */
    .cta-wrapper {
        padding: var(--space-10) var(--space-6);
        border-radius: var(--radius-xl);
    }

    .cta-title {
        font-size: var(--text-2xl);
    }

    .cta-description {
        font-size: var(--text-base);
    }

    .cta-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Contact Section Mobile */
    .contact-info {
        gap: var(--space-6);
    }

    .contact-form-wrapper {
        padding: var(--space-6);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile - Improved Layout */
    .footer {
        padding-top: var(--space-10);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6) var(--space-4);
    }

    /* Brand section spans full width */
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: var(--space-6);
        border-bottom: 1px solid var(--neutral-800);
        margin-bottom: var(--space-2);
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: var(--space-4);
    }

    .footer-logo-img {
        height: 80px;
    }

    .footer-description {
        font-size: var(--text-sm);
        max-width: 300px;
        margin: 0 auto var(--space-5);
        line-height: 1.6;
    }

    .footer-social {
        justify-content: center;
        gap: var(--space-3);
    }

    .footer-social-link {
        width: 44px;
        height: 44px;
        background: var(--neutral-700);
        border-radius: var(--radius-lg);
    }

    /* Quick Links and Services side by side */
    .footer-grid > div:nth-child(2),
    .footer-grid > div:nth-child(3) {
        text-align: left;
    }

    .footer-title {
        font-size: var(--text-sm);
        margin-bottom: var(--space-4);
        color: var(--primary-400);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .footer-links {
        align-items: flex-start;
        gap: var(--space-2);
    }

    .footer-link {
        font-size: var(--text-sm);
        padding: var(--space-1) 0;
        opacity: 0.8;
    }

    .footer-link:hover {
        opacity: 1;
        color: var(--primary-400);
    }

    /* Contact Info spans full width */
    .footer-grid > div:nth-child(4) {
        grid-column: 1 / -1;
        margin-top: var(--space-4);
        padding-top: var(--space-6);
        border-top: 1px solid var(--neutral-800);
    }

    .footer-grid > div:nth-child(4) .footer-title {
        text-align: center;
        margin-bottom: var(--space-5);
    }

    .footer-contact-item {
        display: flex;
        align-items: flex-start;
        gap: var(--space-3);
        padding: var(--space-3);
        background: var(--neutral-800);
        border-radius: var(--radius-lg);
        margin-bottom: var(--space-3);
        text-align: left;
        justify-content: flex-start;
    }

    .footer-contact-item:last-child {
        margin-bottom: 0;
    }

    .footer-contact-icon {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }

    .footer-contact-item span {
        font-size: var(--text-sm);
        line-height: 1.5;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
        padding: var(--space-5) 0;
        margin-top: var(--space-6);
        border-top: 1px solid var(--neutral-800);
    }

    .footer-bottom p {
        font-size: var(--text-xs);
        opacity: 0.7;
    }

    .footer-legal {
        justify-content: center;
        gap: var(--space-4);
    }

    .footer-legal-link {
        font-size: var(--text-xs);
        opacity: 0.7;
    }

    /* Back to Top Mobile */
    .back-to-top {
        bottom: var(--space-4);
        right: var(--space-4);
        width: 44px;
        height: 44px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }

    .section {
        padding: var(--space-10) 0;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .hero-stats {
        gap: var(--space-3);
    }

    .hero-stat-value {
        font-size: var(--text-2xl);
    }

    .hero-stat-label {
        font-size: var(--text-xs);
    }

    .page-header {
        padding: 120px 0 var(--space-10);
        min-height: 280px;
    }

    .page-header-title {
        font-size: var(--text-2xl);
    }

    .page-header-description {
        font-size: var(--text-base);
    }

    .page-header-label {
        font-size: var(--text-xs);
    }

    .section-title {
        font-size: var(--text-xl);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: var(--space-5);
    }

    .service-card {
        padding: var(--space-5);
    }

    .footer-logo-img {
        height: 100px;
    }

    .cta-wrapper {
        padding: var(--space-8) var(--space-4);
    }

    .cta-title {
        font-size: var(--text-xl);
    }
}

/* =============================================
   CONTACT MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(59, 130, 246, 0.15);
    padding: var(--space-8);
    animation: modalShine 0.6s ease-out 0.2s both;
}

@keyframes modalShine {
    0% {
        box-shadow: var(--shadow-2xl), 0 0 0 rgba(59, 130, 246, 0);
    }
    50% {
        box-shadow: var(--shadow-2xl), 0 0 80px rgba(59, 130, 246, 0.3);
    }
    100% {
        box-shadow: var(--shadow-2xl), 0 0 60px rgba(59, 130, 246, 0.15);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--error);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }
}

.modal-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.modal-subtitle {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.modal-form .form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.modal-form .form-input,
.modal-form .form-textarea {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-fast);
}

.modal-form .form-input:focus,
.modal-form .form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.modal-form .form-input::placeholder,
.modal-form .form-textarea::placeholder {
    color: var(--text-muted);
}

.modal-form .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-form-footer {
    margin-top: var(--space-2);
}

.modal-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    position: relative;
}

.modal-submit-btn .btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-submit-btn.loading .btn-text,
.modal-submit-btn.loading .btn-icon {
    display: none;
}

.modal-submit-btn.loading .btn-loader {
    display: block;
}

/* Success & Error States */
.modal-success,
.modal-error {
    display: none;
    text-align: center;
    padding: var(--space-8) 0;
}

.modal-success.active,
.modal-error.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(135deg, var(--error), #dc2626);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-title,
.error-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.success-message,
.error-message {
    color: var(--text-tertiary);
    margin-bottom: var(--space-6);
}

/* Modal form hidden when showing success/error */
.modal-form.hidden {
    display: none;
}

.modal-header.hidden {
    display: none;
}

/* Modal Responsive */
@media (max-width: 640px) {
    .modal-content {
        padding: var(--space-6);
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal-title {
        font-size: var(--text-xl);
    }

    .modal-icon {
        width: 56px;
        height: 56px;
    }

    .modal-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
