/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #25D366;
    --primary-dark: #128C7E;
    --secondary: #ffc107;
    --dark: #1f1f1f;
    --dark-grey: #333;
    --medium-grey: #666;
    --light-grey: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--dark-grey);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--dark);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
    color: var(--white);
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-whatsapp {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--primary-dark);
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 1rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--medium-grey);
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    background: var(--light-grey);
    padding: 100px 20px;
}

/* Why Us Section */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-box {
    width: 220px;
    background-color: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Mentors Section */
.mentors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.mentor-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.8s ease forwards;
}

.mentor-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.mentor-card h3 {
    margin: 15px 0 5px;
}

.mentor-card p {
    margin: 5px 0 15px;
    color: #666;
    font-size: 14px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pricing Section */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: center;
}

.pricing-table th {
    background-color: var(--medium-grey);
    color: var(--white);
}

.pricing-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.pricing-table tr:hover {
    background-color: #e3f2fd;
}

.kontainer {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}


/* Schedule Section */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.jadwal-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.jadwal-note {
    background-color: var(--light-grey);
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--medium-grey);
    border-radius: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Form Section */
.form-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.contact-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--dark-grey);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-grey);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

thead {
    background-color: #f3f4f6;
    /* abu terang */
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.minggu-col {
    width: 120px;
    font-size: 0.85rem;
    background-color: #f2f2f2;
    /* soft yellow biar beda */
    font-style: italic;
    color: #6b7280;
}

.why-us h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
}

.why-us {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.whatsapp-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* Container */
.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Setiap slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 16s infinite;
    transition: opacity 1s ease-in-out;
}

.slide1 {
    background-image: url('../assets/bg1.jpg');
    animation-delay: 0s;
}

.slide2 {
    background-image: url('../assets/bg2.jpg');
    animation-delay: 4s;
}

.slide3 {
    background-image: url('../assets/bg3.jpg');
    animation-delay: 8s;
}

.slide4 {
    background-image: url('../assets/bg4.jpg');
    animation-delay: 12s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    box-sizing: border-box;
}

/* Buttons */
.buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 8px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #007bff;
}