/* ================================
GLOBAL VARIABLES
================================ */

:root {

    /* Colors */
    --color-gold: #E1C28D;
    --color-navy: #102131;
    --color-paper: #FDFBF7;

    /* Typography */
    --font-body: 'Manrope', sans-serif;
    --font-heading: 'Oswald', sans-serif;

    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;

    /* Animation */
    --marquee-speed: 30s;

}

.ast-hfb-header .site-header {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.navbar,
header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;

    background: rgba(255, 255, 255, 0.6) !important;
    /* bg-paper/90 */

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 20, 40, 0.05);
    /* border-navy/5 */
}

.ast-custom-button {
    color: var(--color-paper) !important;
}

.tnp-submit, .credx-form-button {
    background-color: var(--color-navy) !important;
    padding: 20px 38px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.4px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    font-family: var(--font-body) !important;
    height: unset !important;
    border-radius: 0 !important;
}
.credx-form-button{
    margin-top: 12px !important;
}

.tnp-submit:hover, .credx-form-button:hover {
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid var(--color-navy) !important;
    color: var(--color-navy) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.tnp-subscription label,
.tnp-profile label {
    display: none !important;
}

.tnp-subscription {
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
}

.tnp-subscription form {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70% !important;

}

.tnp-field-email {
    flex: 2 !important;
}

.tnp-email {
    padding: 24px 8px !important;
    border-bottom: 1px solid rgb(16 33 49 / 0.1) !important;
    border-radius: 0px !important;
    outline: none !important;
    background-color: transparent !important;
}

.tnp-subscription div.tnp-field,
.tnp-profile div.tnp-field {
    margin-bottom: unset !important;
}

.tnp-email:focus, .wpforms-field-large:focus, .wpforms-field-large:active {
    border-bottom: 2px solid rgb(16 33 49 / 1) !important;
    outline: 0px !important;
    box-shadow: none !important;
}

/* wpform */

.wpforms-field-label{
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing:1.4px !important;
    color: #10213199 !important;
    /* margin-bottom: 8px !important; */
}

.wpforms-field-large {
    padding: 0px !important;
    border-width: 0 !important;
    border-bottom: 2px solid rgb(16 33 49 / 0.1) !important;
    border-radius: 0px !important;
    outline: none !important;
    background-color: transparent !important;
    resize: none !important;
}

/* bg-navy text-paper px-8 py-4 text-xs uppercase tracking-[0.2em] font-bold hover:bg-navy/90 transition-all flex items-center justify-center gap-2 group */

/* ================================
BASE
================================ */

body {
    background: var(--color-paper);
    color: var(--color-navy);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}


/* ================================
COLOR UTILITIES
================================ */

.text-gold {
    color: var(--color-gold) !important;
}

.bg-navy {
    background-color: var(--color-navy) !important;
}

.bg-gold {
    background-color: var(--color-gold) !important;
}

.text-paper {
    color: var(--color-paper);
}

.text-paper\/60 {
    color: rgba(253, 251, 247, .6);
}


/* ================================
LAYOUT UTILITIES
================================ */

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-8 {
    gap: var(--space-md);
}

.whitespace-nowrap {
    white-space: nowrap;
}

.overflow-hidden {
    overflow: hidden;
}


/* ================================
SPACING UTILITIES
================================ */

.py-4 {
    padding: var(--space-sm) 0;
}

.mx-8 {
    margin: 0 var(--space-md);
}


/* ================================
TEXT UTILITIES
================================ */

.uppercase {
    text-transform: uppercase;
}

.font-bold {
    font-weight: 700;
}

.text-sm {
    font-size: 14px;
}

.tracking-\[0\.2em\] {
    letter-spacing: .2em;
}

.text-uc {
    text-transform: uppercase !important;
}


/* ================================
SIZE UTILITIES
================================ */

.w-2 {
    width: 8px;
}

.h-2 {
    height: 8px;
}

.inline-block {
    display: inline-block;
}

.rotate-45 {
    transform: rotate(45deg);
}


/* ================================
MARQUEE
================================ */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee var(--marquee-speed) linear infinite;
}

/* card */
.card-signal,
.card-signal-blue {
    background: white;
    padding: 2rem !important;
    border: 1px solid rgba(16, 33, 49, 0.05);
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}


/* animated line */
.card-signal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-gold);
    transition: width .35s ease;
}

.card-signal-blue::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-navy);
    transition: width .35s ease;
}


.card-signal:hover::after,
.card-signal-blue:hover::after {
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Left section */
.footer-left {
    max-width: available !important;
}

/* Right section */
.footer-right {
    display: flex;
    max-width: max-content !important;
    flex-direction: row;
    gap: 4rem;
}

.footer-right .hfe-nav-menu li {
    width: max-content !important;
}



/* timeline */

.timeline {
    position: relative;
    width: 100%;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #ddd;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    width: 100%;
    margin: 40px 0;
}

/* .timeline-item .left,
.timeline-item .right {
    
} */

.timeline-item .center {
    width: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 !important;
}

.timeline-item .center::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--color-gold);
    position: absolute;
    left: -7px;
    top: -28px;

}

.timeline-item:nth-child(even) .left {
    order: 1;
}

.timeline-item:nth-child(even) .right {
    order: 3;
}

/* Tablet */
@media (max-width:1024px) {

    header {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }


    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-right {
        flex-direction: row;
        gap: 3rem;
        max-width: 100% !important;
    }


    /* timeline */



    .timeline-item .center::before {
        top: 0px;
    }

    /* ODD items */
    .timeline-item:nth-child(odd) .center::before {
        left: -7px;

    }

    /* EVEN items */
    .timeline-item:nth-child(even) .center::before {

        left: -6px;
    }

    .card-signal::before{
        background-image: linear-gradient(0deg, #5d3a1f 30%, #FDFBF700 75%) !important;
    }

}

/* Mobile */
@media (max-width:767px) {

    header {
        padding: 0 !important;
    }


    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-right {
        flex-direction: column;
        gap: 2rem;
        max-width: 100% !important;
    }

    .footer-left {
        max-width: 100% !important;
    }

    .footer-right .hfe-nav-menu li {
        width: 100% !important;
    }

    .tnp-subscription form,
    .tnp-subscription {
        flex-direction: column !important;
        width: 100% !important;
    }

    .tnp-field-email,
    .tnp-field-button {
        width: 100%;
    }

    .tnp-submit {
        padding: 16px 32px !important;
    }

    /* timeline */

    .timeline {
        display: block;
        /* IMPORTANT: remove grid */
    }

    .timeline-item {
        display: flex !important;
        /* stack everything */
        margin: 0 0 72px 0;
    }

    .timeline-item .center,
    .timeline:before{
        display: none !important;
    }

    .timeline-item .left,
    .timeline-item .right {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}