@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    /* Corporate Palette */
    --brand-orange: #d4752f;
    --brand-navy: #1c2234;
    --brand-gray: #616160;

    /* Neutral Palette */
    --neutral-bg: #f5f6f8;
    --neutral-border: #e6e7ea;
    --neutral-dark: #1e1e1e;
    --white: #ffffff;

    /* Spacing & Sizing */
    --container-width: 1200px;
    --section-gap-desktop: 120px;
    --section-gap-tablet: 80px;
    --section-gap-mobile: 60px;
    --card-padding: 32px;

    /* Miscellaneous */
    --radius-md: 8px;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;

    /* Animation Defaults */
    --animate-duration: 800ms;
    --animate-delay: 0ms;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--brand-gray);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
}

h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

p {
    margin-bottom: 16px;
}

.eyebrow {
    display: block;
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.section {
    padding: var(--section-gap-desktop) 0;
    overflow: hidden;
}

.bg-light {
    background-color: var(--neutral-bg);
}

.bg-navy {
    background-color: var(--brand-navy);
    color: var(--white);
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ba6323;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--brand-navy);
}

.btn-outline-navy {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    height: 70px;
}



.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.header.scrolled .nav-links a {
    color: var(--brand-navy);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-orange) !important;
}



.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    color: var(--white);
    cursor: pointer;
}

.header.scrolled .menu-toggle {
    color: var(--brand-navy);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(28, 34, 52, 0.8), rgba(28, 34, 52, 0.4));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 40px;
    color: #e6e7ea;
}

.cta-group {
    display: flex;
    gap: 20px;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse>* {
    direction: ltr;
}

.split-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--brand-navy);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 18px;
    background-color: var(--brand-orange);
}

/* Strategy Grid */
.grid-strategy {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.strategy-card {
    background-color: var(--white);
    padding: var(--card-padding);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.strategy-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-orange);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 117, 47, 0.1);
    color: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

/* News Grid */
.grid-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.news-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-cat {
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.news-date {
    color: var(--brand-gray);
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

/* Footer */
.footer {
    background-color: var(--brand-navy);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e6e7ea;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-orange);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #e6e7ea;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    h1 {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    .grid-strategy {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-news {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-layout.reverse {
        direction: ltr;
    }

    .menu-toggle {
        display: block;
        z-index: 20000 !important;
        /* Extremely high to stay top of overlay */
        cursor: pointer;
        position: relative;
    }

    .menu-toggle.active {
        color: var(--white) !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 100%;
        /* Start off-screen */
        width: 100vw !important;
        height: 100vh !important;
        gap: 40px;
        transition: transform 0.4s ease-in-out;
        z-index: 10000 !important;
    }

    .nav-links.active {
        transform: translateX(-100%);
        /* Slide into view */
    }

    .nav-links a {
        font-size: 24px;
        color: var(--white) !important;
        /* Force white color even if header is scrolled */
    }
}

@media (max-width: 768px) {

    /* TABLET SOURCE OF TRUTH */
    .section {
        padding: var(--section-gap-tablet) 0;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 32px;
    }


    .hero {
        text-align: left;
    }

    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--section-gap-mobile) 0;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .hero {
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        flex-direction: column;
    }

    .grid-strategy {
        grid-template-columns: 1fr;
    }

    .grid-news {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* Animations System */
[data-animation] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: var(--animate-duration);
    transition-delay: var(--animate-delay);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

[data-animation].animated {
    opacity: 1 !important;
    transform: none !important;
}

/* Animation Types Initial States */
[data-animation="fade"] {
    transform: none;
}

[data-animation="slideUp"] {
    transform: translateY(40px);
}

[data-animation="slideLeft"] {
    transform: translateX(50px);
}

[data-animation="zoom"] {
    transform: scale(0.9);
}

@media (prefers-reduced-motion: reduce) {
    [data-animation] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}