/* Google Fonts & Icon Set Import [cite: 10, 11] */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-blue: #0f4c81;     /* Primary theme choice [cite: 12] */
    --light-blue: #e3f2fd;       /* Used for secondary background contrast */
    --dark-blue: #0a2540;        /* Core element navigation backing */
    --accent-blue: #2196f3;      /* Call-to-actions and button flags */
    --white: #ffffff;
    --gray-bg: #f4f6f9;
    --text-main: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Google Font Integration [cite: 10] */
}

html {
    overflow-x: clip;
}

body {
    background-color: var(--gray-bg);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
}

/* Reusable Components: Header & Footer  */
.main-header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.logo i { color: var(--accent-blue); margin-right: 0.5rem; }

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--light-blue);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 400;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }

/* Hamburger toggle button - hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 1.5rem 2rem;
    margin-top: auto;
    text-align: center;
}
.footer-socials a {
    color: var(--light-blue);
    margin: 0 0.5rem;
    font-size: 1.2rem;
}

/* Landing Layout Configuration */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-banner h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero-banner p { font-size: 1.2rem; color: var(--light-blue); max-width: 600px; margin-bottom: 2.5rem; }

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 0.8rem 2.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}
.btn-primary:hover { background-color: #1976d2; }

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablets and small laptops */
@media (max-width: 992px) {
    .hero-banner h1 { font-size: 2.4rem; }
    .hero-banner p { font-size: 1.1rem; }
}

/* Tablets / large phones - switch to hamburger nav */
@media (max-width: 768px) {
    .main-header { padding: 1rem 1.25rem; }

    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .logo { font-size: 1.25rem; }

    .nav-toggle {
        display: block;
    }

    /* Collapsible nav menu */
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.2s ease;
    }

    .nav-links.open {
        max-height: 500px;
        opacity: 1;
        margin-top: 1rem;
    }

    .nav-links a {
        margin-left: 0;
        padding: 0.75rem 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-banner { padding: 4rem 1.5rem; }
    .hero-banner h1 { font-size: 2rem; }
    .hero-banner p { font-size: 1rem; }
}

/* Small phones */
@media (max-width: 480px) {
    .main-header { padding: 0.8rem 1rem; }
    .logo { font-size: 1.05rem; }
    .logo i { margin-right: 0.35rem; }

    .nav-toggle { font-size: 1.3rem; }

    .hero-banner { padding: 3rem 1rem; }
    .hero-banner h1 { font-size: 1.6rem; }
    .hero-banner p { font-size: 0.95rem; max-width: 100%; }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }

    .main-footer { padding: 1.25rem 1rem; }
    .footer-socials a { font-size: 1.1rem; }
}
