﻿/* ==============================================
   ARISE Foundation — Main Stylesheet
   ============================================== */

/* ---- Custom Properties ---- */
:root {
    --primary: #1e5fa8;
    --primary-dark: #0d3d7a;
    --primary-light: #3a7fcb;
    --gold: #f5a623;
    --gold-dark: #d4881b;
    --teal: #00c9a7;
    --teal-dark: #00a589;
    --dark: #0d2137;
    --dark-alt: #070f1a;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #f8faff;
    --bg-alt: #eef3fb;
    --white: #ffffff;
    --border: #e2e8f0;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.14);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease);
    --transition-slow: all 0.7s var(--ease);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: 82px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(7, 15, 26, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
    height: 68px;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-puzzle {
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
    display: inline-block;
    transform: rotate(-10deg);
    transition: transform 0.4s ease;
}
.brand-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.nav-brand:hover .brand-puzzle {
    transform: rotate(10deg) scale(1.1);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 3px;
}

.brand-tagline {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* CTA button in nav */
.nav-cta {
    background: var(--gold);
    color: var(--dark) !important;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-pill);
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 166, 35, 0.45);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==============================================
   HERO
   ============================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.3s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

/* Fallback gradient for slides if image fails */
.slide:nth-child(1) {
    background-color: #1a3055;
}

.slide:nth-child(2) {
    background-color: #1a3828;
}

.slide:nth-child(3) {
    background-color: #2a1a38;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(7, 15, 26, 0.88) 0%,
            rgba(13, 33, 55, 0.55) 60%,
            rgba(0, 0, 0, 0.25) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 2rem 2rem 2rem 5rem;
}

.slide.active .slide-content {
    animation: slideContentIn 1s var(--ease) both;
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0.38rem 1.1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.4rem;
}

.slide-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 1.4rem;
}

.slide-content h1 em {
    color: var(--gold);
    font-style: italic;
}

.slide-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.4rem;
    max-width: 520px;
    line-height: 1.85;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: var(--transition);
    padding: 0;
}

.dot.active,
.dot:hover {
    background: var(--gold);
    transform: scale(1.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    right: 3.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 3px;
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    60% {
        transform: translateY(8px);
        opacity: 0;
    }

    61% {
        transform: translateY(0);
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ==============================================
   STATS BAR
   ============================================== */
.stats-bar {
    background: var(--dark);
    padding: 2rem;
}

.stats-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: white;
    font-size: 0.85rem;
    line-height: 1.2;
}

.stat-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.stat-divider {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(245, 166, 35, 0.42);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(30, 95, 168, 0.38);
}

.btn-donate {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, #e05c3a 100%);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    box-shadow: 0 4px 22px rgba(245, 166, 35, 0.32);
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 166, 35, 0.5);
}

/* ==============================================
   SHARED SECTION STYLES
   ============================================== */
.section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    background: rgba(30, 95, 168, 0.09);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0.38rem 1.1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    border: 1px solid rgba(30, 95, 168, 0.18);
}

.section-badge.amber {
    background: rgba(245, 166, 35, 0.12);
    color: var(--gold);
    border-color: rgba(245, 166, 35, 0.28);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.section-title.centered {
    text-align: center;
}

.section-title.light {
    color: white;
}

.title-underline {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    border-radius: 4px;
    margin-bottom: 2rem;
}

.title-underline.centered {
    margin-left: auto;
    margin-right: auto;
}

.title-underline.gold {
    background: linear-gradient(90deg, var(--gold), #e05c3a);
}

.section-lead {
    font-size: 1.08rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.section-body {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.02rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.85;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.6);
}

/* ==============================================
   WHO WE ARE
   ============================================== */
.who-we-are {
    background: var(--bg);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Value Pillars */
.pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.pillar {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.pillar-icon-wrap {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(30, 95, 168, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.pillar strong {
    display: block;
    font-size: 0.93rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.pillar p {
    font-size: 0.83rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Image Collage */
.section-visual {
    position: relative;
}

.image-collage {
    position: relative;
    height: 480px;
}

.collage-img {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.collage-img:hover img {
    transform: scale(1.06);
}

.img-main {
    top: 0;
    left: 0;
    width: 66%;
    height: 68%;
}

.img-secondary {
    bottom: 0;
    right: 0;
    width: 56%;
    height: 54%;
    border: 4px solid white;
}

.mission-card {
    position: absolute;
    bottom: 1.8rem;
    left: -1.2rem;
    background: var(--primary);
    color: white;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 205px;
    z-index: 10;
}

.mission-card i {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.mission-card strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.mission-card p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
    margin: 0;
}

/* ==============================================
   OUR TEAM
   ============================================== */
.team-section {
    background: var(--white);

}

.team-group {
    margin-bottom: 4rem;
}

.team-group-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-group-title::before,
.team-group-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.team-group-title span {
    padding: 0 1rem;
    color: var(--primary);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    gap: 1.5rem;
}
/*.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}*/

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    gap: 1.5rem;
}

.team-card {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-info h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.team-role {
    display: block;
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.team-info p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.team-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.8rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.2);
}

/* ==============================================
   TRAINING
   ============================================== */
.training-section {
    background: var(--dark);
    color: white;
}

/* Featured Project */
.featured-project {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.featured-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
}

.project-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-content h3 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.project-content h3 em {
    color: var(--gold);
    font-style: italic;
}

.project-tagline {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    margin-bottom: 1.4rem;
    font-style: italic;
}

.project-content p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.project-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.p-stat {
    text-align: center;
}

.p-stat strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.p-stat span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.project-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.7s ease;
    background: #1a3055;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.4rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.82rem;
}

.project-img-overlay i {
    color: var(--gold);
}

/* Approach Cards */
.training-approach {
    margin-top: 1rem;
}

.approach-title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 0.75rem;
}

.approach-title em {
    color: var(--gold);
}

.approach-subtitle {
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
    line-height: 1.85;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.approach-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.approach-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, 0.5);
}

.approach-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--gold) 0%, #e05c3a 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.35rem;
    color: white;
}

.approach-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.7rem;
}

.approach-card p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

/* ==============================================
   RESEARCH
   ============================================== */
.research-section {
    background: var(--bg-alt);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.research-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.research-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.research-card:hover::after {
    transform: scaleX(1);
}

.research-tag {
    display: inline-block;
    background: rgba(30, 95, 168, 0.07);
    color: var(--primary);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.28rem 0.8rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.research-icon {
    font-size: 1.9rem;
    color: var(--primary-light);
    margin-bottom: 0.8rem;
    opacity: 0.75;
}

.research-card h4 {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

.research-card p {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.72;
}

.research-meta {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.research-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.73rem;
    color: var(--text-light);
}

.research-meta i {
    color: var(--primary);
}

/* ==============================================
   DONATION
   ============================================== */
.donation-section {
    position: relative;
    background: linear-gradient(135deg, #0a1929 0%, #0d2137 40%, #112740 100%);
    overflow: hidden;
    color: white;
}

/* Animated floating particles */
.donation-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.donation-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.donation-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.donation-title em {
    color: var(--gold);
    font-style: italic;
}

.donation-lead {
    font-size: 1.03rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.donation-body {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.impact-cards {
    display: flex;
    gap: 0.85rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.impact-card {
    flex: 1;
    min-width: 120px;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.featured-impact {
    background: rgba(245, 166, 35, 0.1);
    border-color: rgba(245, 166, 35, 0.38);
}

.impact-amount {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.impact-desc {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

/* Donation Form Card */
.donation-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--text);
    box-shadow: var(--shadow-xl);
}

.donation-form-card h3 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.amount-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.amount-btn {
    padding: 0.58rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    background: white;
    transition: var(--transition);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--dark);
}

.custom-amount {
    margin-bottom: 0.9rem;
}

.custom-amount label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.38rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amount-input-wrap {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--text-light);
}

.amount-input-wrap input {
    width: 100%;
    padding: 0.72rem 1rem 0.72rem 1.8rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    transition: var(--transition);
}

.amount-input-wrap input:focus {
    outline: none;
    border-color: var(--gold);
}

.donation-frequency {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
    background: var(--bg);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.freq-btn {
    flex: 1;
    padding: 0.48rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.freq-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.form-group {
    margin-bottom: 0.7rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.req {
    color: #e53e3e;
}

.form-group input {
    width: 100%;
    padding: 0.68rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input.error {
    border-color: #e53e3e;
}

.form-security {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.73rem;
    color: var(--text-light);
}

.form-security i {
    color: var(--teal);
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
    background: var(--dark-alt);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.footer-wave {
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
    color: var(--dark);
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.83rem;
    line-height: 1.75;
    margin: 1.2rem 0;
    color: rgba(255, 255, 255, 0.45);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.footer-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-puzzle {
    font-size: 1.8rem;
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-links-col h5,
.footer-contact-col h5 {
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-col a {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.95rem;
    font-size: 0.83rem;
}

.contact-item i {
    color: var(--gold);
    margin-top: 0.15rem;
    min-width: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ==============================================
   BACK TO TOP
   ============================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    font-size: 0.88rem;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-4px);
}

/* ==============================================
   MODAL
   ============================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: scale(0.88);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold) 0%, #e05c3a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.12);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.08);
    }
}

.modal-content h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ==============================================
   SCROLL REVEAL ANIMATIONS
   ============================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up {
    transform: translateY(42px);
}

.reveal-left {
    transform: translateX(-42px);
}

.reveal-right {
    transform: translateX(42px);
}

.revealed {
    opacity: 1 !important;
    transform: none !important;
}

/* Staggered children in grids */
.team-grid .team-card,
.research-grid .research-card,
.approach-grid .approach-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.team-grid.animated .team-card,
.research-grid.animated .research-card,
.approach-grid.animated .approach-card {
    opacity: 1;
    transform: none;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1100px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(7, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 1.5rem 2rem;
        gap: 0.3rem;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease), opacity 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        text-align: center;
        justify-content: center;
        margin: 0.5rem 0 0;
    }

    .hamburger {
        display: flex;
    }

    .slide-content {
        padding: 2rem 1.5rem;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .image-collage {
        height: 280px;
    }

    .section {
        padding: 4rem 1.2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .donation-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .stats-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .amount-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .impact-cards {
        flex-direction: column;
    }

    .section-grid {
        gap: 2rem;
    }
}