/* Global Style */
body {
    font-family: Calibri, sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
}

/* Header */
header {
    background-color: #e6faff;
    color: #3263eb;
    padding: 1rem;
}

header h1 {
    margin: auto;
    color: #02123e;
    text-align: center;
    font-size: 2.2rem;
}

header p {
    margin: auto;
    font-size: 1.1rem;
}

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

section {
    margin-bottom: 2.5rem;
}

h1 {
    text-align: center;
}

h2 {
    color: #123aa8;
    border-bottom: 2px solid #123aa8;
    padding-bottom: 0.3rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    background-color: #02123e;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    color: #02123e;
    font-size: 0.9rem;
}

.footer img {
    height: 40px;
    width: auto;
}

.footer a {
    text-decoration: none;
}


/* ---------------------- */
/* NAVIGATION BAR STYLES  */
/* ---------------------- */

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links a:hover {
    text-decoration: underline;
}

.logo {
    height: 200px;
    width: auto;
    padding: 10px;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bar1, .bar2, .bar3 {
    display: block;
    width: 28px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

/* Change to X on click */
.change .bar1 {
    transform: translate(0, 8px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -8px) rotate(45deg);
}

/* ---------------------- */
/* DESKTOP NAV BEHAVIOR   */
/* ---------------------- */

@media (min-width: 701px) {
    .nav-links {
        display: flex;
        gap: 1.5rem;
        font-size: 25px;
    }

    .nav-links a {
        color: #02123e;
        text-decoration: none;
        font-weight: 500;
    }

}


/* ---------------------- */
/* MOBILE NAV BEHAVIOR    */
/* ---------------------- */

@media (max-width: 700px) {

    .hamburger {
        display: flex;
        background-color: #033f74;
        padding: 1rem;
        margin-top: 0.75rem;
        border-radius: 6px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #033f74;
        padding: 1rem;
        margin-top: 0.75rem;
        border-radius: 6px;
    }

    .nav-links a {
        padding: 0.5rem 0;
        text-decoration: none;
        color: white;
    }

    /* When menu is open (JS adds .nav-open) */
    .nav-links.nav-open {
        display: flex;
    }
}

/* ---------------------- */
/* PDF DISPLAY            */
/* ---------------------- */


.pdf-wrapper {
    max-width: 1000px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.pdf-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.viewer {
    width: 100%;
    height: auto;
    min-height: 600px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
}