/**
 * Alabama Poly Lift - Main Stylesheet
 * Enterprise-grade design system
 * Inspired by industrial leaders like Atlas Copco
 */

/* ============================================
   CSS VARIABLES - Design System
   ============================================ */
:root {
    /* Color Palette - Elegant Corporate Blues & Greys */
    --primary-color: #2C5282;        /* Deep Corporate Blue */
    --primary-dark: #1A365D;         /* Darker Blue */
    --primary-light: #4A7BA7;        /* Lighter Blue */
    
    --secondary-color: #5B7C99;      /* Muted Steel Blue */
    --secondary-dark: #445A72;       
    --secondary-light: #7A9AB5;      
    
    --accent-color: #3D5A80;         /* Sophisticated Blue Accent */
    --accent-dark: #2E4560;          
    
    --neutral-dark: #1A202C;         /* Deep Charcoal */
    --neutral-medium: #718096;       /* Slate Grey */
    --neutral-light: #F7FAFC;        /* Cool White */
    --neutral-white: #ffffff;        
    
    --success-color: #4A7BA7;        /* Blue Success */
    --warning-color: #5B7C99;        /* Blue Warning */
    --error-color: #445A72;          
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;    
    --space-sm: 1rem;      
    --space-md: 1.5rem;    
    --space-lg: 2.5rem;    
    --space-xl: 4rem;      
    --space-2xl: 6rem;     
    
    /* Layout */
    --container-max: 1280px;
    --container-wide: 1600px;
    --header-height: 90px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--neutral-dark);
    background-color: var(--neutral-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-light);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-dark);
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

p {
    margin-bottom: var(--space-sm);
    color: var(--neutral-medium);
    font-size: 1.0625rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--neutral-medium);
}

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    max-width: var(--container-wide);
}

.container-full {
    max-width: 100%;
    padding: 0;
}

.section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

.section-lg {
    padding: clamp(6rem, 15vw, 12rem) 0;
}

/* ============================================
   HEADER & NAVIGATION - COMPLETELY REDESIGNED
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: none;
    padding: 1rem 0;
}

/* Dark shadow for text legibility on initial load */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Remove shadow when scrolled (frosted glass provides contrast) */
.site-header.scrolled::before {
    opacity: 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: saturate(180%) blur(25px);
    -webkit-backdrop-filter: saturate(180%) blur(25px);
    border-bottom: none;
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    gap: 3rem;
}

.site-logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-white);
    text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 32px;
    width: auto;
    transition: opacity 0.3s ease;
}

.site-logo .logo-white {
    display: block;
    opacity: 1;
}

.site-logo .logo-dark {
    display: none;
    opacity: 0;
}

.site-header.scrolled .site-logo .logo-white {
    display: none;
    opacity: 0;
}

.site-header.scrolled .site-logo .logo-dark {
    display: block;
    opacity: 1;
}

.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--neutral-white);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0;
    padding: 0.375rem 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.site-header.scrolled .nav-menu a {
    color: var(--neutral-dark);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition-base);
}

/* Only change colors on desktop scroll */
@media (min-width: 769px) {
    .site-header.scrolled .nav-menu a {
        color: var(--neutral-dark);
    }
}

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-cta {
    flex-shrink: 0;
}

/* Hide mobile CTA on desktop, hide desktop CTA on mobile */
.nav-cta-mobile {
    display: none;
}

.nav-cta-desktop {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--neutral-white);
    margin: 6px 0;
    transition: all var(--transition-base);
    border-radius: 2px;
}

/* Hamburger color transitions with header scroll state */
.site-header.scrolled .mobile-menu-toggle span {
    background: var(--neutral-dark);
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1.125rem 2.5rem;
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: rgba(255, 255, 255, 0.15);
    transition: height var(--transition-base);
    z-index: 0;
}

.btn:hover::before {
    height: 100%;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--neutral-white);
    color: var(--primary-color);
    border-color: var(--neutral-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.site-header.scrolled .btn-primary {
    background: var(--primary-color);
    color: var(--neutral-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.site-header.scrolled .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--neutral-white);
}

.btn-light {
    background: var(--neutral-white);
    color: var(--primary-color);
    border: 2px solid var(--neutral-white);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--neutral-white);
    border-color: var(--neutral-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neutral-white);
    color: var(--neutral-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.btn-sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.btn-large {
    padding: 1.375rem 3rem;
    font-size: 1.125rem;
}

/* ============================================
   HERO SECTION - META STYLE
   ============================================ */
.hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 0;
    background: 
        linear-gradient(135deg, rgba(26, 32, 44, 0.7) 0%, rgba(44, 82, 130, 0.65) 50%, rgba(61, 90, 128, 0.6) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%),
        url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply, overlay, normal;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) var(--space-lg, 2rem);
    width: 100%;
}

.hero-text {
    max-width: 1000px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    display: inline-block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-title {
    margin-bottom: var(--space-lg);
    line-height: 1.25;
    color: var(--neutral-white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.hero-title .highlight {
    color: var(--neutral-white);
    font-weight: 700;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: var(--space-xl);
    font-weight: 500;
    max-width: 650px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* Remove old hero image styles - not needed anymore */

/* ============================================
   FEATURES / BENEFITS SECTION - META STYLE
   ============================================ */
.features {
    background: #F0F2F5;
    position: relative;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--neutral-white);
    border-radius: 12px;
    transition: all var(--transition-base);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1877F2;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--neutral-dark);
    font-weight: 700;
}

.feature-description {
    color: var(--neutral-medium);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(26, 60, 109, 0.08);
    border-radius: var(--radius-sm);
}

.section-title {
    margin-bottom: var(--space-md);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-description {
    font-size: 1.25rem;
    color: var(--neutral-medium);
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5282 0%, #4a7ba7 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(44, 82, 130, 0.25);
    border-color: rgba(44, 82, 130, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .service-card {
        border-radius: 16px;
    }
    
    .service-card:hover {
        transform: translateY(-6px);
    }
}

.service-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .service-image-wrapper {
        height: 200px;
    }
}

.service-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.92), rgba(74, 123, 167, 0.88));
    z-index: 1;
    transition: all 0.4s ease;
}

/* Remove blue overlay when actual images are present (not background-image icons) */
.service-image:has(img)::before,
.service-image:has(img)::after {
    display: none;
}

/* Ensure images display properly without overlay */
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card:hover .service-image::before {
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.85), rgba(74, 123, 167, 0.75));
}

.service-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.service-icon {
    color: #ffffff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.service-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 768px) {
    .service-content {
        padding: 24px 20px;
    }
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.35rem;
    }
}

.service-description {
    color: #4a5568;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.98rem;
    flex: 1;
}

.service-link {
    color: #2c5282;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content;
    padding: 12px 24px;
    border-radius: 10px;
    background: rgba(44, 82, 130, 0.05);
    border: 2px solid transparent;
}

.service-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2c5282 0%, #4a7ba7 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
    border-color: #2c5282;
}

.service-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    background: var(--neutral-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--neutral-white);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-lg);
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.step-description {
    color: var(--neutral-medium);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--primary-color);
    color: var(--neutral-white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
}

.testimonials .section-title {
    color: var(--neutral-white);
}

.testimonials .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--neutral-white);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-name {
    font-weight: 600;
    color: var(--neutral-white);
}

.author-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--neutral-white);
    text-align: center;
}

.cta-section .section-title {
    color: var(--neutral-white);
}

.cta-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--neutral-white);
    color: var(--secondary-color);
    border-color: var(--neutral-white);
}

.btn-white:hover {
    background: var(--neutral-light);
    color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--neutral-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: var(--neutral-white);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--neutral-white);
}

.footer-column h4 {
    color: var(--neutral-white);
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--neutral-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--neutral-white);
}

.footer-menu {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

.footer-menu a:hover {
    color: var(--neutral-white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header-inner {
        padding: 0 var(--space-md);
    }
    
    .site-logo img {
        height: 28px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
        flex-direction: column;
        padding: var(--space-xl) var(--space-md);
        transition: left var(--transition-base);
        overflow-y: auto;
        z-index: 10000;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    /* Logo in mobile menu */
    .main-nav::before {
        content: '';
        display: block;
        width: 150px;
        height: 40px;
        margin: 0 auto var(--space-xl);
        background: url('/assets/images/logo_white_1760862310.png') no-repeat center;
        background-size: contain;
    }
    
    /* Mobile phone header */
    .mobile-phone-header {
        text-align: center;
        margin-bottom: var(--space-lg);
        padding-bottom: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .mobile-phone-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: #ffffff !important;
        font-size: 1.25rem;
        font-weight: 600;
        text-decoration: none;
        padding: 0.75rem 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .mobile-phone-link:hover,
    .mobile-phone-link:active {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }
    
    .mobile-phone-link i {
        font-size: 1.125rem;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-bottom: var(--space-lg);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }
    
    .nav-menu > li > a {
        padding: var(--space-md) 0;
        color: #ffffff !important;
        display: block;
        width: 100%;
        font-size: 1.125rem;
        font-weight: 600;
    }
    
    /* Close button in mobile menu */
    .main-nav .mobile-menu-toggle {
        position: absolute;
        top: var(--space-md);
        right: var(--space-md);
        z-index: 10001;
    }
    
    .main-nav .mobile-menu-toggle span {
        background: #ffffff !important;
    }
    
    /* Mobile mega menu items */
    .nav-menu li.has-mega-menu > a::after {
        content: '+';
        float: right;
        font-size: 1.5rem;
        line-height: 1;
        color: #ffffff;
    }
    
    .nav-menu li.has-mega-menu.open > a::after {
        content: '×';
    }
    
    /* Mega menu content on mobile */
    .mega-menu-content.mobile-mega {
        display: none;
        background: rgba(255, 255, 255, 0.03);
        padding: 0.5rem 0;
    }
    
    .has-mega-menu.open .mega-menu-content.mobile-mega {
        display: block;
    }
    
    .mobile-submenu-item {
        display: block;
        padding: var(--space-sm) var(--space-md) var(--space-sm) calc(var(--space-xl) + var(--space-sm)) !important;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 0.95rem !important;
        font-weight: 400 !important;
        text-decoration: none;
        border-left: 2px solid rgba(255, 255, 255, 0.25);
        margin: 0 0 0 var(--space-lg) !important;
        transition: all 0.2s ease;
    }
    
    .mobile-submenu-item:hover,
    .mobile-submenu-item:active {
        color: #ffffff !important;
        border-left-color: rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.08);
    }
    
    /* Hide desktop mega menu styles on mobile */
    .mega-menu-content:not(.mobile-mega) {
        display: none !important;
    }
    
    .nav-menu a.active {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    /* Hide desktop CTA, show mobile CTA inside menu */
    .nav-cta-desktop {
        display: none;
    }
    
    .nav-cta-mobile {
        display: block;
        width: 100%;
        margin-top: var(--space-md);
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
        padding: 1.25rem;
        font-size: 1.125rem;
    }
    
    /* Hero stays full height, no white gap */
    .hero,
    .hero-city {
        min-height: 100vh;
        margin-top: 0;
    }
    
    /* Add top padding to hero content to clear header */
    .hero .hero-content {
        padding: clamp(5rem, 12vw, 7rem) var(--space-md, 1.5rem) clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .section {
        padding: var(--space-xl) 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero .hero-content {
        padding: 5rem var(--space-sm, 1rem) 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }


/* Blog Content Spacing */
.blog-content p,
.blog-content ul,
.blog-content h2,
.blog-content h3 {
    margin-top: 0;
    margin-bottom: 1.25em;
    line-height: 1.8;
}

.blog-content h3 {
    margin-top: 0;
    margin-bottom: 1.25em;
    line-height: 1.2;
}

.blog-content h2 {
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.blog-content ul {
    padding-left: 1.5em;
}


/* Blog Content Spacing & Styling */
.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content h2,
.blog-content h3 {
    margin-top: 0;
    margin-bottom: 1.25em;
    line-height: 1.8;
}

.blog-content h2 {
    color: #2C5282;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #4A7BA7;
}

.blog-content h3 {
    color: #3D5A80;
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.4;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.blog-content li {
    margin-bottom: 0.5em;
}

.blog-content a {
    color: #4A7BA7;
    text-decoration: underline;
}

.blog-content a:hover {
    color: #2C5282;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.blog-content table th {
    background: #2C5282;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.blog-content table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
}

.blog-content table tr:hover {
    background: #f7fafc;
}
