/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Flex & Grid Utils */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

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

/* Sections */
section {
    padding: var(--spacing-xxl) 0;
}

section:nth-child(odd) {
    background-color: var(--white);
}

section:nth-child(even) {
    background-color: var(--primary-light);
}

section#home {
    background-color: var(--white);
}

section#stats {
    background-color: var(--primary) !important;
    padding: 40px 0 !important;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&q=80&w=1600') center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: var(--spacing-lg);
}

.hero-badges {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-lg);
    font-weight: 600;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), #0041a3);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stat-item h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Responsive Layout */
@media (max-width: 1024px) {
    .grid-2 {
        gap: var(--spacing-lg);
    }
    
    .grid-3 {
        gap: var(--spacing-md);
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .nav-flex {
        gap: var(--spacing-md);
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero {
        margin-top: 100px;
        height: auto;
        padding: var(--spacing-xl) 0 !important;
    }
    
    .section-header {
        margin-bottom: var(--spacing-xl);
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-badges {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: var(--spacing-lg);
    }
    
    .stats-bar {
        padding: 30px 0 !important;
    }
}