body {
    font-family: "Montserrat", sans-serif;
    background-color: #f5f5f5;
}

/* Navbar Styling */
.navbar {
    padding: 15px 80px;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    display: flex;
    justify-content: space;
    align-items: center;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex: 1;
}

/* Toggle button on mobile with navy color */
.navbar-toggler {
    background-color: #003366;
}

/* Navbar Brand Image */
.navbar-brand img {
    width: 120px;
}

/* Nav Links */
.nav-link {
    font-size: 16px;
    color: #003366;
    margin-inline: 15px;
    padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link:focus {
    font-weight: 600;
    color: #003366;
}

/* Active Link */
.link-active {
    font-weight: 700;
}

.nav-link-active {
    display: block;
    width: 50%;
    height: 0.25rem;
    margin: 0 auto;
    background-color: #003366;
    border-radius: 5rem;
}

/* Login Button for Mobile */
.d-lg-none .btn-navy {
    background-color: #003366;
    color: #ffffff;
    font-weight: 600;
    width: 100%;
}

/* Login & Dashboard buttons */
.btn-navy {
    background-color: #003366;
    color: #f5f5f5;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s ease;
    border-radius: 50px;
    margin-left: auto;
}

.btn-navy:hover,
.btn-navy:focus {
    background-color: #3776b5;
    color: #f5f5f5;
}

/* Beige Button */
.btn-beige {
    border: 3px solid #003366;
    background-color: #e6d8b8;
    color: #003366;
    font-weight: 600;
    border-radius: 50px;
    padding: 20px;
    margin-left: auto;
    -webkit-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    -moz-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
}

.btn-beige:hover,
.btn-beige:focus {
    border: 3px solid #003366;
    background-color: #f5f5f5;
    color: #003366;
}

.btn {
    padding: 0.5rem 1.25rem;
}

.btn-outline-navy {
    background-color: #f5f5f5;
    color: #003366;
    font-weight: 600;
    border: 2px solid #003366;
    transition: background-color 0.3s ease;
    border-radius: 50px;
    margin-left: auto;
}

.btn-outline-navy:hover {
    background-color: #003366;
    color: #f5f5f5;
    border-color: #003366;
}

.btn-white {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid #f5f5f5;
    background-color: #f5f5f5;
    color: #003366;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-white:hover {
    background-color: #f5f5f5;
    color: #003366;
    border-color: #304764;
}

/* Headings */
h1 {
    color: #003366;
    font-weight: 1000;
    font-size: 50px;
}

h2 {
    color: #003366;
    font-weight: 800;
    font-size: 36px;
}

h3 {
    font-weight: 700;
    font-size: 20px;
}

h4 {
    font-weight: 600;
    font-size: 16px;
}

p {
    font-size: 16px;
    font-weight: 500;
}

/* Text Colors */
.black {
    color: #010101;
}

.white {
    color: #f5f5f5;
}

.navy {
    color: #003366 !important;
}

.grey {
    color: #686e73;
}

/* Section Custom */
.section-custom {
    margin-top: 100px;
}

/* Background Colors */
.bg-white {
    background-color: #f5f5f5;
}

.bg-beige {
    background-color: #f5f5f5;
    margin: 130px 50px;
    border: 3px solid #003366;
    border-radius: 20px;
    -webkit-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    -moz-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
}

.bg-white-linear::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.bg-gray {
    background-color: #f5f5f5;
}

.bg-navy {
    background-color: #003366;
}

.bg-navy-linear {
    background: linear-gradient(
        180deg,
        rgba(61, 93, 161) 0%,
        rgba(61, 93, 161) 100%
    );
}

/* Background Images */
.bg-circles {
    background-image: url(../../images/UI/Background/background-card-circle.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 70% 70%;
}

.icon-container a {
    width: 24px;
    height: auto;
    margin-right: 10px;
}

.icon-container img:last-child {
    margin-right: 0;
}

/* Shadows */
.shadow-md {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

.shadow-md-extra-bottom {
    box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

/* Flex Container */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    #ModalLogin .modal-dialog {
        max-width: 100vw;
        margin: 20px;
    }

    #ModalLogin .modal-content {
        padding: 10px;
    }

    #ModalLogin .padding-md-x-1 {
        padding: 5px;
    }

    #ModalLogin .modal-body {
        flex-direction: column;
        height: auto;
    }

    #ModalLogin .btn-navy {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #modalVoteConfirm .modal-dialog {
        max-width: 100vw;
        margin: 20px;
    }

    #modalVoteConfirm .modal-content {
        padding: 10px;
    }

    #modalVoteConfirm .padding-md-x-1 {
        padding: 5px;
    }

    #modalVoteConfirm .modal-body {
        flex-direction: column;
        height: auto;
    }

    #modalVoteConfirm .btn-navy {
        width: 100%;
    }

    #modalVoteConfirm .btn-outline-navy {
        width: 100%;
    }
}

.modal-content {
    background-color: #f5f5f5;
    border: 5px solid #003366;
    -webkit-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    -moz-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
}

/* Kotak Suara */
.kotaksuara {
    padding-top: 60px;
    height: 90%;
    position: relative;
}

/* Cards */
.card-navy {
    background-color: #003366;
    border-radius: 20px;
}

.card-outline-navy {
    border: 3px solid #003366;
    border-radius: 20px;
    -webkit-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    -moz-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    box-shadow: 0px 5px 0px 2px rgba(0, 51, 102, 1);
}

.card-outline {
    border: 3px solid #003366;
    border-radius: 10px;
}

.card-beige {
    border: 3px solid #003366;
    background-color: #e6d8b8;
    border-radius: 40px;
    -webkit-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    -moz-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
}

.card-white {
    border: 3px solid #003366;
    background-color: #f5f5f5;
    border-radius: 40px;
    -webkit-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    -moz-box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
    box-shadow: 5px 5px 0px 2px rgba(0, 51, 102, 1);
}

/* Filters */
.filter-linear-navy {
    display: block;
    width: 65%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(61, 93, 161) 0%,
        rgba(255, 18, 33, 0) 100%
    );
}

.filter-linear-navy-dark {
    background: linear-gradient(
        0deg,
        rgba(61, 93, 161) 0%,
        rgba(179, 13, 23, 0) 100%
    );
    display: block;
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.filter-linear-navy-light {
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(61, 93, 161) 0%,
        rgba(255, 255, 255, 0) 100%
    );
}

.mission-list li {
    list-style: decimal;
    color: #003366;
    font-size: 16px;
    font-weight: 500;
}
