/* ================================
   DESIGN SYSTEM & VARIABLES
   ================================ */
:root {
    /* Primary Colors - Deep Medical Blue */
    --primary-900: #0a1628;
    --primary-800: #0f2139;
    --primary-700: #142d4c;
    --primary-600: #1a3a5c;
    --primary-500: #1e4d7b;
    --primary-400: #2a6faa;
    --primary-300: #4a9fd4;
    --primary-200: #7ec4e8;
    --primary-100: #b8e0f5;
    --primary-50: #e6f3fa;

    /* Accent Colors - Teal/Cyan */
    --accent-500: #00bfa6;
    --accent-400: #1de9b6;
    --accent-300: #64ffda;
    --accent-200: #a7ffeb;

    /* Gold Accent */
    --gold-500: #f5a623;
    --gold-400: #ffc107;
    --gold-300: #ffd54f;

    /* Neutral */
    --neutral-900: #1a1a2e;
    --neutral-800: #2d2d44;
    --neutral-700: #434360;
    --neutral-600: #6b6b8a;
    --neutral-500: #8f8fad;
    --neutral-400: #b0b0c8;
    --neutral-300: #d0d0e0;
    --neutral-200: #e8e8f0;
    --neutral-100: #f4f4f8;
    --neutral-50: #fafafe;

    /* Semantic */
    --success: #00c853;
    --warning: #ff9800;
    --error: #ff5252;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #142d4c 100%);
    --gradient-accent: linear-gradient(135deg, #00bfa6 0%, #1de9b6 100%);
    --gradient-hero: linear-gradient(160deg, #0a1628 0%, #0f2139 30%, #1a3a5c 60%, #142d4c 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.24);
    --shadow-glow: 0 0 30px rgba(0, 191, 166, 0.15);
    --shadow-glow-strong: 0 0 50px rgba(0, 191, 166, 0.25);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ================================
   RESET & BASE
   ================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 65px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--neutral-50);
    color: var(--neutral-800);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   GLASS MORPHISM CARD
   ================================ */
.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-900);
    box-shadow: 0 4px 20px rgba(0, 191, 166, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 191, 166, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    color: var(--primary-900);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-900);
    box-shadow: var(--shadow-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent-300);
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    background: rgba(0, 191, 166, 0.15);
    color: var(--accent-300);
}

.nav-cta {
    background: var(--gradient-accent);
    color: var(--primary-900);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 191, 166, 0.3);
    transition: var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 191, 166, 0.45);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pulse-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 191, 166, 0.1);
    animation: pulse-expand 4s ease-out infinite;
}

.pulse-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.pulse-2 {
    width: 500px;
    height: 500px;
    top: 30%;
    right: 5%;
    animation-delay: 1.3s;
}

.pulse-3 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 10%;
    animation-delay: 2.6s;
}

@keyframes pulse-expand {
    0% {
        transform: scale(0.5);
        opacity: 0.6;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.ecg-line {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 150px;
    opacity: 0.08;
}

.ecg-path {
    fill: none;
    stroke: var(--accent-400);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: ecg-draw 4s ease-in-out infinite;
}

@keyframes ecg-draw {
    0% {
        stroke-dashoffset: 3000;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -3000;
    }
}

.hero-content {
    text-align: center;
    max-width: 860px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 191, 166, 0.12);
    border: 1px solid rgba(0, 191, 166, 0.25);
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--accent-300);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    font-size: 1rem;
    color: var(--accent-300);
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line-main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #b8e0f5 50%, #64ffda 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-sub {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    font-weight: 400;
    color: var(--accent-300);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 14px;
    opacity: 0.85;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.hero-info-item i {
    color: var(--accent-400);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 1s both;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-400);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 1.5s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   SECTION SHARED STYLES
   ================================ */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-500);
    background: rgba(0, 191, 166, 0.08);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-divider span {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-500));
}

.section-divider span:last-child {
    background: linear-gradient(90deg, var(--accent-500), transparent);
}

.section-divider i {
    color: var(--accent-500);
    font-size: 1.2rem;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about {
    background: var(--neutral-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    padding: 36px;
    background: white;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
}

.about-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--accent-500);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.1), rgba(29, 233, 182, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-card-icon i {
    font-size: 1.5rem;
    color: var(--accent-500);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 12px;
}

.about-card p {
    color: var(--neutral-600);
    line-height: 1.8;
    font-size: 0.95rem;
}

.requirements-card {
    padding: 36px;
    background: white;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    height: 100%;
}

.requirements-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-500);
}

.requirements-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirements-card h3 i {
    color: var(--accent-500);
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.requirements-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.req-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.req-icon i {
    color: var(--accent-500);
    font-size: 1rem;
}

.requirements-list li span {
    color: var(--neutral-700);
    font-size: 0.9rem;
    line-height: 1.6;
}

.note-box {
    margin-top: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.06), rgba(0, 191, 166, 0.02));
    border: 1px solid rgba(0, 191, 166, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.note-box i {
    color: var(--accent-500);
    margin-top: 2px;
    flex-shrink: 0;
}

.note-box p {
    font-size: 0.85rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.about-cta {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ================================
   SUPPORTERS SECTION
   ================================ */
.supporters {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.supporters::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 166, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.supporters .section-tag {
    color: var(--accent-300);
    background: rgba(0, 191, 166, 0.12);
}

.supporters .section-title {
    color: white;
}

.supporters .section-divider i {
    color: var(--accent-300);
}

.supporters .section-divider span {
    background: linear-gradient(90deg, transparent, var(--accent-400));
}

.supporters .section-divider span:last-child {
    background: linear-gradient(90deg, var(--accent-400), transparent);
}

.supporters-desc {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.8;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.supporter-card {
    padding: 36px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.supporter-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 191, 166, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.supporter-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(0, 191, 166, 0.1);
    border: 1px solid rgba(0, 191, 166, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.supporter-card:hover .supporter-icon {
    background: rgba(0, 191, 166, 0.15);
    border-color: rgba(0, 191, 166, 0.4);
    box-shadow: var(--shadow-glow-strong);
}

.supporter-icon i {
    font-size: 1.8rem;
    color: var(--accent-300);
}

.supporter-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.supporter-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================
   COMMITTEES SECTION
   ================================ */
.committees {
    background: white;
}

.committees .section-tag {
    color: var(--accent-500);
    background: rgba(0, 191, 166, 0.08);
}

.committees .section-title {
    color: var(--primary-800);
}

.committees .section-divider i {
    color: var(--accent-500);
}

.committees .section-divider span {
    background: linear-gradient(90deg, transparent, var(--accent-500));
}

.committees .section-divider span:last-child {
    background: linear-gradient(90deg, var(--accent-500), transparent);
}

.committee-block {
    margin-bottom: 60px;
}

.committee-block:last-child {
    margin-bottom: 0;
}

.committee-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-700);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--neutral-200);
}

.committee-title i {
    color: var(--accent-500);
    font-size: 1.3rem;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.member-card {
    padding: 28px 24px;
    text-align: center;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-500);
}

.member-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.member-card:hover .member-avatar {
    background: var(--gradient-accent);
}

.member-avatar i {
    font-size: 1.5rem;
    color: white;
}

.member-card:hover .member-avatar i {
    color: var(--primary-900);
}

.member-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 6px;
    line-height: 1.3;
}

.member-title {
    font-size: 0.82rem;
    color: var(--accent-500);
    font-weight: 600;
    margin-bottom: 4px;
}

.member-dept {
    font-size: 0.78rem;
    color: var(--neutral-500);
    margin-bottom: 12px;
    line-height: 1.4;
}

.member-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--neutral-400);
    background: var(--neutral-100);
    padding: 4px 12px;
    border-radius: 50px;
}

.member-location i {
    font-size: 0.7rem;
    color: var(--accent-500);
}

/* ================================
   PROGRAM / TIMELINE SECTION
   ================================ */
.program {
    background: linear-gradient(180deg, var(--neutral-100) 0%, var(--neutral-50) 100%);
}

.program-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.program-timeline::before {
    content: '';
    position: absolute;
    left: 55px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-500), var(--primary-400));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: timeline-appear 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.7s;
}

@keyframes timeline-appear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-date {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 191, 166, 0.3);
}

.timeline-date .day {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-900);
    line-height: 1;
}

.timeline-date .month {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-700);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    flex: 1;
    padding: 24px 28px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-500);
}

.timeline-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ================================
   APPLICATION SECTION
   ================================ */
.application {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.application::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 166, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.application .section-tag {
    color: var(--accent-300);
    background: rgba(0, 191, 166, 0.12);
}

.application .section-title {
    color: white;
}

.application .section-divider i {
    color: var(--accent-300);
}

.application .section-divider span {
    background: linear-gradient(90deg, transparent, var(--accent-400));
}

.application .section-divider span:last-child {
    background: linear-gradient(90deg, var(--accent-400), transparent);
}

.application-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.application-info {
    padding: 24px 28px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.app-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 152, 0, 0.12);
    border: 1px solid rgba(255, 152, 0, 0.25);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.app-status i {
    color: var(--gold-400);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.app-status span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-300);
}

.app-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.app-note i {
    color: var(--accent-400);
    font-size: 0.65rem;
}

.application-form {
    padding: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.required {
    color: var(--accent-400);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364ffda' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--primary-800);
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-500);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-check label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px 32px;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--primary-900);
    color: white;
    padding: 80px 0 0;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.footer-wave path {
    fill: var(--neutral-50);
}

/* When the previous section is application (dark bg), change wave color */
.application+.footer .footer-wave path {
    fill: var(--primary-700);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-400);
}

.footer-logo-title {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
}

.footer-logo-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-300);
    font-weight: 300;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links-col h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 0.5px;
}

.footer-links-col ul li {
    margin-bottom: 10px;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    transition: var(--transition-base);
}

.footer-links-col ul li a:hover {
    color: var(--accent-300);
    padding-left: 6px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.contact-item i {
    color: var(--accent-400);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.5);
}

.contact-item a:hover {
    color: var(--accent-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: var(--accent-400);
}

.footer-bottom a:hover {
    color: var(--accent-300);
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    color: var(--primary-900);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 191, 166, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 191, 166, 0.5);
}

/* ================================
   SCROLL ANIMATIONS
   ================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .supporters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-info {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .supporters-grid {
        grid-template-columns: 1fr;
    }

    .committee-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .program-timeline::before {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }

    .timeline-date {
        width: 100%;
        height: auto;
        padding: 12px;
        flex-direction: row;
        gap: 8px;
        border-radius: var(--radius-md);
    }

    .timeline-date .day {
        font-size: 1.4rem;
    }

    .timeline-date .month {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .title-line-main {
        font-size: 1.8rem;
    }

    .title-line-sub {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .application-form {
        padding: 24px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 16px 50px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .title-line-main {
        font-size: 1.5rem;
    }

    .title-line-sub {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .committee-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }
}