/* CSS FULL - SATUAN REM (RESPONSIF)
   WARNA TETAP ASLI (TEAL & ORANGE)
   LAYOUT TIDAK BERUBAH
*/

:root {
    --primary: #07484a; /* Teal gelap sesuai gambar asli */
    --secondary: #f5a425; /* Gold/Orange asli */
    --white: #ffffff;
    --text-light: #f4f4f4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
}



/* HERO SECTION */
.hero {
    position: relative;
    height: 80vh;
    min-height: 37.5rem;
    margin-bottom: 8rem; /* Tambahkan margin bawah yang cukup besar (sekitar 128px) */
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 72, 74, 0.7); /* Kembali ke Teal Transparan */
}

.hero-content {
    position: relative;
    z-index: 10;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 50rem; /* 800px */
}

.hero-content h3 {
    color: var(--secondary);
    letter-spacing: 0.1875rem; /* 3px */
    margin-bottom: 1.25rem; /* 20px */
}

.hero-content h1 {
    font-size: 3.75rem; /* 60px */
    line-height: 1.1;
    margin-bottom: 1.25rem; /* 20px */
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-btns {
    margin-top: 1.875rem; /* 30px */
    display: flex;
    justify-content: center;
    gap: 0.9375rem; /* 15px */
}

.btn-main {
    background: var(--secondary);
    color: white;
    padding: 0.9375rem 2.1875rem; /* 15px 35px */
    text-decoration: none;
    border-radius: 0.3125rem; /* 5px */
    font-weight: bold;
}

.btn-sub {
    background: white;
    color: var(--primary);
    padding: 0.9375rem 2.1875rem; /* 15px 35px */
    text-decoration: none;
    border-radius: 0.3125rem; /* 5px */
    font-weight: bold;
}

/* STATS CARDS */
/* STATS CARDS */
.stats-container {
    position: absolute;
    /* Ubah dari -6.25rem (-100px) menjadi -3rem atau lebih kecil */
    bottom: -10rem; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.25rem;
    z-index: 20;
    width: 100%;
}

/* STATS CARDS */
.stat-card {
    background: white;
    flex: 1;
    padding: 1.875rem;
    border-radius: 1.25rem 1.25rem 1.25rem 0;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.1);
    text-align: left;
    position: relative;
    
    /* TRANSISI MAJU: Pakai scale dan cubic-bezier agar halus */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    border-bottom: 0.3125rem solid var(--primary);
    will-change: transform;
}

.stat-card:hover {
    /* MAJU: Skala diperbesar 5% (1.05) */
    /* Kita hilangkan translateY agar tidak naik ke atas */
    transform: scale(1.05); 
    
    /* Bayangan dibikin lebih tebal saat maju biar efek 3D-nya berasa */
    box-shadow: 0 1.25rem 3.125rem rgba(0,0,0,0.2);
    z-index: 30; /* Biar kartu yang di-hover menutupi bayangan kartu sebelahnya */
}

.stat-card.orange {
    border-bottom: 0.3125rem solid var(--secondary); /* 5px */
}



.stat-num {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2.5rem; /* 40px */
    font-weight: bold;
    color: #eee;
}

.stat-icon {
    font-size: 2.5rem; /* 40px */
    color: var(--primary);
    margin-bottom: 0.9375rem; /* 15px */
}

.stat-card h2 {
    font-size: 2.1875rem; /* 35px */
    margin: 0.625rem 0; /* 10px */
    color: #333;
}

.stat-card p {
    color: #777;
    margin: 0;
}

/* DROPDOWN MENU */
.menu li {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 12.5rem; /* 200px */
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1); /* 8px 16px */
    border-radius: 0 0 0.625rem 0.625rem; /* 10px */
    padding: 0.625rem 0; /* 10px */
    z-index: 1000;
    border-top: 0.1875rem solid var(--secondary); /* 3px */
}

.dropdown-content li a {
    color: #333 !important;
    padding: 0.75rem 1.25rem; /* 12px 20px */
    display: block;
    font-size: 0.875rem; /* 14px */
}

.dropdown-content li a:hover {
    background-color: #f5f5f5;
    color: var(--secondary) !important;
    padding-left: 1.5625rem; /* 25px */
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(0.625rem); }
    to { opacity: 1; transform: translateY(0); }
}

/* SAMBUTAN */
.sambutan {
    padding: 6.25rem 0; /* 100px */
    margin-top: 3.125rem; /* 50px */
}

.sambutan-wrapper {
    display: flex;
    align-items: center;
    gap: 3.75rem; /* 60px */
}

.sambutan-img {
    flex: 1;
    position: relative;
}

.sambutan-img img {
    width: 100%;
    border-radius: 1.25rem; /* 20px */
    box-shadow: 1.25rem 1.25rem 0 var(--primary); /* 20px */
}

.sambutan {
    padding: 6.25rem 0; /* Pastikan padding atasnya cukup (100px) */
    margin-top: 5rem;    /* Kasih margin tambahan agar benar-benar terpisah */
}

.name-tag {
    position: absolute;
    bottom: -1.25rem; /* -20px */
    right: -1.25rem; /* -20px */
    background: var(--secondary);
    color: white;
    padding: 1.25rem; /* 20px */
    border-radius: 0.625rem; /* 10px */
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.1);
}

.name-tag h4 {
    margin: 0;
    font-size: 1.125rem; /* 18px */
}

.name-tag p {
    margin: 0.3125rem 0 0; /* 5px */
    font-size: 0.875rem; /* 14px */
}

.sambutan-text {
    flex: 1.2;
}

.sambutan-text span {
    color: var(--secondary);
    font-weight: bold;
    letter-spacing: 0.125rem; /* 2px */
}

.sambutan-text h2 {
    font-size: 2.5rem; /* 40px */
    color: var(--primary);
    margin: 0.625rem 0;
}

.sambutan-text .line {
    width: 3.75rem; /* 60px */
    height: 0.25rem; /* 4px */
    background: var(--primary);
    margin-bottom: 1.5625rem; /* 25px */
}

.sambutan-text p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 0.9375rem; /* 15px */
    text-align: justify;
}

/* PENGUMUMAN */
/* PENGUMUMAN */
.pengumuman {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.announcement-card {
    background: #fff;
    border-radius: 0.9375rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.05);
    
    /* BIAR HALUS: Tambahkan timing function 'ease-out' atau 'cubic-bezier' */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    will-change: transform; /* Ngasih tau browser biar siap-siap animasi */
}

.announcement-card:hover {
    /* Pakai nilai rem yang pas, jangan terlalu ekstrem */
    transform: translateY(-0.5rem); 
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,0.1);
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px */
    gap: 1.875rem; /* 30px */
    margin-top: 2.5rem; /* 40px */
}


.announcement-card:hover {
    transform: translateY(-0.625rem); /* -10px */
}

.a-img {
    position: relative;
    height: 13.75rem; /* 220px */
}

.a-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-label {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    background: var(--secondary);
    color: white;
    padding: 0.3125rem 0.9375rem;
    border-radius: 3.125rem; /* 50px */
    font-size: 0.75rem;
}

.a-content {
    padding: 1.5625rem; /* 25px */
}

.a-content h4 {
    color: var(--primary);
    font-size: 1.125rem; /* 18px */
    margin-bottom: 0.75rem; /* 12px */
}

/* ALUMNI SECTION */
.alumni-section {
    padding: 6.25rem 0; /* 100px */
    background: #fcfcfc;
}

.alumni-slider {
    max-width: 50rem; /* 800px */
    margin: 2.5rem auto 0;
    position: relative;
    overflow: hidden;
}

.alumni-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.alumni-card {
    min-width: 100%;
    background: white;
    padding: 2.5rem; /* 40px */
    border-radius: 1.25rem; /* 20px */
    box-shadow: 0 0.9375rem 2.5rem rgba(0,0,0,0.05);
    text-align: center;
    box-sizing: border-box;
}

.quote-top {
    font-size: 2.5rem; /* 40px */
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.alumni-text {
    font-size: 1.125rem; /* 18px */
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 1.875rem; /* 30px */
}

.alumni-profile img {
    width: 3.75rem; /* 60px */
    height: 3.75rem;
    border-radius: 50%;
    border: 0.1875rem solid var(--primary); /* 3px */
}

.dot.active {
    background-color: var(--secondary);
    width: 1.875rem; /* 30px */
    border-radius: 0.625rem; /* 10px */
}

/* Responsif buat HP */
@media (max-width: 48rem) { /* 768px */
    .sambutan-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .stats-container {
        position: static;
        transform: none;
        flex-direction: column;
        margin-top: 1.25rem;
    }
}

/* KODE ANTI BUNDER-BUNDER (TARUH PALING BAWAH) */
header li, 
.menu li, 
.dropdown-content li {
    list-style: none !important;
    list-style-type: none !important;
}

.dropdown-content {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* --- MODERN PROFILE DESIGN --- */
.profile-hero {
    background: linear-gradient(rgba(7, 72, 74, 0.9), rgba(7, 72, 74, 0.9)), url('gambar-sekolah.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.profile-hero h1 { font-size: 3rem; margin-bottom: 0.5rem; }
.profile-hero p { font-size: 1.2rem; opacity: 0.8; }

.content-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.05);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid #eee;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.card-header i { font-size: 2rem; color: var(--secondary); }

.highlight-text {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.history-info {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 1rem;
}

.history-info h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.1rem; }

/* VISI MISI STYLING */
.visi-card {
    background: var(--primary);
    padding: 4rem 2rem;
    border-radius: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.visi-card span { color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; font-weight: bold; }
.visi-card h2 { font-size: 2rem; margin-top: 1rem; line-height: 1.4; }

.misi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.misi-box {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #eee;
}

.misi-box:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.1);
}

.misi-icon {
    width: 4rem;
    height: 4rem;
    background: #fdf4e6;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.kontak-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info kiri agak kecil, Form kanan lebih lebar */
    gap: 40px;
    margin-top: 30px;
}

.kontak-info-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: #f5a425; /* Warna orange/kuning dasbor */
    margin-top: 5px;
}

.info-item h4 {
    margin: 0;
    color: #07484a; /* Warna teal */
    font-size: 1.1rem;
}

.info-item p {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: #666;
}

/* FORM STYLING */
.kontak-form {
    padding: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #07484a;
    outline: none;
    box-shadow: 0 0 8px rgba(7, 72, 74, 0.1);
}

.btn-kirim {
    background: #07484a;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-kirim:hover {
    background: #f5a425;
    color: #07484a;
    transform: translateY(-3px);
}

/* Responsif HP */
@media (max-width: 768px) {
    .kontak-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ================= MEGA FOOTER STYLE ================= */
.main-footer {
    background: #07484a; /* Teal Gelap Premium */
    color: #ffffff;
    padding: 70px 0 0 0;
    font-family: 'Poppins', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Agar logo lebih menonjol */
}

.footer-col h4 {
    color: #f5a425; /* Warna Gold/Orange */
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    font-weight: 600;
}

/* Garis bawah di judul kolom */
.footer-col h4::after {
    content: '';
    width: 40px;
    height: 3px;
    background: #f5a425;
    position: absolute;
    bottom: -8px;
    left: 0;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

/* Bullet point custom di samping link */
.footer-col ul li a::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 8px;
    margin-right: 10px;
    color: #f5a425;
}

.footer-col ul li a:hover {
    color: #f5a425;
    padding-left: 8px;
}

/* Social Media Icons */
.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #f5a425;
    transform: translateY(-3px);
}

/* Copyright Bar */
.footer-bottom {
    background: #053a3c; /* Lebih gelap dari teal utama */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
    color: rgba(255,255,255,0.6);
}

.footer-bottom p span {
    color: #f5a425;
    font-weight: 600;
}

/* Tombol Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f5a425;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* PPDB PAGE STYLES */
.ppdb-hero {
    background: linear-gradient(rgba(7, 72, 74, 0.9), rgba(7, 72, 74, 0.9)), url('img/sekolah-cover.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.ppdb-hero h1 { font-size: 36px; margin: 10px 0; color: #f5a425; }

.ppdb-container { padding: 60px 0; }

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid #07484a;
}

.step-card.highlight { border-top-color: #f5a425; }

.step-icon {
    width: 50px;
    height: 50px;
    background: #07484a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

.highlight .step-icon { background: #f5a425; }

.ppdb-flex {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.ppdb-left, .ppdb-right { flex: 1; min-width: 300px; }

.info-card, .action-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    height: 100%;
}

.info-card h3, .action-card h3 { color: #07484a; margin-bottom: 25px; }

.info-card ul { list-style: none; padding: 0; }
.info-card ul li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.info-card ul li i { color: #f5a425; }

.btn-primary-ppdb {
    background: #f5a425;
    color: white;
    padding: 18px;
    display: block;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    margin: 20px 0;
    transition: 0.3s;
}

.btn-primary-ppdb:hover { background: #07484a; transform: translateY(-3px); }

.wa-ppdb {
    color: #25d366;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}


@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 520px;
        margin-bottom: 2rem;
    }

    .hero-slider {
        position: relative;
        height: 520px;
    }

    .hero-content {
        width: calc(100% - 32px);
        max-width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 10px;
    }

    .hero-content h3 {
        font-size: 0.95rem;
        line-height: 1.4;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-main,
    .btn-sub {
        width: 220px;
        text-align: center;
        padding: 14px 20px;
    }

    .stats-container {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: auto;
        margin-top: 24px;
        padding: 0 16px;
    }

    .stat-card {
        width: 100%;
        box-sizing: border-box;
    }

    .stat-card:hover {
        transform: none;
    }

    .sambutan {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}


@media (max-width: 768px) {
    .stats-container {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* container umum biar ga mepet */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* hero */
    .hero {
        height: auto !important;
        min-height: auto !important;
        margin-bottom: 24px !important;
    }

    .hero-slider {
        position: relative !important;
        height: 430px !important;
    }

    .hero-content {
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 0 8px !important;
        text-align: center !important;
    }

    .hero-content h3 {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        letter-spacing: 1px !important;
    }

    .hero-content h1 {
        font-size: 20px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .hero-content p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }

    .hero-btns {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .btn-main,
    .btn-sub {
        width: 210px !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    /* hilangkan stats di HP */
    .stats-container {
        display: none !important;
    }

    /* section spacing umum */
    .sambutan,
    .pengumuman,
    .alumni-section,
    .kontak-section {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
        margin-top: 0 !important;
    }

    .section-title {
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    .section-title span {
        display: block;
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }

    .section-title h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin: 0 0 10px !important;
    }

    /* sambutan */
    .sambutan-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        text-align: left !important;
    }

    .sambutan-img {
        width: 100% !important;
    }

    .sambutan-img img {
        width: 100% !important;
        display: block !important;
        border-radius: 18px !important;
        box-shadow: none !important;
    }

    .name-tag {
        position: static !important;
        margin-top: 12px !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .sambutan-text {
        width: 100% !important;
    }

    .sambutan-text span {
        display: block !important;
        font-size: 12px !important;
        margin-bottom: 8px !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }

    .sambutan-text h2 {
        font-size: 24px !important;
        line-height: 1.35 !important;
        margin: 0 0 12px !important;
        text-align: center !important;
    }

    .sambutan-text .line {
        margin: 0 auto 18px !important;
        width: 70px !important;
    }

    .sambutan-text p {
        font-size: 14px !important;
        line-height: 1.9 !important;
        text-align: left !important;
        margin-bottom: 14px !important;
    }

    .quote-icon {
        text-align: center !important;
        margin-top: 8px !important;
    }

    /* pengumuman jadi 1 kolom */
    .announcement-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        margin-top: 20px !important;
    }

    .announcement-card {
        border-radius: 18px !important;
    }

    .a-img {
        height: 190px !important;
    }

    .a-content {
        padding: 16px !important;
    }

    .a-content h4 {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .a-content p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    /* alumni */
    .alumni-section {
        padding-top: 32px !important;
    }

    .alumni-slider {
        margin-top: 20px !important;
    }

    .alumni-card {
        padding: 22px 16px !important;
    }

    .alumni-text {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }

    /* kontak */
    .kontak-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .kontak-info-box,
    .kontak-form {
        padding: 18px !important;
        border-radius: 18px !important;
    }

    .input-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* footer */
    .main-footer {
        padding-top: 36px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding-bottom: 28px !important;
    }

    .footer-logo {
        width: 130px !important;
    }

    .footer-col h4 {
        margin-bottom: 18px !important;
    }

    /* back to top */
    .back-to-top {
        width: 42px !important;
        height: 42px !important;
        right: 16px !important;
        bottom: 16px !important;
    }
}

@media (max-width: 768px) {
    .sambutan-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .sambutan-img {
        flex: 0 0 38% !important;
        max-width: 38% !important;
        position: relative !important;
    }

    .sambutan-img img {
        width: 100% !important;
        height: auto !important;
        border-radius: 16px !important;
        box-shadow: none !important;
        object-fit: cover !important;
    }

    .name-tag {
        position: static !important;
        margin-top: 10px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .name-tag h4 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .name-tag p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .sambutan-text {
        flex: 1 !important;
        max-width: 62% !important;
    }

    .sambutan-text span {
        text-align: left !important;
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .sambutan-text h2 {
        text-align: left !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    .sambutan-text .line {
        margin: 0 0 14px 0 !important;
        width: 56px !important;
    }

    .sambutan-text p {
        font-size: 13px !important;
        line-height: 1.8 !important;
        text-align: justify !important;
        margin-bottom: 10px !important;
    }

    .quote-icon {
        text-align: left !important;
        margin-top: 6px !important;
    }
}

/* =========================
   PROFILE SEKOLAH - FIX HP
   ========================= */
@media (max-width: 768px) {
    .profile-hero {
        padding: 36px 0 !important;
        margin-bottom: 20px !important;
    }

    .profile-hero h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

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

    .content-card {
        padding: 20px !important;
        border-radius: 18px !important;
        margin-bottom: 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .card-header {
        gap: 10px !important;
        margin-bottom: 16px !important;
        flex-wrap: wrap !important;
    }

    .card-header i {
        font-size: 24px !important;
    }

    .highlight-text {
        font-size: 16px !important;
        line-height: 1.7 !important;
        padding-left: 12px !important;
        margin-bottom: 18px !important;
        text-align: justify !important;
    }

    .content-card p {
        font-size: 14px !important;
        line-height: 1.8 !important;
        text-align: justify !important;
    }

    .history-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .history-info {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px !important;
        border-radius: 16px !important;
    }

    .history-info h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    .history-info ul,
    .history-info li,
    .history-info p {
        font-size: 14px !important;
        line-height: 1.8 !important;
        text-align: justify !important;
    }
}

/* =========================
   PROFILE SEKOLAH - DESKTOP JUSTIFY
   ========================= */
.highlight-text,
.content-card p,
.history-info p,
.history-info li {
    text-align: justify;
}

/* =========================
   KONTAK SECTION - FIX HP
   ========================= */
@media (max-width: 768px) {
    .kontak-section,
    .kontak-wrapper,
    .kontak-info-box,
    .kontak-form,
    .content-card {
        box-sizing: border-box !important;
    }

    .kontak-section .container,
    .kontak-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kontak-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 20px !important;
    }

    .kontak-info-box,
    .kontak-form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }

    .kontak-form h2,
    .kontak-info-box h2,
    .kontak-section h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .form-group {
        margin-bottom: 18px !important;
    }

    .form-group label {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .form-group input,
    .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 16px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    .form-group textarea {
        min-height: 140px !important;
    }

    .btn-kirim {
        width: 100% !important;
        max-width: 220px !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    .info-item {
        gap: 12px !important;
        margin-bottom: 18px !important;
    }

    .info-item i {
        font-size: 1.2rem !important;
        margin-top: 2px !important;
    }

    .info-item h4 {
        font-size: 15px !important;
    }

    .info-item p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
}