@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
    --bg: #07111f;
    --bg-soft: #0c1b31;
    --card: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.14);
    --text: #eef4ff;
    --muted: #b7c4d8;
    --primary: #4f8cff;
    --primary-soft: rgba(79, 140, 255, 0.15);
    --secondary: #00c2a8;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    --radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background:
        radial-gradient(
            circle at top left,
            rgba(79, 140, 255, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(0, 194, 168, 0.12),
            transparent 25%
        ),
        linear-gradient(135deg, #050d18, #0a1830 55%, #07111f);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================
   NAVBAR MODERN
========================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 17, 31, 0.78);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
    position: relative;
    overflow: visible;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
    transition: 0.3s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    background-image: url("../assets/favicon.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;
    padding: 6px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.5px;
}

.brand-sub {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 500;
}

.nav-menu-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
    position: relative;
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(79, 140, 255, 0.1);
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--primary),
        #79a9ff 60%,
        var(--secondary)
    );
    box-shadow: 0 14px 30px rgba(79, 140, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 34px rgba(79, 140, 255, 0.38);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: all 0.3s ease;
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #79a9ff);
    color: white;
    box-shadow: 0 16px 30px rgba(79, 140, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(79, 140, 255, 0.38);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* =========================
   HERO
========================= */
.hero {
    padding: 90px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #dbe7ff;
    margin-bottom: 22px;
    font-size: 0.92rem;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-title span {
    background: linear-gradient(135deg, #ffffff, #9ec3ff, #67e4d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--muted);
    max-width: 640px;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.stat-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
}

.glass-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.06)
    );
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.hero-panel {
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
}

.hero-panel::before {
    width: 180px;
    height: 180px;
    background: rgba(79, 140, 255, 0.25);
    top: -40px;
    right: -30px;
}

.hero-panel::after {
    width: 160px;
    height: 160px;
    background: rgba(0, 194, 168, 0.18);
    bottom: -20px;
    left: -20px;
}

.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.panel-chip {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dfeaff;
    font-size: 0.85rem;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.mini-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 18px;
}

.mini-box h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.mini-box p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* =========================
   SECTIONS
========================= */
section {
    padding: 36px 0 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 34px;
}

.section-header .tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7e4ff;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

.about-grid,
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.info-card .icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: linear-gradient(
        135deg,
        rgba(79, 140, 255, 0.3),
        rgba(0, 194, 168, 0.25)
    );
    font-size: 1.3rem;
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* =========================
   MEMBERS
========================= */
.member-section-wrap {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: start;
}

.member-info {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 110px;
}

.member-info h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.member-info p {
    color: var(--muted);
    margin-bottom: 24px;
}

.member-points {
    display: grid;
    gap: 14px;
}

.member-points div {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8f1ff;
}

.member-scroll-box {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.member-scroll {
    max-height: 560px;
    overflow-y: auto;
    padding-right: 8px;
    display: grid;
    gap: 16px;
    scroll-behavior: smooth;
}

.member-scroll::-webkit-scrollbar {
    width: 8px;
}

.member-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.member-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 999px;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    transition: 0.25s ease;
}

.member-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.09);
}

.avatar {
    min-width: 62px;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 12px 24px rgba(79, 140, 255, 0.25);
}

.member-body h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.member-body span {
    display: inline-block;
    font-size: 0.86rem;
    color: #d4e1fb;
    margin-bottom: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.16);
}

.member-body p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* =========================
   CTA + FOOTER
========================= */
.cta {
    padding-bottom: 110px;
}

.cta-box {
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(79, 140, 255, 0.18),
        rgba(0, 194, 168, 0.12)
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    padding: 50px 24px;
    box-shadow: var(--shadow);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.cta-box p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.footer-note {
    padding: 24px 0 36px;
    text-align: center;
    color: #9fb2cd;
    font-size: 0.92rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .hero-grid,
    .member-section-wrap,
    .about-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .member-info {
        position: static;
    }
}

@media (max-width: 980px) {
    .navbar-inner {
        padding: 0 16px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu-wrap {
        display: none;
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        width: 100%;
        padding: 18px;
        border-radius: 24px;
        background: rgba(7, 17, 31, 0.96);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        z-index: 1200;
    }

    .nav-menu-wrap.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 8px;
    }

    .nav-link {
        width: 100%;
        border-radius: 14px;
        padding: 14px 16px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        width: 100%;
    }

    .nav-btn {
        width: 100%;
    }
}

@media (max-width: 860px) {
    .hero {
        padding-top: 60px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar-inner {
        min-height: 66px;
        border-radius: 20px;
        padding: 0 14px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .brand-sub {
        font-size: 0.72rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .member-card {
        align-items: flex-start;
    }

    .avatar {
        min-width: 56px;
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .section-header h2,
    .member-info h3,
    .cta-box h2 {
        line-height: 1.2;
    }
}
.member-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.member-role {
    display: inline-block;
    font-size: 0.86rem;
    color: #d4e1fb;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.16);
    font-weight: 600;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    white-space: nowrap;
}

.member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.member-meta span {
    font-size: 0.78rem;
    color: #cfe0ff;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.member-body h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #fff;
}

.member-body p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .member-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-badge {
        font-size: 0.72rem;
    }

    .member-meta {
        gap: 6px;
    }

    .member-meta span {
        font-size: 0.74rem;
    }
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    backdrop-filter: blur(14px);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.22);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.project-content {
    padding: 22px;
}

.project-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.82rem;
}

.project-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #fff;
}

.project-content p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dce8ff;
    font-size: 0.78rem;
}

.project-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-actions .btn {
    padding: 11px 18px;
    font-size: 0.88rem;
}

@media (max-width: 1100px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 210px;
    }

    .project-actions {
        flex-direction: column;
    }

    .project-actions .btn {
        width: 100%;
    }
}
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-in-scroll.show {
    opacity: 1;
    transform: translateY(0);
}
