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

@font-face {
    font-family: 'Ethnocentric';
    src: local('Ethnocentric'), url('fonts/ethnocentric.woff2') format('woff2');
    font-display: swap;
}

:root {
    --brand-primary: #0f55a0;
    --bg-topbar: #f0f8ff;       /* Alice Blue */
    --bg-menubar: #5d8aa8;      /* Air Force Blue */
    --bg-content: #f2f3f4;      /* Anti-flash White */
    --clr-ash-grey: #b2beb5;
    --clr-beau-blue: #bcd4e6;
    --bg-footer: #111111;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-content);
    color: #222222;
    line-height: 1.6;
}

h1, h2, h3, .brand-font {
    font-family: 'Ethnocentric', 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* 1. STICKY TOP BAR */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-topbar);
    color: #000000;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.top-bar-info, .top-bar-socials {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* 2. STICKY MENU BAR */
.menu-bar {
    position: sticky;
    top: 35px;
    z-index: 999;
    background-color: var(--bg-menubar);
    color: #000000;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Ethnocentric', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--brand-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    color: #000000;
    transition: color 0.2s ease;
}

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

.burger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 3. HERO SECTION */
.hero {
    position: relative;
    background: linear-gradient(rgba(15, 85, 160, 0.8), rgba(0, 0, 0, 0.85)), 
                url('images/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 5% 140px;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero p {
    max-width: 800px;
    margin: 0 auto 25px;
    font-size: 1.1rem;
    color: var(--bg-topbar);
}

.cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-transparent {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-transparent:hover {
    background: #ffffff;
    color: var(--brand-primary);
}

.btn-primary {
    background: var(--brand-primary);
    color: #ffffff;
    border: 2px solid var(--brand-primary);
}

.btn-primary:hover {
    background: #0a3c73;
}

/* 4. OVERLAPPING HOVER BOXES */
.overlap-container {
    max-width: 1200px;
    margin: -70px auto 50px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hover-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--brand-primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hover-box:hover {
    transform: translateY(-8px);
    background-color: var(--clr-beau-blue);
}

.hover-box h3 {
    font-size: 1rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
}

/* 5. LAYOUT CONTAINERS */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* 6. FOOTER */
footer {
    background-color: var(--bg-footer);
    color: #ffffff;
    padding: 60px 5% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    color: var(--clr-beau-blue);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col p {
    font-size: 0.88rem;
    color: var(--clr-ash-grey);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--clr-ash-grey);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-4 { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    .menu-bar { top: 0; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-menubar);
        padding: 20px;
    }
    .nav-links.active { display: flex; }
    .burger-menu { display: block; }
    .hero { padding: 60px 5% 100px; }
    .overlap-container { margin-top: -40px; }
}