/* ============================================
   GLM Consultancy - Premium Website Styles
   Enhanced Version with Animations
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #1a2b4a;
    --color-primary-light: #2d4266;
    --color-primary-dark: #0f1a2e;
    --color-accent: #c9a227;
    --color-accent-light: #e3bc3d;
    --color-accent-dark: #a68820;
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-gray-100: #f1f3f5;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    --color-text: #2d3748;
    --color-text-light: #718096;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(201, 162, 39, 0.3);

    /* Neon Glow Effects */
    --glow-gold: 0 0 20px rgba(201, 162, 39, 0.4), 0 0 40px rgba(201, 162, 39, 0.2), 0 0 60px rgba(201, 162, 39, 0.1);
    --glow-gold-intense: 0 0 20px rgba(201, 162, 39, 0.6), 0 0 40px rgba(201, 162, 39, 0.4), 0 0 80px rgba(201, 162, 39, 0.2);
    --glow-blue: 0 0 20px rgba(26, 43, 74, 0.4), 0 0 40px rgba(45, 66, 102, 0.3);
    --glow-gold-bottom: 0 8px 30px rgba(201, 162, 39, 0.3), 0 4px 15px rgba(201, 162, 39, 0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

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

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

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

/* Preloader grid pattern */
.preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Animated glow orbs */
.preloader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.15) 0%, transparent 50%);
    animation: preloaderOrb 4s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes preloaderOrb {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-logo .logo-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 60px rgba(201, 162, 39, 0.3);
    }
}

.preloader-logo .logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.4em;
    margin-top: 0.5rem;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
    animation: subGlow 2s ease-in-out infinite 0.5s;
}

@keyframes subGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(201, 162, 39, 0.8), 0 0 50px rgba(201, 162, 39, 0.4);
    }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
}

/* Glowing border around progress bar */
.preloader-bar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
    animation: barBorderGlow 2s linear infinite;
}

@keyframes barBorderGlow {
    0% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
        transform: translateX(100%);
    }
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--radius-full);
    animation: preloaderProgress 2s ease-in-out forwards;
    position: relative;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.6), 0 0 30px rgba(201, 162, 39, 0.4);
}

/* Glowing tip on progress bar */
.preloader-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--color-accent-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent), 0 0 30px rgba(201, 162, 39, 0.5);
    animation: progressTip 0.5s ease-in-out infinite;
}

@keyframes progressTip {
    0%, 100% {
        box-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent), 0 0 30px rgba(201, 162, 39, 0.5);
    }
    50% {
        box-shadow: 0 0 15px var(--color-accent), 0 0 30px var(--color-accent), 0 0 45px rgba(201, 162, 39, 0.7);
    }
}

@keyframes preloaderProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    z-index: 9999;
    transition: width 0.1s linear;
}


/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-white);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced glow for hero text-gradient */
.hero-title .text-gradient {
    position: relative;
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.4));
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.6)) drop-shadow(0 0 50px rgba(201, 162, 39, 0.3));
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(201, 162, 39, 0.5); }
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(26, 43, 74, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.3em;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.nav-cta {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background: var(--color-accent-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem var(--spacing-md) 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Hero Visual Effects - Premium */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Hide the old shape elements */
.shape {
    display: none;
}

/* Animated Gradient Orbs */
.floating-shapes::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    animation: orbFloat 15s ease-in-out infinite;
    filter: blur(40px);
}

.floating-shapes::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.12) 0%, transparent 70%);
    animation: orbFloat 20s ease-in-out infinite reverse;
    filter: blur(50px);
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 1;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.7;
    }
}

/* Glowing Accent Lines */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3) 20%, rgba(201, 162, 39, 0.5) 50%, rgba(201, 162, 39, 0.3) 80%, transparent);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3), 0 0 40px rgba(201, 162, 39, 0.2);
    animation: lineGlow 4s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2) 30%, rgba(201, 162, 39, 0.4) 50%, rgba(201, 162, 39, 0.2) 70%, transparent);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2), 0 0 30px rgba(201, 162, 39, 0.15);
    animation: lineGlow 5s ease-in-out infinite 1s;
    z-index: 0;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Grid Pattern Overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    z-index: 1;
}

/* Subtle Noise Texture */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-accent), 0 0 20px rgba(201, 162, 39, 0.5);
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px var(--color-accent), 0 0 20px rgba(201, 162, 39, 0.5); }
    50% { opacity: 0.7; transform: scale(1.2); box-shadow: 0 0 15px var(--color-accent), 0 0 30px rgba(201, 162, 39, 0.7); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

/* Hero Trust Section */
.hero-trust {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust > span {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.trust-logo:hover {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
    box-shadow: 0 0 8px var(--color-accent);
}

@keyframes scrollDot {
    0%, 100% { opacity: 1; transform: translateY(0); box-shadow: 0 0 8px var(--color-accent); }
    50% { opacity: 0.5; transform: translateY(10px); box-shadow: 0 0 12px var(--color-accent), 0 0 20px rgba(201, 162, 39, 0.5); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    color: var(--color-off-white);
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Animation Classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--color-off-white);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    position: relative;
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 30px rgba(26, 43, 74, 0.3);
}

.stat-item:hover .stat-suffix {
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: var(--color-gray-300);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    display: inline;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-light);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-content {
    padding-right: var(--spacing-lg);
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.about-content p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

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

.feature-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    height: 500px;
}

.about-image-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.2), inset 0 1px 0 rgba(201, 162, 39, 0.1);
}

.about-image-content {
    position: relative;
    height: 100%;
    padding: var(--spacing-xl);
}

.about-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-xl), 0 10px 30px rgba(201, 162, 39, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), 0 15px 40px rgba(201, 162, 39, 0.3), 0 0 20px rgba(201, 162, 39, 0.15);
}

.about-card-1 {
    top: 30px;
    left: 0;
    animation: floatCard 6s ease-in-out infinite;
}

.about-card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: floatCard 6s ease-in-out infinite 2s;
}

.about-card-3 {
    bottom: 30px;
    left: 30px;
    animation: floatCard 6s ease-in-out infinite 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-card-2 {
    animation: floatCard2 6s ease-in-out infinite 2s;
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

.card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-white);
}

.card-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.card-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--color-off-white);
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: visible;
    transition: all var(--transition-base);
}

.service-card-inner {
    padding: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 15px 40px rgba(201, 162, 39, 0.25), 0 5px 20px rgba(201, 162, 39, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover .service-number,
.service-card:hover .service-title,
.service-card:hover .service-desc {
    color: var(--color-white);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon svg {
    stroke: var(--color-white);
}

.service-card:hover .service-link {
    color: var(--color-accent);
}

.service-number {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gray-200);
    line-height: 1;
    transition: color var(--transition-base);
    z-index: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: background var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(26, 43, 74, 0.3);
}

.service-card:hover .service-icon {
    box-shadow: 0 5px 25px rgba(201, 162, 39, 0.4), 0 0 15px rgba(201, 162, 39, 0.3);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-white);
    transition: stroke var(--transition-base);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    transition: color var(--transition-base);
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    transition: color var(--transition-base);
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent-dark);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Process Section
   ============================================ */
.process {
    background: var(--color-white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.4), 0 0 30px rgba(201, 162, 39, 0.2);
}

.process-step {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--color-white), var(--shadow-lg), 0 0 25px rgba(201, 162, 39, 0.4);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.process-step:hover .step-number {
    box-shadow: 0 0 0 6px var(--color-white), var(--shadow-lg), 0 0 35px rgba(201, 162, 39, 0.6), 0 0 50px rgba(201, 162, 39, 0.3);
    transform: scale(1.05);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us {
    background: var(--color-off-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.why-us-content {
    padding-right: var(--spacing-lg);
}

.why-us-content p,
.why-us-lead {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.why-us-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.why-us-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.why-us-list .check-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
    filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.5));
    transition: filter var(--transition-base);
}

.why-us-list li:hover .check-icon {
    filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.8));
}

.why-us-list .check-icon svg {
    width: 100%;
    height: 100%;
}

.why-us-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.why-us-list li div strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.why-us-list li div span {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.why-us-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 162, 39, 0.15), inset 0 1px 0 rgba(201, 162, 39, 0.2);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.visual-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 60px rgba(201, 162, 39, 0.25), inset 0 1px 0 rgba(201, 162, 39, 0.3);
    transform: translateY(-5px);
}

.visual-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
}

.visual-content {
    position: relative;
    z-index: 1;
}

.visual-quote {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: -2rem;
}

.visual-content p {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.visual-author {
    font-size: 0.9375rem;
    color: var(--color-accent);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .why-us-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .quote-text {
        font-size: 1.25rem;
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glowing accent lines for CTA */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5) 30%, rgba(201, 162, 39, 0.8) 50%, rgba(201, 162, 39, 0.5) 70%, transparent);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.5), 0 0 40px rgba(201, 162, 39, 0.3), 0 0 60px rgba(201, 162, 39, 0.2);
    animation: ctaLineGlow 3s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5) 30%, rgba(201, 162, 39, 0.8) 50%, rgba(201, 162, 39, 0.5) 70%, transparent);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.5), 0 0 40px rgba(201, 162, 39, 0.3), 0 0 60px rgba(201, 162, 39, 0.2);
    animation: ctaLineGlow 3s ease-in-out infinite 1.5s;
}

@keyframes ctaLineGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(201, 162, 39, 0.4), 0 0 40px rgba(201, 162, 39, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(201, 162, 39, 0.6), 0 0 60px rgba(201, 162, 39, 0.4), 0 0 80px rgba(201, 162, 39, 0.2);
    }
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Grid pattern for CTA */
.cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

/* Hide old shapes, use gradient orbs instead */
.cta-shape {
    display: none;
}

/* Animated gradient orbs for CTA */
.cta-shape-1,
.cta-shape-2 {
    display: block;
    border-radius: 0;
    background: none;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    animation: ctaOrbPulse 6s ease-in-out infinite;
    filter: blur(30px);
}

@keyframes ctaOrbPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.cta-content h2 .text-gradient {
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.5));
    animation: textGlow 3s ease-in-out infinite;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--color-off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-card:hover {
    box-shadow: var(--shadow-md), 0 10px 30px rgba(201, 162, 39, 0.2), 0 0 15px rgba(201, 162, 39, 0.1);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-white);
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--color-accent-dark);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--color-accent);
}

.contact-details address,
.contact-details p {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(201, 162, 39, 0.1);
    transition: box-shadow var(--transition-base);
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-xl), 0 0 60px rgba(201, 162, 39, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-500);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: var(--spacing-xs);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-primary-dark);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.footer-links nav,
.footer-services nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-services a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--color-accent);
}

.footer-contact a {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .about-content {
        padding-right: 0;
    }

    .about-image-wrapper {
        height: 400px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    section {
        padding: var(--spacing-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    /* Hero */
    .hero {
        padding: 6rem var(--spacing-md) 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-scroll {
        display: none;
    }

    .floating-shapes {
        display: none;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-bg::before {
        display: none;
    }

    /* Stats */
    .stats-section {
        padding: var(--spacing-xl) 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-suffix {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .stat-item::after {
        display: none;
    }

    /* About */
    .about-lead {
        font-size: 1.125rem;
    }

    .about-image-wrapper {
        height: 350px;
    }

    .about-card {
        padding: var(--spacing-sm);
    }

    .about-card-1 {
        top: 20px;
        left: 10px;
    }

    .about-card-2 {
        right: 10px;
    }

    .about-card-3 {
        bottom: 20px;
        left: 10px;
    }

    .card-value {
        font-size: 1rem;
    }

    .card-label {
        font-size: 0.6875rem;
    }

    .about-features {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .service-card-inner {
        padding: var(--spacing-lg);
    }

    .service-number {
        font-size: 2.5rem;
    }

    /* Process */
    .process-timeline {
        padding-left: 0;
    }

    .timeline-line {
        left: 20px;
    }

    .process-step {
        gap: var(--spacing-md);
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
        box-shadow: 0 0 0 4px var(--color-white), var(--shadow-md);
    }

    .step-content h3 {
        font-size: 1.125rem;
    }

    .step-content p {
        font-size: 0.875rem;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .why-us-content {
        padding-right: 0;
    }

    .why-us-list li div strong {
        font-size: 0.9375rem;
    }

    .why-us-list li div span {
        font-size: 0.875rem;
    }

    .visual-quote {
        font-size: 4rem;
    }

    .visual-content p {
        font-size: 1.125rem;
    }

    /* CTA */
    .cta-section {
        padding: var(--spacing-2xl) 0;
    }

    .cta-section::before,
    .cta-section::after,
    .cta-bg::before,
    .cta-bg::after {
        display: none;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Contact */
    .contact-card {
        padding: var(--spacing-md);
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }

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

    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        margin: 0 auto var(--spacing-md);
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero {
        padding: 5.5rem var(--spacing-sm) 2.5rem;
    }

    .hero-badge {
        font-size: 0.6875rem;
        padding: 0.375rem 0.875rem;
    }

    .hero-title {
        font-size: 1.625rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 0.875rem 1.75rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-sm);
    }

    .stat-number {
        font-size: 1.875rem;
    }

    .stat-suffix {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* About */
    .about-image-wrapper {
        height: 300px;
    }

    .about-card {
        transform: scale(0.85);
    }

    .about-card-1 {
        top: 10px;
        left: 0;
    }

    .about-card-3 {
        bottom: 10px;
        left: 0;
    }

    .about-features {
        gap: var(--spacing-xs);
    }

    .feature-item span {
        font-size: 0.875rem;
    }

    /* Services */
    .service-card-inner {
        padding: var(--spacing-md);
    }

    .service-number {
        font-size: 2rem;
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    .service-title {
        font-size: 1.125rem;
    }

    .service-desc {
        font-size: 0.875rem;
    }

    /* Process */
    .timeline-line {
        left: 16px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        box-shadow: 0 0 0 3px var(--color-white), var(--shadow-sm);
    }

    .process-step {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }

    .step-content {
        padding-top: 0;
    }

    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .step-content p {
        font-size: 0.8125rem;
        line-height: 1.6;
    }

    /* Why Us */
    .why-us-list .check-icon {
        width: 20px;
        height: 20px;
    }

    .visual-card {
        padding: var(--spacing-lg);
    }

    .visual-quote {
        font-size: 3rem;
        margin-bottom: -1.5rem;
    }

    .visual-content p {
        font-size: 1rem;
    }

    .visual-author {
        font-size: 0.875rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.375rem;
    }

    .cta-content p {
        font-size: 0.9375rem;
        margin-bottom: var(--spacing-md);
    }

    /* Contact */
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    .form-group label {
        font-size: 0.8125rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    /* Footer */
    .footer-links h4,
    .footer-services h4,
    .footer-contact h4 {
        font-size: 0.8125rem;
    }

    .footer-links a,
    .footer-services a,
    .footer-contact a,
    .footer-contact address {
        font-size: 0.875rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-suffix {
        font-size: 1.5rem;
    }

    .about-image-wrapper {
        height: 280px;
    }

    .about-card {
        transform: scale(0.75);
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .floating-shapes,
    .hero::before,
    .hero::after,
    .cta-section::before,
    .cta-section::after {
        display: none !important;
    }

    .hero-title .text-gradient,
    .cta-content h2 .text-gradient {
        animation: none !important;
        filter: none !important;
    }
}

/* Form Error States */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
