* {
  box-sizing: border-box;
}
body {
  font-family: Arial;
  padding: 10px;
  background: #f1f1f1;
}
/* Header/Blog Title */
.header {
  padding: 0px;
  text-align: center;
  background: white;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
    float: left;
    width: 70%;
    position: relative;
    z-index: 1;
  }
  
  .rightcolumn {
    float: left;
    width: 30%;
    padding-left: 20px;
    z-index: 1;
    top: 20px;
  }


/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}


/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

.card iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* Footer */
.footer {
  padding: 0px;
  text-align: center;
  background: #ddd;
  margin-top: 0px;
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}


/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}


/* Style the navbar */
/* Style the navbar */
#navbar {
  overflow: hidden;
  background-color: #444;
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;

}




.dropdown {
  float: left;
  overflow: hidden;
}


.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}


.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: black;
}


.dropdown-content {
  display: none;
  position: absolute;
  background-color: black;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}


.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}


.dropdown-content a:hover {
  background-color: blue;
}


.dropdown:hover .dropdown-content {
  display: block;
}
/* Page content */
.content {
  padding: 16px;
}


/* The sticky class is added to the navbar with JS when it reaches its scroll position */



.footer {
   width: 100%;
   background-color: rgb(20, 87, 20);
   color: white;
   text-align: center;
   padding: 10px;
   margin-top: 20px;
}




/*tidak dipakai
/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
}


/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}


/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}


.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.my-float{
	margin-top:16px;
}

/* PROFIL BOX */
.profil-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    line-height: 1.7;
    transition: 0.3s;
}

/* efek hover biar hidup */
.profil-box:hover {
    transform: translateY(-5px);
}

/* JUDUL UTAMA */
.profil-box h2 {
    text-align: center;
    color: #1b5e20;
    margin-bottom: 20px;
    font-size: 28px;
    position: relative;
}

/* garis bawah keren */
.profil-box h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #4caf50;
    margin: 8px auto;
    border-radius: 2px;
}

/* SUB JUDUL */
.profil-box h3 {
    color: #2e7d32;
    margin-top: 20px;
    margin-bottom: 8px;
    border-left: 5px solid #4caf50;
    padding-left: 10px;
}

/* PARAGRAF */
.profil-box p {
    text-align: justify;
    color: #333;
}

/* LIST MISI */
.profil-box ul {
    padding-left: 20px;
    margin-top: 10px;
}

.profil-box ul li {
    margin-bottom: 8px;
    padding: 8px;
    background: #f1f8f4;
    border-left: 4px solid #4caf50;
    border-radius: 5px;
    transition: 0.2s;
}

/* efek hover list */
.profil-box ul li:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

/* GARIS PEMISAH */
.profil-box hr {
    border: none;
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}

/* RESPONSIVE BIAR GA KEPOTONG */
@media screen and (max-width: 600px) {
    .profil-box {
        padding: 15px;
    }

    .profil-box h2 {
        font-size: 22px;
    }
}
/* ABOUT CARD */
.about-card {
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* hover effect */
.about-card:hover {
    transform: translateY(-5px);
}

/* JUDUL */
.about-card h2 {
    text-align: center;
    color: #1b5e20;
    margin-bottom: 10px;
}

/* TEKS */
.about-text {
    font-size: 14px;
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

/* LIST FITUR */
.about-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.about-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
}

/* hover item */
.about-item:hover {
    background: #dcedc8;
    transform: translateX(5px);
}

/* ICON */
.icon {
    font-size: 20px;
    margin-right: 10px;
}

/* TEXT ITEM */
.about-item p {
    margin: 0;
    font-size: 14px;
    color: #2e7d32;
    font-weight: bold;
}

/* GALERI */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

/* GALERI */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

/* hover */
.gallery img:hover {
    transform: scale(1.05);
}

/* MODAL (zoom gambar) */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

/* SLIDER */
.slider {
    position: relative;
    max-width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

/* SEMUA GAMBAR */
.slide {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: none;
}

/* GAMBAR AKTIF */
.slide.active {
    display: block;
}

/* TOMBOL */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

/* posisi tombol */
.prev { left: 10px; }
.next { right: 10px; }

/* hover */
.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}

/* CONTAINER */
.contact-container {
    padding: 20px;
}

.contact-container h2 {
    text-align: center;
    color: #1b5e20;
    margin-bottom: 20px;
}

/* BOX FLEX */
.contact-box {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* KIRI (INFO) */
.contact-info {
    flex: 1;
    background: #e8f5e9;
    padding: 15px;
    border-radius: 10px;
}

/* KANAN (FORM) */
.contact-form {
    flex: 1;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* FORM INPUT */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* TEXTAREA */
.contact-form textarea {
    height: 100px;
    resize: none;
}

/* BUTTON */
.contact-form button {
    margin-top: 10px;
    padding: 10px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #388e3c;
}

/* LINK WA */
.contact-info a {
    color: #1b5e20;
    text-decoration: none;
    font-weight: bold;
}

/* RESPONSIVE */
@media screen and (max-width: 700px) {
    .contact-box {
        flex-direction: column;
    }
}

.ppdb{
    padding: 50px 10%;
    background: #f4f8f3;
}

.ppdb h2{
    text-align: center;
    margin-bottom: 30px;
    color: #2e7d32;
}

.ppdb-container{
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.brosur{
    width: 320px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.ppdb-info{
    flex: 1;
}

.ppdb-info p{
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.ppdb-button{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn,
.wa-btn{
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.download-btn{
    background: #2e7d32;
}

.download-btn:hover{
    background: #256428;
}

.wa-btn{
    background: #25D366;
}

.wa-btn:hover{
    background: #1da851;
}

.keunggulan-container {
  display: grid;

  /* 2 card per baris */
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
  margin-top: 30px;
}

.keunggulan-card {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 15px;

  /* Pembatas */
  border: 2px solid #dfeee2;
  border-top: 6px solid #1d6b2f;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);

  transition: 0.3s;
  text-align: center;
}

.keunggulan-card:hover {
  transform: translateY(-8px);
  border-color: #1d6b2f;
  background: #f1fff3;
}

/* SECTION */
.statistik-section{
    padding: 60px 20px;
    text-align: center;
}

/* JUDUL */
.statistik-section h2{
    color: #1b5e20;
    font-size: 32px;
    margin-bottom: 10px;
}

.statistik-sub{
    color: #666;
    margin-bottom: 40px;
}

/* CONTAINER */
.statistik-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

/* CARD */
.statistik-card{
    background: white;
    padding: 30px 20px;
    border-radius: 20px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.statistik-card:hover{
    transform: translateY(-10px);
}

/* LINGKARAN */
.circle{
    width: 130px;
    height: 130px;

    border-radius: 50%;

    margin: auto;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: bold;
    color: #1b5e20;

    position: relative;
}

/* EFEK DIAGRAM */
.circle::before{
    content: "";
    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;
    border: 10px solid #dcedc8;
}

.circle::after{
    content: "";
    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;
    border: 10px solid transparent;

    transform: rotate(-90deg);
}

/* WARNA PERSENTASE */
.siswa::after{
    border-top: 10px solid #4caf50;
    border-right: 10px solid #4caf50;
    border-bottom: 10px solid #4caf50;
}

.guru::after{
    border-top: 10px solid #2196f3;
    border-right: 10px solid #2196f3;
}

.prestasi::after{
    border-top: 10px solid #ff9800;
    border-right: 10px solid #ff9800;
    border-bottom: 10px solid #ff9800;
}

.ekskul::after{
    border-top: 10px solid #9c27b0;
    border-right: 10px solid #9c27b0;
    border-bottom: 10px solid #9c27b0;
}

/* ANGKA STATISTIKA*/
.circle span{
    position: relative;
    z-index: 2;
}

/* TEXT */
.statistik-card h3{
    color: #2e7d32;
    margin-bottom: 10px;
}

.statistik-card p{
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* STRUKTUR ORGANISASI */
.organisasi-box{
    margin-top: 25px;
    text-align: center;
}

.organisasi-img{
    width: 100%;
    max-width: 1200px; /* diperbesar */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

/* efek hover */
.organisasi-img:hover{
    transform: scale(1.01);
}

/* RESPONSIVE */
@media screen and (max-width: 768px){
    .organisasi-img{
        width: 100%;
    }
}

/* RINCIAN BIAYA PPDB */
.ppdb-price-gallery {
    display: grid;

    /* 2 gambar per baris */
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
    margin-top: 20px;
}

/* gambar */
.ppdb-price-gallery img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s;
    cursor: pointer;
}

/* hover */
.ppdb-price-gallery img:hover {
    transform: scale(1.03);
}

/* responsive HP */
@media screen and (max-width: 700px) {
    .ppdb-price-gallery {
        grid-template-columns: 1fr;
    }
}

.contact-form h3 {
    color: #1b5e20;
    font-size: 25px;
    margin-bottom: 20px;
    text-align: center;
}

/* JUDUL */
.judul-ekskul{
    text-align: center;
    color: #1b5e20;
    margin-bottom: 30px;
    font-size: 30px;
}

/* CONTAINER */
.ekskul-container{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* CARD */
.ekskul-card{
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.ekskul-card:hover{
    transform: translateY(-5px);
}

/* GAMBAR UTAMA */
.ekskul-card > img{
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* TEXT */
.ekskul-text{
    padding: 20px;
}

.ekskul-text h3{
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 24px;
}

.ekskul-text p{
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

/* FOTO KEGIATAN */
.foto-kegiatan{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.foto-kegiatan img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.foto-kegiatan img:hover{
    transform: scale(1.03);
}

/* RESPONSIVE */
@media screen and (max-width:700px){

    .foto-kegiatan{
        grid-template-columns: 1fr;
    }

    .ekskul-card > img{
        height: 220px;
    }

    .judul-ekskul{
        font-size: 24px;
    }
}