* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #333;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.text-center {
  text-align: center;
}

/* Header */
.header {
  width: 100%;
  background: rgba(255, 255, 255, 0.7); /* Putih transparan */
  backdrop-filter: blur(8px); /* Efek blur kaca */
  -webkit-backdrop-filter: blur(8px); /* Untuk Safari */
  color: #004aad;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}


.logo-title h1 {
  color: #004aad; /* Biru */
  font-weight: bold;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}


.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 30px;
  width: 30px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  color: #004aad; /* Biru */
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #f59e0b; /* Warna hover elegan (kuning keemasan) */
}

.language-switch {
  display: flex;
  gap: 10px;
  margin-left: 20px;
  cursor: pointer;
}

.language-switch .fi {
  font-size: 15px;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.2s;
}

.language-switch .fi:hover {
  transform: scale(1.2);
}


/* === MENU TOGGLE SIMPEL === */
.menu-toggle {
  display: none; /* Hanya tampil di mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  position: relative;
  z-index: 1001; /* Supaya di atas menu */
  transition: transform 0.3s ease;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #004aad; /* Biru brand */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Saat Toggle Aktif */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0; /* Hilang garis tengah */
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Efek Hover */
.menu-toggle:hover span {
  background: #f59e0b; /* Kuning keemasan saat hover */
}

/* Hanya muncul di layar kecil */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}


@media (max-width: 768px) {
  /* Menu default tersembunyi */

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 1000;
  }

  .nav-menu {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    color: #004aad;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-menu a:hover {
    color: #f59e0b;
  }
}

  /* Tombol hamburger muncul */
  .menu-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: url('images/japan.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-align: center;
  line-height: 1.4;
  word-break: keep-all; 
}

.hero p {
  margin-bottom: 20px;
  color: #dce4f0;
}

/* Tombol Utama */
.btn-primary {
  display: inline-block;
  padding: 12px 35px;
  background: linear-gradient(135deg, #004aad, #0077ff);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 74, 173, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efek Hover */
.btn-primary:hover {
  background: linear-gradient(135deg, #0077ff, #004aad);
  box-shadow: 0 6px 15px rgba(0, 74, 173, 0.4);
  transform: translateY(-2px);
}

/* Efek Klik */
.btn-primary:active {
  transform: scale(0.97);
}

.btn-hero {
  font-size: 1.1rem;
  padding: 14px 40px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #001a4d;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

.btn-hero:hover {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  box-shadow: 0 6px 15px rgba(250, 204, 21, 0.5);
  transform: translateY(-2px);
}

/* Tombol Khusus WhatsApp */
.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 4px 10px rgba(18, 140, 126, 0.3);
}

.btn-wa:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
  box-shadow: 0 6px 15px rgba(18, 140, 126, 0.4);
}

/* Tombol Lihat Selengkapnya */
.btn-more {
  display: inline-block;
  padding: 12px 35px;
  color: #004aad;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #004aad;
  border-radius: 50px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-more:hover {
  background: #004aad;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 74, 173, 0.4);
}


/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #004aad;
  margin-top: 20px;
  margin-bottom: 20px;
}


.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 90px;
  align-items: center;
  margin-top: 30px;
}

.about-text {
  flex: 2;
  min-width: 280px;
}

.about-text blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: #004aad;
  margin-bottom: 30px;
  text-align: justify;
}

.about-text p {
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* === PROFIL DIREKTUR === */
.direktur-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px; /* ✅ Tambahkan jarak bawah */
  background: linear-gradient(135deg, #f7faff, #eaf3ff);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.direktur-photo {
  flex: 1 1 250px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.direktur-photo img {
  max-width: 250px;
  width: 100%;
  border-radius: 10px; /* ✅ Sudut kotak agak melengkung agar rapi */
  border: 4px solid #004aad; /* Biru elegan */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Bayangan lembut */
  object-fit: cover; /* Menjaga proporsi foto */
}


.direktur-info {
  flex: 2 1 400px;
  color: #333;
}

.direktur-info h3 {
  font-size: 1.5rem;
  color: #004aad;
  margin-bottom: 10px;
}

.direktur-info h4 {
  font-size: 1.2rem;
  color: #f59e0b;
  margin-bottom: 15px;
}

.direktur-info p {
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}


/* Responsif untuk HP */
@media (max-width: 768px) {
  .direktur-profile {
    flex-direction: column;
    text-align: center;
  }

  .direktur-info {
    text-align: center;
  }
}

.direktur-profile {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.direktur-profile.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Program Section */
.program {
  padding: 35px 20px;
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.program-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.program-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
  .program-img {
    height: 250px; /* perkecil tinggi gambar */
  }

  .program-card h4 {
    font-size: 1.1rem; /* judul lebih kecil */
  }

  .program-card p {
    font-size: 0.9rem; /* teks lebih kecil */
  }

  /* Grid berubah jadi 1 kolom di HP */
  .program-grid {
    grid-template-columns: 1fr;
  }
}

.program-card h4 {
  font-size: 1.3rem;
  color: #004aad;
  margin-bottom: 15px;
}

/* Pendaftaran */
.pendaftaran {
  padding: 100px 0;
}

.pendaftaran-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.pendaftaran-text {
  flex: 1;
  min-width: 180px;
  text-align: justify;
}

.pendaftaran-text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.pendaftaran-text li {
  margin-bottom: 8px;
}

.info-note {
  font-size: 0.9rem;
  color: #555;
  margin: 10px 0;
}

.testimoni {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

.testimoni-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px;
}

.testimoni-card {
  flex: 0 0 85%; /* Ukuran kartu fleksibel di HP */
  max-width: 300px; /* Maksimal di desktop */
  scroll-snap-align: start;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.testimoni-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px auto;
}
.testimoni-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimoni-img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid #004aad;
}

.testimoni-card p {
  font-style: italic;
  margin-bottom: 50px;
  color: #444;
}

.testimoni-card span {
  display: block;
  font-weight: bold;
  color: #004aad;
}

/* Gallery Section */
.gallery {
  padding: 100px 0;
  background: #f9f9f9;
  text-align: center;
}

.gallery-description {
  color: #555;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* Lightbox Pop-up */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.4s ease;
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.caption {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #facc15;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}


/* Berita Section */
.berita {
  padding: 100px 0;
  background: #fff;
}

.berita-description {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}

.berita-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.berita-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.berita-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.berita-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.berita-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.berita-card h4 {
  font-size: 1.2rem;
  color: #004aad;
  padding: 15px;
}

.berita-card p {
  padding: 0 15px 20px 15px;
  font-size: 0.95rem;
  color: #555;
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
  backdrop-filter: blur(8px); /* Efek kaca */
  -webkit-backdrop-filter: blur(8px);
  color: #004aad; /* Warna teks biru */
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05); /* Bayangan lembut */
  transition: background 0.3s ease;
}

.contact-icons i {
  color: #004aad; /* Biru */
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-icon:hover i {
  color: #f59e0b; /* Hover jadi kuning keemasan */
  transform: scale(1.2);
}

.contact-details p {
  color: #004aad;
}


.contact-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 5px 0;
  
}

.contact-icon {
  font-size: 1.5rem;
  color: white;
  transition: color 0.3s, transform 0.3s;
}

.contact-icon:hover {
  color: #facc15; /* warna kuning elegan */
  transform: scale(1.2);
}

.contact-details p {
  margin: 4px 0;
  font-size: 1rem;
}

.contact-details i {
  margin-right: 4px;
  color: #facc15;
}

/* Footer */
.footer {
  background: #001a4d;
  color: white;
  text-align: center;
  padding: 15px 0;
}



@media (max-width: 768px) {
  /* Hero text lebih kecil di HP */
  .hero h2 {
    font-size: 1.8rem;
  }

  /* Menu navigasi lebih rapat */
  .nav-menu a {
    margin-left: 10px;
    font-size: 0.9rem;
  }

  /* Struktur Organisasi: tampil 1 kolom */
  .struktur-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Gallery: 1 kolom di HP */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Program card padding */
  .program-card {
    padding: 15px;
  }
}

html, body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .logo-title h1 {
    font-size: 1rem;     /* perkecil ukuran teks */
    white-space: nowrap; /* biar tetap satu baris */
  }

  .logo {
    height: 30px;  /* logo ikut dikecilkan */
    width: 30px;
  }

  .logo-title {
    gap: 6px;  /* jarak lebih rapat */
  }


  /* Menu rapat */
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-menu a {
    font-size: 14px;
    margin: 5px;
  }

  /* Supaya tidak tumpang tindih */
  .hero h2 {
    font-size: 1.6rem;
  }
}

/* Gambar di halaman detail berita */
.berita-detail .detail-img {
  width: 100%;
  max-width: 700px;   /* biar tidak terlalu besar di desktop */
  height: auto;
  display: block;
  margin: 0 auto 20px auto; /* center dan kasih jarak bawah */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Tanggal Berita */
.berita-date {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: -10px;
  margin-bottom: 10px;
  padding: 0 15px;
}



