@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* =========================
   RESET
========================= */

*{
  box-sizing: border-box;
}

/* =========================
 BODY
========================= */

body{
  margin: 0;
  background-color: #f1f1f1;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
}

/* =========================
 HEADER
========================= */

.header{
  padding: 0;
  text-align: center;
  background: white;
}
.header img{
  width: 100%;
  height: 350px;
}

/* =========================
 NAVBAR
========================= */

#navbar{
  overflow: hidden;
  background: linear-gradient(135deg, #346739, #79AE6F);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

#navbar a{
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 18px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
}

#navbar a:hover{
  background-color: black;
  border-radius: 5px;
}

/* =========================
 DROPDOWN
========================= */

.dropdown{
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn{
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 18px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
  font-weight: bold;
}

.dropdown:hover .dropbtn{
  background-color: black;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a{
  float: none;
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: 0.3s;
  text-align: left;
}

.dropdown-content a:hover{
  background-color: #346739;
  color: white;
}

.dropdown:hover .dropdown-content{
  display: block;
}

/* =========================
 ROW
========================= */

.row::after{
  content: "";
  display: table;
  clear: both;
}

/* =========================
 LEFT & RIGHT COLUMN
========================= */

.leftcolumn{
  float: left;
  width: 72%;
  padding: 0px 10px 0px 20px;
}

.rightcolumn{
  float: left;
  width: 28%;
  padding: 0px 20px 0px 10px;
}

/* =========================
 CARD
========================= */

.card{
  background-color: white;
  padding: 30px;
  margin-top: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: 0.4s;
}

/* HOVER CARD */

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* LEFT CARD */

.leftcolumn .card{
  border-top: 6px solid #346739;
}

.leftcolumn .card:hover{
  transform: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* RIGHT CARD */

.rightcolumn .card{
  display: flex;
  flex-direction: row;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff, #f7f7f7);
  border-left: 5px solid #346739;
}

.rightcolumn .card:hover {
  transform: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
 JUDUL
========================= */

.card h1{
  text-align: center;
  color: #346739;
  margin-bottom: 30px;
  font-size: 35px;
}

.card h2{
  display: table;
  margin: 0 auto 15px auto;
  color: #346739;
  margin-bottom: 15px;
  font-size: 28px;
  position: relative;
}

.card h2::after{
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #346739, #79AE6F);
  border-radius: 10px;
  margin-top: 8px;
}

.card h5{
  color: gray;
  margin-bottom: 20px;
  font-style: italic;
}

/* =========================
 PARAGRAF
========================= */

.card p{
  text-align: justify;
  line-height: 1.9;
  font-size: 16px;
  color: #333;
}

/* =========================
 LIST
========================= */

.card ul{
  padding-left: 25px;
}

.card ul li{
  margin-bottom: 12px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

/* =========================
 FAKE IMAGE
========================= */

.fakeimg{
  width: 100%;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  background: linear-gradient(135deg, #346739, #79AE6F);
  color: white;
  font-size: 18px;
  font-weight: bold;
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.2);
}

/* =========================
 FOOTER
========================= */

.footer{
  padding: 15px;
  text-align: center;
  background: #555;
  color: white;
  margin-top: 20px;
}

/* =========================
 FLOAT WHATSAPP
========================= */

.float{
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 100;
}

.my-float{
  margin-top: 16px;
}

/* =========================
 STICKY NAVBAR
========================= */

.sticky{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.sticky + .content{
  padding-top: 70px;
}

/* =========================
 KEUNGGULAN SEKOLAH
========================= */

.keunggulan-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.keunggulan-box{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #346739, #79AE6F);
  color: white;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.4s;
  cursor: pointer;
}

.keunggulan-box:hover{
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.keunggulan-box::before{
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
}

.keunggulan-box::after{
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.keunggulan-icon{
  font-size: 45px;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 2;
}

.keunggulan-box h3{
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.keunggulan-box p{
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.ekstrakurikuler{
  gap: 25px;
  margin-top: 40px;
}

/* =========================
 PROGRAM KEAHLIAN
========================= */

/* .judul-jurusan{
  text-align: center;
  color: #008000;
  margin-bottom: 35px;
  font-size: 32px;
} */

.program-keahlian{
  margin-top: 40px;
}

.jurusan-container{
  display: grid;
  margin-top: 25px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.jurusan-box{
  position: relative;
  overflow: hidden;
  background: white;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  /* box-shadow: 0 8px 20px rgba(0,0,0,0.1); */
  transition: 0.4s;
  /* border-top: 6px solid #008000; */
}

.jurusan-box:hover{
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.icon-jurusan{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90px;
  height: 90px;
  line-height: 90px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #346739, #79AE6F);
  font-size: 40px;
  color: white;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(52, 103, 57, 0.3);
}

.jurusan-box h3{
  color: #346739;
  margin-bottom: 15px;
  font-size: 24px;
}

.jurusan-box p{
  color: #444;
  line-height: 1.8;
  font-size: 15px;
  text-align: center;
}

/* =========================
 RESPONSIVE
========================= */

@media screen and (max-width: 800px){

  .leftcolumn,
  .rightcolumn{
      width: 100%;
      padding: 0;
  }

  .rightcolumn{
      margin-top: 20px;
  }

  .card{
      padding: 20px;
  }

  .card h1{
      font-size: 28px;
  }

  .card h2{
      font-size: 20px;
  }

  /* .judul-jurusan{
      font-size: 26px;
  } */
}

@media screen and (max-width: 400px){

  #navbar a{
      float: none;
      width: 100%;
  }
}