@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --brand-green: #0a8c3a;
    --brand-blue: #01316f;
    --brand-light-blue: #025ea1;
    --brand-orange: #ff6b35;
    --brand-gold: #d4af37;
    --text: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-secondary: #f7fafc;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --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);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* HEADER - Mobile First Default */
header {
    background: linear-gradient(135deg, #01316f 0%, #025ea1 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 16px;
    /* Remove potential borders/shadows from MDB/Bootstrap defaults */
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.nav-center-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    /* Mobile size */
    width: auto;
}

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

.logo-title {
    font-size: 16px;
    /* Mobile size */
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 11px;
    opacity: 0.85;
    display: none;
    /* Hidden on mobile by default */
}

/* Mobile Menu Button - Visible by default */
.mobile-menu-btn {
    display: block;
    justify-self: end;
    padding: 8px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Nav Links - Mobile Off-canvas Default */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(1, 49, 111, 0.98) 0%, rgba(2, 94, 161, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 1000;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    min-height: 50px;
    /* Minimum touch target */
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 20px;
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
}

.lang {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.lang a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.lang img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

/* SHARED SECTION STYLES */
.section-title {
    text-align: center;
    font-size: 28px;
    /* Mobile size */
    color: var(--brand-blue);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    /* Mobile size */
    color: var(--text-light);
    margin-bottom: 60px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(10, 140, 58, 0.4);
}

.btn-primary:hover {
    background: #068935;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 140, 58, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

/* FOOTER - Mobile First */
footer {
    background-color: #01316f;
    background: linear-gradient(135deg, #01316f 0%, #025ea1 100%);
    color: #fff;
    padding: 32px 16px 16px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    /* Stacked on mobile */
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-section p,
.footer-section a,
.footer-section .footer-item-content {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.8;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* PAGE HERO SECTION */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 60px;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 49, 111, 0.85) 0%, rgba(10, 140, 58, 0.75) 100%),
        url('https://images.unsplash.com/photo-1548013146-72479768bada?w=1600') center/cover;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.page-hero-content h1 {
    font-size: 32px;
    /* Mobile size */
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

.page-hero-content p {
    font-size: 18px;
    /* Mobile size */
    line-height: 1.6;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}


/* ========================================
   DESKTOP ENHANCEMENTS (min-width)
   ======================================== */

/* Tablet & Up */
@media (min-width: 768px) {
    .navbar {
        padding: 14px 20px;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Desktop & Up */
/* Desktop & Up */
/* Desktop & Up */
@media (min-width: 992px) {
    .navbar {
        display: flex;
        width: 100%;
        max-width: 100% !important;
        /* Ensure it spans full width */
        margin: 0 !important;
        /* Remove auto margins since we are full width */
        justify-content: center !important;
        /* Combined Center: Treat Logo + Menu as one unit */
        align-items: center !important;
        /* User verified offset via DevTools */
        /* Top Right Bottom Left */
        padding: 16px 24px;
        /* Gap handles by inner group */
    }

    .nav-center-group {
        gap: 32px;
        margin: 0 auto !important;
        padding: 0 !important;
        flex-grow: 0;
    }

    .logo {
        /* Revert flex: 1 */
        display: flex;
        /* Ensure logo contents are flex */
    }

    .logo img {
        height: 48px;
    }

    .logo-subtitle {
        display: block;
    }

    .logo-title {
        font-size: 18px;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .nav-links {
        /* Revert flex: 1 */
        display: flex;
        position: static;
        width: auto;
        max-width: none;
        /* Fix: Reset mobile max-width to allow full expansion */
        height: auto;
        background: none;
        backdrop-filter: none;
        padding: 0;
        flex-direction: row;
        gap: 20px;
        box-shadow: none;
        transform: none;
        overflow: visible;
    }

    .nav-links a {
        width: auto;
        padding: 8px 12px;
        border-bottom: none;
        font-size: 15px;
        min-height: auto;
        border-radius: 6px;
        white-space: nowrap;
        /* Prevent wrapping */
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 12px;
        /* Reset mobile hover effect */
    }

    .section-title {
        font-size: 40px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    footer {
        padding: 48px 24px 24px;
    }

    .page-hero-content h1 {
        font-size: 48px;
    }

    .page-hero-content p {
        font-size: 20px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .navbar {
        max-width: 100% !important;
        padding: 18px 32px;
    }

    .section-title {
        font-size: 48px;
    }

    .section-subtitle {
        font-size: 20px;
    }
}