/* === Reset & Box Model === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Base Typography & Body === */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;
    width: 100%;
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem; /* = 14px */
    background-color: #f5f5f5;
    color: #222;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Links === */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}


/* === Containers === */
.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 40px; /* 1.25rem = 20px */
}

.narrow-container {
    max-width: 876px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.bg-white-page {
    background-color: var(--color-bg-white);
}

/* === Utility Classes === */
.invisible {
    visibility: hidden;
}

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* === Responsive Media === */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Typography === */
.heading-xl { font-size: 28px; font-weight: 500; }
.heading-xl-bold { font-size: 28px; font-weight: 700; }
.heading-lg { font-size: 25px; font-weight: 500; }
.heading-lg-bold { font-size: 25px; font-weight: 700; }
.heading-md { font-size: 22px; font-weight: 500; }
.heading-md-bold { font-size: 22px; font-weight: 700; }

.text-lg { font-size: 18px; font-weight: 500; }
.text-lg-bold { font-size: 18spx; font-weight: 700; }
.text-md { font-size: 16px; font-weight: 500; }
.text-md-bold { font-size: 16spx; font-weight: 700; }
.text-sm { font-size: 14px; font-weight: 500; }
.text-sm-bold { font-size: 14px; font-weight: 700; }
.text-xs { font-size: 12px; font-weight: 500; }
.text-xxs { font-size: 11px; font-weight: 500; }
.text-xxs-bold { font-size: 11px; font-weight: 700; }

/* === Color === */
:root {
    /* Core Palette */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-blue-400: #2fc6ea;
    --color-blue-500: #20abcc;
    --color-blue-600: #1b92b0;
    --color-blue-700: #0d6276;
    --color-navy-800: #031136;
    --color-navy-900: #030d28;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #f0f0f0;
    --color-gray-300: #cccccc;
    --color-gray-900: #2e2e2e;

    /* Semantic */
    --color-brand-primary: var(--color-blue-500);
    --color-brand-secondary: var(--color-navy-800);

    --color-text-default: var(--color-black);
    --color-text-gray: var(--color-gray-900);
    --color-text-white: var(--color-white);
    --color-text-primary: var(--color-brand-primary);
    --color-text-secondary: var(--color-brand-secondary);

    --color-bg-default: var(--color-gray-100);
    --color-bg-white: var(--color-white);
    --color-bg-black: var(--color-black);
    --color-bg-primary: var(--color-blue-500);
    --color-bg-primary-light: var(--color-blue-400);
    --color-bg-primary-dark: var(--color-blue-700);
    --color-bg-secondary: var(--color-navy-800);

    --color-border-default: var(--color-gray-300);
    --color-border-white: var(--color-white);
    --color-border-black: var(--color-black);

    --color-info: #da6424;
    --color-done: #67a428;

    /* Buttons */
    --color-btn-primary-bg: var(--color-brand-primary);
    --color-btn-primary-text: var(--color-text-white);
    --color-btn-primary-hover-bg: var(--color-blue-600);

    --color-btn-secondary-bg: var(--color-brand-secondary);
    --color-btn-secondary-text: var(--color-text-white);
    --color-btn-secondary-hover-bg: var(--color-navy-900);

    --color-btn-tertiary-bg: var(--color-white);
    --color-btn-tertiary-text: var(--color-black);
    --color-btn-tertiary-hover-bg: var(--color-gray-200);

    --color-btn-primary-outline-bg: var(--color-white);
    --color-btn-primary-outline-border: var(--color-brand-primary);
    --color-btn-primary-outline-text: var(--color-text-default);
    --color-btn-primary-outline-hover-bg: var(--color-gray-200);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 10px;
    border-radius: 100px;
    min-width: 95px;
    font-family: Raleway;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-btn-primary-bg);
    color: var(--color-btn-primary-text);
}

.btn-primary:hover {
    background-color: var(--color-btn-primary-hover-bg);
}

.btn-secondary {
    background-color: var(--color-btn-secondary-bg);
    color: var(--color-btn-secondary-text);
}

.btn-secondary:hover {
    background-color: var(--color-btn-secondary-hover-bg);
}

.btn-tertiary {
    background-color: var(--color-btn-tertiary-bg);
    color: var(--color-btn-tertiary-text);
}

.btn-tertiary:hover {
    background-color: var(--color-btn-tertiary-hover-bg);
}

.btn-primary-outline {
    min-width: 0;
    background-color: var(--color-btn-primary-outline-bg);
    border: 1px solid var(--color-btn-primary-outline-border);
    color: var(--color-btn-primary-outline-text);
}

.btn-primary-outline:hover {
    background-color: var(--color-btn-primary-outline-hover-bg);
}

/* === Messages === */
.message {
    padding: 10px;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.warning {
    background-color: #f7f8d7;
    color: #6c721c;
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* === Promo Banner === */
.promo-banner {
    background-color: var(--color-info);
    color: var(--color-text-white);
    text-align: center;
    padding: 15px 10px;
    z-index: 1001;
}

/* === Navigation Bar === */
.navbar {
    padding: 18px 0;
    transition: background-color 0.3s, color 0.3s;
    z-index: 1000;
    background-color: var(--color-bg-white);
    color: var(--color-text-gray);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
    position: relative;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 16px;
}

.navbar-logo-link img {
    height: 35px;
}

.navbar-links, .mobile-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-links li a, .mobile-links li a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.navbar-buttons {
    display: flex;
    gap: 10px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    margin-right: 10px;
}

.navbar-toggle .bar {
    height: 2px;
    width: 20px;
    background-color: var(--color-text-default);
    border-radius: 1px;
}

/* === Mobile Nav Menu === */
.mobile-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg-white);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

/* .mobile-menu-content {
    margin: auto 0;
} */

.mobile-links {
    flex-direction: column;
    align-items: center;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-gray);
    align-self: flex-end;
    cursor: pointer;
}

.mobile-menu-hr {
    height: 1px;
    align-self: stretch;
    flex-grow: 0;
    margin: 20px 0;
    background-color: #d8d8d8;
}

.temp-mobile-login {
    display: none;
}

/* === Footer === */
.site-footer {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-primary-dark);
    color: var(--color-text-white);
    padding: 40px;
}

.footer-background {
    position: absolute;
    text-align: center;
    top: -560px;
    left: 80px;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.footer-background img {
    width: 1300px;
    height: auto;
    opacity: 0.025;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 20px;
}

.footer-column.social-links {
    flex: 0.25 1 auto;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column.social-links ul li i {
    margin-right: 10px;
}

.footer-middle {
    text-align: center;
}

.footer-middle ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.footer-middle ul li {
    flex: 1 1 auto;
    text-align: center;
}

.footer-bottom {
    text-align: center;
}

.footer-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

/* === Responsive === */
/* Mobile-only: 767px below */
@media (max-width: 767px) {
    .promo-banner {
        padding: 5px 10px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-column {
        flex: none;
        width: 100%;
    }

    .footer-middle ul {
        flex-direction: column;
        gap: 20px;
    }

    .footer-middle ul li {
        text-align: left;
    }
}

/* Tablet-only: 768px – 1365px */
@media (min-width: 768px) and (max-width: 1365px) {
}

/* Mobile and Tablet: 1365px below */
@media (max-width: 1365px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar-container {
        justify-content: flex-start;
    }

    .temp-navbar-container {
        justify-content: space-between;
    }
    
    .navbar-logo-link img {
        height: 25px;
    }

    .navbar-links,
    .navbar-buttons {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .temp-mobile-login {
        display: flex;
    }
}

/* Tablet and Desktop: 768px and above */
@media (min-width: 768px) {
}

/* Desktop: 1366px and above (default) */