/* Gaya untuk header tabel jenjang pendidikan */

/*.navbar .nav-link,
.navbar-brand {
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: black;
}*/

/* font */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

body {
    font-family: "Poppins", sans-serif;
}

.navbar-scrolled {
    border-bottom: 1px solid #ddd;
}

/* Navbar awal: menyatu dengan hero tanpa latar */
.transparent-navbar {
    background-color: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Transisi umum */
.transition-navbar {
    transition: all 0.3s ease;
}

/* Saat discroll: background putih + bayangan */
.navbar-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ubah warna teks saat discroll */
.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand,
.navbar-scrolled .btn-outline-light {
    color: #333 !important;
    text-shadow: none;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

/* Hover menu: kuning saat mouse diarahkan */
.nav-link:hover {
    color: #ffd700 !important;
}

/* Hover tombol login */
.navbar .btn-outline-light:hover {
    background-color: #ffd700;
    color: #000;
    border-color: #ffd700;
}

/* Garis bawah animasi untuk nav-link */
.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

/* Efek garis bawah */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #ffd700; /* kuning emas */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Saat hover: garis bawah muncul */
.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}
.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* HERO */
.hero-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.hero-section {
    background: url("../images/slider1.jpeg") center center/cover no-repeat;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    background-color: rgba(0, 102, 255, 0.6);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 3rem;

    display: flex;
    align-items: center; /* Vertikal center */
    justify-content: space-between; /* Sesuaikan jika ingin konten seimbang kiri dan kanan */
    flex-direction: column; /* Untuk responsif: ubah ke column dulu */
}

@media (min-width: 768px) {
    .hero-overlay {
        flex-direction: row;
    }
}
@media (min-width: 425px) {
    .hero-overlay {
        flex-direction: row;
    }
}

.hero-overlay h1 {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: #ffda47; /* Warna kuning */
}

section.hero-section + * {
    margin-top: 6rem;
}

/* Jenjang */
.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.jenjang-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

.section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2.25rem;
    font-weight: 700; /* Semi bold */
    color: #003e9c;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 50px;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.jenjang-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.jenjang-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.jenjang-slider::-webkit-scrollbar {
    display: none;
}

.jenjang-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.jenjang-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.jenjang-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.jenjang-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.btn-download {
    display: inline-block;
    padding: 8px 15px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-download:hover {
    background: #0056b3;
}

.slider-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dot.active {
    background-color: #007bff;
}
/* Panah navigasi */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s;
}

.arrow-btn:hover {
    opacity: 1;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.arrow-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

@media (min-width: 768px) {
    .jenjang-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .jenjang-card {
        flex: 0 0 calc(33.333% - 0px);
    }
}

/* vidio */
.wave-top img,
.wave-bottom img {
    width: 100%;
    display: block;
    padding-top: 0px;
}

.wave-top {
    position: relative;
    top: 0;
    z-index: 1;
}

.wave-bottom {
    position: relative;
    bottom: 0;
    z-index: 1;
}

.video-section {
    background: linear-gradient(to bottom, #008cd6, #00a2e8);
    color: white;
    padding: 20px 20px 60px 20px; /* bawah ditambah jadi 60px */
    position: relative;
    z-index: 2;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}
/*wave*/
.wave-divider {
    width: 100vw; /* Pastikan lebarnya full viewport */
    overflow: hidden;
    line-height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}
.wave-top2 {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

.wave-top2 svg {
    display: block;
    width: 100%;
    height: auto;
}

.wave-bottom2 {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

.wave-bottom2 svg {
    display: block;
    width: 100%;
    height: auto;
}

/*wave*/

/* akhir_vidio */

/* Mengubah warna tombol Formulir Pendaftaran */
.hero-overlay .btn-warning {
    background-color: #f5f5f5; /* Warna baru (contoh: Tomato) */
    border-color: #ffffff; /* Warna border baru */
}

.hero-overlay .btn-warning:hover {
    background-color: #ffda47; /* Warna saat hover (contoh: OrangeRed) */
    border-color: #ffda47;
}

/* Mengubah warna tombol Download Brosur */
.hero-overlay .btn-outline-light {
    color: #ffd700; /* Warna teks kuning */
    border-color: #ffd700; /* Warna border kuning */
}

.hero-overlay .btn-outline-light:hover {
    background-color: #ffd700; /* Warna latar belakang saat hover */
    color: #000000; /* Warna teks saat hover (hitam) */
    border-color: #ffd700; /* Warna border saat hover */
}

/* Konten */
.table-header {
    background: linear-gradient(to right, #d63384, #6f42c1);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 15px 15px 0 0;
}

/* Kontainer tabel */
.table-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Gaya untuk tabel */
.table thead {
    background-color: #e6d6ff;
    font-weight: bold;
}

.table tbody tr {
    cursor: pointer;
    transition: 0.3s;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table tbody tr:nth-child(even) {
    background-color: #faf0ff;
}

/* Efek fade-in untuk baris informasi */
.info-row {
    display: none;
    background: #f9f9f9;
    transition: all 0.5s ease-in-out;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kartu informasi */
.info-card {
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Efek hover untuk kartu */
.card {
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}

/* Efek hover untuk elemen tertentu */
.hover-zoom {
    transition: transform 0.3s ease-in-out;
}

.hover-zoom:hover {
    transform: translateY(-10px);
}

.img-hover:hover {
    transform: scale(1.05);
}
.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.custom-blue {
    color: #0056b3; /* Ganti dengan kode warna sesuai keinginan */
}
.gallery-img {
    width: 100%;
    height: 200px; /* Tentukan tinggi yang Anda inginkan */
    object-fit: cover; /* Agar gambar tidak terdistorsi dan tetap memenuhi area */
}
.modal-body img {
    width: 100%;
    height: auto;
}
.berita-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #0056b3;
}

.fasilitas-item {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.fasilitas-item .icon-wrapper {
    width: 26px; /* Lebar tetap agar rata */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-top: 2px;
    color: #f0ad4e; /* kuning */
}

.fasilitas-text {
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}
