/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #212121;
    background-color: #fff3cd; /* Kuning emas lembut */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    background: #2e7d32;
    color: rgb(171, 241, 7);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-logo img {
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ddf507;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: white;
    background: #4caf50;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Jumbotron / Hero Section */
.jumbotron {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.jumbotron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMyZTdkMzIiLz4KPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNGNhZjUwIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIvPgo8L3N2Zz4=');
    opacity: 0.1;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.logo-wrapper img {
    width: 120px;
}

.logo-wrapper h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-wrapper span {
    color: #fff3cd;
    font-weight: 700;
}

.hero-content {
    margin: 30px 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.stat-item {
    background: rgba(255,255,255,0.15);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
}

.stat-item i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff3cd;
}

.btn-primary {
    display: inline-block;
    background: #fff3cd;
    color: #2e7d32;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.hero-image {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.responsive-img:hover {
    transform: scale(1.03);
}

/* carousel */
/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 400px;
    position: relative;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.5);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #fff3cd;
}

/* Hide inactive slides */
.carousel-item:not(.active) {
    display: none;
}
/* batas carousel */


/* Why Us Section */
.why-us {
    padding: 60px 40px;
    background: white;
}

.section-title {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4caf50;
    border-radius: 2px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.reason-card {
    background: #f0f8e8;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.reason-card i {
    color: #2e7d32;
    margin-bottom: 20px;
}

.reason-card h3 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Info Section */
.info-section {
    padding: 60px 20px;
    background: #f0f8e8;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.info-box h3, .info-box h4 {
    color: #2e7d32;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 {
    font-size: 1.5rem;
    border-bottom: 2px solid #4caf50;
    padding-bottom: 10px;
}

.info-box h4 {
    font-size: 1.2rem;
    margin-top: 25px;
}

.info-box ul, .info-box ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.info-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.info-box table th, .info-box table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.info-box table th {
    background-color: #f0f8e8;
    font-weight: bold;
}

.info-box blockquote {
    margin: 20px 0;
    padding: 20px;
    background: #fff3cd;
    border-left: 4px solid #4caf50;
    font-style: italic;
    border-radius: 10px;
}

.info-box em {
    display: block;
    margin-top: 10px;
    font-weight: 500;
}

.extracurricular {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.extracurricular .col {
    flex: 1;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-info {
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.contact-info p {
    margin: 5px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a {
    color: #fff3cd;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.qr-code {
    margin-top: 30px;
}

.qr-code .qr-img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.qr-code p {
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jumbotron {
        padding: 40px 15px;
    }

    .logo-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-image {
        max-width: 100%;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .info-box {
        padding: 20px;
    }

    .extracurricular {
        flex-direction: column;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #212121;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: 15px;
        margin: 5px 0;
    }
}

/* Google Maps Container */
.map-container {
    margin-top: 40px;
    text-align: center;
}

.map-container h3 {
    color: #fff3cd;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.map-container iframe:hover {
    transform: scale(1.01);
}