:root {
    --primary: #0878C9;
    --primary-dark: #055A9E;
    --secondary: #d6a629;

    --dark: #102A43;
    --text: #536779;
    --light: #F4F8FC;
    --white: #ffffff;

    --border: #E2EAF2;

    --radius: 20px;

    --shadow:
        0 20px 60px rgba(16, 37, 27, .08);
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

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

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

button {
    font: inherit;
}

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


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255,255,255,.94);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(0,0,0,.05);

    transition: .3s;
}

.header.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,.07);
}

.nav-wrapper {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 210px;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-family: "Plus Jakarta Sans";
    font-size: 15px;
    letter-spacing: -.3px;
}

.logo-text span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* NAV */

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav > a,
.dropdown > a {
    font-size: 13px;
    font-weight: 600;

    color: #34473e;

    transition: .2s;
}

.nav > a:hover,
.dropdown > a:hover,
.nav .active {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 35px;
    left: -15px;

    width: 220px;

    background: white;
    border-radius: 12px;

    padding: 10px;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: .25s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 9px 12px;

    font-size: 13px;

    border-radius: 8px;
}

.dropdown-menu a:hover {
    color: var(--primary);
    background: var(--light);
}


/* BUTTON */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 50px;
    padding: 0 24px;

    border-radius: 100px;

    font-size: 13px;
    font-weight: 700;

    transition: .25s;

    border: 1px solid transparent;
}

.btn-primary {
    color: white;
    background: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    color: white;
    border-color: rgba(255,255,255,.5);
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.btn-dark {
    color: white;
    background: var(--dark);
}

.btn-white {
    color: var(--primary);
    background: white;
}

.nav-button {
    min-height: 42px;
    padding: 0 20px;
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    font-size: 26px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 760px;

    position: relative;

    display: flex;
    align-items: center;

    color: white;

    background:
        url("assets/hero.jpg")
        center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 32, 65, .88),
            rgba(3, 32, 65, .58),
            rgba(3, 32, 65, .2)
        );
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 850px;

    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 15px;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;

    background: rgba(255,255,255,.08);
}

.hero-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--secondary);
}

.hero h1 {
    margin-top: 25px;

    font-family: "Plus Jakarta Sans";

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.06;
    letter-spacing: -3px;
}

.hero h1 em {
    color: #72B7F2;
    font-style: normal;
}

.hero p {
    max-width: 650px;

    margin-top: 25px;

    color: rgba(255,255,255,.78);

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 35px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 9px;
    letter-spacing: 2px;
    opacity: .65;
}

.hero-scroll div {
    width: 45px;
    height: 1px;

    background: white;
}


/* =========================
   QUICK INFO
========================= */

.quick-info {
    margin-top: -65px;

    position: relative;
    z-index: 5;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: white;

    border-radius: 18px;

    box-shadow: var(--shadow);

    overflow: hidden;
}

.quick-card {
    min-height: 130px;

    padding: 25px;

    display: flex;
    align-items: center;

    gap: 15px;

    border-right: 1px solid var(--border);
}

.quick-card:last-child {
    border: 0;
}

.quick-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: #EAF4FC;

    font-size: 20px;
}

.quick-card div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.quick-card span {
    color: #89968f;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-card strong {
    font-size: 14px;
}

.quick-card > a {
    margin-left: auto;

    color: var(--primary);
    font-weight: 700;
}


/* =========================
   GENERAL SECTION
========================= */

.section {
    padding: 110px 0;
}

.section-label {
    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-label.light {
    color: #C8E3F5;
}

h2 {
    margin-top: 10px;

    font-family: "Plus Jakarta Sans";

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.12;
    letter-spacing: -2px;
}

.center-heading {
    max-width: 650px;
    margin: auto;

    text-align: center;
}

.center-heading p {
    margin-top: 15px;
    color: var(--text);
}


/* =========================
   ABOUT
========================= */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image > img {
    width: 100%;
    height: 540px;

    object-fit: cover;

    border-radius: 25px;
}

.experience-card {
    position: absolute;

    bottom: 25px;
    right: -25px;

    padding: 20px 25px;

    background: var(--primary);
    color: white;

    border-radius: 15px;

    display: flex;
    align-items: center;
    gap: 15px;

    box-shadow: var(--shadow);
}

.experience-card strong {
    font-size: 38px;
    line-height: 1;
}

.experience-card span {
    font-size: 11px;
    line-height: 1.4;
}

.about-content h2 span,
.facility-content h2 span {
    color: var(--primary);
}

.about-content p {
    margin-top: 20px;

    color: var(--text);
    font-size: 15px;
}

.text-link {
    display: inline-flex;
    gap: 10px;

    margin-top: 25px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}

.text-link:hover {
    gap: 15px;
}


/* =========================
   STATS
========================= */

.stats {
    padding: 70px 0;

    color: white;

    background: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    text-align: center;
}

.stat {
    padding: 10px;

    border-right: 1px solid rgba(255,255,255,.12);
}

.stat:last-child {
    border: 0;
}

.stat strong {
    display: block;

    font-family: "Plus Jakarta Sans";

    font-size: 42px;
}

.stat span {
    color: rgba(255,255,255,.55);

    font-size: 11px;
}


/* =========================
   VISION
========================= */

.vision {
    background: var(--light);
}

.vision-grid {
    margin-top: 55px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.vision-card {
    position: relative;

    padding: 45px;

    background: white;

    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(0,0,0,.03);
}

.vision-card h3 {
    margin-top: 30px;

    font-family: "Plus Jakarta Sans";
    font-size: 25px;
}

.vision-card p,
.vision-card li {
    color: var(--text);
    font-size: 14px;
}

.vision-card p {
    margin-top: 15px;
}

.vision-card ul {
    margin-top: 15px;

    padding-left: 20px;
}

.vision-card li {
    margin: 8px 0;
}

.vision-main {
    color: white;
    background: var(--primary);
}

.vision-main p {
    color: rgba(255,255,255,.8);
}

.card-number {
    font-size: 12px;
    font-weight: 800;
    color: var(--secondary);
}


/* =========================
   PROGRAMS
========================= */

.programs {
    background: white;
}

.heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;
}

.heading-row > p {
    max-width: 430px;

    color: var(--text);
}

.program-grid {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.program-card {
    padding: 35px;

    border: 1px solid var(--border);
    border-radius: 20px;

    transition: .3s;
}

.program-card:hover,
.program-card.active {
    color: white;
    background: var(--primary);

    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.program-icon {
    font-size: 35px;
}

.program-card > span {
    display: block;

    margin-top: 25px;

    color: var(--secondary);

    font-size: 11px;
    font-weight: 800;
}

.program-card h3 {
    margin-top: 8px;

    font-family: "Plus Jakarta Sans";
    font-size: 21px;
}

.program-card p {
    margin-top: 15px;

    color: var(--text);
    font-size: 13px;
}

.program-card.active p,
.program-card:hover p {
    color: rgba(255,255,255,.7);
}

.program-card a {
    display: inline-block;

    margin-top: 25px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}

.program-card.active a,
.program-card:hover a {
    color: white;
}


/* =========================
   FACILITIES
========================= */

.facilities {
    background: #F2F6FA;
}

.facility-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.facility-content > p {
    margin-top: 20px;

    color: var(--text);
}

.facility-list {
    margin: 30px 0;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.facility-list div {
    font-size: 13px;
    font-weight: 600;
}

.facility-list span {
    margin-right: 7px;

    color: var(--primary);
}

.facility-images {
    position: relative;

    min-height: 560px;
}

.facility-img-big {
    position: absolute;

    top: 0;
    right: 0;

    width: 75%;
    height: 450px;

    object-fit: cover;

    border-radius: 25px;
}

.facility-img-small {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 48%;
    height: 270px;

    object-fit: cover;

    border: 12px solid #F2F6FA;

    border-radius: 25px;
}


/* =========================
   EXTRACURRICULAR
========================= */

.extracurricular {
    color: white;

    background:
        linear-gradient(
            120deg,
            #063A6B,
            #0A68B0
        );
}

.center-heading.light p {
    color: rgba(255,255,255,.65);
}

.extra-grid {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.extra-card {
    padding: 28px;

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;

    background: rgba(255,255,255,.05);

    transition: .25s;
}

.extra-card:hover {
    background: white;
    color: var(--dark);

    transform: translateY(-5px);
}

.extra-card span {
    display: block;

    color: var(--secondary);

    font-size: 10px;
}

.extra-card strong {
    display: block;

    margin-top: 20px;

    font-family: "Plus Jakarta Sans";
    font-size: 20px;
}

.extra-card small {
    color: rgba(255,255,255,.5);
    font-size: 11px;
}

.extra-card:hover small {
    color: var(--text);
}


/* =========================
   ACHIEVEMENTS
========================= */

.achievement-grid {
    margin-top: 50px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.achievement-card {
    overflow: hidden;

    border-radius: 20px;

    background: var(--light);
}

.achievement-image {
    position: relative;
}

.achievement-image img {
    width: 100%;
    height: 300px;

    object-fit: cover;
}

.achievement-image span {
    position: absolute;

    top: 20px;
    left: 20px;

    padding: 7px 12px;

    color: white;
    background: var(--primary);

    border-radius: 100px;

    font-size: 10px;
    font-weight: 700;
}

.achievement-content {
    padding: 30px;
}

.achievement-content small {
    color: var(--primary);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.achievement-content h3 {
    margin-top: 8px;

    font-family: "Plus Jakarta Sans";
    font-size: 22px;
}

.achievement-content p {
    margin-top: 10px;

    color: var(--text);

    font-size: 13px;
}

.achievement-content a {
    display: inline-block;

    margin-top: 18px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}


/* =========================
   PPDB
========================= */

.ppdb {
    padding: 80px 0;

    color: white;

    background:
        linear-gradient(
            120deg,
            #0878C9,
            #064E8C
        );
}

.ppdb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.ppdb h2 {
    max-width: 650px;
}

.ppdb p {
    max-width: 600px;

    margin-top: 15px;

    color: rgba(255,255,255,.7);
}

.ppdb .btn {
    flex: 0 0 auto;
}


/* =========================
   NEWS
========================= */

.news {
    background: white;
}

.news-grid {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.news-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;

    transition: .3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.news-card > img {
    width: 100%;
    height: 220px;

    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 8px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
}

.news-content h3 {
    margin-top: 12px;

    font-family: "Plus Jakarta Sans";
    font-size: 18px;

    line-height: 1.35;
}

.news-content p {
    margin-top: 10px;

    color: var(--text);

    font-size: 13px;
}

.news-content a {
    display: inline-block;

    margin-top: 18px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
}


/* =========================
   FAQ
========================= */

.faq {
    background: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;

    gap: 100px;
}

.faq-grid > div:first-child p {
    margin-top: 20px;

    color: var(--text);
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;

    padding: 22px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    background: transparent;

    cursor: pointer;

    text-align: left;

    font-size: 14px;
    font-weight: 700;
}

.faq-question span {
    color: var(--primary);
    font-size: 22px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    color: var(--text);

    font-size: 13px;

    transition: .3s;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}


/* =========================
   FOOTER
========================= */

.footer {
    color: rgba(255,255,255,.65);

    background: #071B2D;
}

.footer-grid {
    padding: 80px 0;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;

    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-logo img {
    width: 50px;
}

.footer-logo div {
    display: flex;
    flex-direction: column;
}

.footer-logo strong {
    color: white;

    font-family: "Plus Jakarta Sans";
}

.footer-logo span {
    color: #9BC8C8;

    font-size: 10px;
    letter-spacing: 2px;
}

.footer-brand > p {
    max-width: 280px;

    margin-top: 20px;

    font-size: 13px;
}

.socials {
    display: flex;
    gap: 8px;

    margin-top: 25px;
}

.socials a {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: white;

    background: rgba(255,255,255,.08);

    font-size: 11px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h4 {
    margin-bottom: 10px;

    color: white;

    font-size: 13px;
}

.footer-column a,
.footer-column p {
    color: rgba(255,255,255,.55);

    font-size: 12px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom .container {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    font-size: 10px;
}


/* =========================
   BACK TO TOP
========================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: 0;
    border-radius: 50%;

    color: white;
    background: var(--primary);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}


/* =========================
   RESPONSIVE
========================= */


@media (max-width: 1050px) {

    .nav {
        gap: 15px;
    }

    /* Tombol PPDB dan LMS tetap terlihat */
    .nav-buttons .nav-button {
        display: inline-flex;
    }

    .about-grid,
    .facility-grid {
        gap: 40px;
    }

}


@media (max-width: 850px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;

        top: 82px;
        left: 20px;
        right: 20px;

        padding: 20px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        background: white;

        border-radius: 15px;

        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .dropdown-menu {
        position: static;

        width: 100%;

        display: none;

        box-shadow: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

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

    .quick-card:nth-child(2) {
        border-right: 0;
    }

    .quick-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .about-grid,
    .facility-grid,
    .vision-grid,
    .achievement-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .program-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .facility-images {
        min-height: 500px;
    }

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

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .header .nav-wrapper {
        height: 70px;
    }

    .hero {
        min-height: 700px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .quick-info {
        margin-top: -30px;
    }

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

    .quick-card {
        border-right: 0 !important;
        border-bottom: 1px solid var(--border);
    }

    .quick-card:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 75px 0;
    }

    .about-image > img {
        height: 400px;
    }

    .experience-card {
        right: 10px;
    }

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

    .stat strong {
        font-size: 30px;
    }

    .program-grid,
    .news-grid,
    .extra-grid {
        grid-template-columns: 1fr;
    }

    .heading-row,
    .ppdb-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .facility-list {
        grid-template-columns: 1fr;
    }

    .facility-images {
        min-height: 400px;
    }

    .facility-img-big {
        width: 80%;
        height: 330px;
    }

    .facility-img-small {
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom .container {
        padding: 20px 0;

        align-items: flex-start;
        flex-direction: column;
    }

}
/* ========================================
   PRELOADER BLUE
======================================== */

.preloader {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 50% 40%,
            #0b6cc7 0%,
            #0758a5 45%,
            #03427e 100%
        );

    transition:
        opacity 1s cubic-bezier(.77, 0, .175, 1),
        visibility 1s;
}


/* Background decoration */

.preloader::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.08);

    animation: preloaderCircle 5s linear infinite;
}


.preloader::after {
    content: "";

    position: absolute;

    width: 850px;
    height: 850px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.05);

    animation: preloaderCircleReverse 8s linear infinite;
}


/* Hidden state */

.preloader.hide {
    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}


/* ========================================
   CONTENT
======================================== */

.preloader-content {

    position: relative;

    z-index: 2;

    width: min(380px, 85%);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    animation: preloaderContent .9s ease forwards;
}


/* ========================================
   LOGO
======================================== */

.preloader-logo-wrapper {

    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background: rgba(255,255,255,.1);

    border: 1px solid rgba(255,255,255,.25);

    box-shadow:
        0 0 0 10px rgba(255,255,255,.03),
        0 20px 60px rgba(0,0,0,.15);

    animation:
        logoAppear 1s cubic-bezier(.22,1,.36,1) forwards;
}


.preloader-logo {

    width: 75px;
    height: 75px;

    object-fit: contain;

    animation:
        logoFloat 3s ease-in-out 1s infinite;
}


/* ========================================
   SCHOOL NAME
======================================== */

.preloader-name {

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: 4px;

    opacity: 0;

    animation:
        textAppear .8s ease .35s forwards;
}


.preloader-location {

    margin-top: 3px;

    color: rgba(255,255,255,.65);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 5px;

    opacity: 0;

    animation:
        textAppear .8s ease .5s forwards;
}


/* ========================================
   PROGRESS
======================================== */

.preloader-progress {

    width: 100%;

    margin-top: 45px;

    opacity: 0;

    animation:
        textAppear .8s ease .7s forwards;
}


.preloader-progress-bar {

    width: 100%;
    height: 2px;

    overflow: hidden;

    border-radius: 100px;

    background:
        rgba(255,255,255,.2);
}


.preloader-progress-bar span {

    display: block;

    width: 0%;
    height: 100%;

    background: #ffffff;

    box-shadow:
        0 0 15px rgba(255,255,255,.7);
}


/* ========================================
   PROGRESS INFORMATION
======================================== */

.preloader-progress-info {

    margin-top: 12px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: rgba(255,255,255,.55);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;
}


.preloader-progress-info strong {

    color: white;

    font-size: 11px;

    letter-spacing: 1px;
}


/* ========================================
   ANIMATION
======================================== */

@keyframes preloaderContent {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes logoAppear {

    0% {
        opacity: 0;

        transform:
            scale(.5)
            rotate(-15deg);
    }

    70% {
        opacity: 1;

        transform:
            scale(1.08)
            rotate(2deg);
    }

    100% {
        opacity: 1;

        transform:
            scale(1)
            rotate(0);
    }

}


@keyframes logoFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-6px);
    }

}


@keyframes textAppear {

    from {
        opacity: 0;

        transform:
            translateY(12px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes preloaderCircle {

    from {
        transform:
            rotate(0deg)
            scale(1);
    }

    to {
        transform:
            rotate(360deg)
            scale(1.05);
    }

}


@keyframes preloaderCircleReverse {

    from {
        transform:
            rotate(360deg)
            scale(1);
    }

    to {
        transform:
            rotate(0deg)
            scale(1.08);
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .preloader-name {
        font-size: 21px;
        letter-spacing: 3px;
    }

    .preloader-logo-wrapper {
        width: 90px;
        height: 90px;
    }

    .preloader-logo {
        width: 65px;
        height: 65px;
    }

    .preloader-progress {
        margin-top: 35px;
    }

}


/* Tombol PPDB dan LMS di header */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-lms {
    background: #ffffff;
    color: #123b2a;
    border: 1px solid #123b2a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-lms:hover {
    background: #123b2a;
    color: #ffffff;
}


/* =========================
   HEADER BUTTONS: PPDB & LMS
========================= */

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-buttons .nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
}

.btn-lms {
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--primary);
    transition: .25s;
}

.btn-lms:hover {
    color: #fff;
    background: var(--primary-dark);
}

/* Tablet dan HP */
@media (max-width: 850px) {
    .nav-wrapper {
        gap: 10px;
    }

    .logo {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo-text strong {
        font-size: 12px;
    }

    .logo-text span {
        font-size: 9px;
    }

    .nav-buttons {
        gap: 6px;
        margin-left: auto;
    }

    .nav-buttons .nav-button {
        min-height: 36px;
        padding: 0 10px;
        font-size: 11px;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
    }
}

/* HP berukuran kecil */
@media (max-width: 380px) {
    .nav-wrapper {
        gap: 6px;
    }

    .logo {
        gap: 5px;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .logo-text strong {
        font-size: 10px;
    }

    .logo-text span {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .nav-buttons {
        gap: 4px;
    }

    .nav-buttons .nav-button {
        min-height: 32px;
        padding: 0 7px;
        font-size: 10px;
    }

    .menu-toggle {
        font-size: 21px;
    }
}
