* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0057B8;
    --dark-blue: #001F3F;
    --mid-blue: #013A6B;
    --light-blue: #EAF2FC;
    --accent-yellow: #FFB800;
    --text-dark: #1A1A2E;
    --text-light: #5B6472;
    --white: #ffffff;
    --gray-bg: #F7F9FC;
    --success: #1DB954;
    --error: #E5484D;
    --font-display: 'Sora', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, .nav-logo-text, .stat-number {
    font-family: var(--font-display);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.hamburger:focus-visible {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.3;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(14px, 1.8vw, 28px);
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    white-space: nowrap;
    position: relative;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links li:not(.join-btn-wrap) > a:not(.join-btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links li > a:not(.join-btn):hover::after,
.nav-links li > a.active-link::after {
    width: 100%;
}

.join-btn {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 10px clamp(16px, 1.6vw, 24px);
    border-radius: 25px;
    transition: all 0.3s ease !important;
}

.join-btn:hover {
    background: var(--dark-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 87, 184, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Nav Dropdown (Events) */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 31, 63, 0.18);
    list-style: none;
    padding: 8px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.dropdown-menu li > a::after {
    content: none;
    display: none;
}

/* Hero Section */
.hero {
    margin-top: 78px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 55%, var(--primary-blue) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-network {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.55;
}

.hero-network svg {
    width: 100%;
    height: 100%;
}

.hero-network .net-lines line {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1.4;
}

.hero-network .net-nodes circle {
    fill: var(--accent-yellow);
    opacity: 0.85;
    animation: pulse-node 3.2s ease-in-out infinite;
}

.hero-network .net-nodes circle:nth-child(2n) { animation-delay: 0.6s; }
.hero-network .net-nodes circle:nth-child(3n) { animation-delay: 1.2s; }
.hero-network .net-nodes circle:nth-child(4n) { animation-delay: 1.8s; }

@keyframes pulse-node {
    0%, 100% { opacity: 0.5; r: 4; }
    50% { opacity: 1; }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-welcome {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.hero-text h1 {
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-text .highlight {
    color: var(--accent-yellow);
}

.hero-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--dark-blue);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 10, 30, 0.45);
    animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

/* Sections */
section {
    padding: 90px 20px;
    scroll-margin-top: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 14px;
}

.section-header .underline {
    width: 70px;
    height: 4px;
    border-radius: 2px;
    background: var(--accent-yellow);
    margin: 0 auto;
}

.gallery-intro {
    color: var(--text-light);
    max-width: 520px;
    margin: 18px auto 0;
    font-size: 1.02rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 31, 63, 0.15);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 22px 15px;
    background: var(--light-blue);
    border-radius: 12px;
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* Events Section */
.events {
    background: var(--gray-bg);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 31, 63, 0.15);
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

/* Icon tiles replace missing event photography */
.event-icon-tile {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-icon-tile svg {
    width: 64px;
    height: 64px;
    color: var(--white);
    opacity: 0.92;
}

.event-card:hover .event-icon-tile svg {
    transform: scale(1.08);
}

.tile-hackathon { background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); }
.tile-workshop { background: linear-gradient(135deg, var(--primary-blue), #3B8AE0); }
.tile-techtalk { background: linear-gradient(135deg, var(--mid-blue), var(--dark-blue)); }

.event-date {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--accent-yellow);
    color: var(--dark-blue);
    padding: 9px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-details {
    padding: 25px;
}

.event-details h3 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.event-details p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.event-tag {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.88rem;
    font-weight: 600;
}

.tile-orientation { background: linear-gradient(135deg, var(--success), var(--mid-blue)); }
.tile-bootcamp { background: linear-gradient(135deg, var(--mid-blue), var(--success)); }

.completed-badge {
    background: var(--success) !important;
    color: var(--white) !important;
}

/* Successful Events Section */
.successful-events {
    background: var(--gray-bg);
}

.activities-subsection,
.events-subsection {
    margin-top: 20px;
}

.events-subsection + .events-subsection {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 31, 63, 0.1);
}

.subsection-title {
    text-align: center;
    font-size: 1.3rem;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
}

.subsection-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--success);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Clickable event card (e.g. AI Samvad -> full detail page) */
.event-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.event-card-link:hover {
    color: inherit;
}

.event-view-more {
    display: block;
    margin-top: 12px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.92rem;
}

.event-card-link:hover .event-view-more {
    text-decoration: underline;
}

/* Follow Us / Org Social Section */
.org-social {
    background: var(--white);
    text-align: center;
}

.org-social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 35px;
}

.org-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 50px;
    background: var(--light-blue);
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.org-social-link:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 31, 63, 0.18);
}

.org-social-link.fb:hover { background: #1877F2; }
.org-social-link.ig:hover { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4); }
.org-social-link.li:hover { background: #0A66C2; }

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--gray-bg);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0, 15, 35, 0.85), transparent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    background: var(--gray-bg);
    border-radius: 12px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 20, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    padding: 40px 20px;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: min(900px, 90vw);
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.25s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Team Section */
.team {
    background: var(--gray-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 31, 63, 0.15);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--light-blue);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initials avatar for teammates without a photo on file */
.member-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
}

.team-member h3 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--light-blue);
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--white);
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* Other Active Members (expandable panel under the core Team grid) */
.other-members-wrap {
    margin-top: 40px;
}

.other-members-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 14px 26px;
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 50px;
    color: var(--dark-blue);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.other-members-toggle:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.other-members-toggle .chevron {
    transition: transform 0.25s ease;
}

.other-members-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.other-members-panel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.other-members-panel.open {
    max-height: 3000px;
    opacity: 1;
    margin-top: 28px;
}

.other-member-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.other-member-avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.other-member-avatar.other-member-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
}

.other-member-info {
    min-width: 0;
}

.other-member-info h4 {
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-member-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-members-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: 10px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .section-eyebrow {
    color: var(--accent-yellow);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.contact-lead {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
    max-width: 420px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Follow Us, merged directly under Contact Us */
.contact-social {
    margin-top: 6px;
}

.contact-social-label {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.contact-social .org-social-links {
    justify-content: flex-start;
    margin-top: 0;
    gap: 14px;
}

.contact-social .org-social-link {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    padding: 10px 18px;
    font-size: 0.9rem;
}

.contact-social .org-social-link:hover {
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

.contact-form button {
    background: var(--accent-yellow);
    color: var(--dark-blue);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.35);
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 14px;
    font-weight: 600;
    min-height: 1.2em;
}

.form-status.success { color: #7CFFB2; }
.form-status.error { color: #FFB4B4; }

/* Footer */
footer {
    background: #10131C;
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-trigger {
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: var(--gray-bg);
        margin: 10px auto 0;
        width: min(240px, 80vw);
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    /* --- Moderated mobile experience ---
       Desktop leans bold: a full-screen hero, a floating hero image, a
       pulsing network animation and large display type. On small screens
       that reads as busy/heavy, so we tone it down: shorter hero, calmer
       motion, softer shadows, and tighter section spacing. */

    .hero {
        min-height: auto;
        padding: 56px 0 48px;
    }

    .hero-network {
        opacity: 0.3;
    }

    .hero-network .net-nodes circle {
        animation: none;
        opacity: 0.6;
    }

    .hero-text h1 {
        font-size: 1.9rem;
        line-height: 1.25;
    }

    .hero-text p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 13px 24px;
        text-align: center;
        width: 100%;
    }

    .hero-image img {
        animation: none;
        max-width: 320px;
        box-shadow: 0 12px 28px rgba(0, 10, 30, 0.3);
    }

    section {
        padding: 56px 16px;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .join-btn:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .nav-logo-text {
        font-size: 0.85rem;
    }

    .nav-logo img {
        height: 40px;
        width: 40px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    section {
        padding: 44px 14px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-item {
        padding: 16px 10px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .event-details,
    .team-member {
        padding: 18px;
    }

    .member-image {
        width: 120px;
        height: 120px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .org-social-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .footer-links {
        gap: 16px 22px;
    }
}
