/* ==========================================================================
   SPMB SMA DR. MUSTAIN ROMLY
   Stylesheet utama - CSS murni (Flexbox + Grid + CSS Variables)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Font */
    --font-main: 'Poppins', sans-serif;

    /* Warna */
    --color-black: #111111;
    --color-white: #ffffff;
    --color-yellow: #ffd400;
    --color-yellow-dark: #e0b800;
    --color-overlay-dark: rgba(0, 0, 0, 0.55);
    --color-overlay-light: rgba(0, 0, 0, 0.25);
    --color-card-bg: rgba(0, 0, 0, 0.45);
    --color-card-border: rgba(255, 255, 255, 0.25);
    --color-navbar-mobile-bg: rgba(255, 255, 255, 0.92);
    --color-gray-dark: #454545;
    --color-gray-text: #4a4a4a;

    /* Layout */
    --container-max: 1400px;
    --navbar-height: 96px;
    --section-padding-y: 110px;
    --radius-sm: 6px;
    --radius-md: 14px;

    /* Transisi */
    --transition-base: 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
}

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

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

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. GLOBAL (utilitas umum dipakai lintas section)
   -------------------------------------------------------------------------- */
.section-inner {
    max-width: 1100px;
    margin: auto;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 48px;
    font-weight: 800;
    color: #111;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 120px;
    height: 3px;
    background: #111;
    transition: .35s;
}

.section-title:hover::after {
    width: 170px;
}

.section-subtitle {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    margin: 40px 0 30px;
}

.section-heading {
    text-align: center;
    margin-bottom: 18px;
    color: #111;
}

.section-heading span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 10px;
}

.section-heading::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #111;
    border-radius: 30px;
    margin: 16px auto 0;
}

/* Deskripsi section */
.section-description{
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-top: 70px;
    animation: scrollDown 1.5s infinite;
}

.hero .scroll-indicator {
    color: var(--color-white);
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* garis pemisah halus antar section */
.home,
.galery,
.registration,
.about,
.contact {
    position: relative;
}

.home::before,
.galery::before,
.registration::before,
.about::before,
.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #d9d9d9 20%,
        #d9d9d9 80%,
        transparent
    );
}

/* --------------------------------------------------------------------------
   4. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    transition: background-color var(--transition-base);
}

.nav-toggle {
    display: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

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

.navbar-logo--romly {
    height: 50px;
}

.navbar-logo--smartly {
    height: 60px;
}

.navbar-title {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.navbar-title__main {
    font-size: 22px;
    font-weight: 1000;
    color: var(--color-black);
    white-space: nowrap;
}

.navbar-title__sub {
    font-size: 11px;
    font-weight: 500;
    font-style: italic;
    text-decoration: underline;
    color: var(--color-black);
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navbar-link {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-black);
    padding-bottom: 4px;
    transition: opacity var(--transition-base);
}

.navbar-link:hover {
    opacity: 0.6;
}

.navbar-link--active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-burger span {
    width: 26px;
    height: 3px;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.35) 75%, rgba(0, 0, 0, 0.65) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 75%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.hero-tag {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-yellow);
    margin-bottom: 6px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(40px, 6.2vw, 88px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 1px;
    color: var(--color-white);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    margin-bottom: 14px;
}

.hero-year {
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 700;
    color: var(--color-yellow);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-cards {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.hero-card {
    position: relative;
    background-color: var(--color-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-card-border);
    border-right: 1px solid var(--color-card-border);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.hero-card:last-child {
    border-right: none;
}

.hero-card:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.35);
}

.hero-card__badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    flex-grow: 1;
}

.hero-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-yellow);
    white-space: nowrap;
    transition: opacity var(--transition-base);
}

.hero-card__link:hover {
    opacity: 0.7;
}

/* social icon di area hero */
.hero-social {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-top: 30px;
}

.social {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    transition: .25s;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .12);
}

.social:hover {
    transform: translateY(-6px);
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.youtube {
    background: #ff0000;
}

.facebook {
    background: #1877F2;
}

.gmail {
    background: #EA4335;
}

/* --------------------------------------------------------------------------
   6. BUTTON
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 14px 34px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
    border: 2px solid transparent;
}

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

.btn--primary:hover {
    background-color: var(--color-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.btn--outline {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-black);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   7. TENTANG KAMI
   -------------------------------------------------------------------------- */
.visi-misi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 80px;
}

.vm-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    border: 1px solid #ececec;
}

.vm-card h3 {
    margin-bottom: 20px;
    font-size: 30px;
}

.vm-card p,
.vm-card li {
    line-height: 32px;
    color: #555;
}

/* timeline sejarah / tahapan */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 70px auto;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #dcdcdc;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 35px;
    margin-bottom: 35px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 28px;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #111;
    border-radius: 50%;
    z-index: 5;
}

.timeline-item.left::before {
    right: -10px;
}

.timeline-item.right::before {
    left: -10px;
}

.timeline-content {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .05);
}

.timeline-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #111;
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111;
}

.timeline-content p {
    font-size: 15px;
    line-height: 26px;
    color: #666;
    margin: 0;
}

/* isi tentang kami: profil + visi/misi */
.about {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 24px;
}

.about-text {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--color-gray-text);
}

.about-layout {
    display: grid;
    grid-template-columns: 2fr 0.9fr;
    gap: 22px;
    margin-top: 45px;
}

.about-left {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 22px;
    overflow: hidden;
}

.about-left img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 28px;
}

.about-content h3 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 18px;
    color: #111;
}

.about-content p {
    color: #666;
    line-height: 30px;
    margin-bottom: 15px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vision-box,
.mission-box {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 22px;
    padding: 24px;
    flex: 1;
}

.vision-box h4,
.mission-box h4 {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.vision-box p {
    line-height: 30px;
    color: #555;
}

.mission-box ul {
    margin: 0;
    padding-left: 18px;
}

.mission-box li {
    margin-bottom: 12px;
    color: #555;
}

/* --------------------------------------------------------------------------
   8. STATISTIK
   -------------------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border: 1px solid #edf1f4;
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
}

.feature-card h3 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
    line-height: 1;
}

.feature-card span {
    display: block;
    font-size: 14px;
    color: #7b8794;
    line-height: 22px;
}

/* --------------------------------------------------------------------------
   9. STRUKTUR SEKOLAH
   -------------------------------------------------------------------------- */
.leader-section {
    max-width: 700px;
    margin: 70px auto;
}

.leader-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 18px;
}

.leader-card img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #f2f2f2;
}

.leader-info {
    flex: 1;
}

.leader-info span {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    background: #111;
    padding: 5px 12px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.leader-info h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #111;
}

.leader-info p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.leader-line {
    width: 2px;
    height: 35px;
    background: #dcdcdc;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   10. GALERI
   -------------------------------------------------------------------------- */
.galery {
    padding: var(--section-padding-y) 0;
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.galery .section-inner {
    width: 100%;
}

.galery-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-text);
}

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

.gallery-home{
    padding:100px 0;
}

.gallery-preview{
    display:grid;
    grid-template-columns:repeat(3,250px); /* ubah 250 jadi 230/270 kalau mau */
    justify-content:center;
    gap:18px;
    margin-top:45px;
}

.gallery-preview-item{
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
    cursor:pointer;
}

.gallery-preview-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s;
}

.gallery-home-btn{
    text-align:center;
    margin-top:45px;
}


/* --------------------------------------------------------------------------
   11. KONTAK
   -------------------------------------------------------------------------- */
.contact {
    padding: var(--section-padding-y) 0;
    background-color: var(--color-white);
}

.contact .section-inner {
    width: 100%;
    margin-bottom: 30px;
}

.map-box {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background-color: var(--color-gray-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-box__frame {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-card {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-item {
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 35px;
    transition: .35s;
    background: #fff;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #111;
}

.contact-item p {
    color: #666;
    line-height: 28px;
}

.contact-wrapper {
    grid-template-columns: 1fr;
}

iframe {
    width: 100%;
    height: 260px;
}

/* --------------------------------------------------------------------------
   12. PENDAFTARAN
   -------------------------------------------------------------------------- */
.registration {
    padding: var(--section-padding-y) 0;
    background-color: var(--color-white);
}

.registration-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 50px;
}

.registration-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 700;
}

.form-field input {
    font-family: var(--font-main);
    font-size: 15px;
    padding: 13px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-base);
}

.form-field input:focus {
    border-color: var(--color-yellow);
}

.registration-submit {
    margin-top: 10px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    padding: 26px 20px;
    text-align: center;
    background-color: var(--color-black);
}

.footer-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-white);
}

/* ==========================================================================
   14. RESPONSIVE 1200PX (berlaku mulai ≤1024px, plus penyesuaian layar besar
       1440px & 1920px — nilai asli dipertahankan agar tampilan tidak berubah)
   ========================================================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding-y: 90px;
    }

    .navbar {
        padding: 0 30px;
    }

    .navbar-menu {
        gap: 22px;
    }

    .navbar-link {
        font-size: 14px;
    }

    .hero-content,
    .section-inner {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-card {
        padding: 20px;
    }

    .hero-card__title {
        font-size: 17px;
    }
}

@media (min-width: 1440px) {
    .hero-content,
    .section-inner {
        padding-left: 90px;
        padding-right: 90px;
    }
}

@media (min-width: 1920px) {
    .navbar-brand,
    .hero-content,
    .section-inner {
        max-width: 1800px;
    }

    .navbar {
        padding: 0 80px;
    }
}

/* ==========================================================================
   15. RESPONSIVE 992PX (berlaku mulai ≤820px, plus timeline ≤900px)
   ========================================================================== */
@media (max-width: 900px) {
    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px;
        padding-right: 15px;
        text-align: left;
    }

    .timeline-item::before {
        left: 16px !important;
    }
}

@media (max-width: 820px) {
    .navbar {
        padding: 0 20px;
        background-color: transparent;
    }

    .nav-burger {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(78%, 320px);
        background-color: var(--color-navbar-mobile-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right var(--transition-base);
    }

    .navbar-menu {
        flex-direction: column;
        gap: 30px;
    }

    .navbar-link {
        font-size: 17px;
    }

    .nav-toggle:checked ~ .navbar-nav {
        right: 0;
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar-title__main {
        font-size: 14px;
    }

    .navbar-title__sub {
        font-size: 9px;
    }

    .navbar-logo--romly {
        height: 40px;
    }

    .navbar-logo--smartly {
        height: 32px;
    }
}

/* ==========================================================================
   16. RESPONSIVE 768PX
   ========================================================================== */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    section {
        padding: 70px 18px;
    }

    .section-description{
        font-size:14px;
        line-height:1.7;
        margin-bottom:35px;
        padding:0 12px;
    }

    /* navbar */
    .navbar {
        padding: 14px 18px;
    }

    .navbar-brand h1 {
        font-size: 18px;
    }

    .navbar-brand p {
        display: none;
    }

    .navbar-logo {
        height: 38px;
    }

    .nav-links {
        gap: 18px;
        font-size: 14px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    /* hero */
    .hero-cards {
        grid-template-columns: 1fr;
        position: relative;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: calc(var(--navbar-height) + 30px);
        padding-bottom: 0;
        display: block;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.05;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-social {
        justify-content: center;
        gap: 14px;
    }

    .social {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .poster {
        width: 250px;
    }

    .hero-card {
        border-right: none;
        border-bottom: 1px solid var(--color-card-border);
    }

    .hero-card:last-child {
        border-bottom: none;
    }

    .gallery-preview{

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

}

.gallery-preview-item img{

height:170px;

}

    /* tipografi & konten section */
    .section-title {
        font-size: 26px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-left img {
        height: 220px;
    }

    /* timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 55px;
        padding-right: 10px;
        margin-bottom: 25px;
        text-align: left;
    }

    .timeline-item::before {
        left: 12px !important;
    }

    .timeline-content {
        padding: 18px;
    }
}

/* ==========================================================================
   17. RESPONSIVE 576PX
   ========================================================================== */
@media (max-width: 480px) {
    .navbar {
        padding: 0 16px;
    }

    .navbar-title__main {
        font-size: 12px;
    }

    .navbar-title__sub {
        font-size: 8px;
    }

    .navbar-logo--romly {
        height: 34px;
    }

    .navbar-logo--smartly {
        height: 28px;
    }

    .hero-content,
    .section-inner {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-tag {
        font-size: 15px;
    }

    .hero-title {
        font-size: clamp(32px, 11vw, 46px);
    }

    .hero-year {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .hero-card {
        padding: 18px 20px;
        gap: 14px;
    }

    .hero-card__badge {
        width: 46px;
        height: 46px;
    }

    .hero-card__title {
        font-size: 15px;
    }

    .hero-card__link {
        font-size: 12px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 19px;
    }

    .gallery-preview{

grid-template-columns:1fr;

}

.gallery-preview-item img{

height:220px;

}


    .about-text,
    .registration-text {
        font-size: 14px;
    }

    :root {
        --section-padding-y: 60px;
    }

    .registration-form {
        max-width: 100%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}