:root {
    --navy: #132448;
    --accent-red: #d32f2f;
    --text-light: rgba(255, 255, 255, 0.8);
    --border-color: rgba(255, 255, 255, 0.15);
   /* Add this at the very top of style.css */

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden; /* Prevents accidental horizontal scrolling */
}

.site-header, .hero {
    width: 100%;
    margin: 0;
}
    
/* Layout Helpers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header {
    background-color: var(--navy);
    font-family: 'Segoe UI', sans-serif;
    width: 100%;
}

/* Top Bar */
.header-top {
    padding: 20px 0;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-symbol {
    color: var(--accent-red);
}

.header-socials a {
    color: #fff;
    margin-left: 15px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.header-socials a:hover { color: var(--accent-red); }

/* Bottom Bar / Nav */
.header-nav {
    border-top: 1px solid var(--border-color);
    padding: 15px 0;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-menu a, .lang-switcher a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.main-menu a.active { color: var(--accent-red); }
.main-menu a:hover { color: var(--accent-red); }

.nav-trigger, .mobile-menu-btn { display: none; }

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 992px) {
    .header-socials { display: none; } /* Hide socials on mobile header */
    
    .mobile-menu-btn {
        display: block;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .header-nav {
        display: none; /* Hidden by default on mobile */
        background: var(--navy);
        position: absolute;
        width: 100%;
        left: 0;
        z-index: 1000;
    }

    /* Toggle Logic */
    .nav-trigger:checked ~ .header-nav {
        display: block;
    }

    .nav-flex {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .main-menu {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin-bottom: 20px;
    }

    .main-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
    }
}

/*hero*/

/* Hero Section Styling */
.hero {
    position: relative;
    height: 85vh; /* 85% of viewport height */
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1549944850-84e00be4203b?q=80&w=2070') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(19, 36, 72, 0.9), rgba(19, 36, 72, 0.4));
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
}

.text-accent {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 4px;
    margin-right: 15px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
}

.btn-primary:hover {
    background-color: #a52424;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--navy);
}

/* Stats Bar */
.stats-bar {
    position: relative;
    z-index: 3;
    margin-top: -60px; /* Pulls it up into the hero section */
}

.stats-grid {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2rem;
    color: #ddd; /* Subtle icon color like reference */
}

.stat-text h3 {
    font-size: 1.8rem;
    color: var(--accent-red);
    margin: 0;
}

.stat-text p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 100px 0;
        text-align: center;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        margin-right: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: -30px;
    }
    
    .stat-item {
        border: none;
    }
}
