:root {
    --navy: #05285f;
    --navy2: #031b42;
    --blue: #0868bb;
    --gold: #f6c400;
    --gold2: #ffdc3d;
    --ink: #10213d;
    --muted: #66758b;
    --line: #e2eaf3;
    --soft: #f5f9fd;
    --white: #fff;
    --shadow: 0 22px 60px rgba(5, 40, 95, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

a {
    color: inherit;
}

.iapi-logo {
    width: 135px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--navy);
    gap: 10px;
}
.footer-iapi-logo {
    width: 135px;
    height: 55px;
    object-fit: contain;
    background: transparent;
}

.footer-brand > a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

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

.scroll-progress {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 4px;
    background: var(--gold);
    z-index: 9999;
    transition: width 0.08s linear;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 234, 243, 0.9);
    transition: 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(5, 40, 95, 0.08);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--navy);
    gap: 10px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 28px;
    letter-spacing: -1.8px;
}

.brand-mark i {
    width: 27px;
    height: 31px;
    display: block;
    position: relative;
    border: 3px solid var(--navy);
    border-radius: 50% 50% 45% 45%;
    transform: skew(-8deg);
}

.brand-mark i:after {
    content: "";
    position: absolute;
    width: 3px;
    height: 25px;
    background: var(--navy);
    left: 10px;
    top: 1px;
    transform: rotate(20deg);
}

.brand-copy {
    font-size: 8px;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.brand-copy strong {
    font-size: 10px;
}

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

.nav-menu > a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #34465f;
    position: relative;
}

.nav-menu > a:not(.admin-btn):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.25s;
}

.nav-menu > a:hover:after,
.nav-menu > a.active:after {
    width: 100%;
}

.admin-btn {
    background: var(--navy);
    color: #fff !important;
    padding: 11px 17px;
    border-radius: 10px;
}

.admin-btn span {
    margin-right: 5px;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px;
    border-radius: 5px;
}

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

.hero {
    position: relative;
    width: 100%;
    min-height: 760px;

    display: flex;
    align-items: center;

    color: #fff;
    overflow: hidden;
    isolation: isolate;

    background: var(--navy2);
}

/*
   Gambar memenuhi seluruh area Hero.
   Menggunakan COVER agar gambar tidak gepeng.
*/
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/page_event/dpdsumut/assets/hero-full-background.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.01);
}

/*
   Overlay agar tulisan HTML tetap jelas
*/
.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -2;

    background: linear-gradient(
        90deg,
        rgba(3, 27, 66, 0.94) 0%,
        rgba(3, 27, 66, 0.84) 28%,
        rgba(3, 27, 66, 0.58) 55%,
        rgba(3, 27, 66, 0.25) 78%,
        rgba(3, 27, 66, 0.16) 100%
    );
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    z-index: -1;
}

.shape-one {
    width: 420px;
    height: 420px;
    right: -180px;
    top: -180px;
    background: rgba(246, 196, 0, 0.15);
}

.shape-two {
    width: 260px;
    height: 260px;
    left: -130px;
    bottom: -130px;
    background: rgba(8, 104, 187, 0.3);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 78px;
    padding-bottom: 60px;
}

.hero-copy {
    max-width: 710px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    background: rgba(246, 196, 0, 0.15);
    border: 1px solid rgba(246, 196, 0, 0.35);

    padding: 7px 12px;
    border-radius: 99px;

    color: #ffe16a;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(246, 196, 0, 0.12);
}

h1,
h2,
h3 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

h1 {
    font-size: clamp(42px, 5.4vw, 70px);
    line-height: 1.02;
    letter-spacing: -3.2px;
    margin: 22px 0 20px;
    max-width: 780px;
}

h1 span {
    color: var(--gold);
}

.hero-description {
    font-size: 17px;
    color: #d9e8f8;
    max-width: 650px;
}

.hero-description strong {
    color: #fff;
}

.hero-info {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 27px 0;
}

.mini-info {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 14px;

    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;

    backdrop-filter: blur(6px);
}

.mini-icon {
    font-size: 19px;
    color: var(--gold);
}

.mini-info small {
    display: block;
    color: #9db9d8;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 800;
}

.mini-info b {
    display: block;
    font-size: 12px;
}

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

/* =========================================================
   BUTTON
   ========================================================= */

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

    padding: 14px 21px;

    border-radius: 12px;
    text-decoration: none;

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

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--gold);
    color: #13233c;
}

.btn-primary:hover {
    background: var(--gold2);
}

.btn-white {
    background: #fff;
    color: var(--navy);
}

.btn-outline-dark {
    border-color: #a8bbd0;
    color: var(--navy);
    background: #fff;
}

.deadline {
    margin-top: 16px;
    color: #b9cee5;
    font-size: 11px;
}

.deadline span {
    color: var(--gold);
}

.deadline strong {
    color: #fff;
}

.scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    right: 4%;

    font-size: 9px;
    letter-spacing: 2px;

    color: #c7dbef;
    text-decoration: none;
}

.scroll-cue span {
    font-size: 18px;
    margin-left: 6px;
}

/* =========================================================
   QUICK FACTS
   ========================================================= */

.quick-facts {
    background: #fff;

    box-shadow: 0 15px 45px rgba(5, 40, 95, 0.1);

    position: relative;
    z-index: 5;
}

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

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

    padding: 22px 17px;

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

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

.fact-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;

    display: grid;
    place-items: center;

    background: #eaf4ff;
    border-radius: 11px;

    color: var(--navy);
    font-weight: 900;
}

.fact small {
    display: block;
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.fact b {
    display: block;
    font-size: 12px;
}

.fact div > span {
    display: block;
    color: var(--muted);
    font-size: 9px;
}

.fact.urgent .fact-icon {
    background: #fff2d2;
    color: #c48a00;
}

.fact.urgent b {
    color: #d84b3e;
}

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

.section {
    padding: 105px 0;
}

.about {
    background: #fff;
}

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

    gap: 70px;

    align-items: center;
}

.section-label {
    display: inline-block;

    color: var(--blue);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.6px;
}

.section-label:before {
    content: "";

    display: inline-block;

    width: 27px;
    height: 3px;

    background: var(--gold);

    vertical-align: middle;

    margin-right: 9px;
}

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

.about h2,
.heading-center h2,
.heading-left h2,
.contact h2 {
    font-size: clamp(31px, 4vw, 46px);

    line-height: 1.1;

    letter-spacing: -1.7px;

    margin: 12px 0 17px;
}

.about h2 em,
.heading-left h2 em {
    font-style: normal;
    color: var(--blue);
}

.about-copy > p {
    color: var(--muted);

    font-size: 14px;

    max-width: 570px;
}

.about-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 25px;
}

.about-points > div {
    border: 1px solid var(--line);

    padding: 13px;

    border-radius: 13px;

    display: grid;

    grid-template-columns: 35px 1fr;

    column-gap: 8px;
}

.about-points span {
    grid-row: 1 / 3;

    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    background: #e9f4ff;

    border-radius: 50%;

    color: var(--blue);

    font-weight: 900;
}

.about-points b {
    font-size: 13px;
}

.about-points small {
    color: var(--muted);
    font-size: 10px;
}

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

.about-visual {
    position: relative;
}

.image-frame {
    border-radius: 25px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transform: rotate(1deg);
}

.image-frame img {
    width: 100%;
    height: 500px;

    object-fit: cover;
}

.floating-card {
    position: absolute;

    left: -30px;
    bottom: 30px;

    background: #fff;

    border: 1px solid var(--line);

    border-radius: 17px;

    padding: 13px 17px;

    display: flex;

    gap: 10px;

    align-items: center;

    box-shadow: 0 18px 40px rgba(5, 40, 95, 0.16);

    animation: float 4s ease-in-out infinite;
}

.float-number {
    font-size: 28px;

    font-weight: 900;

    color: var(--blue);
}

.floating-card b {
    display: block;
    font-size: 12px;
}

.floating-card small {
    display: block;

    color: var(--muted);

    font-size: 9px;
}

/* =========================================================
   SCHEDULE
   ========================================================= */

.schedule {
    background: var(--soft);
}

.heading-center {
    text-align: center;

    max-width: 680px;

    margin: 0 auto 45px;
}

.heading-center p,
.heading-left p {
    color: var(--muted);

    font-size: 14px;
}

.timeline {
    display: grid;

    grid-template-columns:
        1fr
        35px
        1fr
        35px
        1fr;

    align-items: center;
}

.timeline-card {
    background: #fff;

    border: 1px solid var(--line);

    border-radius: 19px;

    padding: 27px;

    min-height: 275px;

    box-shadow: 0 12px 30px rgba(5, 40, 95, 0.05);

    position: relative;

    transition: 0.3s;
}

.timeline-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 40px rgba(5, 40, 95, 0.11);
}

.step {
    position: absolute;

    top: 18px;
    right: 18px;

    color: #d7e4f1;

    font-size: 25px;

    font-weight: 900;
}

.timeline-icon {
    width: 49px;
    height: 49px;

    border-radius: 14px;

    background: #eaf4ff;

    display: grid;

    place-items: center;

    color: var(--navy);

    font-size: 22px;

    font-weight: 900;
}

.stage {
    display: inline-block;

    margin-top: 18px;

    color: var(--blue);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}

.stage.gold {
    color: #b27a00;
}

.timeline-card h3 {
    font-size: 18px;

    line-height: 1.3;

    margin: 7px 0;
}

.timeline-card p {
    font-size: 12px;

    color: var(--muted);

    margin: 0;
}

.timeline-arrow {
    font-size: 27px;

    color: #b2c5d9;

    text-align: center;
}

/* =========================================================
   CURRICULUM
   ========================================================= */

.curriculum {
    background: linear-gradient(135deg, #03265b, #075ca5);

    color: #fff;

    position: relative;

    overflow: hidden;
}

.curriculum:after {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    right: -250px;
    bottom: -300px;

    background: rgba(246, 196, 0, 0.1);
}

.heading-left {
    position: relative;

    z-index: 1;

    margin-bottom: 40px;
}

.heading-left p {
    color: #bed3e9;
}

.material-grid {
    display: grid;

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

    gap: 16px;

    position: relative;

    z-index: 1;
}

.material-card {
    background: rgba(255, 255, 255, 0.97);

    color: var(--ink);

    border-radius: 17px;

    padding: 22px;

    min-height: 185px;

    transition: 0.3s;

    border: 1px solid rgba(255, 255, 255, 0.5);
}

.material-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.material-card span {
    display: grid;

    place-items: center;

    width: 36px;
    height: 36px;

    border-radius: 10px;

    background: var(--gold);

    font-size: 11px;

    font-weight: 900;
}

.material-card h3 {
    font-size: 15px;

    line-height: 1.35;

    margin: 14px 0 7px;
}

.material-card p {
    font-size: 11px;

    color: var(--muted);

    margin: 0;
}

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

.facilities {
    background: #fff;
}

.facility-grid {
    display: grid;

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

    border-top: 1px solid var(--line);

    border-left: 1px solid var(--line);
}

.facility {
    padding: 27px 18px;

    text-align: center;

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

    border-bottom: 1px solid var(--line);

    transition: 0.25s;
}

.facility:hover {
    background: var(--soft);

    transform: translateY(-3px);
}

.facility > span {
    width: 48px;
    height: 48px;

    margin: 0 auto 12px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #edf6ff;

    color: var(--blue);

    font-size: 20px;
}

.facility b,
.facility small {
    display: block;
}

.facility b {
    font-size: 12px;
}

.facility small {
    color: var(--muted);

    font-size: 9px;

    margin-top: 3px;
}

/* =========================================================
   INVESTMENT
   ========================================================= */

.investment {
    background: var(--navy);

    color: #fff;

    padding: 80px 0;
}

.investment-grid {
    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 60px;

    align-items: center;
}

.hotel-image {
    position: relative;

    border-radius: 23px;

    overflow: hidden;

    min-height: 440px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.hotel-image img {
    width: 100%;

    height: 440px;

    object-fit: cover;
}

.hotel-image:after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(0deg, rgba(0, 19, 48, 0.8), transparent 55%);
}

.hotel-caption {
    position: absolute;

    left: 25px;
    bottom: 23px;

    z-index: 2;
}

.hotel-caption span,
.hotel-caption b,
.hotel-caption small {
    display: block;
}

.hotel-caption span {
    color: #ffe16a;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;
}

.hotel-caption b {
    font-size: 19px;

    margin: 3px 0;
}

.hotel-caption small {
    color: #c8d8ea;

    font-size: 11px;
}

.price-content h2 {
    font-size: clamp(31px, 4vw, 46px);

    line-height: 1.1;

    letter-spacing: -1.6px;

    margin: 12px 0;
}

.price-content p {
    color: #bfd1e4;

    font-size: 13px;
}

.price {
    font-size: 42px;

    font-weight: 900;

    color: var(--gold);

    line-height: 1.1;

    margin: 24px 0 14px;
}

.price span {
    display: block;

    font-size: 11px;

    color: #c7d7e7;

    font-weight: 600;

    margin-top: 5px;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    background: var(--soft);
}

.contact-grid {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;
}

.contact-copy {
    max-width: 680px;
}

.contact h2 {
    margin-bottom: 8px;
}

.contact-copy > p {
    color: var(--muted);

    font-size: 14px;
}

.whatsapp {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 24px;

    text-decoration: none;

    width: max-content;

    background: #fff;

    border: 1px solid var(--line);

    padding: 12px 17px;

    border-radius: 14px;

    box-shadow: 0 10px 25px rgba(5, 40, 95, 0.05);
}

.whatsapp > span {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    background: #e8f8ef;

    color: #1fa463;

    border-radius: 50%;

    font-weight: 900;
}

.whatsapp small,
.whatsapp b {
    display: block;
}

.whatsapp small {
    font-size: 9px;

    color: var(--muted);
}

.whatsapp b {
    font-size: 13px;
}

.contact-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

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

footer {
    background: #021633;

    color: #a7bdd5;

    padding: 38px 0 20px;
}

.footer-grid {
    display: grid;

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

    gap: 30px;
}

.footer-mark {
    color: #fff;
}

.footer-mark i {
    border-color: #fff;
}

.footer-mark i:after {
    background: #fff;
}

.footer-brand p {
    font-size: 10px;
}

.footer-grid small {
    display: block;

    color: #6f8daa;

    font-size: 9px;

    letter-spacing: 1px;

    margin-bottom: 5px;
}

.footer-grid b {
    font-size: 11px;

    color: #fff;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    margin-top: 28px;

    padding-top: 16px;

    font-size: 9px;
}

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

.reveal {
    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.show {
    opacity: 1;

    transform: none;
}

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

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

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

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu > a {
        font-size: 11px;
    }

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

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

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

    .about-grid,
    .investment-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-visual {
        max-width: 720px;

        margin: auto;
    }

    .image-frame img {
        height: 430px;
    }

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

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

    .timeline-arrow {
        display: none;
    }

    .timeline-card {
        min-height: auto;

        margin-bottom: 14px;
    }
}

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

@media (max-width: 760px) {
    .hero {
        min-height: 680px;
    }

    .hero-image {
        background-size: cover;
        background-position: center center;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(3, 27, 66, 0.28) 0%,
            rgba(3, 27, 66, 0.7) 45%,
            rgba(3, 27, 66, 0.97) 100%
        );
    }

    .hero-content {
        padding-top: 86px;
    }
}

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

@media (max-width: 430px) {
    .hero {
        min-height: 720px;
    }

    .hero-image {
        background-size: cover;
        background-position: center center;
    }

    .hero-content {
        padding-top: 82px;
    }

    h1 {
        font-size: 38px;
    }
}
