/* ============================================
   FASMI Biennial Meeting 2026 – Design System
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
    /* Primary Palette */
    --primary-blue: #0B4DA2;
    --primary-dark: #083A7A;
    --primary-darker: #062C5E;
    --light-blue: #EAF2FB;
    --lighter-blue: #F5F9FF;

    /* Accent */
    --accent-orange: #F28C28;
    --accent-orange-hover: #FF9F1C;
    --accent-green: #138808;

    /* Neutrals */
    --text-dark: #1A1A2E;
    --text-muted: #4A5568;
    --text-light: #FFFFFF;
    --border-color: #D1D9E6;
    --bg-white: #FFFFFF;
    --bg-light: #F7F9FC;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(11, 77, 162, 0.06);
    --shadow-md: 0 4px 16px rgba(11, 77, 162, 0.10);
    --shadow-lg: 0 8px 32px rgba(11, 77, 162, 0.14);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
}

/* ── CSS Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

/* ── Layout Utilities ── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section--light {
    background: var(--lighter-blue);
}

.section--blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--text-light);
}

.section--gradient {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--light-blue) 100%);
}

/* ── Typography ── */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-orange);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-blue);
}

.section--blue .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.section--blue .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.text-center {
    text-align: center;
}

/* ── Grid System ── */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* ── Responsive ── */
@media (max-width: 1024px) {

    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 1.9rem;
    }

    :root {
        --section-padding: 60px 0;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 16px;
    }

    :root {
        --section-padding: 48px 0;
    }
}

@media (max-width: 480px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}