/* GLOBAL */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #111;
    background-color: #f7f7f5; /* eggshell / very light grey */
}

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

h1, h2, h3 {
    font-weight: 700;
    margin: 0 0 10px 0;
}

p {
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
}

/* HERO */

.hero {
    position: relative;
    min-height: 80vh;
    padding: 120px 0 110px;
    color: #fff;
    background: #0a1d41 url("../assets/hero-bg.png?v=2") center / cover no-repeat;
    overflow: hidden;
    background-color: #0a1d41 !important;
    background-image: url("../assets/hero-bg.png?v=2") !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.hero-overlay {
    background: rgba(0, 20, 60, 0.6);
    position: absolute;
    inset: 0;
}

/* HERO NAV */

.hero-nav {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.hero-logo {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid rgba(247, 247, 245, 0.6);
    letter-spacing: 0.06em;
}

.hero-menu a {
    margin-left: 18px;
    font-size: 0.95rem;
    opacity: 0.9;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: 0.2s;
}

.hero-menu a:hover {
    border-bottom-color: rgba(247, 247, 245, 0.9);
}

/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-text {
    flex: 1 1 480px;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 540px;
}

.hero-photo {
    flex: 1 1 260px;
    max-width: 260px;
}

.hero-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid #f7f7f5;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: #f7f7f5;
    color: #0a1d41;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 22px;
    transition: 0.2s;
}

.cta-button:hover {
    background: #e3e3dd;
}

/* SECTIONS */

section {
    padding: 70px 0;
}

.section-title {
    font-size: 1.9rem;
    margin-bottom: 18px;
    color: #0a1d41;
}

.section-intro {
    max-width: 650px;
    margin-bottom: 35px;
}

/* VALUE GRID */

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.value-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.value-card h3 {
    margin-bottom: 10px;
    color: #0a1d41;
}

/* TIMELINE */

.timeline {
    border-left: 3px solid #0a1d41;
    margin-left: 20px;
    padding-left: 25px;
}

.timeline-item {
    margin-bottom: 35px;
    position: relative;
}

.timeline-item::before {
    content: "";
    width: 14px;
    height: 14px;
    background: #0a1d41;
    border-radius: 50%;
    position: absolute;
    left: -32px;
    top: 5px;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a1d41;
    margin-bottom: 3px;
}

/* FINAL CTA / CONTACT */

.footer-cta {
    text-align: center;
    padding: 60px 0 40px;
}

.footer-cta p {
    max-width: 640px;
    margin: 0 auto 12px;
}

.footer-email a {
    color: #0a1d41;
    font-weight: 700;
    font-size: 1.1rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero {
        padding-top: 110px;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px; /* Optional: nicely collapses spacing */
    }

    .hero-photo {
        max-width: 220px;
        margin-top: 20px; /* Pull photo closer to the text */
    }

    .hero-menu a {
        margin-left: 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .hero-nav {
        flex-direction: row;
        justify-content: space-between;
    }

    .hero-menu {
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 90px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}
