html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

/* MENU NORMAL */
.nav-custom {
  color: #2aa8d9 !important;
  font-weight: 600;
  padding: 10px 22px !important;
  border-radius: 20px;
  transition: 0.3s;
}

/* HOVER */
.nav-custom:hover {
  background: #2aa8d9;
  color: white !important;
}

/* ACTIVE */
.nav-active {
  background: #2aa8d9;
  color: white !important;
  border-radius: 20px;
}

/* DROPDOWN */
.dropdown-menu {
  border-radius: 15px;
}

.dropdown-item {
  padding: 10px 15px;
}

.dropdown-item:hover {
  background: #2aa8d9;
  color: white;
}

/* ===================================
   ABOUT SECTION
=================================== */

.about-section {
    background-image: url("../images/BG.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
}

.about-header {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 40px;
}

.about-main-title,
.about-sub-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.text-visimisi {
    color: #e8ef19;
}

.text-fantastic {
    color: #0099ff;
}

.text-genius {
    color: #eb1e20;
}

.section-title {
    color: #eb1e20;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-paragraph {
    text-align: justify;
    color: #000;
    font-size: 16px;
    line-height: 2;
}

.mission-wrapper {
    margin-top: 30px;
}

.mission-card {
    background: #ffffff;
    border: 2px solid #2aa8d9;
    border-radius: 25px;
    padding: 20px 24px;
    margin-bottom: 18px;
    color: #000;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #0099ff;
}

.history-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.history-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 25px;
    transition: all 0.4s ease;
}

.history-image:hover {
    transform: scale(1.03);
}

/* RESPONSIVE ABOUT */
@media (max-width: 1200px) {
    .about-main-title,
    .about-sub-title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .about-section {
        padding: 80px 0;
    }
    .about-header {
        min-height: auto;
        margin-bottom: 30px;
        text-align: center;
    }
    .about-main-title,
    .about-sub-title {
        font-size: 36px;
    }
    .section-title {
        text-align: center;
    }
    .history-image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .about-main-title,
    .about-sub-title {
        font-size: 30px;
    }
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }
    .about-main-title,
    .about-sub-title {
        font-size: 26px;
    }
}

/* ===================================
   PROGRAM SECTION
=================================== */

.program-section {
    background-image: url("../images/BG.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.program-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
}

.program-icon {
    width: 100px;
    height: auto;
    margin-top: 15px;
    transition: 0.3s;
}

.program-icon:hover {
    transform: rotate(-10deg) scale(1.05);
}

.program-title,
.program-subtitle {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 0;
}

.text-program {
    color: #e8ef19;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

.reason-card {
    background: #2aa8d9;
    color: white;
    border-radius: 20px;
    padding: 30px 20px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.program-card {
    background: #2aa8d9;
    color: white;
    border-radius: 20px;
    padding: 25px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE PROGRAM */
@media (max-width: 992px) {
    .program-title,
    .program-subtitle {
        font-size: 38px;
    }
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .program-title,
    .program-subtitle {
        font-size: 32px;
    }
    .reason-card,
    .program-card {
        min-height: auto;
    }
}
/* ===================================
   PRICE SECTION
=================================== */

.price-section {
    background-image: url("../images/BG.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.price-title {
    color: #eb1e20;
    font-size: 48px;
    font-weight: 700;
}

.price-subtitle {
    font-size: 48px;
    font-weight: 700;
}

.text-black {
    color: #000;
}

.price-card {
    position: relative;
    background: white;
    border: 1.5px solid #000;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    overflow: visible;
    box-shadow: 8px 12px 0px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.discount-badge {
    position: absolute;
    top: -25px;
    right: -25px;
    z-index: 2;
}

.discount-image {
    width: 90px;
    height: auto;
    transition: 0.3s ease;
}

.price-card:hover .discount-image {
    transform: rotate(10deg) scale(1.05);
}

.jenis-kelas {
    color: #e8ef19;
    font-weight: 700;
    margin-bottom: 15px;
}

.keterangan {
    color: #000;
    margin-bottom: 20px;
}

.jenis-paket {
    color: #000;
    font-weight: 700;
}

.harga {
    color: #eb1e20;
    font-weight: 700;
    margin-bottom: 25px;
}

.image-wrapper {
    margin-bottom: 25px;
}

.price-image {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.daftar-button {
    display: inline-block;
    background: #2aa8d9;
    color: white;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.daftar-button:hover {
    transform: scale(1.05);
    color: white;
}
/* ===================================
   PRICE HORIZONTAL SLIDER
=================================== */

.price-slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 25px;
    padding: 20px 10px 40px 10px;
    scrollbar-width: thin;
    scrollbar-color: #2aa8d9 #f1f1f1;
}

/* Custom scrollbar agar terlihat modern */
.price-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.price-slider-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.price-slider-wrapper::-webkit-scrollbar-thumb {
    background: #2aa8d9;
    border-radius: 10px;
}

.price-slide-item {
    flex: 0 0 350px; /* Lebar tetap per card agar pas digeser */
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .price-slide-item {
        flex: 0 0 280px; /* Ukuran lebih kecil menyesuaikan layar HP */
    }
}

/* ===================================
   TESTIMONI SECTION
=================================== */

.testimoni-section {
    background-image: url("../images/BG.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.testimoni-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 60px;
}

.header-icon {
    transition: 0.3s ease;
}

.header-icon:hover {
    transform: rotate(-10deg);
}

.testimoni-title {
    color: #e8ef19;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 0;
}

.testimoni-subtitle {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 0;
}

.text-blue {
    color: #2aa8d9;
}

.text-red {
    color: #eb1e20;
}

.text-yellow {
    color: #e8ef19;
}

.testimoni-card {
    position: relative;
    background: #2aa8d9;
    padding: 80px 25px 25px;
    min-height: 320px;
    border-radius: 20px;
    box-shadow: 8px 8px 0 #eb1e20;
    transition: all 0.3s ease;
}

.testimoni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.photo-wrapper {
    position: absolute;
    right: 20px;
    top: -40px;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    border: 3px solid #eb1e20;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.testimoni-card:hover .photo {
    transform: scale(1.05);
}

.nama-siswa {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.sekolah-siswa {
    color: #f8f9fa;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.9;
}

.isi-testimoni {
    color: white;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 15px;
}

.star-container {
    margin-top: 20px;
}

.star {
    color: gold;
    font-size: 20px;
    margin-right: 2px;
}

.navigation-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #2aa8d9;
    color: white;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: scale(1.1);
    background: #eb1e20;
}

/* ===================================
   GALLERY SECTION
=================================== */

.gallery-section {
    margin-top: 80px;
}

.gallery-title,
.gallery-subtitle {
    font-size: 48px;
    font-weight: 700;
}

.gallery-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image:hover {
    transform: scale(1.03);
}

.custom-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2aa8d9;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.custom-arrow:hover {
    background: #eb1e20;
    transform: scale(1.1);
}

/* Sesuaikan posisi tombol panah agar tidak offside */
.carousel-control-prev {
    left: 10px; /* Memasukkan tombol ke dalam area kiri */
    width: auto;
    z-index: 5;
}

.carousel-control-next {
    right: 10px; /* Memasukkan tombol ke dalam area kanan */
    width: auto;
    z-index: 5;
}

/* RESPONSIVE TESTIMONI & GALLERY */
@media (max-width: 992px) {
    .carousel-control-prev { left: -20px; }
    .carousel-control-next { right: -20px; }
}

@media (max-width: 768px) {
    .testimoni-header {
        flex-direction: column;
        text-align: center;
    }
    .testimoni-title,
    .testimoni-subtitle,
    .gallery-title,
    .gallery-subtitle {
        font-size: 32px;
    }
    .gallery-image {
        height: 220px;
    }
}
/* ===================================
   FOOTER MODERN
=================================== */
.footer-section {
    position: relative;
    background: #0099ff; /* Warna branding biru */
    color: white;
    padding-top: 100px;
    padding-bottom: 30px;
    margin-top: 50px;
    overflow: hidden;
}

.wave-divider-footer {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #e8ef19;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s;
}

.footer-link:hover {
    color: #e8ef19;
    transform: translateX(5px);
}

.icon-footer {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* Filter putihnya sudah dihapus biar warna asli ikonnya muncul */
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}