/* ---- LIGHT MODE BUTTON FIXES ---- */
.light-mode .btn-primary {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}
.light-mode .btn-primary:hover {
    color: var(--white);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
/* ============================================================
   BASE.CSS — CSS Variables, Reset, Typography, Global Utilities
   ============================================================ */

:root {
    /* Color Palette */
    --bg: #080b10;
    --bg-secondary: #202b5f;
    --bg-card: #202b5f;
    --bg-card-alt: #161d2a;
    --text: #e6edf5;
    --text-muted: #8292a8;
    --text-light: #c3cdd9;
    --primary: #f05e0e;
    --primary-dark: #c44d09;
    --primary-light: #ff8040;
    --accent: #f5a623;
    --border: #1e2635;
    --border-light: #28344a;
    --white: #ffffff;
    --overlay: rgba(8, 11, 16, 0.78);

    /* Typography */
    --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-py: 5rem;
    --container: 1200px;

    /* Transitions */
    --transition: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Border Radius */
    --radius-sm: 2px;
    --radius: 4px;
    --radius-lg: 8px;
}

/* ---- RESET ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

    /* ---- LIGHT MODE OVERRIDES ---- */
    .light-mode {
        --bg: #ffffff;
        --bg-secondary: #f8fafc;
        --bg-card: #ffffff;
        --bg-card-alt: #f1f5f9;
        --text: #0f172a;
        --text-muted: #475569;
        --text-light: #334155;
        --border: #e2e8f0;
        --border-light: #cbd5e1;
        --overlay: rgba(255, 255, 255, 0.85);
        background-color: var(--bg);
        color: var(--text);
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

h4 {
    font-size: 1.2rem;
}

p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- CONTAINER ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* ---- SECTION HEADING ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    line-height: 1.05;
}

.dark {
    color: var(--bg-secondary) !important;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.85rem 2rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-orange {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-orange:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.75rem;
}

/* ---- BADGE ---- */
.badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: rgba(240, 94, 14, 0.08);
}

/* ---- DIVIDER ---- */
.divider {
    width: 3rem;
    height: 3px;
    background: var(--primary);
    margin: 1rem 0 1.5rem;
}

.divider-center {
    margin: 1rem auto 1.5rem;
}

/* ---- CARD ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

/* ---- ICON BOX ---- */
.icon-box {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 94, 14, 0.12);
    border: 1px solid rgba(240, 94, 14, 0.25);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.icon-box svg {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--primary);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ---- GRID UTILS ---- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

[class*="reveal"].delay-1 {
    transition-delay: 0.1s;
}

[class*="reveal"].delay-2 {
    transition-delay: 0.2s;
}

[class*="reveal"].delay-3 {
    transition-delay: 0.3s;
}

[class*="reveal"].delay-4 {
    transition-delay: 0.4s;
}

[class*="reveal"].delay-5 {
    transition-delay: 0.5s;
}

[class*="reveal"].delay-6 {
    transition-delay: 0.6s;
}

/* ---- TEXT UTILS ---- */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

/* ---- ORANGE LINE ACCENT ---- */
.accent-line {
    display: inline-block;
    position: relative;
    padding-bottom: 0.4rem;
}

.accent-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--primary);
}

/* ---- RESPONSIVE VISIBILITY ---- */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}