:root {
  --primary: #046307;
  --colour1: #328E6E;
  --colour2: #67AE6E;
  --colour3: #90C67C;
  --colour4: #E1EEBC;
  --accent: #d4af37;
  --bg: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #f3f3f3;
}

/* RESET DASAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 7%;
  background-color: rgba(255, 255, 255, 1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Kiri */
.navbar-left .home-link {
  background-color: var(--colour1);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.navbar-left .home-link:hover {
  background-color: transparent;
  color: var(--colour2);
  border: 2px solid var(--colour2);
}

/* Tengah */
.navbar-center {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}

.navbar-center .navbar-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transform: scale(1.5);
  transform-origin: center;
}
.navbar-center .navbar-text h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

.navbar-center .navbar-text h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

/* Kanan */
.navbar-right .login-btn {
  background-color: var(--colour1);
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.navbar-right .login-btn:hover {
  background-color: transparent;
  color: var(--colour2);
  border: 2px solid var(--colour2);
}

/* Responsif */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 5%;
  }

  .navbar-center .navbar-logo-img {
    width: 40px;
    height: 40px;
  }

  .navbar-center .navbar-text h1 {
    font-size: 1.1rem;
  }

  .navbar-center .navbar-text h2 {
    font-size: 0.9rem;
  }

  .navbar-right .login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 115px;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -20px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 10%, rgba(255, 255, 255, 0) 90%);
}

.hero .content {
  position: absolute;
  bottom: 12%;
  text-align: center;
  color: white;
  z-index: 10;
}

.hero .content .cta {
  margin-top: 5rem;
  display: inline-block;
  padding: 0.5rem 2.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 4rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.hero .content .cta:hover {
  background-color: #90C67C;
  border-color: #90C67C;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Tombol Download Brosur – Same style as .cta */
.download-brosur-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 4rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.download-brosur-btn:hover {
  background-color: var(--colour3);
  border-color: var(--colour3);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}


/* ABOUT */
.about {
  padding: 8rem 7% 5rem;
  background: linear-gradient(180deg, #E8F4E0 0%, #C8E1C0 100%);
  text-align: center;
}

.about h2 {
  display: inline-block;
  background: var(--colour1);
  color: #fff;
  padding: 0.6rem 2.5rem;
  border-radius: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about h2 span {
  color: #fff;
}

.about p {
  color: #333;
  font-size: 1rem;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Kotak utama */
.about-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: var(--colour1);
}

.about-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/Corak 1.png") center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.about-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(72, 134, 90, 0.35);
  z-index: 1;
}

.about-box * {
  position: relative;
  z-index: 2;
}

/* Foto Abi di kiri */
.about-img {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  background: none;
}

/* Teks di kanan */
.about-text {
  flex: 1 1 55%;
  text-align: center;
}

.about-text .title-box {
  display: inline-block;
  background-color: #E1EEBC;
  color: var(--colour1);
  padding: 0.6rem 2.5rem;
  border-radius: 3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ffffff;
  text-align: justify;
  margin-bottom: 2rem;
}

/* VISI & MISI LIST STYLE */
.visi-list, .misi-list {
  list-style: none;
  padding-left: 0;
}

.visi-list li, .misi-list li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ffffff;
  text-align: justify;
}

.visi-list li::before,
.misi-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  background: url("../img/Logo Checklist.png") no-repeat center center;
  background-size: contain;
  opacity: 0.95;
}

/* Responsif */
@media (max-width: 768px) {
  .about-box {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 90%;
    margin: 0 auto;
  }

  .about-text {
    flex: 1 1 100%;
  }
}

/* PROGRAM UNGGULAN SECTION */
.program {
  padding: 6rem 7%;
  background: linear-gradient(180deg, #E8F4E0 0%, #ffffff 100%);
}

.program-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Kotak besar kiri */
.program-main {
  flex: 1 1 55%;
  background: 
    linear-gradient(to bottom, #328E6E, transparent 0%, transparent 60%, #328E6E),
    linear-gradient(180deg, #67AE6E 0%, #67AE6E 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--colour1);
}

.program-main .program-title {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--colour1);
  color: #fff;
  padding: 0.6rem 2.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.7rem;
}

.program-main .program-icon {
  width: 100px;
  margin: 2.5rem auto 1rem;
  display: block;
}

.program-main p {
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Dua kotak kecil kanan */
.program-side {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.program-box {
  background: 
    linear-gradient(to bottom, #328E6E, transparent 0%, transparent 60%, #328E6E),
    linear-gradient(180deg, #67AE6E 0%, #67AE6E 100%);
  color: #fff;
  border-radius: 1.2rem;
  padding: 0.5rem 1rem;
  text-align: center;
  flex: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--colour1);
}

.program-box .program-icon-small {
  width: 100px;
  margin-bottom: 1rem;
}

.program-box p {
  font-size: 1.5rem;
  line-height: 0.6;
}

/* Responsif */
@media (max-width: 768px) {
  .program-container {
    flex-direction: column;
    align-items: center;
  }

  .program-main,
  .program-box {
    width: 100%;
  }

  .program-main .program-title {
    font-size: 1rem;
    top: -0.9rem;
  }
}

/* FASILITAS SECTION */
.fasilitas {
  padding: 6rem 7%;
  background: linear-gradient(180deg, #E8F4E0 0%, #C8E1C0 100%);
  text-align: center;
}

.section-title {
  text-align: center;
  background: var(--colour1);
  color: white;
  padding: 0.6rem 2.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.6rem;
  display: inline-block;
  margin: 0 auto 2rem;
}

.fasilitas-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.fasilitas-box {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 5px solid #fff;
}

.fasilitas-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.fasilitas-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fasilitas-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  border-radius: 0 0 1.5rem 1.5rem;
  pointer-events: none;
  z-index: 1;
}

.fasilitas-box h3,
.fasilitas-box p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 2;
  text-align: center;
}

.fasilitas-box h3 {
  bottom: 3.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.fasilitas-box p {
  bottom: 1rem;
  font-size: 0.9rem;
  width: 90%;
}

/* --- Grid Positioning --- */
.fasilitas-box:nth-child(1) { grid-column: 1; grid-row: 1; aspect-ratio: 1/1; }
.fasilitas-box:nth-child(2) { grid-column: 2; grid-row: 1; aspect-ratio: 1/1; }
.fasilitas-box:nth-child(3) { grid-column: 3; grid-row: 1; aspect-ratio: 1/1; }

.fasilitas-box:nth-child(4) {
  grid-column: 1 / span 2;
  grid-row: 2;
  justify-self: start;
  width: 71%;
  aspect-ratio: 2 / 1;
}

.fasilitas-box:nth-child(5) {
  grid-column: 2 / span 2;
  grid-row: 2;
  justify-self: end;
  width: 71%;
  aspect-ratio: 2 / 1;
}

/* Responsif */
/* --- Tablet --- */
@media (max-width: 900px) {
  .fasilitas-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  /* Posisi: 1 2 / 3 4 / 5 */
  .fasilitas-box:nth-child(1) { grid-column: 1; grid-row: 1; }
  .fasilitas-box:nth-child(2) { grid-column: 1; grid-row: 2; }
  .fasilitas-box:nth-child(3) { grid-column: 1; grid-row: 3; }
  .fasilitas-box:nth-child(4) { grid-column: 1; grid-row: 4; 
    justify-self: center;
    width: 100%;}
  .fasilitas-box:nth-child(5) { grid-column: 1; grid-row: 5;
    justify-self: center;
    width: 100%;
  }

  /* Teks agar proporsional */
  .fasilitas-box h3 {
    font-size: 1.1rem;
    bottom: 2.2rem;
  }
  .fasilitas-box p {
    font-size: 0.8rem;
    bottom: 0.8rem;
  }
}

/* --- HP --- */
@media (max-width: 600px) {
  .fasilitas-container {
    grid-template-columns: 1fr;
  }

  .fasilitas-box {
    width: 100%;
  }

  .fasilitas-box img {
    height: auto;
  }

  .fasilitas-box h3 {
    font-size: 1rem;
    bottom: 2rem;
  }
  .fasilitas-box p {
    font-size: 0.75rem;
    bottom: 0.6rem;
  }
}

/* INFORMASI SECTION */
.informasi {
  padding: 8rem 7% 5rem;
  background: linear-gradient(180deg, #E8F4E0 0%, #C8E1C0 100%);
  text-align: center;
}

.informasi h2 {
  display: inline-block;
  background: var(--colour1);
  color: #fff;
  padding: 0.6rem 2.5rem;
  border-radius: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.informasi h2 span {
  color: #fff;
}

.informasi p {
  color: #333;
  font-size: 1rem;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.video-slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 3rem auto;
}

.video-track {
  display: flex;
  transition: transform 0.6s ease;
}

.video-item {
  min-width: 100%;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.video-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

/* Overlay logo YouTube di tengah */
.youtube-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.youtube-overlay img {
  width: 70px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-item:hover .youtube-overlay img {
  transform: scale(1.1);
  opacity: 1;
}

/* Tombol navigasi kiri–kanan */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  transition: background 0.3s ease;
  z-index: 5;
}

.slide-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slide-btn.prev {
  left: 15px;
}

.slide-btn.next {
  right: 15px;
}

@media (max-width: 768px) {
  .youtube-overlay img {
    width: 50px;
  }
}

/* BANNER AJAKAN DAFTAR */
.daftar-banner {
  position: relative;
  text-align: center;
  margin: 2rem auto;
  padding: 1 1rem;
  max-width: 1000px;
  border-radius: 3rem;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(1);
}

/* Teks & tombol di atas gambar */
.banner-text {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  text-align: right;
  color: #fff;
  z-index: 2;
}

.banner-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Tombol mirip Hero Section */
.banner-text .cta-btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 4rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.banner-text .cta-btn:hover {
  background-color: #90C67C;
  border-color: #90C67C;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Responsif */
@media (max-width: 768px) {
  .banner-text {
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
  }

  .banner-text h3 {
    font-size: 1.4rem;
  }

  .banner-text .cta-btn {
    font-size: 1rem;
    padding: 0.7rem 2rem;
  }
}

/* CONTACT SECTION */
.contact {
  padding: 6rem 7%;
  background: linear-gradient(180deg, #E8F4E0 0%, #C8E1C0 100%);
  text-align: center;
}

.contact h2 {
  display: inline-block;
  background: var(--colour1);
  color: #fff;
  padding: 0.6rem 2rem;
  border-radius: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact p {
  color: #333;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2rem;
}

.contact .map {
  flex: 1 1 45rem;
  border: none;
  border-radius: 1rem;
  height: 350px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1 1 35rem;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.wa-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #25d366;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 0.3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.wa-btn:hover {
  background-color: #1ebe5d;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.wa-icon {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

/* SOSIAL MEDIA LINK */
.social-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  background: #f8f8f8;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  transition: all 0.3s ease;
}

.social-link i {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.social-link:hover {
  background-color: #1ebe5d;
  color: #fff;
  transform: scale(1.05) translateX(5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

.social-link:hover i {
  color: #fff;
}

/* FOOTER */
footer {
  font-size: 1.1rem;
  text-align: center;
  background: var(--colour1);
  color: white;
  padding: 15px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .info-card {
    flex-direction: column;
  }
  .info-card img {
    width: 100%;
    height: 200px;
  }
  .info-card-content {
    width: 100%;
  }
  .contact .row {
    flex-direction: column;
  }
}

@media (max-width: 1366px) {
  html {
    font-size: 80%;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 60%;
  }
}