:root {
    --theme-blue: #142B3D;
    --theme-red: #FF5536;
    --off-white: #FAFDFF;
    --light-gray: #F6F6F6;
    --font-color: #171E25;
    --input-bg-color: #F3F3F3;
    --theme-font: "Inter";
    --body-font: "Inter";
    --hero-head-size: clamp(4rem, 3.2958rem + 2.2535vw, 6rem);;
    --heading-font-size: clamp(2.25rem, 1.6338rem + 1.9718vw, 4rem);
    --med-head-size: clamp(1.75rem, 1.3099rem + 1.4085vw, 3rem);
    --small-head-size: clamp(1.125rem, 0.993rem + 0.4225vw, 1.5rem);
    --body-font-size: clamp(0.875rem, 0.831rem + 0.1408vw, 1rem);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
    font-family: var(--body-font);
}

img {
    display: block;
}

.img-wrapper {
    display: block;
    overflow: hidden;
}

.img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    user-select: none;
}
.img-wrapper.contain img {
    object-fit: contain;
}

.content-container {
    width: 100%;
    padding: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cc-large {
    max-width: 1400px;
}

.flex {
    display: flex;
}

.flex.center-justify{
    justify-content: center;
}

.grid {
    display: grid;
}

.heading {
    font-family: var(--theme-font);
    font-size: var(--heading-font-size);
    color: var(--theme-blue);
    letter-spacing: -0.07em;
    line-height: 0.95;
    font-weight: 700;
}

.hero-heading {
    font-size: var(--hero-head-size);
    color: var(--theme-blue);
    font-weight: 800;
}

.heading-medium {
    font-size: var(--med-head-size);
    font-family: var(--theme-font);
    font-weight: 700;
}

.heading-small {
    font-size: var(--small-head-size);
    font-family: var(--theme-font);
    font-weight: 600;
}

.centered {
    text-align: center;
}

.auto-margin {
    margin: auto;
}

.mt-sm  { margin-top: 0.5rem; }
.mt-md  { margin-top: 1rem; }
.mt-lg  { margin-top: 2rem; }
.mt-xl  { margin-top: 4rem; }
.mb-sm  { margin-bottom: 0.5rem; }
.mb-md  { margin-bottom: 1rem; }
.mb-lg  { margin-bottom: 1rem; }

p {
    font-size: var(--body-font-size);
}

.med-scale {
    font-size: clamp(1rem, 0.912rem + 0.2817vw, 1.25rem) !important;
}

.semi-bold {
    font-weight: 600;
}

.bold {
    font-weight: 700;
}

.extra-bold {
    font-weight: 800;
}

.blue-font {
    color: var(--theme-blue);
}

.red-font {
    color: var(--theme-red);
}

.white-font {
    color: var(--off-white);
}

.lg-font {
    color: #767676;
}

.dg-font {
    color: #2c2c2c;
}

.cta-btn {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: color 0.15s ease;
    display: block;
    max-width: 400px;
    user-select: none;
    font-weight: 800;
    text-align: center;
    font-family: var(--theme-font);
    font-size: var(--btn-font-size);
    color: inherit;
}

.cta-btn::after {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-101%);
    height: 100%;
    width: 120%;
    transition: transform 0.3s ease;
    z-index: -1;
}

.cta-btn:hover::after {
    transform: translateX(0)
}

.cta-btn.btn-red {
    background-color: var(--theme-red);
    color: var(--off-white);
}

.cta-btn.btn-red:hover {
    color: var(--off-white);
}

.cta-btn.btn-red::after {
    background-color: var(--theme-blue);
}

/*--------------------------*/
/*PAGE CONTENT*/
/*--------------------------*/

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--off-white);
    font-family: var(--body-font);
    scroll-behavior: smooth;
}

main {
    flex: 1;
}

#page-loader {
    position: fixed;
    inset: 0;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.3s ease;
}

#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/*--------------------------*/
/*HEADER*/
/*--------------------------*/

.header {
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.header-left {
    display: grid;
    place-items: center;
}

nav {
    margin-left: auto;
}

.header-right {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
}

.header-link {
    text-decoration: none;
    color: var(--theme-blue);
    font-size: 1.25rem;
    font-weight: 600;
    transition: color ease 0.15s;
}

.header-link:hover {
    color: var(--theme-red)
}

.logo {
    height: 56px;
    width: auto;
}

#header-auth-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#btn-signout {
    border: none;
}

/*--------------------------*/
/*HAMBURGER*/
/*--------------------------*/

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
    margin-right: 1rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--theme-blue);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/*--------------------------*/
/*AUTH*/
/*--------------------------*/

.auth-box {
    margin-top: 8rem;
}

.auth-form {
    max-width: 500px;
    margin: auto;
    margin-top: 1rem !important;
    border: solid 1px #b9b9b9;
    padding: 1rem;
    border-radius: 5px;
}

#btn-signin, #btn-signup, #btn-forgot {
    border: none;
    margin-top: 0.5rem;
}

/*--------------------------*/
/*FOOTER*/
/*--------------------------*/

footer {
    margin-top: 2rem;
}

.footer-top{
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
}

.footer-brand {
    justify-self: flex-start;
}

.footer-link-holder{
    gap: 3rem;
} 

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: inherit;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header-right {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--off-white);
        padding: 1rem;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        gap: 1rem;
        z-index: 99;
    }

    .header-right.open {
        display: flex;
        height: auto;
    }

    .header-right .header-link {
        font-size: 1.125rem;
        width: 100%;
    }

    .header-right .cta-btn {
        width: 100%;
        max-width: unset;
        text-align: center;
    }

    #header-auth-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        height: 30px;
    }

    .auth-box {
        margin-top: 2rem;
    }
    
    .footer-top, .footer-link-holder {
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-top {
        padding: 0 1rem;
    }

    .footer-brand {
        align-self: first baseline;
    }

}

@font-face {
    font-family: 'Inter';
    src: url('/site/fonts/Inter-VariableFont_opsz\,wght.woff2');
    font-display: swap;
}