/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
    --gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    --border: rgba(148, 163, 184, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.7);
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ===== Content Background Wrapper ===== */
.content-bg {
    background: url('../images/background.jpg') repeat;
    background-size: auto;
    position: relative;
}

.content-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgb(0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.65) 80%,
        #0a0a0a 100%
    );
    z-index: 0;
    pointer-events: none;
}

.content-bg .section {
    position: relative;
    z-index: 1;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo i {
    font-size: 1.6rem;
    color: var(--accent-light);
}

.logo-img {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}

.nav-logo:hover .logo-img {
    border-color: var(--accent-light);
}

.footer-logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid rgba(255,255,255,0.1);
}

.badge-logo {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    object-fit: contain;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000;
    overflow: hidden;
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1117 30%, #0a1628 60%, #000 100%);
}

.hero-video-wrapper.visible {
    opacity: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    position: relative;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.85) 90%, #000 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-light);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-badge.reveal {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    min-height: 3.6em;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-subtitle.reveal {
    opacity: 1;
}

/* Typing Cursor */
.typing-line {
    display: inline;
}

.typing-cursor {
    display: inline;
    color: var(--accent-light);
    font-weight: 300;
    animation: blink 0.8s step-end infinite;
}

.typing-cursor.done {
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* CTA reveal */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-cta.reveal {
    opacity: 1;
    transform: translateY(0);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-scroll.reveal {
    opacity: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Team Grid ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: var(--accent-light);
    border: 2px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Drone Vertical Timeline ===== */
.drone-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), var(--gradient-end), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
}

.timeline-item.left { justify-content: flex-start; padding-right: calc(50% + 40px); }
.timeline-item.right { justify-content: flex-end; padding-left: calc(50% + 40px); }

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--accent-light);
    font-size: 1rem;
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    width: 100%;
    transition: var(--transition);
    position: relative;
}

.timeline-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.timeline-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-light);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.timeline-drone-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    position: relative;
    line-height: 0;
}

.timeline-drone-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.timeline-card:hover .timeline-drone-img img {
    transform: scale(1.05);
}

.timeline-drone-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.timeline-drone-icon.fallback {
    display: none;
    width: 100%;
    height: 140px;
    border-radius: 12px;
}

.timeline-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-type {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.timeline-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.timeline-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.06);
    padding: 5px 12px;
    border-radius: 6px;
}

.timeline-specs i {
    color: var(--accent-light);
    font-size: 0.75rem;
}

/* ===== Activities Grid ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.activity-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.activity-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.activity-image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent-light);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.activity-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.activity-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.activity-result {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.result-gold { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.result-silver { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.result-outreach { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.result-coop { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.result-milestone { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }

.activity-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== Work Cards ===== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
}

.work-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.work-card.featured {
    grid-column: 1 / -1;
    border-color: rgba(59, 130, 246, 0.3);
}

.work-card-image {
    min-width: 160px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.05);
    color: var(--accent-light);
    overflow: hidden;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card-content {
    padding: 28px;
    flex: 1;
}

.work-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.work-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.work-status.planning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.work-status.completed {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.work-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.work-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ===== Guide Section ===== */
.guide-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Top Navigation Bar — sticky */
.guide-sidebar {
    position: sticky;
    top: 80px;
    z-index: 10;
    padding: 4px 0;
}

.guide-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.guide-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.guide-tab i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.guide-tab:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

.guide-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}

/* Guide Content */
.guide-content {
    min-width: 0;
}

.guide-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.guide-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.guide-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.guide-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.guide-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: var(--transition);
}

.guide-question i:first-child {
    color: var(--accent-light);
    font-size: 1.1rem;
}

.guide-question span {
    flex: 1;
}

.guide-question .fa-chevron-down {
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.guide-item.open .guide-question .fa-chevron-down {
    transform: rotate(180deg);
}

.guide-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.guide-item.open .guide-answer {
    max-height: 1000px;
    padding: 0 24px 24px;
}

.guide-answer h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 10px;
    margin-top: 16px;
}

.guide-answer h4:first-child { margin-top: 0; }

.guide-answer ul, .guide-answer ol {
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.guide-answer li { margin-bottom: 4px; }
.guide-answer li strong { color: var(--text-primary); }

.guide-answer a {
    color: var(--accent-light);
    text-decoration: none;
}
.guide-answer a:hover { text-decoration: underline; }

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.guide-table th {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
}

.guide-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.guide-table tr:hover td {
    background: rgba(59, 130, 246, 0.03);
}

/* Checklist */
.checklist label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* ===== Sponsor & QR Section ===== */
.sponsor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.sponsor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sponsor-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.sponsor-icon {
    color: var(--accent-light);
    margin-bottom: 4px;
}

.sponsor-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.sponsor-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 360px;
}

.sponsor-logos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 0;
}

.sponsor-logo-placeholder {
    width: 140px;
    height: 100px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px dashed rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.sponsor-logo-placeholder:hover {
    border-color: var(--accent-light);
    color: var(--accent-light);
}

.sponsor-cta-text {
    font-weight: 500;
    color: var(--accent-light) !important;
}

.qr-code-wrapper {
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin: 8px 0;
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-code-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

.qr-code-fallback i {
    color: #64748b;
}

.qr-note {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
}

.sponsor-cta-link {
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.sponsor-cta-link:hover {
    border-color: var(--accent-light) !important;
    color: var(--accent-light) !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.sponsor-contact-btn {
    margin-top: 8px;
}

/* ===== Sponsor Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    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: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    color: var(--accent-light);
    margin-bottom: 12px;
}

.modal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-content > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-benefits {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-benefit i {
    color: #34d399;
    font-size: 1rem;
}

.modal-contact-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
}

.modal-contact-info p {
    color: var(--text-primary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-contact-info i {
    color: var(--accent-light);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Toast Notification ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #34d399;
    color: #000;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== Supervisor Section ===== */
.supervisor {
    background: transparent;
}

.supervisor-card {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
}

.supervisor-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-lg);
}

.supervisor-avatar {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.3);
    position: relative;
}

.supervisor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supervisor-avatar-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    font-size: 4rem;
    color: var(--accent-light);
}

.supervisor-info {
    flex: 1;
}

.supervisor-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.supervisor-title {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 16px;
}

.supervisor-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.supervisor-blog-link {
    font-size: 0.9rem;
    padding: 10px 22px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--accent-light);
}

.footer-brand span {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-light); }

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 24px 24px;
        gap: 4px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-menu.active { right: 0; }

    .nav-link {
        padding: 14px 18px;
        font-size: 1rem;
    }

    .hero-title { font-size: 2.2rem; }

    .work-grid { grid-template-columns: 1fr; }
    .work-card { flex-direction: column; }
    .work-card-image { min-width: unset; padding: 32px; }

    .team-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    /* Timeline mobile */
    .timeline-line { left: 20px; }
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 56px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-dot { left: 20px; }

    /* Activities mobile */
    .activities-grid { grid-template-columns: 1fr 1fr; }

    .footer-content { grid-template-columns: 1fr; }

    /* Supervisor mobile */
    .supervisor-card { flex-direction: column; text-align: center; padding: 32px 24px; gap: 24px; }
    .supervisor-avatar { width: 140px; height: 140px; }

    /* Sponsor mobile */
    .sponsor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .guide-tab { padding: 8px 14px; font-size: 0.78rem; }
    .guide-sidebar { top: 70px; }

    .activities-grid { grid-template-columns: 1fr; }

    /* Supervisor small mobile */
    .supervisor-card { padding: 24px 16px; }
    .supervisor-avatar { width: 120px; height: 120px; }
    .supervisor-info h3 { font-size: 1.25rem; }
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Fade Up */
.reveal.fade-up {
    transform: translateY(50px);
}

/* Fade Left */
.reveal.fade-left {
    transform: translateX(-60px);
}

/* Fade Right */
.reveal.fade-right {
    transform: translateX(60px);
}

/* Scale In */
.reveal.scale-in {
    transform: scale(0.85);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
