html{
    scroll-behavior:smooth;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;
    background:#ffffff;

}

nav{

    background:#2E8B57;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.logo img {
    width: 60px;
    height: 60px;
}


nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(46,139,87,.95);
    backdrop-filter: blur(12px);
    z-index: 999;

}
nav.scrolled{

    background:#2E8B57;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

}

nav ul{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

nav ul li{
    list-style: none;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover{
    color: #FFD54F;
}
.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:130px 8% 80px;

    background:#f7fbf8;

}

.hero-left h1{
    font-size:58px;
    line-height:1.2;
    color:#2E8B57;
}

.hero-left p{
    font-size:20px;
    color:#555;
    line-height:1.7;
}
.hero-image{
    width:45%;
}

.hero-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.btn{

    padding:16px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

}

.btn:hover{
    background:#1d6b44;
}
.hero-text h4{

    color:#e2a400;

    font-size:20px;

    margin-bottom:15px;

}
.hero-button{

    display:flex;

    gap:20px;

    margin-top:35px;

}
.btn-primary{

    background:#2E8B57;

    color:white;

}

.btn-primary:hover{

    background:#1f6f47;

}

.btn-secondary{

    border:2px solid #2E8B57;

    color:#2E8B57;

}

.btn-secondary:hover{

    background:#2E8B57;

    color:white;

}
.hero-right img{

    width:50%;

    border-radius:25px;

    box-shadow:0 25px 50px rgba(0,0,0,.15);

}
/* ===========================
   TENTANG SEKOLAH
=========================== */

.about{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 100px;

    padding:100px 8%;

}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
    transition: 4ms;
}

.about-image img:hover{
    transform:scale(1.03);
}

.about-text{
    flex:1;
    padding-left:50px;
}

.about-text h5{
    color:#e2a400;
    font-size:18px;
    margin-bottom:10px;
}

.about-text h2{
    font-size:42px;
    color:#2E8B57;
    margin-bottom:20px;
}

.about-text p{
    color:#0d2b07;
    line-height:1.9;
    font-size:17px;
    margin-bottom:35px;
}

.about-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap: 20px;
}

.about-list div{

    background:#77c48a;

    padding:18px;

    border-radius:15px;

    font-weight:600;

    color:#021b0d;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

    transition:.3s;

}

.about-list div:hover{

    background:#2E8B57;

    color:white;

    transform:translateY(-5px);

}
/* ===========================
   RESPONSIVE ABOUT
=========================== */

@media(max-width:768px){

    .about{

        flex-direction:column;

        text-align:center;

        gap:40px;

    }

    .about-text h2{

        font-size:34px;

    }

    .about-list{

        grid-template-columns:1fr;

    }

}
/*==========================
      VISI MISI
==========================*/

.vision{

    padding:100px 8%;

    background:#f8faf8;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h5{

    color:#E2A400;

    font-size:18px;

    margin-bottom:10px;

}

.section-title h2{

    font-size:42px;

    color:#2E8B57;

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:#666;

    line-height:1.8;

}

.vision-card{

    background:white;

    padding:45px;

    border-radius:25px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    margin-bottom:50px;

}

.vision-card h3{

    color:#074722;

    font-size:30px;

    margin-bottom:20px;

}

.vision-card p{

    font-size:19px;

    line-height:1.8;

    color:#555;

}

.mission-grid{

    display:grid;

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

    gap:30px;

}

.mission-item{

    background:#77c48a;

    padding:30px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.mission-item:hover{

    transform:translateY(-8px);

}

.mission-item h4{

    color:#42915a;

    margin-bottom:15px;

    font-size:22px;

}

.mission-item p{

    color:#000000;

    line-height:1.8;

}
@media(max-width:768px){

    .mission-grid{

        grid-template-columns:1fr;

    }

    .section-title h2{

        font-size:34px;

    }

}
/*==========================
    PROGRAM UNGGULAN
==========================*/

.program{

    padding:100px 8%;

    background:white;

}

.program-grid{

    display:grid;

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

    gap:30px;

    margin-top:60px;

}

.program-card{

    background:#f8faf8;

    padding:35px;

    border-radius:20px;

    text-align:center;

    transition:.4s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.program-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.icon{

    font-size:55px;

    margin-bottom:20px;

}

.program-card h3{

    color:#2E8B57;

    margin-bottom:15px;

}

.program-card p{

    color:#666;

    line-height:1.8;

}
/*==========================
        GALERI
==========================*/

.gallery{

    padding:100px 8%;

    background:#f8faf8;

}

.gallery-grid{

    display:grid;

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

    gap:25px;

    margin-top:60px;

}

.gallery-item{

    overflow:hidden;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

    cursor:pointer;

}

.gallery-item img{

    width:100%;

    height:280px;

    object-fit:cover;

    transition:.5s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}
@media(max-width:768px){

    .gallery-grid{

        grid-template-columns:1fr;

    }

}
/*==========================
        KONTAK
==========================*/

.contact{

    padding:100px 8%;

    background:#ffffff;

}

.contact-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    margin-top:60px;

    align-items:center;

}

.contact-info{

    display:grid;

    gap:25px;

}

.contact-card{

    background:#f8faf8;

    padding:25px;

    border-radius:20px;

    box-shadow:0 10px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.contact-card:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 35px rgba(0,0,0,.12);

}

.contact-card h3{

    color:#2E8B57;

    margin-bottom:10px;

}

.contact-card p{

    color:#555;

    line-height:1.8;

}

.contact-map iframe{

    width:100%;

    height:500px;

    border:none;

    border-radius:20px;

    box-shadow:0 15px 30px rgba(0,0,0,.1);

}

.contact-button{

    text-align:center;

    margin-top:50px;

}
@media(max-width:768px){

    .program-grid{

        grid-template-columns:1fr;

    }

    .gallery-grid{

        grid-template-columns:1fr;

    }

    .contact-container{

        grid-template-columns:1fr;

    }

}
/*============================
        DAFTAR
============================*/

.register{

    padding:100px 8%;

    background:#f7fbf8;

}

.register-container{

    display:grid;

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

    gap:30px;

    margin-top:50px;

}

.register-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.register-card h3{

    color:#2E8B57;

    margin-bottom:20px;

}

.register-card ul{

    padding-left:20px;

    line-height:2;

}

.register-button{

    text-align:center;

    margin-top:50px;

}
.btn{
    display:inline-block;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:#2E8B57;
    color:#fff;
}

.btn-primary:hover{
    background:#1f6f47;
}
::selection{
    background:#2E8B57;
    color:white;
}
/*============================
      BACK TO TOP
============================*/

#backToTop{

    position: fixed;

    bottom: 30px;

    right: 30px;

    width: 55px;

    height: 55px;

    border: none;

    border-radius: 50%;

    background: #2E8B57;

    color: white;

    font-size: 24px;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0,0,0,.2);

    z-index: 999;

}

#backToTop:hover{

    background: #256d45;

    transform: translateY(-5px);

}

#backToTop.show{

    opacity: 1;

    visibility: visible;

}