@import "../../vendor/theme/css/icons/tabler-icons/tabler-icons.css";

:root {
    --own-primary: #5d87ff;
    --own-primary-rgb: 93, 135, 255;
    --own-secondary: #162d81;
    --own-secondary-rgb: 22, 45, 129;
    --bs-secondary-rgb: 108, 117, 125;
    --own-bg-opacity: 0.1;
    --own-bg-primary-subtle: RGBA(var(--own-primary-rgb), 0.1);
}

body {
    font-family: 'Poppins';
    background-color: #cfe4ff;
}

.btn-my-primary {
    background-color: #162d81;
    color: #fff;
}

.btn-my-primary:hover {
    background-color: #102266;
    color: #fff;
}

.btn-outline-my-primary {
    border: 1px solid #162d81;
    color: #162d81;
}

.btn-outline-my-primary:hover {
    background-color: #162d81;
    color: #fff;
}

.btn-my-primary:active {
    background-color: #162d81 !important;
    color: #fff !important;
}

.bg-primary-subtle {
    background-color: var(--own-bg-primary-subtle) !important;
}

.bg-secondary-solid {
    color: #fff;
    background-color: var(--own-secondary);
}

.brand-logo img {
    max-width: 30px;
    margin-top: -2px;
}

/* NAVBAR */
.navbar {
    padding-top: 10px;
    padding-bottom: 15px;
    border-bottom-right-radius: 50px;
    background-color: #1e2952;
}

.navbar-brand img {
    width: 35px;
    margin-right: 5px;
}

.navbar .container .title-fluency {
    font-family: 'Fredoka One', cursive;
    font-size: 25px;
    letter-spacing: 1px;
}

.navbar-brand {
    color: #ffff;
}

.nav-link {
    color: #ffff;
}

.nav-link:hover {
    color: #708fff;
}

nav#hero {
    padding-top: 8em;
}

/* Mengubah background color offcanvas menu */
.offcanvas {
    background-color: #1e2952 !important;
}

/* Mengubah warna teks dalam offcanvas */
.offcanvas-body .navbar-nav .nav-link {
    color: white;
}

.offcanvas-title .text-brand {
    color: white !important;
}

.offcanvas-body .navbar-nav .nav-link:hover {
    color: #cfe4ff;
}

/* Memberikan spasi pada tombol navbar dan login */
.navbar-nav .nav-item {
    margin-right: 10px;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.btn-login {
    background-color: #d0e1ff;
    color: #000;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 5px 15px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-login:hover {
    background-color: #1e2952;
    color: #fff;
    border-color: #fff;
}

.custom-button {
    background-color: #0b1a4a;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-button:hover {
    background-color: #cfe4ff;
    color: #0b1a4a;
}

.navbar-brand:hover .text-brand {
    color: #fff;
    transition: color 0.3s ease;
}

/* END NAVBAR */

/* HOME */
#home .container h2 {
    padding-top: 100px;
    font-size: 20px;
    font-weight: bold;
}

#home .container h1 {
    color: #0b1a4a;
    font-family: 'Lilita One', sans-serif;
}

#home .container img {
    padding-top: 100px;
}

/* END HOME */

/* SKILLS */
nav#skills {
    background-color: #1e2952;
    color: white;
    padding: 5px 0;
    text-align: center;
}

nav#skills h3 {
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 40px;
}

nav#skills img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 5px solid white;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

nav#skills .skill-title {
    margin-top: 10px;
    padding: 7px 30px;
    border: 2px solid white;
    border-radius: 15px;
    display: inline-block;
    font-size: 20px;
}

nav#skills .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

nav#skills img:hover {
    transform: scale(1.2);
}

/* Responsif untuk perangkat kecil */
@media (max-width: 768px) {
    nav#skills .container {
        flex-direction: column;
        /* Menyusun gambar dan teks secara vertikal */
        align-items: center;
    }

    nav#skills .col-md-4 {
        margin-bottom: 20px;
        width: 100%;
        /* Gambar memenuhi lebar kolom */
    }

    nav#skills img {
        width: 150px;
        /* Sesuaikan ukuran gambar */
        height: 150px;
    }

    nav#skills .skill-title {
        font-size: 18px;
        /* Sesuaikan ukuran teks */
    }
}

@media (max-width: 576px) {
    nav#skills h3 {
        font-size: 30px;
        /* Mengurangi ukuran judul agar pas pada layar kecil */
    }

    nav#skills img {
        width: 120px;
        /* Lebih kecil di perangkat yang lebih kecil */
        height: 120px;
    }

    nav#skills .skill-title {
        font-size: 16px;
        /* Lebih kecil di perangkat yang lebih kecil */
    }
}

/* END SKILLS */



/* WHY US */
#why-us .card-custom {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: none;
}

#why-us .container .section-title {
    color: #0b1a4a;
    font-size: 50px;
    font-family: 'Lilita One', sans-serif;
}

#why-us .card-custom img {
    width: 236px;
    margin-top: 10px;
}

#why-us .card-body-custom {
    background-color: #283BB7;
    color: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 10px 0;
}

#why-us .card-title {
    font-size: 17px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px 10px;
}

#why-us .section-title {
    font-size: 28px;
    font-weight: bold;
}

#why-us .section-title span {
    color: #0b1a4a;
}

/* END WHY US */

/* ABOUT US */
#hero .content {
    padding: 50px;
}

#hero .container .title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0b1a4a;
    font-family: 'Lilita One', sans-serif;
}

#hero .description {
    font-size: 1.125rem;
    margin-top: 20px;
}

#hero .image-container {
    text-align: center;
    margin-top: 30px;
}

#hero .image-container img {
    border-radius: 20%;
    max-width: 100%;
    height: auto;
}

/* END ABOUT US */

/* CONTACT */
#hero .container .contact-title {
    padding-bottom: 20px;
    color: #0b1a4a;
    font-family: 'Lilita One', sans-serif;
    font-size: 40px;
}

/* END CONTACT */

/* FAQ */
#faq .title-faq {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0b1a4a;
    font-family: 'Lilita One', sans-serif;
}

/* END FAQ */

/* FOOTER */
.footer {
    background-color: #1e2952;
    color: white;
    padding: 40px 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.footer .container .title-footer {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 1px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* END FOOTER */

/* PAYMENT */
.body-payment {
    background-color: #C7D3FF;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.form-container {
    background-color: #0A0E3F;
    padding: 30px;
    border-radius: 20px;
    width: 700px;
}

.form-container h4 {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: #C7D3FF;
    text-align: center;
    margin-bottom: 20px;
}

.form-payment label {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: #C7D3FF;
}

.form-control {
    background-color: #FFFFFF;
    border: none;
    border-radius: 10px;
}

.btn-custom {
    background-color: #C7D3FF;
    color: #0A0E3F;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

.btn-custom:hover {
    background-color: #0A0E3F;
    color: #FFFFFF;
}

.btn-container {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

/* END PAYMENT */

input:focus::placeholder,
textarea:focus::placeholder {
    transform: translate(5px);
}

::placeholder {
    opacity: 0.55 !important;
    transition: all 0.25s ease;
}

::-ms-input-placeholder {
    opacity: 0.55 !important;
    transition: all 0.25s ease;
}

footer.footer {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}