/* To use this CSS: <link rel="stylesheet" href="{{ asset('css/custom.css') }}"> */

/* #3674B5 = Biru laut */
/* #578FCA = Biru tua */
/* #A1E3F9 = Biru langit */
/* #D1F8EF = Biru muda */

/* #F7F7F7 = Putih */
/* #EEEEEE = Abu-abu muda */
/* #393E46 = Hitam */
/* #929AAB = Abu-abu tua */

.bg-body-custom {
    background-color: #f7f7f7 !important;
}

.accordion-button,
.nav-link {
    color: #3674b5 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-align: center;
}

.nav-link:hover {
    color: #a1e3f9 !important;
}

.lang-toggle {
    display: inline-block;
    position: relative;
}

.lang-toggle input {
    display: none;
}

.lang-toggle label {
    display: block;
    width: 60px;
    height: 35px;
    border: 2px solid #3674b5;
    border-radius: 30px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lang-toggle .switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background-color: white;
    background-image: url("/en_flag.jpg");
    background-size: cover;
    background-position: center;
    transition: all 0.3s;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.lang-toggle input:checked + label .switch-thumb {
    left: 27px;
    background-image: url("/id_flag.jpg");
}

.btn-outline-primary {
    border-color: #3674b5 !important;
    color: #3674b5 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.btn-outline-primary:hover {
    border-color: #a1e3f9 !important;
    background-color: #a1e3f9 !important;
    color: #f7f7f7 !important;
}

.btn-outline-primary:active {
    border-color: #d1f8ef !important;
    background-color: #d1f8ef !important;
    color: #f7f7f7 !important;
}

.btn-primary {
    border-color: #3674b5 !important;
    background-color: #3674b5 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.btn-primary:hover {
    border-color: #a1e3f9 !important;
    background-color: #a1e3f9 !important;
    color: #f7f7f7 !important;
}

.btn-primary:active {
    border-color: #d1f8ef !important;
    background-color: #d1f8ef !important;
    color: #f7f7f7 !important;
}

.icon {
    fill: #3674b5 !important;
    transition: fill 0.3s !important;
}

.icon-2 {
    fill: #393e46 !important;
    transition: fill 0.3s !important;
}

.motto {
    color: #393e46 !important;
    font-family: "Roboto Condensed", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

.custom-text {
    color: #393e46 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.custom-text-0 {
    color: #393e46 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.custom-text-1 {
    color: #f7f7f7 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.custom-text-2 {
    color: #f7f7f7 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.custom-text-3 {
    color: #393e46 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

.custom-text-4 {
    color: #f7f7f7 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

.custom-text-5 {
    color: #3674b5 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

a > .custom-text-0 {
    text-decoration: underline !important;
    text-decoration-color: #929aab !important;
}

a > .custom-text-0:hover {
    color: #3674b5 !important;
    text-decoration: underline !important;
    text-decoration-color: #a1e3f9 !important;
}

a > .custom-text-0:active {
    color: #a1e3f9 !important;
    text-decoration-color: #d1f8ef !important;
}

.text-justify-center {
    text-align: justify;
    text-align-last: center;
}

.aesthetic-text-1 {
    color: #393e46 !important;
    font-family: "Baskervville", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

.aesthetic-text-2 {
    color: #393e46 !important;
    font-family: "Baskervville", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.aesthetic-text-3 {
    color: #393e46 !important;
    font-family: "Baskervville", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.aesthetic-text-4 {
    color: #f7f7f7 !important;
    font-family: "Baskervville", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.aesthetic-text-5 {
    color: #f7f7f7 !important;
    font-family: "Baskervville", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.aesthetic-text-6 {
    color: #f7f7f7 !important;
    font-family: "Baskervville", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.custom-line-height {
    line-height: 28px !important;
    color: #3674b5 !important;
}

mark {
    background-color: transparent !important;
    font-weight: 600 !important;
    padding: 0 0.2rem !important;
    border-radius: 4px !important;
}

.custom-border {
    border-bottom: 1px solid #578fca;
}

.custom-border-divider {
    border-bottom: 5px solid #578fca;
}

.dropdown-item {
    color: #393e46 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 500 !important;
    font-style: normal !important;
}

.dropdown-item:hover {
    background-color: #a1e3f9 !important;
    color: #eeeeee !important;
}

.dropdown-item:active {
    background-color: #d1f8ef !important;
    color: #f7f7f7 !important;
}

html {
    scroll-behavior: smooth;
}

.transition-header {
    background-color: transparent;
    transition: background-color 0.7s ease, box-shadow 0.7s ease;
}

.scrolled {
    background-color: rgba(255, 255, 255);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.7s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    transition: none !important;
}

.accordion-item,
.accordion-button,
.accordion-button:not(.collapsed),
.accordion-collapse {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    color: #3674b5 !important;
    font-family: "Jost", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.accordion-body a {
    font-weight: 400;
    color: #555;
    text-decoration: none;
    padding: 6px 0;
    display: block;
}

.accordion-body a:hover {
    color: #003366;
    text-decoration: underline;
}

.no-dropdown::after {
    display: none !important;
}

@media (max-width: 720px) {
    .copyright-text {
        font-size: 0.8rem;
    }
}

.text-justify {
    text-align: justify;
}

.dropdown-submenu .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    margin-top: -0.25rem !important;
    z-index: 1000 !important;
}

.dropdown-submenu .dropdown-menu.show {
    display: block !important;
}

.submenu-arrow {
    font-size: 20px;
    margin-left: auto;
    margin-bottom: 2px;
}

.dropdown-submenu > .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-submenu > .dropdown-toggle::after {
    display: none !important;
}

.submenu-list {
    display: none;
}

.submenu-list.show {
    display: block;
}

.img-modal {
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(3.5px);
    display: none;
    justify-content: center;
    align-items: center;
}

.img-modal.show {
    display: flex;
}

.img-modal-content {
    max-width: 98%;
    max-height: 84%;
    object-fit: contain;
    box-shadow: 0 3.5px 14px rgba(0, 0, 0, 0.35);
    animation: zoom 0.3s ease-in-out;
}

.img-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #3674b5;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
}

.hidden-gallery {
    transition: all 0.4s ease-in-out;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

@keyframes bounceDown {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(10px) rotate(0deg);
    }
}

@keyframes bounceUp {
    0%,
    100% {
        transform: translateY(0) rotate(180deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

.carousel-chevron-down {
    animation: bounceDown 1s infinite ease-in-out;
}

.chevron-up {
    animation: bounceUp 1s infinite ease-in-out;
}
