/* ================== GLOBAL RESET ================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f7f3ef;
}

.navbar-toggler {
    z-index: 2000 !important;
    position: relative;
}



/* ================== BANNER ================== */

.banner-profile {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(/gambar/banner.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 550px;
}

.container-profile {
    display: flex;
    flex-direction: column;
    padding: 30px;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.desc-main-banner h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #F4E9D8;
    text-align: center;
}


/* ================== ABOUT SECTION ================== */

.about-edukasi {
    background-color: #F7F3EE;
    padding: 40px 20px;
    color: #553A2A;
}

.container-about {
    max-width: 100%;
}

.desc-main-about h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.desc-main-about p {
    font-size: 1rem;
    padding-top: 10px;
    text-align: justify;
}


/* ================== DOKUMENTASI SECTION ================== */

.documentation-section {
    background-color:  #b38877;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #4a2d1f;
    font-weight: 700;
    margin-bottom: 50px;
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.image-item {
    width: 100%;
    max-width: 480px;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}
.gallery-image:hover { 
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25); 
    transition: 0.3s ease; }


/* ================== CTA SECTION ================== */

.education-cta-section {
    background-color: #b38877;
    padding: 60px 20px;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1300px;
    text-align: center;
}

.cta-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.1rem;
    color: #553A2A;
    margin-bottom: 25px;
}

.cta-button {
    background-color: #d46929;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

.cta-button a {
    color: white;
    text-decoration: none;
}

.cta-button:hover { 
    background-color: #d49b86; 
    box-shadow: 0px 10px 18px rgba(0,0,0,0.25);
    transform: translateY(-5px);
    transition: 0.3s ease
    }


      /* BackToTop Button */
        .back-to-top {
            position: fixed;
            bottom: 40px;
            right: 40px;
            background-color: #D46929;
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s, transform 0.3s;
            z-index: 1000;
        }

        .back-to-top:hover {
            background-color: #e67839;
            transform: scale(1.2);
        }

/* ================== TABLET ================== */

@media (max-width: 992px) {
    .desc-main-banner h1 {
        font-size: 3rem;
    }

    .gallery-container {
        gap: 25px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer {
        padding: 40px 20px;
    }
}


/* ================== MOBILE ================== */

@media (max-width: 768px) {

    .navbar-left img {
        height: 28px;
    }

    .banner-profile {
        height: 420px;
    }

    .desc-main-banner h1 {
        font-size: 2.2rem;
    }

    .about-edukasi {
        padding: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .gallery-container {
        flex-direction: column;
        gap: 20px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .top-footer {
        flex-direction: column;
    }

    .footer1 iframe {
        height: 200px;
    }
}


/* ================== SMALL MOBILE ================== */

@media (max-width: 480px) {
    .desc-main-banner h1 {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.4rem;
    }
}
