@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --c-cyan: #2cc8f6;
    --c-blue: #3b82f6;
    --c-violet: #6f3bff;
    --c-magenta: #ea6edb;
    --c-navy: #0f172a;
    --c-soft: #f3f6ff;
    --c-text: #111827;
    --c-muted: #5f6f8a;
    --c-white: #ffffff;
    --radius: 16px;
    --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.09);
    --shadow-hero: 0 22px 55px rgba(111, 59, 255, 0.2);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
    color: var(--c-text);
    background:
        radial-gradient(circle at 10% 0%, rgba(44, 200, 246, 0.13), transparent 42%),
        radial-gradient(circle at 92% 3%, rgba(234, 110, 219, 0.11), transparent 34%),
        #f7f9ff;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1240px, 92%);
    margin: 0 auto;
}

.section {
    padding: 58px 0;
}

.section-tight {
    padding-top: 24px;
}

.section-title {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 31px;
    margin: 0 0 10px;
    letter-spacing: 0.1px;
}

.section-subtitle {
    color: var(--c-muted);
    margin: 0 0 22px;
    line-height: 1.7;
}

.section-head-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(11px);
    border-bottom: 1px solid rgba(111, 59, 255, 0.12);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand h1 {
    margin: 0;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    letter-spacing: 0.3px;
}

.brand small {
    display: block;
    color: #6b7280;
    font-weight: 700;
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-links a {
    font-weight: 700;
    color: #334155;
    font-size: 13px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1e293b;
}

.nav-cta {
    display: flex;
    gap: 9px;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 10px 17px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.btn-primary {
    background: linear-gradient(120deg, var(--c-violet), var(--c-magenta));
    color: #fff;
    box-shadow: 0 10px 22px rgba(111, 59, 255, 0.28);
}

.btn-alt {
    background: linear-gradient(120deg, #2ae1ef, #54b5ff);
    color: #03253a;
    box-shadow: 0 10px 22px rgba(54, 187, 245, 0.26);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d0d9e6;
    color: #1f2937;
}

.btn-sm {
    padding: 9px 14px;
    font-size: 12px;
}

.btn-secondary {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 11px;
    font-weight: 700;
    font-size: 13px;
    background: #fff;
}

.hero {
    padding: 42px 0 38px;
}

.hero-lux {
    position: relative;
}

.hero-lux:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, #111632, #25124f 45%, #1a608f),
        radial-gradient(circle at 80% 20%, rgba(44, 200, 246, 0.45), transparent 48%);
    opacity: 0.98;
    pointer-events: none;
}

.hero-lux .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 16px;
    align-items: stretch;
}

.hero-copy {
    color: #e5ebff;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 19px;
    padding: 28px;
    box-shadow: var(--shadow-hero);
    animation: fadeUp 0.7s ease both;
}

.hero h2 {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 44px;
    margin: 0 0 12px;
    line-height: 1.1;
    color: #fff;
}

.hero-copy p {
    color: rgba(232, 240, 255, 0.9);
    line-height: 1.8;
    margin: 0 0 18px;
}

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

.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 16px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(233, 241, 255, 0.95);
    font-size: 13px;
}

.hero-stat strong {
    display: block;
    font-size: 19px;
    color: #fff;
    margin-bottom: 3px;
}

.hero-ribbon {
    margin-top: 14px;
    background: rgba(44, 200, 246, 0.2);
    border: 1px solid rgba(44, 200, 246, 0.45);
    border-radius: 999px;
    padding: 8px 14px;
    color: #ecfeff;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
}

.hero-card {
    background: #ffffff;
    border-radius: 19px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 42px rgba(2, 6, 23, 0.2);
    padding: 22px;
    animation: fadeUp 0.8s ease both;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-panel-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.hero-panel-head img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.hero-panel h3 {
    margin: 0;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
}

.hero-panel .muted {
    margin: 0;
    font-size: 13px;
}

.compact-list {
    background: #f7f9ff;
    border: 1px solid #e4eaf6;
    border-radius: 13px;
    padding: 8px 12px;
}

.compact-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px dashed #d8deea;
}

.compact-item:last-child {
    border-bottom: none;
}

.compact-item span {
    color: #64748b;
    white-space: nowrap;
}

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

.dense-grid {
    gap: 14px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e4e8f0;
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.muted {
    color: var(--c-muted);
    line-height: 1.7;
}

.program-card {
    position: relative;
    overflow: hidden;
}

.program-card:after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(120deg, var(--c-cyan), var(--c-violet), var(--c-magenta));
}

.program-meta {
    font-size: 13px;
    padding: 8px 0;
    border-top: 1px dashed #d8deea;
}

.split-2 {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 14px;
}

.timeline-item {
    padding: 13px 0;
    border-bottom: 1px dashed #d8deea;
}

.timeline-item:last-child {
    border-bottom: none;
}

.badge {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1eafe;
    color: #4c1d95;
    font-weight: 700;
    font-size: 12px;
}

.badge-lux {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #dbeafe;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 14px;
}

.news-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: fadeUp 0.55s ease both;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.news-thumb {
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.news-body {
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.news-body .muted {
    margin: 0;
    font-size: 13px;
}

.news-date {
    font-size: 12px;
    font-weight: 700;
    color: #6f3bff;
    background: #f4f0ff;
    padding: 5px 9px;
    border-radius: 999px;
    display: inline-flex;
    width: fit-content;
}

.news-link {
    font-weight: 800;
    font-size: 13px;
    color: #3b4bd6;
}

.cta-band {
    background:
        linear-gradient(120deg, #130d31, #34116d 40%, #0f6ca5 100%);
    color: #fff;
    border-radius: 20px;
    padding: 24px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.28);
}

.cta-band h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 11px 13px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
}

th {
    background: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

.gallery-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.faq-answer {
    margin-bottom: 0;
    margin-top: 8px;
}

.announcement-card {
    margin-bottom: 12px;
}

form .field {
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

input[type=text], input[type=email], input[type=password], input[type=datetime-local], input[type=number], textarea, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    outline: none;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.flash {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 700;
}

.flash-success {
    background: #dcfce7;
    color: #166534;
}

.flash-danger {
    background: #fee2e2;
    color: #991b1b;
}

.flash-warning {
    background: #fef3c7;
    color: #92400e;
}

footer {
    margin-top: 38px;
    background:
        linear-gradient(130deg, #100822, #221047 50%, #0b2a4d);
    color: #ddd6fe;
    padding: 34px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 18px;
}

.footer-note {
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    font-size: 13px;
    color: #c4b5fd;
}

.mobile-nav-toggle {
    display: none;
}

@keyframes navDrop {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero h2 {
        font-size: 39px;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .grid-3,
    .footer-grid,
    .split-2 {
        grid-template-columns: 1fr;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.36);
        z-index: 88;
    }

    .nav-wrap {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .brand {
        flex: 1;
        min-width: 0;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 120;
        background: linear-gradient(180deg, #ffffff, #f8fbff);
        border: 1px solid #d9e2f3;
        border-radius: 18px;
        box-shadow: 0 20px 44px rgba(15, 23, 42, 0.2);
        padding: 10px;
        max-height: min(72vh, 560px);
        overflow-y: auto;
        gap: 0;
        flex-wrap: nowrap;
    }

    .nav-wrap.open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        animation: navDrop 0.18s ease-out both;
    }

    .nav-links a {
        width: 100%;
        display: block;
        font-size: 16px;
        font-weight: 800;
        color: #1f2f46;
        padding: 11px 12px;
        border-radius: 10px;
    }

    .nav-links a:hover {
        background: #eef4ff;
        color: #132a46;
    }

    .nav-cta {
        width: 100%;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid #e2e8f4;
    }

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

    .mobile-nav-toggle {
        display: inline-flex;
        margin-left: auto;
        z-index: 121;
    }

    .hero {
        padding-top: 32px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 44px 0;
    }

    .section-tight {
        padding-top: 20px;
    }

    .hero h2 {
        font-size: 31px;
    }

    .hero-copy {
        padding: 20px;
    }

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

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand h1 {
        font-size: 19px;
    }

    .brand small {
        font-size: 11px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .section-head-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}
