/* ============================================================
   BASE.CSS — Variables, Reset, Typography, Shared Utilities
============================================================ */

:root {
    --amber: #FE9927;
    --amber-dark: #e8851a;
    --navy: #0F172A;
    --navy2: #334F90;
    --navy-light: #1E293B;
    --gray-light: #F7F7F7;
    --gray-mid: #E2E8F0;
    --text-muted: #64748B;
    --text-soft: #94A3B8;
    --white: #ffffff;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow-md: 0 4px 24px rgba(15, 23, 42, .10);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, .16);
    --shadow-amber: 0 8px 28px rgba(254, 153, 39, .30);

    --transition: all .25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ── Font helpers ── */
.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.font-karla {
    font-family: 'Karla', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* ── Color utilities ── */
.text-amber {
    color: var(--amber);
}

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

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

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

.text-white {
    color: #fff;
}

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

.bg-amber {
    background: var(--amber);
}

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

/* ── Section wrapper ── */
.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section title block ── */
.sec-label {
    display: inline-block;
    background: rgba(254, 153, 39, .12);
    color: var(--amber);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.sec-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--navy);
    line-height: 1.12;
}

.sec-heading.white {
    color: #fff;
}

.sec-heading .amber {
    color: var(--amber);
}

.sec-sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 560px;
    margin-top: 12px;
}

.sec-sub.white {
    color: var(--text-soft);
}

.sec-sub.center {
    margin-left: auto;
    margin-right: auto;
}

/* Decorative amber lines beside section title */
.title-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.title-deco::before,
.title-deco::after {
    content: '';
    flex: 0 0 60px;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
}

@media (max-width: 480px) {

    .title-deco::before,
    .title-deco::after {
        display: none;
    }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-amber {
    background: var(--amber);
    color: var(--navy);
    box-shadow: var(--shadow-amber);
}

.btn-amber:hover {
    background: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(254, 153, 39, .4);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .25);
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--navy);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25);
}

.btn-outline:hover {
    border-color: var(--amber);
    background: rgba(254, 153, 39, .07);
}

/* ── Scroll progress bar ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--amber);
    z-index: 9999;
    width: 0%;
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── Back-to-top ── */
#back-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 500;
    width: 46px;
    height: 46px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, background .2s, transform .2s;
}

#back-top.show {
    opacity: 1;
    pointer-events: auto;
}

#back-top:hover {
    background: var(--amber);
    color: var(--navy);
    transform: translateY(-3px);
}

/* ── Reveal animation (JS adds .visible) ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(.92);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ── Pulse dot ── */
@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    display: inline-block;
}

/* ── Float animation ── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3.5s ease-in-out infinite;
}

/* ── Fade-up keyframe (used in hero) ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}