/* =========================
   GLOBAL
========================= */
body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    background-color: #fff;
    color: #1e293b;
}

a {
    text-decoration: none;
}

section {
    position: relative;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar .nav-link {
    font-weight: 500;
    color: #475569;
    transition: 0.3s;
}

.navbar .nav-link:hover {
    color: #0ea5e9;
}

/* =========================
   BUTTON
========================= */
.btn-gradient {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border: none;
    color: white;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gradient:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* =========================
   GENERAL SECTION
========================= */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* =========================
   HERO
========================= */
.hero {
     position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    padding: 40px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: 80px;
    left: -80px;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-title span {
    color: #fff176;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 540px;
    opacity: 0.95;
}

.hero-info h4 {
    color: #fff;
    font-size: 1.6rem;
}

.hero-info small {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.main-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 45px 30px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-big-icon {
    font-size: 80px;
    color: #fff176;
}

.floating-card {
    position: absolute;
    background: #fff;
    color: #0f172a;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    animation: floaty 3s ease-in-out infinite;
}

.floating-card i {
    margin-right: 8px;
    color: #0ea5e9;
}

.card-1 {
    top: 20px;
    left: -30px;
}

.card-2 {
    top: 120px;
    right: -40px;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 20px;
    left: 20px;
    animation-delay: 1s;
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}
.hero-carousel-wrapper {
    width: 100%;
    max-width: 520px;
}

#heroCarousel {
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 24px;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
}

.hero-slide-caption {
    position: absolute;
    left: 25px;
    bottom: 25px;
    color: #fff;
    z-index: 2;
    max-width: 80%;
}

.hero-slide-caption h4 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-slide-caption p {
    font-size: 15px;
    margin-bottom: 0;
    opacity: 0.95;
}

.carousel-indicators {
    margin-bottom: 15px;
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.5;
    border: none;
}

.carousel-indicators .active {
    opacity: 1;
    width: 28px;
    border-radius: 20px;
}
.wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    display: block;
    line-height: 0;
    z-index: 2;
}

/* =========================
   PERSYARATAN PPDB
========================= */
.requirement-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.requirement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.requirement-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.requirement-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
    color: #334155;
    margin-bottom: 14px;
    line-height: 1.6;
}

.requirement-list li i {
    color: #22c55e;
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.requirement-note {
    background: #f8fafc;
    border-left: 4px solid #38bdf8;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    color: #475569;
}

/* =========================
   STATISTIK
========================= */
.stats-section {
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    position: relative;
    overflow: hidden;
}

.stats-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
}

.stats-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.stats-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.stats-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.counter {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1;
}

.stats-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.stats-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* GALLERY */
/* =========================
   GALERI SHOWCASE
========================= */
.gallery-section {
    background: #f8fbff;
}

.gallery-showcase {
    transition: all 0.3s ease;
}

.gallery-showcase:hover {
    transform: translateY(-6px);
}

.gallery-image-box {
   background: #f1f5f9;
    border-radius: 18px;
    overflow: hidden;
    height: 420px;
    width: 100%;
    display: block;
}

.gallery-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* FOTO PENUH */
    display: block;
    transition: transform 0.4s ease;
}

.gallery-showcase:hover .gallery-image-box img {
    transform: scale(1.03);
}

.gallery-showcase h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #111827;
}

.gallery-showcase p {
    color: #64748b;
    font-size: 0.98rem;
    margin-bottom: 0;
}

/* titik indikator */
.custom-gallery-indicators {
    margin-bottom: 0;
}

.custom-gallery-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    margin: 0 6px;
    opacity: 1;
}

.custom-gallery-indicators .active {
    background-color: #111827;
}


/* CHART */
/* =========================
   GRAFIK
========================= */
.chart-box {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-box canvas {
    width: 100% !important;
    max-width: 100%;
    height: 380px !important;
}


/* =========================
   CTA
========================= */
.cta-section {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border-radius: 30px;
    padding: 60px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* =========================
   KONTAK
========================= */
/* =========================
   KONTAK
========================= */
.contact-box {
    background: #fff;
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-box h4 {
    color: #1d3557;
}

.contact-box p {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-box i {
    font-size: 1.2rem;
    color: #0d6efd;
    margin-top: 2px;
}

.contact-map {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    min-height: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}

/* =========================
   VIDEO SECTION
========================= */
.video-section {
    background: #f8fbff;
}

.video-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
}

.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 0, 0, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-content {
    padding: 24px;
}

.video-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 10px;
}

.video-content p {
    color: #6c757d;
    margin-bottom: 18px;
    min-height: 48px;
}

/* =========================
   SOSIAL MEDIA
========================= */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 14px;
    text-decoration: none;
    color: #1d3557;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e9f2ff;
    transform: translateX(4px);
    color: #0d6efd;
}

.social-link i {
    font-size: 1.2rem;
}
/* =========================
   FOOTER
========================= */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 20px 0;
}

footer p {
    margin: 0;
}



/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-carousel-wrapper {
        max-width: 100%;
    }

    .hero-slide {
        height: 280px;
    }

    .hero-slide-caption h4 {
        font-size: 24px;
    }

    .hero-slide-caption p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 230px;
    }

    .hero-slide-caption {
        left: 18px;
        bottom: 18px;
        max-width: 90%;
    }

    .hero-slide-caption h4 {
        font-size: 20px;
    }

    .hero-slide-caption p {
        font-size: 13px;
    }
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
    .hero {
        padding: 90px 0 120px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: auto;
    }

    .floating-card {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .card-1 {
        left: 0;
    }

    .card-2 {
        right: 0;
    }
}

@media (max-width: 768px) {
    .section-title,
    .stats-title {
        font-size: 1.8rem;
    }

    .counter {
        font-size: 38px;
    }

    .stats-card,
    .step-card {
        padding: 28px 20px;
    }

      .gallery-image-box {
        height: 260px;
    }

    .gallery-showcase h4 {
        font-size: 1.4rem;
    }

    .gallery-showcase p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-card {
        padding: 35px 20px;
    }

    .hero-big-icon {
        font-size: 60px;
    }

    .floating-card {
        position: static;
        display: inline-block;
        margin: 10px 5px 0;
        animation: none;
    }
}