:root {
    --primary: #003366;
    /* Deep Navy Blue */
    --secondary: #007bff;
    /* Bright Blue */
    --accent: #ffcc00;
    /* Gold */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

section {
    padding: 60px 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary);
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--white);
    margin-left: 20px;
}

.phone-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    vertical-align: top;
}

.consultation-status {
    margin-top: 12px;
    margin-bottom: 0;
    color: var(--white);
    font-size: 0.95rem;
}

.consultation-status.success {
    color: #d7ffd7;
}

.consultation-status.error {
    color: #ffd7d7;
}

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('https://images.unsplash.com/photo-1478760329108-5c3ed9d495a0?q=80&w=2674&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 160px 0 120px;
    margin-top: -80px;
    /* Offset fixed header */
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Services List Grid */
.bg-light {
    background-color: var(--bg-light);
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.list-item {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--secondary);
}

.list-item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.list-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* About & Stats */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

/* Partners */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.partners-list li {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

/* FAQ */
.faq-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.faq-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 0;
    }

    .languages {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        font-size: 0.85rem;
    }

    .languages a {
        padding: 2px 5px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .contact-info a {
        margin: 0;
        font-size: 0.9rem;
    }

    .phone-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .phone-list .separator {
        display: none;
    }

    .nav-bar .container {
        padding: 15px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none;
        /* TODO: Add mobile menu toggle */
    }

    .partners-list {
        gap: 10px;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }
}

/* Active Language */
.languages a.active {
    font-weight: bold;
    text-decoration: underline;
    color: var(--accent);
}
