/* ==================================================
   STAI MUTIARA BANGSA
   Warna berdasarkan identitas visual logo
================================================== */

:root {
    --primary: #214e94;
    --primary-dark: #17376b;
    --primary-light: #eaf1fb;
    --blue: #168fc5;
    --light-blue: #8dd0e1;
    --red: #dc2027;
    --yellow: #f2d500;
    --cream: #eee7dc;

    --dark: #10233f;
    --text: #283950;
    --text-light: #65758b;

    --white: #ffffff;
    --background: #f6f8fc;
    --border: #dfe6ef;

    --shadow-small: 0 10px 30px rgba(16, 35, 63, 0.08);
    --shadow-medium: 0 20px 50px rgba(16, 35, 63, 0.13);
    --shadow-large: 0 30px 80px rgba(16, 35, 63, 0.2);
}

/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    overflow-x: hidden;
    background-color: var(--white);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.container {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3 {
    color: var(--dark);
    line-height: 1.16;
}

h1 {
    max-width: 800px;
    font-size: 68px;
    font-weight: 800;
    letter-spacing: -3px;
}

h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.7px;
}

h3 {
    font-size: 20px;
    font-weight: 800;
}

p {
    color: var(--text-light);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 3px;
    margin-right: 10px;
    border-radius: 20px;
    background-color: var(--red);
    content: "";
}

.eyebrow.light {
    color: var(--yellow);
}

.section-heading {
    max-width: 720px;
}

.section-heading.centered {
    margin-right: auto;
    margin-bottom: 55px;
    margin-left: auto;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading.centered p {
    max-width: 650px;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
    font-size: 17px;
}

/* ==================================================
   BUTTON
================================================== */

.button,
.header-cta {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid var(--primary);
    border-radius: 9px;
    background-color: var(--primary);
    box-shadow: 0 12px 28px rgba(33, 78, 148, 0.2);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.button:hover,
.header-cta:hover {
    border-color: var(--primary-dark);
    background-color: var(--primary-dark);
    box-shadow: 0 16px 35px rgba(33, 78, 148, 0.28);
    transform: translateY(-2px);
}

.button-outline {
    border-color: var(--border);
    background-color: var(--white);
    box-shadow: none;
    color: var(--dark);
}

.button-outline:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
}

.button-light {
    border-color: var(--white);
    background-color: var(--white);
    color: var(--primary);
}

.button-light:hover {
    border-color: var(--yellow);
    background-color: var(--yellow);
    color: var(--dark);
}

/* ==================================================
   HEADER
================================================== */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(16, 35, 63, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 18px rgba(16, 35, 63, 0.04);
}

.navbar {
    position: relative;
    display: flex;
    min-height: 88px;
    align-items: center;
}

.site-logo {
    display: flex;
    width: 90px;
    flex-shrink: 0;
    align-items: center;
}

.site-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    margin-left: 35px;
}

.nav-item {
    position: static;
    display: flex;
    align-items: center;
}

.nav-link,
.nav-button {
    position: relative;
    display: flex;
    min-height: 88px;
    align-items: center;
    padding-right: 13px;
    padding-left: 13px;
    background-color: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link::after,
.nav-button::after {
    position: absolute;
    right: 13px;
    bottom: 0;
    left: 13px;
    height: 3px;
    border-radius: 10px 10px 0 0;
    background-color: var(--red);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-button:hover,
.has-dropdown:hover .nav-button {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-button:hover::after,
.has-dropdown:hover .nav-button::after {
    opacity: 1;
    transform: scaleX(1);
}

.dropdown-arrow {
    width: 7px;
    height: 7px;
    margin-top: -4px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.has-dropdown:hover .dropdown-arrow {
    margin-top: 3px;
    transform: rotate(225deg);
}

.header-cta {
    min-height: 44px;
    flex-shrink: 0;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 8px;
    font-size: 12px;
}

/* ==================================================
   MEGA MENU
================================================== */

.mega-menu {
    position: absolute;
    z-index: 1100;
    top: 82px;
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    padding: 30px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 0 0 20px 20px;
    background-color: var(--white);
    box-shadow: var(--shadow-large);
    grid-template-columns: 280px 1fr;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.has-dropdown:hover .mega-menu,
.has-dropdown:focus-within .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-heading {
    padding: 18px 30px 18px 12px;
    border-right: 1px solid var(--border);
}

.mega-menu-heading > span {
    display: block;
    margin-bottom: 14px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.mega-menu-heading h2 {
    font-size: 27px;
    letter-spacing: -0.7px;
}

.mega-menu-heading p {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.75;
}

.mega-menu-grid {
    display: grid;
    padding-left: 28px;
}

.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.mega-card {
    position: relative;
    display: flex;
    min-height: 210px;
    flex-direction: column;
    margin: 5px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background-color: var(--background);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.mega-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;
    height: 5px;
    border-radius: 0 0 0 8px;
    background-color: var(--yellow);
    content: "";
}

.mega-card:nth-child(2)::before {
    background-color: var(--red);
}

.mega-card:nth-child(3)::before {
    background-color: var(--blue);
}

.mega-card:hover {
    border-color: var(--light-blue);
    background-color: var(--white);
    box-shadow: var(--shadow-small);
    transform: translateY(-4px);
}

.mega-card-number {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.mega-card-level {
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mega-card strong {
    color: var(--dark);
    font-size: 16px;
    line-height: 1.35;
}

.mega-card small {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.65;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 8px;
    background-color: var(--primary-light);
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    margin: 3px 0;
    border-radius: 10px;
    background-color: var(--primary);
    transition: all 0.25s ease;
}

/* ==================================================
   HERO
================================================== */

.hero {
    position: relative;
    min-height: 730px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(141, 208, 225, 0.34),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #f5f8fd 0%,
            #ffffff 52%,
            #edf5fb 100%
        );
}

.hero::before {
    position: absolute;
    top: 70px;
    right: -150px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(33, 78, 148, 0.13);
    border-radius: 50%;
    content: "";
}

.hero::after {
    position: absolute;
    right: 100px;
    bottom: -210px;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(242, 213, 0, 0.08);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 700px;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 120px;
    grid-template-columns: 1.3fr 0.7fr;
    column-gap: 70px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-content > p {
    max-width: 680px;
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 36px;
}

.hero-actions .button {
    margin-right: 12px;
    margin-bottom: 12px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero-points span {
    display: flex;
    align-items: center;
    margin-right: 24px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.hero-points span::before {
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: var(--red);
    box-shadow: 0 0 0 5px rgba(220, 32, 39, 0.1);
    content: "";
}

.hero-points span:nth-child(2)::before {
    background-color: var(--yellow);
    box-shadow: 0 0 0 5px rgba(242, 213, 0, 0.14);
}

.hero-points span:nth-child(3)::before {
    background-color: var(--blue);
    box-shadow: 0 0 0 5px rgba(22, 143, 197, 0.12);
}

.hero-visual {
    position: relative;
    display: flex;
    min-height: 460px;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    position: absolute;
    width: 320px;
    height: 425px;
    border-radius: 160px 160px 30px 30px;
    background:
        linear-gradient(
            145deg,
            var(--blue),
            var(--primary-dark)
        );
    box-shadow: var(--shadow-large);
    content: "";
    transform: rotate(5deg);
}

.hero-visual::after {
    position: absolute;
    top: 15px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    content: "";
}

.hero-card {
    position: relative;
    z-index: 3;
    width: 315px;
    margin-top: 155px;
    margin-left: -50px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-medium);
}

.hero-card-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 20px;
    background-color: rgba(242, 213, 0, 0.2);
    color: #705f00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-card h2 {
    font-size: 29px;
    letter-spacing: -0.6px;
}

.hero-card p {
    margin-top: 13px;
    font-size: 14px;
}

/* ==================================================
   STATISTIK
================================================== */

.stats {
    position: relative;
    z-index: 10;
    margin-top: -52px;
}

.stats-grid {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    min-height: 135px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border);
}

.stat-item strong {
    color: var(--primary);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.stat-item span {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
}

/* ==================================================
   SECTION
================================================== */

.section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.section-soft {
    background-color: var(--background);
}

.about-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 100px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.text-link::after {
    margin-left: 10px;
    content: "→";
    font-size: 18px;
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(5px);
}

/* ==================================================
   PROGRAM STUDI
================================================== */

.program-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            #12355b 0%,
            #0b4965 48%,
            #07566e 100%
        );
}

.program-section::before {
    position: absolute;
    top: -260px;
    left: -290px;
    width: 650px;
    height: 650px;
    border: 70px solid rgba(141, 208, 225, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(141, 208, 225, 0.05),
        0 0 0 140px rgba(141, 208, 225, 0.03);
    content: "";
}

.program-section::after {
    position: absolute;
    top: 70px;
    right: 40px;
    width: 160px;
    height: 160px;
    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.13) 2px,
            transparent 3px
        );
    background-size: 18px 18px;
    content: "";
    opacity: 0.55;
}

.program-section .container {
    position: relative;
    z-index: 2;
}

.program-heading {
    max-width: 780px;
}

.program-heading .eyebrow {
    color: var(--light-blue);
}

.program-heading .eyebrow::before {
    background-color: var(--yellow);
}

.program-heading h2 {
    color: var(--white);
}

.program-heading h2 span {
    color: var(--yellow);
}

.program-heading p {
    color: rgba(255, 255, 255, 0.7);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
}

.program-card {
    position: relative;
    display: flex;
    min-height: 510px;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            rgba(25, 45, 70, 0.98),
            rgba(15, 35, 60, 0.98)
        );
    box-shadow: 0 22px 50px rgba(4, 20, 40, 0.22);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.program-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 75px;
    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.12) 3px,
            transparent 4px
        );
    background-size: 16px 16px;
    content: "";
    opacity: 0.65;
}

.program-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--yellow),
            var(--red),
            var(--blue)
        );
    content: "";
    opacity: 0;
    transition: opacity 0.25s ease;
}

.program-card:hover {
    border-color: rgba(141, 208, 225, 0.55);
    box-shadow: 0 30px 65px rgba(4, 20, 40, 0.34);
    transform: translateY(-8px);
}

.program-card:hover::after {
    opacity: 1;
}

.program-card.featured {
    border-color: rgba(242, 213, 0, 0.38);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(242, 213, 0, 0.12),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #1e4377,
            #142f58
        );
}

.program-card-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    min-height: 92px;
}

.program-icon {
    display: flex;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(141, 208, 225, 0.34);
    border-radius: 50%;
    background-color: rgba(22, 143, 197, 0.2);
    color: var(--light-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.program-card:nth-child(2) .program-icon {
    border-color: rgba(242, 213, 0, 0.35);
    background-color: rgba(242, 213, 0, 0.12);
    color: var(--yellow);
}

.program-card:nth-child(3) .program-icon {
    border-color: rgba(220, 32, 39, 0.36);
    background-color: rgba(220, 32, 39, 0.13);
    color: #ff7a7e;
}

.program-title {
    padding-left: 16px;
}

.program-level {
    margin-bottom: 8px;
    color: var(--light-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.program-card h3 {
    color: var(--white);
    font-size: 22px;
    line-height: 1.35;
}

.program-description {
    position: relative;
    z-index: 2;
    min-height: 126px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    line-height: 1.8;
}

.program-benefits {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    list-style: none;
}

.program-benefits li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    line-height: 1.55;
}

.program-benefits li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(141, 208, 225, 0.18);
    color: var(--light-blue);
    content: "✓";
    font-size: 9px;
    font-weight: 800;
}

.program-card:nth-child(2) .program-benefits li::before {
    background-color: rgba(242, 213, 0, 0.16);
    color: var(--yellow);
}

.program-card:nth-child(3) .program-benefits li::before {
    background-color: rgba(220, 32, 39, 0.16);
    color: #ff7a7e;
}

.program-actions {
    position: relative;
    z-index: 2;
    display: grid;
    margin-top: auto;
    padding-top: 27px;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}

.program-button {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--yellow);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    transition: all 0.22s ease;
}

.program-button.primary {
    background-color: var(--yellow);
    color: var(--dark);
}

.program-button.primary:hover {
    border-color: var(--white);
    background-color: var(--white);
    transform: translateY(-2px);
}

.program-button.secondary {
    background-color: transparent;
    color: var(--yellow);
}

.program-button.secondary:hover {
    background-color: rgba(242, 213, 0, 0.12);
    color: var(--white);
    transform: translateY(-2px);
}

@media screen and (max-width: 1080px) {
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .program-card:last-child {
        grid-column: 1 / 3;
    }
}

@media screen and (max-width: 650px) {
    .program-section::before {
        left: -470px;
    }

    .program-section::after {
        display: none;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card,
    .program-card:last-child {
        min-height: 500px;
        grid-column: auto;
    }

    .program-description {
        min-height: auto;
    }

    .program-actions {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }
}

/* ==================================================
   KEUNGGULAN
================================================== */

.feature-grid {
    display: grid;
    margin-top: 55px;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 18px;
}

.feature-card {
    min-height: 295px;
    padding: 28px;
    border-top: 1px solid var(--border);
    background-color: var(--white);
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-radius: 18px;
    background-color: var(--background);
    box-shadow: var(--shadow-small);
    transform: translateY(-5px);
}

.feature-card > span {
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.feature-card:nth-child(2) > span {
    background-color: rgba(220, 32, 39, 0.1);
    color: var(--red);
}

.feature-card:nth-child(3) > span {
    background-color: rgba(242, 213, 0, 0.18);
    color: #756400;
}

.feature-card:nth-child(4) > span {
    background-color: rgba(22, 143, 197, 0.12);
    color: var(--blue);
}

.feature-card h3 {
    margin-top: 62px;
}

.feature-card p {
    margin-top: 13px;
    font-size: 14px;
}

/* ==================================================
   ADMISI
================================================== */

.admission {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(141, 208, 225, 0.17),
            transparent 28%
        ),
        var(--primary-dark);
}

.admission::before {
    position: absolute;
    top: -220px;
    right: -160px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
}

.admission-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: 100px;
}

.admission .section-heading h2 {
    color: var(--white);
}

.admission .section-heading p {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.68);
}

.admission .button {
    margin-top: 30px;
}

.admission-steps {
    list-style: none;
}

.admission-steps li {
    display: grid;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    grid-template-columns: 55px 1fr;
    column-gap: 20px;
}

.admission-steps li:first-child {
    padding-top: 0;
}

.admission-steps li > span {
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 213, 0, 0.5);
    border-radius: 50%;
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
}

.admission-steps h3 {
    color: var(--white);
    font-size: 16px;
}

.admission-steps p {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ==================================================
   KONTAK
================================================== */

.contact {
    background-color: var(--background);
}

.contact-card {
    display: flex;
    min-height: 320px;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(141, 208, 225, 0.25),
            transparent 33%
        ),
        var(--white);
    box-shadow: var(--shadow-medium);
}

.contact-card > div:first-child {
    max-width: 680px;
}

.contact-card h2 {
    font-size: 46px;
}

.contact-card p {
    margin-top: 16px;
}

.contact-actions {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    margin-left: 50px;
}

.contact-actions .button {
    margin-bottom: 11px;
}

/* ==================================================
   FOOTER
================================================== */

.footer {
    padding-top: 78px;
    background-color: var(--dark);
}

.footer-grid {
    display: grid;
    padding-bottom: 60px;
    grid-template-columns: 1.7fr 0.65fr 0.85fr;
    column-gap: 65px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.brand-mark {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    line-height: 1.3;
}

.brand-text strong {
    color: var(--white);
    font-size: 14px;
}

.brand-text small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.footer-grid > div:first-child > p {
    max-width: 480px;
    margin-top: 23px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-grid h3 {
    margin-bottom: 20px;
    color: var(--yellow);
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid > div:not(:first-child) a {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-grid a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 1080px) {
    .site-logo {
        width: 155px;
    }

    .nav-links {
        margin-right: 15px;
        margin-left: 20px;
    }

    .nav-link,
    .nav-button {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 12px;
    }

    .nav-link::after,
    .nav-button::after {
        right: 9px;
        left: 9px;
    }

    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        column-gap: 35px;
    }

    h1 {
        font-size: 58px;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .program-card:last-child {
        grid-column: 1 / 3;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }
}

/* ==================================================
   MENU PONSEL
================================================== */

@media screen and (max-width: 900px) {
    .navbar {
        min-height: 76px;
    }

    .site-logo {
        width: 150px;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        z-index: 999;
        top: 76px;
        right: 0;
        left: 0;
        display: block;
        max-height: 0;
        margin: 0;
        overflow-y: auto;
        border-bottom: 1px solid var(--border);
        background-color: var(--white);
        box-shadow: var(--shadow-medium);
        opacity: 0;
        transition:
            max-height 0.3s ease,
            opacity 0.2s ease;
    }

    .nav-links.open {
        max-height: calc(100vh - 76px);
        padding: 15px 20px 30px;
        opacity: 1;
    }

    .nav-item {
        display: block;
        border-bottom: 1px solid var(--border);
    }

    .nav-link,
    .nav-button {
        width: 100%;
        min-height: 54px;
        justify-content: space-between;
        padding: 0 8px;
        font-size: 14px;
        text-align: left;
    }

    .nav-link::after,
    .nav-button::after {
        display: none;
    }

    .mega-menu {
        position: static;
        display: none;
        visibility: visible;
        padding: 15px;
        border: 0;
        border-radius: 12px;
        background-color: var(--background);
        box-shadow: none;
        grid-template-columns: 1fr;
        opacity: 1;
        transform: none;
    }

    .nav-item.open .mega-menu {
        display: grid;
    }

    .mega-menu-heading {
        padding: 10px 5px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .mega-menu-heading h2 {
        font-size: 23px;
    }

    .mega-menu-grid {
        padding-top: 15px;
        padding-left: 0;
    }

    .three-columns,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .mega-card {
        min-height: auto;
        margin: 5px 0;
        padding: 20px;
    }

    .mega-card-number {
        margin-bottom: 15px;
    }

    .has-dropdown:hover .dropdown-arrow {
        margin-top: -4px;
        transform: rotate(45deg);
    }

    .nav-item.open .dropdown-arrow {
        margin-top: 3px;
        transform: rotate(225deg);
    }

    .hero-grid {
        min-height: auto;
        padding-top: 75px;
        padding-bottom: 145px;
        grid-template-columns: 1fr;
        row-gap: 55px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content .eyebrow {
        justify-content: center;
    }

    .hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-card {
        margin-left: 0;
    }

    .about-grid,
    .admission-grid {
        grid-template-columns: 1fr;
        row-gap: 45px;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-actions {
        width: 100%;
        flex-direction: row;
        margin-top: 35px;
        margin-left: 0;
    }

    .contact-actions .button {
        margin-right: 10px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        column-gap: 35px;
    }
}

/* ==================================================
   PONSEL KECIL
================================================== */

@media screen and (max-width: 650px) {
    .container {
        width: calc(100% - 28px);
    }

    h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }

    h2 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-actions {
        display: block;
    }

    .hero-actions .button {
        width: 100%;
        margin-right: 0;
    }

    .hero-points {
        align-items: flex-start;
        flex-direction: column;
        margin-left: 10px;
    }

    .hero-visual {
        min-height: 370px;
    }

    .hero-visual::before {
        width: 265px;
        height: 350px;
    }

    .hero-visual::after {
        width: 185px;
        height: 185px;
    }

    .hero-card {
        width: 260px;
        margin-top: 120px;
        padding: 25px;
    }

    .hero-card h2 {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        min-height: 115px;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item strong {
        font-size: 28px;
    }

    .about-grid {
        row-gap: 28px;
    }

    .program-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .program-card,
    .program-card:last-child {
        min-height: 390px;
        grid-column: auto;
    }

    .feature-card {
        min-height: 245px;
    }

    .feature-card h3 {
        margin-top: 40px;
    }

    .contact-card {
        min-height: auto;
        padding: 36px 23px;
        border-radius: 18px;
    }

    .contact-card h2 {
        font-size: 34px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .button {
        width: 100%;
        margin-right: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
}

/* ==================================================
   PROGRAM STUDI - LIGHT LOGO THEME
================================================== */

.program-section {
    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(141, 208, 225, 0.42),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #e9f4fb 52%,
            #dceef7 100%
        );
}

.program-section::before {
    border-color: rgba(33, 78, 148, 0.08);
    box-shadow:
        0 0 0 70px rgba(22, 143, 197, 0.06),
        0 0 0 140px rgba(141, 208, 225, 0.08);
}

.program-section::after {
    background-image:
        radial-gradient(
            circle,
            rgba(33, 78, 148, 0.18) 2px,
            transparent 3px
        );
}

.program-heading .eyebrow {
    color: var(--primary);
}

.program-heading .eyebrow::before {
    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--yellow)
        );
}

.program-heading h2 {
    color: var(--dark);
}

.program-heading h2 span {
    color: var(--primary);
}

.program-heading p {
    color: var(--text-light);
}

/* KARTU PROGRAM */

.program-card {
    border-color: rgba(33, 78, 148, 0.14);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 251, 255, 0.98)
        );
    box-shadow: 0 18px 45px rgba(33, 78, 148, 0.1);
}

.program-card::before {
    background-image:
        radial-gradient(
            circle,
            rgba(33, 78, 148, 0.13) 3px,
            transparent 4px
        );
}

.program-card:hover {
    border-color: rgba(22, 143, 197, 0.48);
    box-shadow: 0 27px 60px rgba(33, 78, 148, 0.18);
}

/* KARTU TENGAH */

.program-card.featured {
    border-color: rgba(242, 213, 0, 0.7);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(242, 213, 0, 0.2),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #edf7fc
        );
}

/* JUDUL DAN TEKS */

.program-level {
    color: var(--blue);
}

.program-card h3,
.program-card.featured h3 {
    color: var(--dark);
}

.program-description,
.program-card.featured .program-description {
    color: var(--text-light);
}

.program-benefits li,
.program-card.featured .program-benefits li {
    color: var(--text);
}

/* IKON PROGRAM */

.program-icon {
    border-color: rgba(22, 143, 197, 0.3);
    background-color: rgba(141, 208, 225, 0.22);
    color: var(--primary);
}

.program-card:nth-child(2) .program-icon {
    border-color: rgba(242, 213, 0, 0.7);
    background-color: rgba(242, 213, 0, 0.18);
    color: #746300;
}

.program-card:nth-child(3) .program-icon {
    border-color: rgba(220, 32, 39, 0.3);
    background-color: rgba(220, 32, 39, 0.1);
    color: var(--red);
}

/* TANDA CENTANG */

.program-benefits li::before {
    background-color: rgba(22, 143, 197, 0.13);
    color: var(--blue);
}

.program-card:nth-child(2) .program-benefits li::before {
    background-color: rgba(242, 213, 0, 0.2);
    color: #746300;
}

.program-card:nth-child(3) .program-benefits li::before {
    background-color: rgba(220, 32, 39, 0.1);
    color: var(--red);
}

/* TOMBOL */

.program-button {
    border-color: var(--primary);
}

.program-button.primary {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
}

.program-button.primary:hover {
    border-color: var(--blue);
    background-color: var(--blue);
    color: var(--white);
}

.program-button.secondary {
    border-color: rgba(33, 78, 148, 0.45);
    background-color: var(--white);
    color: var(--primary);
}

.program-button.secondary:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* =====================================================
   HERO GEDUNG STAI MUTIARA BANGSA
   Tempelkan di bagian paling bawah style.css
===================================================== */

.hero {
    position: relative;
    z-index: 1;
    min-height: 720px;
    padding: 72px 0 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 88% 24%,
            rgba(141, 208, 225, 0.42) 0,
            rgba(141, 208, 225, 0.14) 28%,
            transparent 52%
        ),
        linear-gradient(
            118deg,
            #ffffff 0%,
            #f8fbff 49%,
            #eef8fc 100%
        );
}

/* Lingkaran dekoratif sisi kanan */
.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: -150px;
    right: -170px;
    width: 610px;
    height: 610px;
    border: 88px solid rgba(33, 78, 148, 0.055);
    border-radius: 50%;
}

/* Aksen warna merah dan kuning dari logo */
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 90px;
    right: 7%;
    bottom: auto;
    width: 90px;
    height: 8px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        #e3262e 0 48%,
        #f4d600 48% 100%
    );
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    padding: 0;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(390px, 0.92fr);
    gap: clamp(34px, 6vw, 90px);
    align-items: center;
    min-height: 648px;
}

/* =====================================================
   KONTEN SEBELAH KIRI
===================================================== */

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 720px;
    padding: 35px 0 90px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #27549a;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker > span {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 10px;
    background: #e3262e;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    color: #102648;
    font-size: clamp(3rem, 5.1vw, 5.15rem);
    font-weight: 800;
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;
    margin-top: 9px;
    color: #27549a;
}

/* Baris pertama judul hero */
.hero h1 .hero-title-main {
    margin-top: 0;
    color: #102648;
    font-size: clamp(2.25rem, 3.8vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

/* Baris utama berwarna biru */
.hero h1 .hero-title-highlight {
    margin-top: 9px;
    color: #27549a;
    font-size: clamp(3rem, 5.1vw, 5.15rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

/* Teks bahasa Arab */
.hero h1 .hero-title-arabic {
    margin-top: 20px;
    color: #102648;
    font-family:
        "Noto Naskh Arabic",
        "Traditional Arabic",
        "Times New Roman",
        serif;
    font-size: clamp(2.8125rem, 4.05vw, 3.9375rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
}

.hero-content > .hero-description {
    max-width: 650px;
    margin: 29px 0 0;
    color: #5d6f88;
    font-size: clamp(1rem, 1.3vw, 1.14rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-actions .button {
    min-height: 54px;
    margin: 0;
    padding: 0 25px;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 750;
    text-decoration: none;
}

.hero-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 2px solid #27549a;
    color: #ffffff;
    background: #27549a;
    box-shadow: 0 15px 30px rgba(39, 84, 154, 0.2);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.hero-primary-button:hover {
    color: #ffffff;
    background: #1c417c;
    box-shadow: 0 18px 35px rgba(39, 84, 154, 0.28);
    transform: translateY(-3px);
}

.hero-primary-button span {
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.hero-primary-button:hover span {
    transform: translateX(4px);
}

.hero-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(39, 84, 154, 0.25);
    color: #193b71;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 25px rgba(16, 38, 72, 0.06);
    backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.hero-secondary-button:hover {
    color: #193b71;
    border-color: #1498c4;
    background: #ffffff;
    transform: translateY(-3px);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    margin-top: 31px;
}

.hero-points span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #526681;
    font-size: 0.83rem;
    font-weight: 700;
}

.hero-points span::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #1498c4;
    box-shadow: 0 0 0 1px rgba(20, 152, 196, 0.35);
}

.hero-points span:nth-child(2)::before {
    background: #e3262e;
    box-shadow: 0 0 0 1px rgba(227, 38, 46, 0.28);
}

.hero-points span:nth-child(3)::before {
    background: #f4d600;
    box-shadow: 0 0 0 1px rgba(190, 164, 0, 0.3);
}

/* =====================================================
   GEDUNG SEBELAH KANAN
===================================================== */

.hero-visual {
    position: relative;
    display: block;
    align-self: stretch;
    min-height: 648px;
}

/* Mematikan dekorasi hero-visual versi lama */
.hero-visual::before,
.hero-visual::after {
    content: none;
}

.hero-building-stage {
    position: absolute;
    z-index: 0;
    right: -22px;
    bottom: 46px;
    width: min(39vw, 500px);
    aspect-ratio: 1;
    border: 1px solid rgba(39, 84, 154, 0.1);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 255, 255, 0.96) 0 28%,
            rgba(141, 208, 225, 0.38) 29% 45%,
            rgba(39, 84, 154, 0.1) 46% 58%,
            transparent 59%
        );
}

.hero-building-stage::before {
    content: "";
    position: absolute;
    top: 4%;
    right: 5%;
    width: 88%;
    height: 88%;
    border: 1px solid rgba(39, 84, 154, 0.1);
    border-radius: 50%;
}

.hero-building-stage::after {
    content: "";
    position: absolute;
    top: 14%;
    right: -5%;
    width: 112px;
    height: 112px;
    opacity: 0.34;
    background-image:
        radial-gradient(
            circle,
            #1498c4 1.7px,
            transparent 1.8px
        );
    background-size: 13px 13px;
}

.hero-building {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: -4px;
    display: block;
    width: auto;
    height: min(800px, 60vw);
    max-height: 800px;
    object-fit: contain;
    object-position: bottom center;
    filter:
        drop-shadow(0 28px 25px rgba(16, 38, 72, 0.17))
        drop-shadow(0 8px 8px rgba(16, 38, 72, 0.1));
}



/* Kartu visi */
.hero-vision-card {
    position: absolute;
    z-index: 5;
    left: -34px;
    bottom: 65px;
    width: min(280px, 75%);
    padding: 23px;
    border: 1px solid rgba(39, 84, 154, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 22px 55px rgba(16, 38, 72, 0.14);
    backdrop-filter: blur(15px);
}

.hero-vision-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 23px;
    width: 64px;
    height: 5px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(
        90deg,
        #e3262e 0 50%,
        #f4d600 50% 100%
    );
}

.hero-vision-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #1498c4;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-vision-card > strong {
    display: block;
    color: #102648;
    font-size: 1.08rem;
    line-height: 1.35;
}

.hero-vision-card p {
    margin: 9px 0 0;
    color: #677890;
    font-size: 0.78rem;
    line-height: 1.6;
}

/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 1050px) {
    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 0.76fr);
        gap: 25px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 5.4vw, 4.3rem);
    }

    .hero h1 .hero-title-main {
        font-size: clamp(2.15rem, 4.1vw, 3rem);
    }

    .hero h1 .hero-title-highlight {
        font-size: clamp(2.8rem, 5.4vw, 4.3rem);
    }

    .hero-building {
        right: -10px;
        height: min(620px, 54vw);
    }

    .hero-building-stage {
        right: -70px;
        width: 460px;
    }

    .hero-vision-card {
        left: -20px;
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
        padding-top: 64px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
        padding: 30px 0 38px;
        text-align: center;
    }

    .hero-kicker {
        justify-content: center;
    }

    .hero h1,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero h1 .hero-title-arabic {
        text-align: center;
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .hero-visual {
        width: min(620px, 100%);
        min-height: 610px;
        margin: 0 auto;
    }

    .hero-building {
        right: 50%;
        bottom: 0;
        height: 610px;
        transform: translateX(50%);
    }

    .hero-building-stage {
        right: 50%;
        bottom: 45px;
        width: 455px;
        transform: translateX(50%);
    }

    .hero-campus-badge {
        top: 105px;
        right: 0;
    }

    .hero-vision-card {
        left: 0;
        bottom: 65px;
    }
}

/* =====================================================
   RESPONSIVE PONSEL
===================================================== */

@media (max-width: 560px) {
    .hero {
        padding-top: 45px;
    }

    .hero::before {
        top: -140px;
        right: -260px;
        width: 500px;
        height: 500px;
        border-width: 65px;
    }

    .hero::after {
        top: 66px;
        right: 8%;
        width: 65px;
        height: 6px;
    }

    .hero-content {
        padding: 27px 0 31px;
    }

    .hero-kicker {
        gap: 9px;
        margin-bottom: 19px;
        font-size: 0.67rem;
        letter-spacing: 0.12em;
    }

    .hero-kicker > span {
        width: 25px;
        height: 3px;
    }

    .hero h1 {
        font-size: clamp(2.42rem, 12.8vw, 3.25rem);
        line-height: 1.02;
    }

    .hero h1 .hero-title-main {
        font-size: clamp(1.5rem, 7.2vw, 1.75rem);
        line-height: 1.15;
        letter-spacing: -0.035em;
        white-space: nowrap;
    }

    .hero h1 .hero-title-highlight {
        margin-top: 8px;
        font-size: clamp(2.55rem, 12vw, 3.15rem);
        line-height: 1;
    }

    .hero h1 .hero-title-arabic {
        margin-top: 16px;
        font-size: clamp(1.05rem, 5vw, 1.3rem);
        line-height: 1.55;
    }

    .hero-description {
        margin-top: 22px;
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        margin-top: 27px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-points {
        gap: 10px 15px;
        margin-top: 25px;
    }

    .hero-points span {
        font-size: 0.74rem;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-building {
        height: 515px;
    }

    .hero-building-stage {
        bottom: 28px;
        width: 345px;
    }

    .hero-building-stage::after {
        width: 78px;
        height: 78px;
        background-size: 10px 10px;
    }

    .hero-campus-badge {
        top: 62px;
        right: 0;
        padding: 9px 11px 9px 9px;
    }

    .hero-campus-badge-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .hero-campus-badge small {
        font-size: 0.61rem;
    }

    .hero-campus-badge strong {
        font-size: 0.73rem;
    }

    .hero-vision-card {
        left: 0;
        bottom: 28px;
        width: 218px;
        padding: 18px;
    }

    .hero-vision-card > strong {
        font-size: 0.89rem;
    }

    .hero-vision-card p {
        font-size: 0.7rem;
    }
}

/* ==================================================
   FLOATING WHATSAPP
   Ditempatkan melalui footer.php, tetapi selalu menempel
   pada sudut kanan bawah viewport di setiap halaman.
================================================== */

.whatsapp-float {
    position: fixed;
    z-index: 1500;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    display: flex;
    width: 60px;
    height: 60px;
    align-items: center;
    overflow: hidden;
    padding: 5px;
    border: 1px solid rgba(33, 78, 148, 0.12);
    border-radius: 999px;
    background: rgba(33, 78, 148, 1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow:
        0 15px 38px rgba(16, 35, 63, 0.28),
        0 4px 12px rgba(37, 211, 102, 0.18);
    color: var(--white);
    isolation: isolate;
    white-space: nowrap;
    transform-origin: center;
    will-change: transform, border-radius, box-shadow;
    animation: whatsapp-wave-shell 4s ease-in-out 0.46s infinite;
    transition:
        width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.whatsapp-float-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow:
        inset 4px 5px 9px rgba(255, 255, 255, 0.2),
        inset -5px -7px 12px rgba(0, 82, 44, 0.22),
        0 5px 10px rgba(8, 59, 35, 0.2);
    transform-style: preserve-3d;
    transform-origin: center;
    will-change: transform, border-radius, box-shadow;
    animation: whatsapp-wave-icon 4s ease-in-out 0.46s infinite;
}

.whatsapp-float-icon svg {
    position: relative;
    z-index: 2;
    width: 29px;
    height: 29px;
    overflow: visible;
    fill: var(--white);
    filter: drop-shadow(0 2px 2px rgba(0, 62, 34, 0.25));
    shape-rendering: geometricPrecision;
    transform-origin: center;
    will-change: transform, filter;
    animation: whatsapp-wave-logo 4s ease-in-out 0.46s infinite;
}

.whatsapp-float-copy {
    display: flex;
    min-width: 169px;
    flex-direction: column;
    justify-content: center;
    padding: 0 14px 0 12px;
    opacity: 0;
    text-align: left;
    transform: translateX(10px);
    transition:
        opacity 0.2s ease 0.04s,
        transform 0.3s ease 0.04s;
}

.whatsapp-float-copy small {
    margin-bottom: 1px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.25;
}

.whatsapp-float-copy strong {
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.whatsapp-float:focus-visible {
    width: 245px;
    border-radius: 999px;
    background: rgba(23, 55, 107, 1);
    outline: 3px solid rgba(22, 143, 197, 0.35);
    outline-offset: 4px;
    animation: none;
    transform: translateY(-3px);
}

.whatsapp-float:focus-visible .whatsapp-float-copy {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:focus-visible .whatsapp-float-icon,
.whatsapp-float:focus-visible .whatsapp-float-icon svg {
    animation: none;
    border-radius: 50%;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover {
        width: 245px;
        border-radius: 999px;
        background: rgba(23, 55, 107, 1);
        box-shadow:
            0 20px 46px rgba(16, 35, 63, 0.34),
            0 6px 16px rgba(37, 211, 102, 0.2);
        animation: none;
        transform: translateY(-3px);
    }

    .whatsapp-float:hover .whatsapp-float-copy {
        opacity: 1;
        transform: translateX(0);
    }

    .whatsapp-float:hover .whatsapp-float-icon,
    .whatsapp-float:hover .whatsapp-float-icon svg {
        animation: none;
        border-radius: 50%;
        transform: none;
    }
}

/*
   Satu gelombang merambat dari pusat ke tepi:
   1. logo putih, 2. lingkaran hijau, 3. lingkaran biru.
   Setelah itu tombol diam sebentar sebelum gelombang berikutnya.
*/
@keyframes whatsapp-wave-logo {
    0%,
    3%,
    25%,
    100% {
        filter: drop-shadow(0 2px 2px rgba(0, 62, 34, 0.25));
        transform: scale(1);
    }

    6% {
        filter: drop-shadow(0 1px 1px rgba(0, 62, 34, 0.2));
        transform: scale(0.88);
    }

    10% {
        filter: drop-shadow(0 4px 4px rgba(0, 62, 34, 0.34));
        transform: scale(1.13);
    }

    15% {
        transform: scale(0.97);
    }

    20% {
        transform: scale(1.025);
    }
}

@keyframes whatsapp-wave-icon {
    0%,
    8%,
    31%,
    100% {
        border-radius: 50%;
        box-shadow:
            inset 4px 5px 9px rgba(255, 255, 255, 0.2),
            inset -5px -7px 12px rgba(0, 82, 44, 0.22),
            0 5px 10px rgba(8, 59, 35, 0.2);
        transform: scale(1);
    }

    11% {
        border-radius: 50%;
        transform: scale(0.94);
    }

    15% {
        border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%;
        box-shadow:
            inset 5px 7px 11px rgba(255, 255, 255, 0.25),
            inset -6px -8px 13px rgba(0, 82, 44, 0.24),
            0 7px 14px rgba(8, 59, 35, 0.24);
        transform: scale(1.085);
    }

    21% {
        border-radius: 51% 49% 48% 52% / 49% 51% 48% 52%;
        transform: scale(0.975);
    }

    26% {
        border-radius: 50%;
        transform: scale(1.018);
    }
}

@keyframes whatsapp-wave-shell {
    0%,
    14%,
    38%,
    100% {
        border-radius: 999px;
        box-shadow:
            0 15px 38px rgba(16, 35, 63, 0.28),
            0 4px 12px rgba(37, 211, 102, 0.18);
        transform: scale(1);
    }

    17% {
        border-radius: 999px;
        transform: scale(0.965);
    }

    22% {
        border-radius: 999px;
        box-shadow:
            0 20px 44px rgba(16, 35, 63, 0.34),
            0 7px 18px rgba(37, 211, 102, 0.22);
        transform: scale(1.075);
    }

    28% {
        border-radius: 999px;
        transform: scale(0.985);
    }

    33% {
        border-radius: 999px;
        transform: scale(1.015);
    }
}

html[dir="rtl"] .whatsapp-float-copy {
    padding-right: 12px;
    padding-left: 14px;
    text-align: right;
}

@media screen and (max-width: 650px) {
    .whatsapp-float {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
        padding: 5px;
    }

    .whatsapp-float-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .whatsapp-float-icon svg {
        width: 27px;
        height: 27px;
    }

    .whatsapp-float:focus-visible {
        width: 56px;
        border-radius: 999px;
        background: rgba(33, 78, 148, 1);
        transform: none;
    }

    .whatsapp-float:focus-visible .whatsapp-float-copy {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float-copy,
    .whatsapp-float-icon,
    .whatsapp-float-icon svg {
        animation: none;
        transition: none;
    }
}

/* =====================================================
   PILIHAN BAHASA HEADER
===================================================== */

.header-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.language-switcher {
    position: relative;
    z-index: 1200;
}

.language-trigger {
    display: inline-flex;
    min-width: 78px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(16, 35, 63, 0.07);
    color: var(--dark);
    font-size: 12px;
    font-weight: 800;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.language-trigger:hover,
.language-trigger:focus-visible,
.language-switcher.is-open .language-trigger {
    border-color: var(--light-blue);
    box-shadow: 0 12px 28px rgba(33, 78, 148, 0.13);
    outline: none;
    transform: translateY(-1px);
}

.language-trigger img,
.language-option img {
    width: 24px;
    height: 16px;
    flex: 0 0 24px;
    border: 1px solid rgba(16, 35, 63, 0.12);
    border-radius: 3px;
    object-fit: cover;
}

.language-chevron {
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.language-switcher.is-open .language-chevron,
.language-switcher:hover .language-chevron,
.language-switcher:focus-within .language-chevron {
    margin-top: 3px;
    transform: rotate(225deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    visibility: hidden;
    width: 190px;
    padding: 8px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    transform: translateY(8px);
    transition:
        visibility 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu,
.language-switcher.is-open .language-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.language-option {
    display: grid;
    min-height: 48px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    text-align: left;
    grid-template-columns: 24px 28px 1fr;
    column-gap: 9px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.language-option:hover,
.language-option:focus-visible {
    background: var(--primary-light);
    color: var(--primary-dark);
    outline: none;
}

.language-option.active {
    background: rgba(141, 208, 225, 0.2);
    color: var(--primary);
}

.language-option span {
    font-size: 12px;
    font-weight: 900;
}

.language-option small {
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
}

html[dir="rtl"] body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .language-option {
    text-align: right;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .about-content,
html[dir="rtl"] .footer {
    text-align: right;
}

html[dir="rtl"] .hero h1 .hero-title-arabic {
    text-align: right;
}

@media screen and (max-width: 1080px) {
    .header-actions {
        gap: 6px;
    }

    .language-trigger {
        min-width: 68px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .header-actions .header-cta {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media screen and (max-width: 900px) {
    .site-logo {
        order: 1;
    }

    .nav-links {
        order: 2;
    }

    .header-actions {
        order: 3;
        margin-left: auto;
    }

    .menu-toggle {
        order: 4;
        margin-left: 10px;
    }

    .header-actions .header-cta {
        display: none;
    }

    .language-trigger {
        min-width: 72px;
        min-height: 40px;
    }
}

@media screen and (max-width: 430px) {
    .site-logo {
        width: 135px;
    }

    .language-trigger {
        min-width: 64px;
        padding: 0 8px;
    }

    .language-trigger img {
        width: 21px;
        height: 14px;
        flex-basis: 21px;
    }

    .language-menu {
        right: -52px;
    }
}

/* =====================================================
   PERBAIKAN HEADER DAN MENU PONSEL
===================================================== */

body.mobile-menu-open {
    overflow: hidden;
}

@media screen and (max-width: 900px) {
    .site-header {
        isolation: isolate;
    }

    .navbar {
        gap: 8px;
    }

    .nav-links {
        top: var(--site-header-height, 76px);
        max-height: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-links.open {
        max-height: calc(100dvh - var(--site-header-height, 76px));
        visibility: visible;
        pointer-events: auto;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
        flex: 0 0 44px;
        margin-left: 2px;
        cursor: pointer;
    }

    .header-actions {
        min-width: 0;
        margin-left: auto;
    }

    .language-switcher {
        z-index: 1300;
    }

    .language-menu {
        right: 0;
        max-width: calc(100vw - 30px);
    }

    .mega-menu {
        max-height: none;
        overflow: visible;
    }

    html[dir="rtl"] .header-actions {
        margin-right: auto;
        margin-left: 0;
    }

    html[dir="rtl"] .menu-toggle {
        margin-right: 2px;
        margin-left: 0;
    }

    html[dir="rtl"] .nav-link,
    html[dir="rtl"] .nav-button,
    html[dir="rtl"] .mega-menu {
        text-align: right;
    }
}

@media screen and (max-width: 430px) {
    .navbar {
        min-height: 70px;
    }

    .site-logo {
        width: 118px;
    }

    .language-trigger {
        min-width: 59px;
        min-height: 38px;
        gap: 6px;
        padding: 0 7px;
    }

    .language-menu {
        right: 0;
        width: 178px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

/* =====================================================
   HERO — GEDUNG UTAMA DAN PROGRES PEMBANGUNAN
===================================================== */

.hero-building-composition {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: -25px;
    bottom: 0;
    left: -28px;
}

/* =====================================================
   GEDUNG UTAMA DI SISI KANAN
===================================================== */

.hero-main-building {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 100%;
}

.hero-main-building-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    filter:
        drop-shadow(0 30px 28px rgba(16, 38, 72, 0.17))
        drop-shadow(0 9px 9px rgba(16, 38, 72, 0.1));
}

/* =====================================================
   KARTU PROGRES GEDUNG DI SISI KIRI
===================================================== */

.hero-progress-card {
    position: absolute;
    z-index: 4;
    bottom: 142px;
    left: 0;
    width: 218px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(33, 78, 148, 0.13);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 28px 65px rgba(16, 35, 63, 0.18),
        0 8px 22px rgba(33, 78, 148, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Aksen merah-kuning khas logo */
.hero-progress-card::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: 0;
    right: 24px;
    width: 64px;
    height: 6px;
    border-radius: 0 0 7px 7px;
    background:
        linear-gradient(
            90deg,
            var(--red) 0 50%,
            var(--yellow) 50% 100%
        );
}

.hero-progress-card:hover {
    box-shadow:
        0 34px 75px rgba(16, 35, 63, 0.22),
        0 12px 26px rgba(33, 78, 148, 0.12);
    transform: translateY(-6px);
}

.hero-progress-image-wrapper {
    position: relative;
    height: 275px;
    overflow: hidden;
    background: #eaf3f7;
}

.hero-progress-image-wrapper::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background:
        linear-gradient(
            to top,
            rgba(16, 35, 63, 0.2),
            transparent
        );
    pointer-events: none;
}

.hero-progress-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    transition: transform 0.5s ease;
}

.hero-progress-card:hover .hero-progress-image {
    transform: scale(1.035);
}

.hero-progress-caption {
    position: relative;
    padding: 17px 18px 19px;
}

.hero-progress-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero-progress-status > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 1px rgba(220, 32, 39, 0.24);
}

.hero-progress-caption strong {
    display: block;
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.25;
}

.hero-progress-caption small {
    display: block;
    margin-top: 7px;
    color: var(--text-light);
    font-size: 0.72rem;
    line-height: 1.55;
}

/* =====================================================
   POSISI KARTU VISI
===================================================== */

.hero-vision-card {
    right: -12px;
    bottom: 54px;
    left: auto;
    width: min(275px, 66%);
}

/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 1050px) {
    .hero-building-composition {
        top: 60px;
        right: -10px;
        left: -12px;
    }

    .hero-main-building {
        width: 70%;
    }

    .hero-progress-card {
        bottom: 138px;
        width: 195px;
    }

    .hero-progress-image-wrapper {
        height: 245px;
    }

    .hero-vision-card {
        right: 0;
    }
}

@media (max-width: 860px) {
    .hero-visual {
        min-height: 620px;
    }

    .hero-building-composition {
        top: 12px;
        right: auto;
        left: 50%;
        width: min(600px, 100%);
        transform: translateX(-50%);
    }

    .hero-main-building {
        right: 4%;
        width: 68%;
    }

    .hero-progress-card {
        bottom: 155px;
        left: 2%;
        width: 225px;
    }

    .hero-progress-image-wrapper {
        height: 285px;
    }

    .hero-vision-card {
        right: 4%;
        bottom: 25px;
        left: auto;
        width: 270px;
        transform: none;
    }
}

/* =====================================================
   RESPONSIVE PONSEL
===================================================== */

@media (max-width: 560px) {
    .hero-visual {
        min-height: 505px;
    }

    .hero-building-composition {
        top: 8px;
        width: calc(100% + 6px);
    }

    .hero-main-building {
        right: -2%;
        width: 70%;
        height: 445px;
    }

    .hero-progress-card {
        bottom: 120px;
        left: 0;
        width: 154px;
        border-radius: 17px;
    }

    .hero-progress-card::before {
        right: 17px;
        width: 42px;
        height: 4px;
    }

    .hero-progress-image-wrapper {
        height: 205px;
    }

    .hero-progress-caption {
        padding: 12px 13px 14px;
    }

    .hero-progress-status {
        gap: 5px;
        margin-bottom: 5px;
        font-size: 0.49rem;
        letter-spacing: 0.06em;
    }

    .hero-progress-status > span {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
    }

    .hero-progress-caption strong {
        font-size: 0.83rem;
    }

    .hero-progress-caption small {
        display: none;
    }

    .hero-vision-card {
        right: 2%;
        bottom: 12px;
        width: 215px;
        padding: 17px;
    }
}


/* =====================================================
   PERBAIKAN HERO PONSEL
   Kartu progres horizontal, tidak lonjong
===================================================== */

@media screen and (max-width: 560px) {
    .hero-visual {
        min-height: 650px;
    }

    .hero-building-composition {
        top: 0;
        right: auto;
        bottom: 0;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translateX(-50%);
    }

    /* Gedung utama tetap dominan */
    .hero-main-building {
        top: 0;
        right: 50%;
        bottom: auto;
        width: 82%;
        height: 430px;
        transform: translateX(50%);
    }

    .hero-main-building-image {
        object-fit: contain;
        object-position: center bottom;
    }

    /* Kartu progres menjadi horizontal */
    .hero-progress-card {
        bottom: 145px;
        left: 50%;
        display: grid;
        width: min(340px, calc(100% - 24px));
        height: 132px;
        overflow: hidden;
        border-radius: 18px;
        grid-template-columns: 128px minmax(0, 1fr);
        align-items: stretch;
        transform: translateX(-50%);
    }

    .hero-progress-card:hover {
        transform: translateX(-50%);
    }

    /* Aksen warna di atas bagian tulisan */
    .hero-progress-card::before {
        top: 0;
        right: auto;
        left: 128px;
        width: 52px;
        height: 5px;
        border-radius: 0 0 6px 6px;
    }

    .hero-progress-image-wrapper {
        width: 100%;
        height: 100%;
        min-height: 0;
        border-radius: 17px 0 0 17px;
    }

    .hero-progress-image-wrapper::after {
        width: 35%;
        height: 100%;
        background:
            linear-gradient(
                to right,
                transparent,
                rgba(16, 35, 63, 0.08)
            );
    }

    .hero-progress-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 38%;
    }

    .hero-progress-caption {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        padding: 13px 13px 12px;
    }

    .hero-progress-status {
        gap: 5px;
        margin-bottom: 5px;
        font-size: 0.49rem;
        letter-spacing: 0.055em;
    }

    .hero-progress-status > span {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
    }

    .hero-progress-caption strong {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .hero-progress-caption small {
        display: block;
        margin-top: 5px;
        font-size: 0.61rem;
        line-height: 1.4;
    }

    /* Kartu visi di bawah kartu progres */
    .hero-vision-card {
        right: auto;
        bottom: 8px;
        left: 50%;
        width: min(320px, calc(100% - 24px));
        padding: 16px 18px;
        transform: translateX(-50%);
    }

    .hero-vision-label {
        margin-bottom: 6px;
        font-size: 0.61rem;
    }

    .hero-vision-card > strong {
        font-size: 0.87rem;
        line-height: 1.4;
    }
}

/* Ponsel yang sangat kecil */
@media screen and (max-width: 390px) {
    .hero-visual {
        min-height: 620px;
    }

    .hero-main-building {
        width: 86%;
        height: 400px;
    }

    .hero-progress-card {
        bottom: 140px;
        width: calc(100% - 16px);
        height: 126px;
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .hero-progress-card::before {
        left: 108px;
        width: 44px;
    }

    .hero-progress-caption {
        padding-right: 10px;
        padding-left: 10px;
    }

    .hero-progress-caption strong {
        font-size: 0.82rem;
    }

    .hero-progress-caption small {
        font-size: 0.57rem;
        line-height: 1.35;
    }

    .hero-vision-card {
        width: calc(100% - 16px);
    }
}


/* =====================================================
   MENCEGAH STATISTIK MENUTUP KARTU VISI DI PONSEL
===================================================== */

@media screen and (max-width: 560px) {
    .hero-visual {
        min-height: 670px;
    }

    .hero-vision-card {
        right: auto;
        bottom: 22px;
        left: 50%;
        z-index: 12;
        width: min(320px, calc(100% - 24px));
        transform: translateX(-50%);
    }

    .stats {
        z-index: 1;
        margin-top: 0;
        padding-top: 18px;
    }
}

@media screen and (max-width: 390px) {
    .hero-visual {
        min-height: 650px;
    }

    .hero-vision-card {
        bottom: 18px;
        width: calc(100% - 16px);
    }

    .stats {
        margin-top: 0;
        padding-top: 14px;
    }
}