*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Segoe UI;
}

html, body{
width: 100%;
max-width: 100%;
overflow-x: hidden !important;
}

body{
position: relative;
}

/* ============================= */
/* HERO SLIDER */
/* ============================= */
.hero{
height:100vh;
position:relative;
overflow:hidden;

display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
}

/* CONTAINER SLIDE */
.slides{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

/* TIAP SLIDE */
.slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;

opacity:0;
transition:opacity 1s ease-in-out, transform 6s ease;

/* TAMBAHAN */
transform:scale(1);
}

/* AKTIF */
.slide.active{
opacity:1;
transform:scale(1.1);
}

/* OVERLAY */
.hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
z-index:1;
}

/* ANIMASI TEXT */
.hero-text{
transition:all 0.6s ease;
opacity:1;
transform:translateY(0);
}

/* saat discroll */
.hero-text.hide{
opacity:0;
transform:translateY(-50px);
}

.hero-text h1{
font-size:48px;
margin-bottom:10px;
}

.hero-text p{
font-size:20px;
}

@media (max-width: 768px){
.hero{
height:90vh;
}
.hero-text h1{
font-size:32px;
}
.hero-text p{
font-size:16px;
}
}

/* HEADER */
header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:1000;
}

/* ============================= */
/* NAVBAR DESKTOP */
/* ============================= */
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding-top:18px;
padding-bottom:18px;
padding-left:10px;
padding-right:40px;
background:transparent;
transition:
background 0.3s ease,
padding 0.3s ease,
box-shadow 0.3s ease;
border-bottom:1px solid white;
}

/* Navbar saat di-scroll (desktop) */
.navbar.scrolled{
background: radial-gradient(
circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%
) !important;
box-shadow:0 10px 30px rgba(0,0,0,0.12);
border-bottom:1px solid rgba(255,255,255,0.15);
}

@media screen and (max-width: 768px){
.navbar.scrolled{
background-color: #ffffff !important;
background-image: none !important;
border-bottom: 1px solid #e5e5e5 !important;
box-shadow: none !important;
}
}

/* ============================= */
/* LOGO */
/* ============================= */
.logo{
color: white;
font-size: 22px;
font-weight: bold;
}

.logo-area{
display: flex;
align-items: center;
gap: 10px;
margin-left: 0;
}

.logo-img{
width: 55px;
height: 55px;
}

.logo-text{
font-size: 20px;
font-weight: bold;
color: white; /* putih di desktop */
transition: 0.3s;
}

.logo-link{
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
}

/* ============================= */
/* RESPONSIVE MOBILE */
/* ============================= */
@media screen and (max-width: 768px){

    /* Navbar selalu putih dan menyatu dengan canvas menu */
    .navbar{
        position: relative;
        justify-content: center;
        padding: 14px 20px;

        /* Samakan persis dengan warna canvas hamburger */
        background: #ffffff !important;

        /* Border abu-abu tipis yang sama dengan menu */
        border-bottom: 1px solid #e5e5e5;

        min-height: 80px;

        /* Hilangkan semua bayangan */
        box-shadow: none !important;
    }

    /* Walaupun JS menambahkan .scrolled, tetap putih */
    .navbar.scrolled{
        background: #ffffff !important;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: none !important;
    }

    /* Logo dan nama sekolah di mobile */
    .logo-area{
        margin: 0 auto;
        justify-content: center;
    }

    .logo-link{
        justify-content: center;
    }

    /* Warna nama sekolah di mobile */
    .logo-text{
        color: #0a2d23 !important;
        font-size: 18px;
    }

    /* Ukuran logo di mobile */
    .logo-img{
        width: 42px;
        height: 42px;
    }
}

/* ============================= */
/* MOBILE KECIL */
/* ============================= */
@media screen and (max-width: 480px){

    .logo-img{
        width: 36px;
        height: 36px;
    }

    .logo-text{
        font-size: 15px;
    }
}

/* ============================= */
/* MENU */
/* ============================= */
.menu{
    list-style: none;
    display: flex;
    gap: 35px;
}

.menu li{
    position: relative;
    padding-bottom: 10px;
    transition: 0.3s;
}

/* ========================================= */
/* MENU DESKTOP */
/* ========================================= */
.menu > li > a{
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.menu > li > a:hover{
    color: #f4c542;
}

.menu li.active > a{
    color: #f4c542;
}

/* Ubah warna menu menjadi gelap di mobile */
@media screen and (max-width: 768px){
    .menu > li > a{
        color: #222;
    }
}

/* ============================= */
/* DROPDOWN */
/* ============================= */
.dropdown{
    position: relative;
}

/* Menu dropdown desktop */
.dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 240px;
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease;
}

/* Tampil saat hover */
.dropdown:hover .dropdown-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Item dropdown desktop */
.dropdown-menu li a{
    display: block;
    padding: 12px 16px;
    color: black;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s;
}

/* Hover dropdown */
.dropdown-menu li a:hover{
    color: #f4c542;
    background: #f9f9f9;
}

/* ========================================= */
/* MENU MOBILE (HAMBURGER) */
/* ========================================= */
@media screen and (max-width: 768px){

/* Menu utama dalam sidebar */
.menu > li > a{
font-size: 12px !important;
font-weight: 700;
padding: 14px 25px;
letter-spacing: 0.2px;
color: #222;
}

/* Submenu dalam sidebar */
.dropdown-menu li a{
font-size: 11px !important;
font-weight: 600;
padding: 10px 40px;
color: #444;
}
}

/* ========================================= */
/* MOBILE KECIL */
/* ========================================= */
@media screen and (max-width: 480px){

.menu > li > a{
font-size: 11px !important;
padding: 12px 20px;
}

.dropdown-menu li a{
font-size: 10px !important;
padding: 9px 35px;
}
}

/* HERO TEXT */
.hero-text h1{
font-size:48px;
letter-spacing:2px;
color:white;
}

.hero-text p{
font-size:20px;
font-weight: bold;
margin-top:10px;
letter-spacing:2px;
color:white;
}

/* ===================================== */
/* HERO PPDB */
/* ===================================== */
.ppdb-hero{
height:100vh;

background:
linear-gradient(rgba(0,0,0,0.55),
rgba(0,0,0,0.55)),
url("../IMG/foto-bersama.jpg");
background-size:cover;
background-position:center;
background-attachment:fixed;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
overflow:hidden;
}

/* overlay glow */
.ppdb-hero::before{
content:"";
position:absolute;
width:500px;
height:500px;
background:rgba(26,188,156,0.15);
border-radius:50%;
filter:blur(100px);
top:-150px;
left:-100px;
}

/* content */
.hero-content{
position:relative;
z-index:2;
padding:20px;
animation:fadeHero 1s ease;
}

@keyframes fadeHero{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.hero-content h1{
font-size:58px;
font-weight:800;
color:white;
line-height:1.2;
margin-bottom:15px;
text-shadow:0 5px 20px rgba(0,0,0,0.3);
}

.hero-content h2{
font-size:34px;
color:#f4c542;
margin-bottom:15px;
letter-spacing:2px;
}

.hero-content p{
font-size:20px;
color:white;
margin-bottom:35px;
letter-spacing:1px;
}

/* BUTTON */
.btn-daftar{
display:inline-flex;
align-items:center;
gap:10px;
padding:16px 34px;
background:transparent;
color:white;
font-size:15px;
font-weight:bold;
border-radius:50px;
text-decoration:none;
border:2px solid white;
position:relative;
transition:
0.35s ease,
background 0.4s ease,
color 0.3s ease;
box-shadow:
0 10px 25px rgba(0,0,0,0.12);
}

.btn-daftar:hover{
background: radial-gradient(circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%);
color:white;
box-shadow:
0 0 30px rgba(45,106,79,0.35);
}

/* ===================================== */
/* INFORMASI PPDB */
/* ===================================== */
.ppdb-info{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
padding:80px 40px;
background:white;
}

.section-title{
text-align:center;
font-size:34px;
color:#063b2e;
margin-bottom:60px;
position:relative;
}

.section-title::after{
content:"";
width:70px;
height:3px;
background: radial-gradient(circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%);
display:block;
margin:10px auto;
}

/* CARD INFORMASI */
.info-container{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
}

.info-card{
background:white;
padding:35px 28px;
border-radius:24px;
text-align:center;
position:relative;
overflow:hidden;
box-shadow:
0 10px 30px rgba(0,0,0,0.08);
transition:0.35s ease;
}

/* glow */
.info-card::before{
content:"";
position:absolute;
width:180px;
height:180px;
background: radial-gradient(circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%);
border-radius:50%;
top:-70px;
right:-70px;
transition:0.4s;
}

.info-card:hover{
transform:translateY(-8px);
box-shadow:
0 0 30px rgba(45,106,79,0.25);
}

.info-card:hover::before{
transform:scale(1.2);
}

/* icon */
.info-card .icon{
width:85px;
height:85px;
margin:auto auto 25px;
display:flex;
justify-content:center;
align-items:center;
border-radius:50%;
background: radial-gradient(circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%);
box-shadow:
0 10px 25px rgba(0,0,0,0.12);
}

.info-card .icon i{
font-size:34px;
color:white;
}

.info-card h3{
font-size:24px;
color:#0a2d23;
margin-bottom:14px;
}

.info-card p{
font-size:15px;
line-height:1.8;
color:#555;
}

/* ===================================== */
/* ALUR PENDAFTARAN */
/* ===================================== */
.alur-section{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
padding:80px 40px;
text-align:center;
background: radial-gradient(circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%);
}

.alur-section .section-title{
color:white;
}

.alur-section .section-title::after{
background:white;
}

.alur-container{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
}

.alur-card{
background:white;
padding:35px 28px;
border-radius:24px;
text-align:center;
box-shadow:
0 10px 30px rgba(0,0,0,0.08);
transition:0.35s ease;
}

.alur-card:hover{
transform:translateY(-8px);
box-shadow:
0 0 30px rgba(255,255,255,0.18);
}

/* nomor */
.alur-card span{
width:70px;
height:70px;
margin:auto auto 22px;
display:flex;
justify-content:center;
align-items:center;
border-radius:50%;
background: radial-gradient(circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%);
color:white;
font-size:28px;
font-weight:bold;
box-shadow:
0 8px 20px rgba(0,0,0,0.15);
}

.alur-card h3{
font-size:22px;
color:#0a2d23;
margin-bottom:14px;
}

.alur-card p{
font-size:15px;
line-height:1.8;
color:#555;
}

/* ===================================== */
/* CTA */
/* ===================================== */
.cta-section{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:80px 20px;
text-align:center;
background:white;
position:relative;
overflow:hidden;
}

/* glow */
.cta-section::before{
content:"";
position:absolute;
width:350px;
height:350px;
background: radial-gradient(circle at top right,
rgba(45,106,79,0.15) 0%,
rgba(10,45,35,0.10) 45%,
rgba(4,27,21,0.06) 100%);
border-radius:50%;
filter:blur(90px);
top:-120px;
right:-120px;
}

.cta-section h2{
font-size:42px;
color:#0a2d23;
margin-bottom:20px;
position:relative;
z-index:2;
}

.cta-section p{
font-size:18px;
line-height:1.8;
color:#555;
margin-bottom:35px;
position:relative;
z-index:2;
}

/* tombol */
.btn-cta{
display:inline-flex;
align-items:center;
gap:10px;
padding:16px 34px;
background:white;
color:#0a2d23;
font-weight:bold;
font-size:15px;
border-radius:50px;
text-decoration:none;
position:relative;
z-index:2;
border:2px solid #0a2d23;
transition:
0.35s ease,
background 0.4s ease,
color 0.3s ease;
box-shadow:
0 10px 25px rgba(0,0,0,0.08);
}

.btn-cta:hover{
background: radial-gradient(
circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%
);
color:white;
box-shadow:
0 0 30px rgba(45,106,79,0.35);
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */
@media(max-width:900px){
.ppdb-info,
.alur-section,
.cta-section{
min-height:auto;
}

.info-container,
.alur-container{
grid-template-columns:1fr;
}
}

@media(max-width:768px){
.ppdb-info,
.alur-section,
.cta-section{
padding:80px 20px;
}

.section-title{
font-size:30px;
}

.cta-section h2{
font-size:30px;
}

.cta-section p{
font-size:16px;
}
}

/* ============================= */
/* FOOTER */
/* ============================= */
.footer{
background: radial-gradient(circle at top right,
#2d6a4f 0%,
#0a2d23 45%,
#041b15 100%);
color:white;
padding-top:70px;
}

/* CONTAINER */
.footer-container{
width:100%;
padding:0 40px 50px;
}

/* LOGO */
.footer-logo{
display:flex;
align-items:center;
gap:12px;
margin-bottom:20px;
}

.footer-logo img{
width:50px;
height:50px;
}

.footer-logo h3{
font-size:24px;
font-weight:bold;
}

/* TEXT */
.footer-about p{
line-height:1.8;
color:white;
margin-bottom:25px;
max-width:500px;
}

/* SOSMED BULAT */
.footer-sosmed{
display:flex;
gap:15px;
padding-top:20px;
margin-top:20px;
border-top:1px dashed white;
width:100%;
max-width:450px;
}

.footer-sosmed a{
width:45px;
height:45px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid white;
border-radius:50%;
color:white;
font-size:18px;
transition:0.3s;
}

/* FACEBOOK */
.footer-sosmed a:nth-child(1):hover{
color:#1877F2;
border-color:#1877F2;
}

/* INSTAGRAM */
.footer-sosmed a:nth-child(2):hover{
color:#E4405F;
border-color:#E4405F;
}

/* YOUTUBE */
.footer-sosmed a:nth-child(3):hover{
color:#FF0000;
border-color:#FF0000;
}

/* COPYRIGHT */
.footer-bottom{
text-align:center;
padding:18px;
border-top:1px solid white;
font-size:14px;
color:white;
}

/* RESPONSIVE */
@media(max-width:900px){
.footer-container{
text-align:center;
}

.footer-logo{
justify-content:center;
}

.footer-sosmed{
justify-content:center;
}

.footer-about p{
margin:auto;
}
}

/* ========================================= */
/* HAMBURGER MENU */
/* ========================================= */
.hamburger{
display: none;
background: none;
border: none;
color: black;
font-size: 18px;
font-weight: bold;
cursor: pointer;
z-index: 3001;
transition: 0.3s;
padding: 0;
line-height: 1;
font-family: Arial, sans-serif;
}

.hamburger:hover{
transform: scale(1.1);
}

/* ========================================= */
/* RESPONSIVE MOBILE */
/* ========================================= */
@media screen and (max-width: 768px){
.navbar{
position: relative !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
height: 80px !important;
min-height: 80px !important;
padding: 0 !important;
margin: 0 !important;
background: #ffffff !important;
border-bottom: 1px solid #e5e5e5 !important;
box-shadow: none !important;
}

.hamburger{
display:block;
position:absolute;
left:20px;
top:50%;
transform:translateY(-50%);
font-size: 18px;
z-index:3001;
color:black;
background:none;
border:none;
}

.hamburger:hover{
transform:translateY(-50%) scale(1.05);
}

.hamburger.active{
color:black;
}

.logo-area{
position: absolute !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;   
width: 100% !important;
height: 100% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
padding: 0 !important;
pointer-events: none !important;
z-index: 2000 !important;
}

.logo-link{
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 10px !important;
margin: 0 !important;
padding: 0 !important;
text-decoration: none !important;
white-space: nowrap !important;
pointer-events: auto !important;
}

.logo-img{
width: 42px !important;
height: 42px !important;
flex-shrink: 0 !important;
}

.logo-text{
font-size: 18px !important;
font-weight: 700 !important;
color: black !important;
line-height: 1 !important;
white-space: nowrap !important;
text-align: center !important;
}

/* ========================================= */
/* MENU CANVAS DARI ATAS (TINGGI OTOMATIS) */
/* ========================================= */
 .menu{
display: flex !important;
flex-direction: column !important;
position: fixed !important;
top: 80px !important;
left: 0 !important;
width: 100% !important;
transform: translateY(-100%) !important;
opacity: 0 !important;
visibility: hidden !important;
height: auto !important;
max-height: calc(100vh - 80px) !important;
background: #ffffff !important;
padding: 0 !important;
margin: 0 !important;
gap: 0 !important;
list-style: none !important;
overflow-y: auto !important;
box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
transition:
transform 0.35s ease,
opacity 0.35s ease !important;
z-index: 2999 !important;
}

.menu.active{
transform: translateY(0) !important;
opacity: 1 !important;
visibility: visible !important;
}

.menu > li > a{
color: #222 !important;
}

.menu li:last-child{
border-bottom: none;
}

.menu > li > a{
display: block;
color: #222;
font-size: 12px !important;
font-weight: 700;
padding: 16px 20px;
letter-spacing: 0.2px;
text-decoration: none;
}

.menu > li > a:hover{
background: #f7f7f7;
color: #f4c542;
}

/* ========================================= */
/* DROPDOWN MOBILE */
/* ========================================= */
.dropdown-menu{
position: static;
opacity: 1;
visibility: visible;
transform: none;
display: none;
background: #f9f9f9;
box-shadow: none;
border-radius: 0;
min-width: 100%;
}

.dropdown.active .dropdown-menu{
display: block;
}

.dropdown-menu li a{
padding: 10px 40px;
font-size: 11px !important;
font-weight: 600;
color: #444;
}

.dropdown-menu li a:hover{
color: #f4c542;
background: #f7f7f7;
}

.hero-text h1{
font-size: 34px;
line-height: 1.2;
}

.hero-text p{
font-size: 16px;
letter-spacing: 1px;
}
}

/* ========================================= */
/* MOBILE KECIL */
/* ========================================= */
@media screen and (max-width: 480px){
.logo-img{
width: 36px !important;
height: 36px !important;
}

.logo-text{
font-size: 15px !important;
}

.hamburger{
left: 15px !important;
font-size: 18px !important;
}
}

/* ===================================== */
/* RESPONSIVE HERO PPDB - MOBILE */
/* ===================================== */
@media screen and (max-width: 768px){
.hero-content h1{
font-size: 34px !important;
line-height: 1.2 !important;
}

.hero-content h2{
font-size: 16px !important;
letter-spacing: 1px !important;
}

.hero-content p{
font-size: 16px !important;
letter-spacing: 1px !important;
}
}

/* ===================================== */
/* MOBILE KECIL */
/* ===================================== */
@media screen and (max-width: 480px){
.hero-content h1{
font-size: 28px !important;
line-height: 1.2 !important;
}

.hero-content h2{
font-size: 14px !important;
}

.hero-content p{
font-size: 14px !important;
}
}

/* ============================= */
/* SAMAKAN FOOTER DENGAN INDEX */
/* ============================= */

.footer{
padding-top:70px !important;
}


.footer-container{
width:100%;
padding:0 40px 50px !important;
}


.footer-logo{
display:flex;
align-items:center;
gap:12px;
margin-bottom:20px;
}


.footer-logo img{
width:50px;
height:50px;
}


.footer-logo h3{
font-size:24px;
font-weight:bold;
}


.footer-about p{
line-height:1.8;
color:white;
margin-bottom:25px;
max-width:500px;
}


.footer-sosmed{
display:flex;
gap:15px;
padding-top:20px;
margin-top:20px;
border-top:1px dashed white;
width:100%;
max-width:450px;
}


.footer-bottom{
text-align:center;
padding:18px;
border-top:1px solid white;
font-size:14px;
color:white;
}



/* MOBILE */
@media(max-width:900px){

.footer-container{
text-align:center;
}


.footer-logo{
justify-content:center;
}


.footer-sosmed{
justify-content:center;
}


.footer-about p{
margin:auto;
}

}


/* MOBILE KECIL */
@media(max-width:600px){


.footer{
padding-top:40px !important;
}


.footer-container{
padding:0 20px 30px !important;
}


.footer-logo{
flex-direction:column;
justify-content:center;
align-items:center;
gap:8px;
}


.footer-logo img{
width:45px;
height:45px;
}


.footer-logo h3{
font-size:17px;
}


.footer-about p{
font-size:13px;
line-height:1.7;
max-width:300px;
margin:0 auto 20px;
}


.footer-sosmed{
justify-content:center;
gap:12px;
max-width:100%;
}


.footer-sosmed a{
width:40px;
height:40px;
font-size:16px;
}


.footer-bottom{
font-size:12px;
padding:15px 10px;
}

}