/* FILE: style.css */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f7f8f7;
color:#222;
}

header{
position:fixed;
top:0;
left:0;
right:0;
z-index:999;
background:rgba(6,60,28,.88);
backdrop-filter:blur(10px);
}

.navbar{
max-width:1200px;
margin:auto;
padding:14px 18px;
display:flex;
justify-content:space-between;
align-items:center;
}

.brand{
display:flex;
align-items:center;
gap:12px;
text-decoration:none;
color:#fff;
}

.brand b{
display:block;
font-size:17px;
}

.brand span{
font-size:13px;
opacity:.8;
}

.logo{
width:50px;
height:50px;
background:#fff;
padding:4px;
border-radius:14px;
object-fit:contain;
}

.menu{
display:flex;
gap:10px;
list-style:none;
}

.menu a{
color:#fff;
text-decoration:none;
padding:10px 14px;
border-radius:10px;
font-weight:600;
}

.menu a:hover{
background:rgba(255,255,255,.1);
}

.menu-btn{
display:none;
font-size:32px;
color:#fff;
cursor:pointer;
}

/* HERO */

.hero{
min-height:100vh;
background:
linear-gradient(rgba(0,40,18,.7),rgba(0,60,25,.75)),
url('gedung.png') center/cover;
position:relative;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:100px 20px 40px;
}

.overlay{
position:absolute;
inset:0;
background:linear-gradient(rgba(0,40,18,.72),rgba(0,60,25,.75));
}

.hero-content{
position:relative;
z-index:2;
max-width:900px;
color:#fff;
animation:up 1s ease;
}

.hero-logo{
width:130px;
background:rgba(255,255,255,.12);
padding:14px;
border-radius:24px;
margin-bottom:20px;
backdrop-filter:blur(10px);
}

.mini-title{
font-size:15px;
letter-spacing:2px;
text-transform:uppercase;
opacity:.9;
margin-bottom:12px;
}

.hero h1{
font-size:58px;
line-height:1.12;
margin-bottom:16px;
font-weight:800;
}

.hero-text{
font-size:21px;
max-width:760px;
margin:auto;
margin-bottom:26px;
opacity:.95;
}

.hero-action{
display:flex;
justify-content:center;
gap:14px;
flex-wrap:wrap;
}

.btn{
padding:15px 28px;
border-radius:40px;
text-decoration:none;
font-weight:700;
}

.gold{
background:#ffd54a;
color:#111;
}

.white{
border:2px solid #fff;
color:#fff;
}

/* CONTENT */

.wrap{
max-width:1150px;
margin:auto;
padding:70px 20px;
}

.stats .wrap{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:22px;
}

.card{
background:#fff;
padding:30px;
border-radius:24px;
box-shadow:0 10px 25px rgba(0,0,0,.07);
text-align:center;
}

.card h2{
font-size:42px;
color:#0a7a38;
margin-bottom:8px;
}

.welcome{
background:#eef4ef;
}

.box{
background:#fff;
padding:40px;
border-radius:28px;
box-shadow:0 10px 28px rgba(0,0,0,.08);
text-align:center;
}

.box h2{
font-size:34px;
margin-bottom:16px;
color:#0a7a38;
}

.box p{
font-size:18px;
line-height:1.8;
margin-bottom:16px;
}

.box h3{
font-size:22px;
}

footer{
background:#072f18;
color:#fff;
text-align:center;
padding:24px;
}

/* MOBILE */

@media(max-width:768px){

.menu-btn{
display:block;
}

.menu{
display:none;
position:absolute;
top:78px;
left:0;
right:0;
background:#0b6d35;
flex-direction:column;
padding:14px;
}

.menu.show{
display:flex;
}

.hero-logo{
width:95px;
}

.hero h1{
font-size:34px;
}

.hero-text{
font-size:17px;
}

.btn{
width:100%;
max-width:290px;
}

.box{
padding:26px;
}

.box h2{
font-size:28px;
}

}

/* ANIMASI */

@keyframes up{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* ================= UPGRADE PREMIUM ================= */

/* HERO LEBIH HIDUP */
.hero{
animation:fadeUp 1s ease;
}

/* LOGO HALUS */
.hero-logo{
transition:0.3s;
}
.hero-logo:hover{
transform:scale(1.05);
}

/* CARD LEBIH HIDUP */
.stat-box, .card{
transition:0.3s;
}
.stat-box:hover, .card:hover{
transform:translateY(-6px);
box-shadow:0 15px 30px rgba(0,0,0,0.12);
}

/* BUTTON LEBIH PREMIUM */
.btn-main, .btn-primary, .btn-gold{
box-shadow:0 8px 18px rgba(0,0,0,0.2);
}
.btn-main:hover, .btn-primary:hover, .btn-gold:hover{
transform:translateY(-4px) scale(1.03);
}

/* NAVBAR LEBIH HALUS */
.navbar{
transition:0.3s;
}

.logo{
border-radius:12px !important;
}

.keunggulan .grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:20px;
}

.cta{
background:#0b7a39;
color:white;
text-align:center;
padding:60px 20px;
}

.cta h2{
margin-bottom:10px;
}

/* ===== PROFIL PREMIUM ===== */

.guru-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:22px;
margin-top:20px;
}

.guru-card{
background:#fff;
padding:22px;
border-radius:20px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.guru-card:hover{
transform:translateY(-8px);
box-shadow:0 18px 35px rgba(0,0,0,0.12);
}

.guru-card img{
width:100px;
height:100px;
border-radius:50%;
object-fit:cover;
margin-bottom:12px;
border:4px solid #0b7a39;
}

/* ================= GURU PREMIUM ================= */

.guru-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
margin-top:30px;
}

.guru-card{
background:#fff;
border-radius:20px;
padding:25px 20px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.3s;
position:relative;
overflow:hidden;
}

.guru-card::before{
content:"";
position:absolute;
top:0;
left:0;
right:0;
height:5px;
background:linear-gradient(90deg,#0b7a39,#14b85c);
}

.guru-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.guru-card img{
width:100px;
height:100px;
border-radius:50%;
object-fit:cover;
margin-bottom:15px;
border:4px solid #eaf7f0;
}

.guru-card h3{
font-size:18px;
margin-bottom:6px;
color:#222;
}

.guru-card p{
font-size:14px;
color:#777;
}

/* Mobile lebih rapat */
@media(max-width:768px){
.guru-card{
padding:20px 15px;
}

.guru-card img{
width:85px;
height:85px;
}
}

.container{
max-width:1150px;
margin:auto;
padding:120px 20px 70px;
}

.hero-profil{
margin-top:80px;
}

/* ===== SEJARAH + FOTO PENDIRI ===== */

.sejarah-wrap{
display:flex;
gap:30px;
align-items:center;
flex-wrap:wrap;
}

.sejarah-foto{
flex:1;
text-align:center;
}

.sejarah-foto img{
width:220px;
height:220px;
object-fit:cover;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.sejarah-text{
flex:2;
}

.sejarah-text h2{
margin-bottom:15px;
color:#0b7a39;
}

/* MOBILE */
@media(max-width:768px){
.sejarah-wrap{
flex-direction:column;
text-align:center;
}

.sejarah-foto img{
width:180px;
height:180px;
}
}

/* ===== FIX FINAL SEJARAH PREMIUM ===== */

.sejarah-wrap{
display:flex;
gap:50px;
align-items:center;
justify-content:center;
flex-wrap:wrap;
}

/* FOTO LEBIH TENGAH & ELEGAN */
.sejarah-foto{
flex:1;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}

.sejarah-foto img{
width:230px;
height:230px;
object-fit:cover;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.18);
transition:0.3s;
}

.sejarah-foto img:hover{
transform:scale(1.05);
}

/* NAMA DI BAWAH FOTO (JIKA ADA) */
.sejarah-foto p{
margin-top:10px;
font-weight:600;
color:#333;
}

/* TEKS LEBIH RAPI */
.sejarah-text{
flex:2;
max-width:650px;
}

.sejarah-text h2{
margin-bottom:15px;
color:#0b7a39;
font-size:30px;
}

/* INI YANG KAMU MAU: JUSTIFY */
.sejarah-text p{
text-align:justify;
line-height:1.9;
font-size:17px;
color:#444;
}

/* MOBILE BIAR TETAP BAGUS */
@media(max-width:768px){
.sejarah-wrap{
flex-direction:column;
text-align:center;
gap:25px;
}

.sejarah-text{
max-width:100%;
}

.sejarah-text p{
text-align:justify;
}

.sejarah-foto img{
width:180px;
height:180px;
}
}

.angka{
display:inline-block;
background:#ffffff;
color:#0b7a39;
padding:10px 16px;
border-radius:14px;
margin:5px;
font-weight:bold;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
min-width:70px;
}

@keyframes pop{
from{
transform:scale(0.7);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}

.countdown{
margin-top:25px;
font-size:26px;
font-weight:600;
color:#ffd700;
letter-spacing:1px;
background:none;
box-shadow:none;
}

/* POPUP BROSUR */
.popup{
display:none;
position:fixed;
z-index:9999;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
justify-content:center;
align-items:center;
animation:fadeIn 0.3s;
}

.popup-content{
background:#fff;
padding:20px;
border-radius:15px;
text-align:center;
max-width:700px;
width:90%;
animation:zoomIn 0.3s;
}

.popup-content img{
width:100%;
border-radius:10px;
margin-bottom:15px;
}

.close{
position:absolute;
top:20px;
right:30px;
color:white;
font-size:30px;
cursor:pointer;
}

/* ANIMASI */
@keyframes fadeIn{
from{opacity:0;}
to{opacity:1;}
}

@keyframes zoomIn{
from{transform:scale(0.7);}
to{transform:scale(1);}
}

.angka{
display:inline-block;
background:#fff;
color:#0b7a39;
padding:10px 16px;
border-radius:14px;
margin:5px;
font-weight:bold;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
min-width:70px;
}

@keyframes zoomIn{
from{
transform:scale(0.7);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}
