/* ================== RESET & BASE ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Body has padding-top to make space for fixed navbar on all pages */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Global elements */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Layout container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================== COLOR VARIABLES ================== */
:root {
    --primary-green: #207c4b;
    --primary-blue: #233d87;
    --accent-yellow: #ffff53;
    --light-yellow: #ffff30;
    --gray: #a8a7a7;
    --black: #000;
    --white: #fff;
}

/* ===================================================== */
/* ==================== NAVBAR SHARED ================== */
/* ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo image */
.logo img {
    height: 50px;
    width: auto;
}

/* Desktop nav menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    border-left: 1px solid var(--black);
    letter-spacing: 0.06em;
    transition: color 0.3s ease;
}

.nav-link:first-child {
    border-left: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

/* Hamburger button (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger "X" animation */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================== */
/* ===================== HERO SECTION ================== */
/* ===================================================== */

.hero-section {
    padding: 4rem 0 2rem;
    margin-top: 0; /* body padding-top handles navbar space */
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 800px;
    width: 100%;
}

/* ===================================================== */
/* ===================== ABOUT SECTION ================= */
/* ===================================================== */

.about-section {
    padding: 0 0 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Section title style used across the page */
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Title variations */
.section-title.blue {
    color: var(--primary-blue);
}

.section-title.green {
    color: var(--primary-green);
}

.section-title.large {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

/* Paragraph styling for about columns */
.about-column p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--black);
    letter-spacing: 0.02em;
}

/* ===================================================== */
/* ===================== PERKS SECTION ================= */
/* ===================================================== */

.perks-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.perks-section .section-title {
    margin-bottom: 3rem;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.perk-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.perk-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.perk-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.perk-content p {
    font-size: 0.9rem;
    color: var(--black);
    line-height: 1.5;
}

/* ===================================================== */
/* ====================== STATS SECTION ================ */
/* ===================================================== */

.stats-section {
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.stats-items {
    margin-top: 2rem;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    padding-right: 1rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.stat-divider {
    width: 100%;
    height: 4px;
    background-color: var(--black);
    margin: 0.75rem 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--black);
    line-height: 1.5;
}

/* Stats image */
.stats-image {
    position: relative;
}

.stats-image .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* Yellow frame behind the image */
.stats-image .image-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background-color: var(--accent-yellow);
    border-radius: 20px;
    z-index: -1;
}

.stats-image img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

/* ===================================================== */
/* =========== FLEXIBLE DELIVERY (BANNER SECTION) ====== */
/* ===================================================== */

.flexible-banner {
    background-color: var(--accent-yellow);
    padding: 4rem 0;
    margin: 4rem 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.banner-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.2;
}

.banner-image img {
    max-width: 250px;
}

/* ===================================================== */
/* ================== STATIONED SECTION ================ */
/* ===================================================== */

.stationed-section {
    padding: 5rem 0;
}

.stationed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.stationed-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stationed-image img {
    border-radius: 20px;
    width: 100%;
}

.stationed-text p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Highlighted bold part in stationed text */
.stationed-text .highlight {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray);
}

.stationed-text span {
    font-weight: 500;
    color: var(--black);
}

/* ===================================================== */
/* ==================== TEAM SECTION =================== */
/* ===================================================== */

.team-section {
    padding: 5rem 0;
}

.team-section .section-title {
    text-align: left;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.team-card {
    text-align: left;
}

.team-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 4 / 3;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.4;
}

.team-card .green-text {
    color: var(--primary-green);
}

/* ===================================================== */
/* ===================== FOOTER ======================== */
/* ===================================================== */

.footer {
    background-color: #1D2125;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.footer-logo img {
    height: 60px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 0.85rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgb(255, 249, 249);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: white;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* ===================================================== */
/* =================== RESPONSIVE (TABLET) ============= */
/* ===================================================== */

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-image {
        order: -1; /* Image above text */
    }

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

/* ===================================================== */
/* =================== RESPONSIVE (MOBILE) ============= */
/* ===================================================== */

@media (max-width: 768px) {
    /* Slightly smaller space for navbar */
    body {
        padding-top: 70px;
    }

    .navbar-container {
        padding: 0.75rem 1rem;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Mobile dropdown nav */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center; /* center nav links horizontally */
        background: #ffffff;
        padding: 0.75rem 1.5rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-link {
        width: auto;
        border-left: none;
        border-bottom: 1px solid #ddd;
        padding: 0.8rem 0;
        text-align: center;  /* center text on mobile */
        font-size: 0.95rem;
        font-weight: 600;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero spacing on mobile */
    .hero-section {
        padding: 3rem 0 2rem;
    }

    /* Stack about columns */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .stat-row {
        grid-template-columns: 1fr;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img{
        display:inline;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
