/* assets/css/style.css */
/* Premium CSS Variables according to requirements */
:root {
    --cream-bg: #FDFBF7;
    /* Cream color for background */
    --navy-blue: #001F3F;
    /* Navy blue for main parts */
    --navy-blue-light: #003366;
    --golden-yellow: #fba332;
    /* Golden/Orange alert accents */
    --golden-hover: #eeb431;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --surface-bg: #ffffff;
    --gray-bg: #f9f9f9;
    --transition: all 0.3s ease;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --base-font-size: 16px;
}

/* Dark Mode Variables */
body.dark-mode {
    --cream-bg: #121212;
    --navy-blue: #0a0a0a;
    --navy-blue-light: #1a1a1a;
    --text-dark: #f0f0f0;
    --white: #ffffff;
    --surface-bg: #1e1e1e;
    --gray-bg: #222222;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--base-font-size);
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease, font-size 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--golden-yellow);
    color: var(--navy-blue);
    font-weight: 700;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--golden-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(251, 163, 50, 0.3);
}

/* Header / Top Bar */
.top-bar {
    background-color: #17a2b8;
    padding: 10px 0;
    text-align: center;
}

.top-bar .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.top-bar .social-icons a {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.top-bar .social-icons a:hover {
    color: var(--navy-blue);
}

.site-header {
    background-color: var(--navy-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.brand-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--golden-yellow);
    transition: var(--transition);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.75rem;
    cursor: pointer;
    margin-left: auto;
    padding: 5px;
    /* Ensures it pushes to the right and has space */
}

/* Footer */
.site-footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 48px 0 0 0;
    margin-top: 48px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-title {
    color: var(--golden-yellow);
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--golden-yellow);
}

.brand-col p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--golden-yellow);
    border-radius: 50%;
    margin-right: 10px;
}

.social-links a:hover {
    background-color: var(--golden-yellow);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

.footer-links li,
.contact-list li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--golden-yellow);
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    gap: 15px;
    color: #ccc;
    align-items: flex-start;
}

.contact-list i {
    color: var(--golden-yellow);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #00152b;
    padding: 16px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* UI Details for specific pages */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--golden-yellow);
    margin: 10px auto 0;
}

.section-padding {
    padding: 80px 0;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Auth Pages (Login/Portal) */
.auth-wrapper {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: var(--cream-bg);
}

.auth-card {
    background: var(--surface-bg);
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--navy-blue);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--navy-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--golden-yellow);
    box-shadow: 0 0 0 3px rgba(251, 163, 50, 0.2);
}

.btn-primary {
    cursor: pointer;
    background-color: var(--navy-blue);
    color: var(--white);
    width: 100%;
    padding: 12px;
    border: none;
    font-weight: 700;
    border-radius: 4px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: var(--golden-yellow);
    color: var(--navy-blue);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-header {
        padding: 5px 0;
    }

    .brand-logo img {
        height: 40px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--navy-blue-light);
        padding: 20px;
        gap: 15px;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list.show {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .header-action {
        display: none;
    }
}

/* Accessibility Widget */
.access-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: var(--navy-blue);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid var(--golden-yellow);
}

.access-btn {
    background: none;
    border: none;
    color: var(--golden-yellow);
    padding: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.access-btn:hover {
    background: rgba(251, 163, 50, 0.2);
    color: #fff;
}

.access-btn:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}