/* =========================================================
   AIMT — BASE STYLES (shared by EVERY page)
   Theme tokens, reset, typography, buttons, utilities.
   ⚠ Change colors / fonts only here — all pages update together.
   ========================================================= */

:root {
    /* Brand colors */
    --green-900: #1b2a40;
    /* pehle green tha, ab #3a5173 navy family */
    --green-800: #263a58;
    --green-700: #2f4666;
    --green-600: #3a5173;
    --green-500: #4a6384;
    --green-100: #e3e9f1;
    --green-50: #f1f4f8;

    --gold-600: #d99a0b;
    --gold-500: #eab308;
    --gold-400: #f4c430;
    --gold-100: #fdf3d6;

    --ink-900: #1a2433;
    --ink-700: #3a4556;
    --ink-500: #5f6b7a;
    --ink-300: #a3adba;
    --white: #ffffff;
    --border: #e2e8f0;

    /* Course accents */
    --blue-600: #1d5fd1;
    --blue-50: #e8f0fd;
    --purple-600: #6b46c1;
    --purple-50: #f1ecfc;
    --orange-600: #e08a0b;
    --orange-50: #fdf3e1;

    /* Typography */
    --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Playfair Display', Georgia, serif;
    --font-script: 'Great Vibes', cursive;

    /* Layout */
    --container: 1200px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(27, 42, 64, .06);
    --shadow: 0 10px 30px rgba(27, 42, 64, .10);
    --shadow-lg: 0 20px 50px rgba(27, 42, 64, .18);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-700);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s var(--ease);
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--green-900);
    line-height: 1.15;
    font-weight: 700;
}

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

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

.text-green {
    color: var(--green-600);
}

.script {
    font-family: var(--font-script);
    font-weight: 400;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 6px;
}

.section-title {
    font-size: clamp(28px, 3.4vw, 40px);
}

.section-title .script {
    color: var(--green-600);
    font-size: 1.35em;
    line-height: .8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
}

.btn i {
    font-size: 12px;
    transition: transform .2s var(--ease);
}

.btn:hover i {
    transform: translateX(3px);
}

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

.btn-gold {
    background: var(--gold-500);
    color: var(--green-900);
    box-shadow: 0 8px 20px rgba(234, 179, 8, .3);
}

.btn-gold:hover {
    background: var(--gold-400);
}

.btn-green {
    background: var(--green-700);
    color: var(--white);
}

.btn-green:hover {
    background: var(--green-600);
    box-shadow: var(--shadow);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .85);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--green-800);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--green-700);
}

.link-arrow i {
    font-size: 12px;
    transition: transform .2s var(--ease);
}

.link-arrow:hover i {
    transform: translateX(4px);
}

/* ---------- Scroll reveal (used by main.js) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
