/* Reset CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');




/* Carousel Container */
.carousel {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 90vh; /* Full layar */
    overflow: hidden;
}

/* Setiap Slide */
.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    
}


/* Tampilkan Slide Pertama */
.carousel-item:first-child {
    opacity: 1;
}

/* Gambar di dalam Carousel */
.carousel-item img {
    width: 100%;
    height: 120%;
    object-fit: cover; /* Supaya gambar tetap proporsional */
    filter: brightness(70%);
}

/* Posisi Teks di Tengah */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    transition: opacity 0.5s, transform 0.5s; /* Animasi smooth */
    
}

/* Responsive Teks */
.carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.carousel-caption h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}


.carousel-caption p {
    font-size: 2rem;
    font-style: bold;
}

@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.8rem;
    }

    .carousel-caption h3 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}


/* TENTANG*/
section #tentang {
    text-align: left;
    padding: 50px 20px;
    background: #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


.welcome-section{
max-width: 800px;
    margin: auto;
    padding: 10px;
}

.welcome-section h1 {
    color: #0471a0;
    font-size: 32px;
    text-align: center;
    font-weight:bolder;
}

.welcome-section p {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
     text-align: justify;
}

.welcome-section.show {
    opacity: 1;
    transform: translateY(0);
}

.tentang-wrapper {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
}

/* Modal Background */
.modal {
    display: none; /* Awalnya disembunyikan */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Gambar di dalam modal */
.modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

/* Tombol close modal */
.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: red;
}

 /* Contact Section */
        .contact {
            padding: 50px 0;
            background: #D9EAFD;
            color: #0471a0;
        }

        .container h2{
            text-align: center;
            font-size: 1.9rem;

        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            margin: 50px;
        }

        .contact-info h3 {
            font-size: 1.3rem;
            margin-bottom: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 15px;
            background: rgba(173, 173, 173, 0.1);
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            background: rgba(163, 163, 163, 0.2);
            transform: translateX(10px);
        }

        .contact-item span {
            font-size: 1.5rem;
            margin-right: 15px;
        }

        .contact-form {
            background: rgba(163, 163, 163, 0.2);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 10px;
            background: rgba(255,255,255,0.9);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            transform: scale(1.02);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .submit-btn {
            background: linear-gradient( rgb(236, 163, 28));
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255,107,107,0.3);
        }


/*footer*/
.footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
    font-size: 14px;
}

.footer .container {
    max-width: 1100px;
    margin: auto;

}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 10px;
    border-bottom: 2px solid rgb(236, 163, 28);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #89A8B2;
}

.footer-section .social {
    display: flex;
    flex-direction: column; /* Susun ke bawah */
    align-items: flex-start; /* Rata kiri */
}

.footer-section .social .social-icons {
    display: flex;
    flex-direction: column; /* Susun ikon secara vertikal */
    gap: 8px; /* Beri jarak antar ikon */
    margin-top: 10px;
}

.footer-section .social .social-icons a {
    display: flex;
    align-items: center;
    color: white;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section .social .social-icons a i {
    font-size: 20px;
    margin-right: 10px;
    color: white; /* Warna default */
}

.footer-section .social .social-icons a:hover i {
    color: yellow; /* Warna berubah saat hover */
}


.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #111; /* Warna lebih gelap */
    color: #ccc;
    font-size: 13px;
    border-top: 1px solid #444;
    width: 100%; /* Pastikan full lebar */
    margin-top: 20px;
}



footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 10px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px); /* dikurangi tinggi navbar */
    background-color: #ffffff;

}
.login-container img {
            width: 70px;
            margin-bottom: 10px;
        }

.login-form {
    background-color: rgba(204, 233, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 500px;
    height: 400px;
    
}

.login-form h2 {
    font-size: 20px;
    font-weight: bold;
}

.login-form h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.login-form h4 {
    font-size: 25px;
    margin-top: 2px;
    margin-bottom: 10px;
    text-align: left; 
}

.login-form input,
.login-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
}

.forgot-password {
    font-size: 15px ;
    text-align: right; 
    
    /* Atur jarak di bawahnya (sebelum tombol Login) */
    margin-top: -10px; /* Tarik sedikit ke atas agar lebih dekat dengan input field di atasnya */
    margin-bottom: 5px; /* Jarak sebelum tombol Login */
}

.btn-login {
    background-color: #94b6de;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
}

.btn-login:hover {
    background-color: #7ca7d6;
}


/* Responsive */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        background-color: #004AAD;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}