:root {
    --orange-main: #f49f1c;
    --orange-deep: #fd7a2a;
    --blue-main: #2455c9;
    --blue-deep: #0047a6;
    --dark-bg: #05060c;
    --dark-deeper: #020617;
    --text-light: #f9fafb;
    --radius-xl: 40px;
}

/* General */

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    margin: 0;
    background-color: var(--dark-deeper);
    color: var(--text-light);
}

/* Hero Sarana */

.hero-sarana {
    position: relative;
    min-height: 100vh;
    background-image: url("/assets/background-image/bg-hero-kurikulum.jpg");
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay-top {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 100% 0,
        rgba(255, 255, 255, 0.08),
        transparent 55%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-block: 4.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 4vw + 1.5rem, 3.9rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 2rem;
    padding-top: 3rem;
}

.btn-cta {
    background: linear-gradient(
        90deg,
        rgb(253, 122, 42, 0.98),
        rgba(241, 100, 12, 0.98)
    );
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    margin-top: 18px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    transition: 0.25s ease;
}
.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.hero-machines {
    width: 100%;
    position: relative;
    text-align: right;
}

.hero-machine-img {
    max-width: 360px;
    width: 100%;
    margin-left: auto;
    display: block;
}

.hero-machine-label {
    position: absolute;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.5rem;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.hero-machine-label.top {
    top: 0.8rem;
    right: 0.5rem;
}

.hero-machine-label.bottom {
    bottom: 0.8rem;
    right: 1.5rem;
}

.hero-illustration-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-illustration-card {
    width: min(560px, 100%);
    border-radius: 40px;
    padding: 1.5rem 2rem 2rem;
    /* background: radial-gradient(
    circle at 10% 0,
    rgba(255, 255, 255, 0.18),
    rgba(3, 7, 18, 0.98)
  );
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9); */
    overflow: hidden;
}

.hero-illustration-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */

.section-detail {
    padding-block: 4rem;
}

.section-sarana {
    background: radial-gradient(
            circle at 20% 10%,
            rgba(76, 124, 203, 0.45),
            transparent 45%
        ),
        radial-gradient(
            circle at 95% 5%,
            rgba(19, 63, 140, 0.45),
            transparent 60%
        ),
        linear-gradient(180deg, #edf4ff, #ffffff);
}

.section-prasarana {
    background: radial-gradient(
            circle at 20% 10%,
            rgba(76, 124, 203, 0.45),
            transparent 45%
        ),
        radial-gradient(
            circle at 95% 5%,
            rgba(19, 63, 140, 0.45),
            transparent 60%
        ),
        linear-gradient(180deg, #edf4ff, #ffffff);
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-body {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 780px;
    color: #f3f4f6;
}

/* Location info */

.location-block {
    margin-top: 2.5rem;
}

.location-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.location-text {
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* Glass slider / Prasarana card */

.glass-slider {
    position: relative;
    max-width: 650px;
    margin-left: auto;
}

.glass-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1.7rem;
    background: radial-gradient(
        circle at 10% 0,
        rgba(255, 255, 255, 0.12),
        rgba(7, 9, 17, 0.98)
    );
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.98);
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 38px rgba(255, 255, 255, 0.4);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* warm highlight di bagian bawah */
.glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at 10% 90%,
        rgba(244, 159, 28, 0.9),
        transparent 60%
    );
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.glass-card img {
    width: 100%;
    aspect-ratio: 9/6;
    border-radius: 26px;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.glass-label {
    position: absolute;
    left: 3rem;
    bottom: 2.2rem;
    z-index: 2;
    font-size: 2.2rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.95);
}

/* slider buttons */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 3;
}

.slider-btn.prev {
    left: -18px;
}

.slider-btn.next {
    right: -18px;
}

.slider-btn:hover {
    background: #f97316;
    transform: translateY(-50%) scale(1.07);
}

/* hover card */
.glass-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 1);
}

/* Partners */

.partners {
    background: #ffffff;
    color: #111827;
    border-radius: 40px 40px 0 0;
    padding-top: 3rem;
    padding-bottom: 2rem;
    margin-top: 0;
}

.partner-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.partner-text {
    font-size: 0.8rem;
    color: #4b5563;
}

@media (max-width: 991.98px) {
    .hero-machine-img {
        max-width: 280px;
    }

    .glass-slider {
        margin-inline: auto;
        margin-top: 2rem;
    }

    .slider-btn.prev {
        left: 6px;
    }

    .slider-btn.next {
        right: 6px;
    }
}

@media (max-width: 575.98px) {
    .hero-sarana {
        min-height: 70vh;
        background-position: center;
    }

    .hero-machine-img {
        max-width: 230px;
    }

    .glass-label {
        left: 2rem;
        bottom: 1.8rem;
        font-size: 1.8rem;
    }
}
