*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

:root {
    /* Primary Colors */
    --navy-blue: #0A1A2F;     /* 10, 26, 47 */
    --federal-blue: #0A3161;  /* 10, 49, 97 */
    --gold-color: #b28a34;

    /* Accent */
    --cyan: #38BDF8;
    --light-blue: #BFDBFE;

    /* Neutral */
    --off-white: #F8FAFC;
    --light-gray: #E2E8F0;
    --dark-gray: #1F2937;

    /* Typography Scale (REM) */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-md: 1rem;
    --fs-lg: 1.25rem;
    --fs-xl: 2rem;
    --fs-xxl: 3rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy-blue);
    background-color: var(--off-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--navy-blue);
}

/* Responsive heading sizing */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    font-size: var(--fs-md);
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Mobile-first section spacing */
section {
    padding: 3rem 1.5rem;
}

/* Mobile-first container */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.flex {
    display: flex;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.pt-1 { padding-top: 1rem; }
.pb-1 { padding-bottom: 1rem; }

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--navy-blue);
    color: white;
    border: 2px solid var(--navy-blue);
}

.btn-primary:hover {
    background: transparent;
    color: var(--navy-blue);
}

img {
    max-width: 100%;
    height: auto;
}

a:hover {
    opacity: 0.8;
}

/* Responsive Design */

/* ≤ 1536px: large desktops / small ultrawide */
@media (max-width: 1536px) {
    .container {
        max-width: 1200px;
    }

    section {
        padding: 4.25rem 3rem;
    }
}

/* ≤ 1280px: standard desktops */
@media (max-width: 1280px) {
    .container {
        max-width: 1120px;
    }

    section {
        padding: 4rem 3rem;
    }
}

/* ≤ 1024px: laptops */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    section {
        padding: 3.5rem 2.5rem;
    }
}

/* ≤ 768px: tablets */
@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    section {
        padding: 3rem 2rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* ≤ 640px: large mobile */
@media (max-width: 640px) {
    .container {
        max-width: 100%;
    }

    section {
        padding: 2.5rem 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}

/* ≤ 480px: small mobile */
@media (max-width: 480px) {
    section {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.9rem;
    }
}