/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');


/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #eef3fc;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: #365d98;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #365d98;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #47b5ff;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to right, #dfe9f5, #ffffff);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #365d98;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #6a6f7d;
    margin-top: 10px;
}

.btn-primary {
    background-color: #47b5ff;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #1a8cd8;
    transform: translateY(-3px);
    box-shadow: 0px 5px 15px rgba(71, 181, 255, 0.3);
}

/* Services Section */
#services {
    background: #ffffff;
    padding: 60px 0;
}

#services img {
    width: 100px;  /* Sesuaikan ukuran yang sama untuk semua */
    height: 100px; /* Pastikan tinggi seragam */
    object-fit: contain; /* Mencegah distorsi gambar */
    display: block; 
    margin: 0 auto; /* Pastikan gambar di tengah */
}

.service-icon {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}


#services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #365d98;
    text-transform: uppercase;
}

.animated-img {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.animated-img:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #365d98;
    color: white;
    padding: 15px;
    font-size: 1rem;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

    #services .row {
        flex-direction: column;
        gap: 30px;
    }

    #services img {
        width: 60px;
        height: 60px;
    }

    .btn-primary {
        width: 100%;
        font-size: 1rem;
    }
}

/* LOADERS */
/* Loader Wrapper */
#loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loader Animations */
.wrapper {
    width: 200px;
    height: 60px;
    position: relative;
    z-index: 1;
}

.circle {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #365d98;
    left: 15%;
    transform-origin: 50%;
    animation: circle7124 0.5s alternate infinite ease;
}

@keyframes circle7124 {
    0% {
        top: 60px;
        height: 5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }

    40% {
        height: 20px;
        border-radius: 50%;
        transform: scaleX(1);
    }

    100% {
        top: 0%;
    }
}

.circle:nth-child(2) {
    left: 45%;
    animation-delay: 0.2s;
}

.circle:nth-child(3) {
    left: auto;
    right: 15%;
    animation-delay: 0.3s;
}

.shadow {
    width: 20px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow046 0.5s alternate infinite ease;
}

@keyframes shadow046 {
    0% {
        transform: scaleX(1.5);
    }

    40% {
        transform: scaleX(1);
        opacity: 0.7;
    }

    100% {
        transform: scaleX(0.2);
        opacity: 0.4;
    }
}

.shadow:nth-child(4) {
    left: 45%;
    animation-delay: 0.2s;
}

.shadow:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: 0.3s;
}

/* Sembunyikan loader setelah halaman dimuat */
#loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Pastikan background putih */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Pastikan ada di atas semua */
}

/* Untuk memastikan seluruh halaman tidak bisa diakses sebelum loading selesai */
body:not(.loaded) {
    overflow: hidden;
}

