
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* GALLERY STYLING */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* TESTIMONI */
.testimoni-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimoni-cards {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.testimoni-card {
    flex: 0 0 calc((100% - 40px)/3); /* 3 card visible */
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimoni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimoni-card p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimoni-card h4 {
    text-align: right;
    font-weight: bold;
    color: #1e293b;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .testimoni-card {
        flex: 0 0 45%; /* 2 card visible */
    }
}

@media (max-width: 768px) {
    .testimoni-card {
        flex: 0 0 90%; /* 1 card visible */
    }
}

body {
    line-height: 1.6;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: #1e293b;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header .logo img {
    width: 320px; /* ukuran desktop */
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .header .logo img {
        width: 270px; /* ukuran mobile */
    }
}


.logo {
    font-size: 20px;
}

/* NAV */
.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    font-weight: 600;
}

.nav a {
    color: #fff;
    text-decoration: none;
}

.nav a.active {
    border-bottom: 2px solid #38bdf8;
}

/* MENU TOGGLE */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* MOBILE MENU */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #0f172a;
        padding-top: 20px;
        transition: 0.3s;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }

    .nav.show {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* HERO */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh; /* full screen */
    padding: 20px;
    background-image: url('img/jumbotron-bg2.webp'); /* ganti dengan background kamu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    margin-bottom: -35px;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2563eb;
    color: #fff;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.hero-btn:hover {
    background-color: #1d58d8ff;
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero-logo {
        width: 100px;
        margin-bottom: 15px;
    }
}


/* CONTENT */
.content {
    padding: 65px 40px;  /* tambahkan sedikit padding kiri-kanan */
    width: 100%;
    margin: 0 auto;
}


/* FOOTER */
.footer {
    background: #1e293b;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* SCROLL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* SECTION BACKGROUND */
.section-light {
    background-color: #ffffff;
}

.section-gray {
    background-color: #f8fafc; /* abu-biru sangat lembut */
}

/* Section Title Center */
.section-title {
    text-align: left;
    font-size: 1.7rem;
    margin-bottom: 20px;
    position: relative;
    font-weight: 600;
    color: #1e293b;
    text-transform: uppercase;
}
/* Garis di bawah judul */
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #38bdf8;
    margin-top: -5px;
    border-radius: 2px;
}


/* PROGRAM KELAS PAKET */
.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
/* Card styling */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-content: space-between; /* agar button tetap di bawah */
    text-align: center;             /* semua teks di tengah */
   
}

.card {
    position: relative;
}

/* PRICE WRAPPER */
.card .price {
    display: none;
    text-align: center;
    margin: 15px 0;
}

/* Header */
.price-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

/* Harga */
.price-value {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 18px;
    font-weight: 700;
    color: #d32525ff;
    font-style: italic;
}

/* Catatan */
.price-note {
    margin-top: 8px;
    font-size: 13px;
    color: #777;
    font-style: italic;

}

/* Hover effect */
.card:hover .desc {
    display: none;
}


.card:hover .price {
    display: block;
}


.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
   
}

/* Card khusus */
.card img.kelas {
    height: 250px;
}

.card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
}
.card p {
    margin-bottom: 15px;
    margin-left:25px;
    margin-right:25px;
    text-align:left;
}

.card-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 5px 20px;
    border: 2px solid #25d366;
    background-color: #fff;
    color: #25d366;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}

.card-btn:hover {
    color:#fff;
    background-color: #27c762ff;
    transform: scale(1.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Program More Center */
.program-more {
    margin-top: 40px;
    display: flex;
    justify-content: center;  /* center horizontal */
}

/* Wrapper center */
.more-center {
    display: flex;
    justify-content: center; /* tombol di tengah horizontal */
    margin-top: 20px;
}

/* Tombol More / Less baru */
.more-less-btn {
    padding: 5px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #007bff;
    background-color: #fff;
    color: #007bff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-less-btn:hover {
    background-color: #007bff;
    color: #fff;
}

.more-btn {
    display: inline-block;
    padding: 5px 20px;
    border: 2px solid #007bff;
    background-color: #fff;
    color: #007bff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}

.more-btn:hover {
    background-color: #1d58d8ff;
    color: #fff;
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .program-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .program-cards {
        grid-template-columns: 1fr;
    }
}

/* OVERLAY */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    /* z-index: 900; */
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* NAV HEADER MOBILE */
.nav-header {
    display: none;
}

@media (max-width: 768px) {
    .nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5px 20px;
        color: #fff;
        font-size: 18px;
    }

    .close-btn {
        background: none;
        border: none;
        font-size: 22px;
        color: #fff;
        cursor: pointer;
    }
}
/* FLOATING WHATSAPP - FIXED & MOBILE SAFE */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 99999; /* selalu di atas */
    text-decoration: none;
    transition: transform 0.2s ease;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    
}

/* HOVER (desktop only feel) */
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* MOBILE EXTRA SAFETY */
@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: calc(24px + env(safe-area-inset-bottom));
    }
}

/* =========================
   BIAYA KELAS - FINAL
========================= */

/* Desktop table */
.table-wrapper {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.price-table thead {
  background: #ff5722;
  color: #fff;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
}

.price-table tbody tr:nth-child(even) {
  background: #f3f4f6;
}

/* Mobile card mode */
@media (max-width: 768px) {
  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    margin-bottom: 16px;
    border-radius: 14px;
    background: #f9fafb;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    padding: 12px;
  }

  .price-table tr:nth-child(even) {
    background: #eef4ff;
  }

  .price-table td {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }

  .price-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #374151;
  }
}

/* Note */
.price-note {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  color: #6b7280;
}

/* CONTACT */

/* Social */
.contact-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.contact-social a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.contact-social .website {
  font-size: 16px;
}

/* Lokasi */
.location-grid {
  display: grid;
  gap: 24px;
}

.location-card {
  border-radius: 16px;
  overflow: hidden;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.location-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.location-card h3 {
  margin: 16px 16px 4px;
  font-size: 18px;
}

.location-card p {
  margin: 0 16px 16px;
  font-size: 14px;
  color: #6b7280;
}

/* Button */
.location-btn {
  display: flex;
  gap: 12px;
  padding: 0 16px 16px;
  flex-wrap: wrap;
}

.btn {
  flex: 1;
  padding: 5px 14px;
  font-size: 14px;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.btn.wa {
  border: 2px solid #25d366;
  background-color: #fff;
  color: #25d366;
}

.btn.wa:hover {
  background-color: rgba(37, 211, 115, 1);
  color: #fff;
}

.btn.maps {
  border: 2px solid #2563eb;
  background-color: #fff;
  color: #2563eb;
}

.btn.maps:hover {
  background-color: #2564ebe8;
  color: #fff;
}

/* Desktop */
@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================
   LOGIN / AUTH
========================= */
.login-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc; /* sama seperti section-gray */
    padding: 20px;
}

.login-section form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #1e293b;
}

.login-section input[type="text"],
.login-section input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.login-section button {
    width: 100%;
    padding: 12px;
    background-color: #ff5722;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.login-section button:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}

/* Error message */
.login-section #errorMsg {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #dc2626; /* merah terang */
}

/* ABOUT TEXT */
.about-text p {
    font-size: 1rem;
    color: #1e293b; /* warna teks utama */
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-text ul.about-features {
    list-style: none; /* hapus bullet default */
    padding-left: 0;
    /* margin-top: 20px; */
}

.about-text ul.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #374151; /* teks sedikit lebih lembut */
    margin-bottom: 8px;
}

/* Icon check */
.about-text ul.about-features li i {
    color: #25d366; /* hijau sesuai WhatsApp float atau bisa ganti sesuai tema */
    font-size: 16px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* teks lebih dominan */
    gap: 30px;
    align-items: start;
}

/* Container gambar */
.about-images {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top:-40px;
}

/* Gambar besar */
.about-images img.large {
    width: 100%;
    height: 280px; /* ⬅ lebih besar dari sebelumnya */
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.about-images img.large:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 3 gambar kecil */
.small-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.small-images img {
    width: 100%;
    height: 110px; /* ⬅ sedikit lebih tinggi agar seimbang */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.small-images img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Mobile */
@media (max-width: 768px) {
    .about-wrap {
        grid-template-columns: 1fr;
    }

    .about-images {
       margin-top:1px;
    }

    .about-images img.large {
        height: 220px; /* tetap lebih besar di mobile */
    }

    .small-images img {
        height: 90px;
    }
    .about-text p {
        font-size: 0.95rem;
    }
    .about-text ul.about-features li {
        font-size: 0.9rem;
    }
}



/* INFO PANEL */
.info-section {
    margin-top: -30px; /* biar naik ke tengah hero & about */
    padding: 0 20px;
    margin-bottom: 4px;
}

.info-panel {
    background: #fff;
    max-width: 1100px;
    margin: auto;
    padding: 20px 20px;
    border-radius: 12px;

    /* layered shadow */
    box-shadow:
        0 12px 30px rgba(0,0,0,0.12),
        0 4px 10px rgba(0,0,0,0.08);
}

.info-panel h3 {
    color:#1e293b;
    text-align: center;
    font-size: 26px;
}

.info-panel hr {
    width: 80px;
    height: 3px;
    background: #ff5722;
    border: none;
    margin: 10px auto 30px;
}

.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.info-col {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-col img {
    width: 55px;
}

.info-col h4 {
    color:#1e293b;
    font-size: 17px;
    margin-bottom: 5px;
}

.info-col p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .info-section {
        margin-top: -100px;

    }
}


/* =========================
   TAB PROGRAM KELAS
========================= */

.tab-buttons.left {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 10px 22px;
    border-radius: 25px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.tab-btn:hover {
    background: #1d58d8ff;
    color: #ffffff;
}

/* Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Subtitle */
.sub-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1e293b;
}
