@media (max-width: 768px) {
    .nav-link {
        padding-left: 1em;
        padding-right: 1em;
    }
    .navbar-toggler:focus {
        box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width)
            rgba(var(--bs-primary-rgb), 0.4);
    }
}

/* --- FOOTER --- */
footer {
    background: white;
}

.footer-top img.logo {
    width: 120px;
    height: 120px;
    margin-right: 1.5em;
}

.footer-top {
    background: var(--bs-primary-darker);
    color: white;
}
.footer-top h3,
.footer-top h4,
.footer-top h5 {
    font-family: sans-serif;
}
.footer-top nav ul {
    list-style: none;
    padding: 0px;
}
.footer-top nav ul a {
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 0.2em 0px;
}
.footer-top h5 {
    font-size: 1.1em;
    margin-bottom: 0px;
    font-weight: 600;
}
@media (max-width: 768px) {
    .footer-top img.logo {
        width: 80px;
        height: 80px;
        margin-right: 0.5em;
    }
    .footer-top h5 {
        font-size: 0.9em;
    }
}
/* --- END FOOTER --- */

/* --- SECTION ABOUT --- */
#section-about h2 {
    font-size: 3em;
    font-weight: bold;
    font-family: sans-serif;
    color: var(--bs-primary-darker);
}
.section-about__content-title {
    font-size: 2em;
    color: var(--bs-primary);
    font-family: sans-serif;
}
.section-about__bullets {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
    gap: 0.7em;
}
.section-about__bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bs-primary);
}
.section-about__bullet.active {
    background-color: var(--bs-primary-darker);
}
.section-about__content-body {
    font-size: 1.4em;
}
@media (max-width: 768px) {
    #section-about h2 {
        font-size: 1.6em;
    }
    .section-about__content-title {
        font-size: 1.5em;
    }
    .section-about__content-body {
        font-size: 1.1em;
    }
    .section-about__bullets {
        margin-top: 1em;
    }
    .section-about__bullet {
        width: 8px;
        height: 8px;
    }
}
/* --- END SECTION ABOUT --- */

/* --- CARD SERVICE --- */
.card-service img {
    width: 100%;
    height: auto;
}
.card-service {
    height: 100%;
    background: #f6f6f6;
    padding: 2em 1em;
    display: block;
    text-decoration: none;
    border-radius: 2em;
    text-align: center;
    font-family: sans-serif;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}
.card-service h4 {
    font-size: 1.1em;
    color: #301f5b;
    font-weight: bold;
}
.services {
    margin-top: 3em;
    margin-bottom: 3em;
    position: relative;
}
.services__bg {
    position: absolute;
    width: 100%;
    height: 80%;
    background-color: var(--bs-primary);
    top: 0px;
    bottom: 0px;
    margin: auto;
}

.services .row {
    position: relative;
}
/* --- END CARD SERVICE --- */

/* --- SECTION SERVICES --- */
section#services h2 {
    font-family: Arial, Helvetica, sans-serif;
    color: #301f5b;
    font-size: 3em;
    font-weight: extrabold;
}
section#services p {
    color: #6f3ddc;
    font-size: 1.5em;
    text-align: center;
    padding: 0px 3em;
}
@media (max-width: 768px) {
    section#services h2 {
        font-size: 1.6em;
    }
    section#services p {
        font-size: 1em;
        padding: 0px 1em;
    }
}
/* --- END SECTION SERVICES --- */

/* --- SECTION TRAINING --- */
#section-training .training {
    background-color: #fff;
    padding: 2em;
    margin-bottom: 2em;
}

.training img {
    width: 160px;
    height: auto;
}

.training h4 {
    font-size: 2.2em;
    font-family: sans-serif;
}

.training a[href] {
    text-decoration: none;
    font-size: 1.2em;
    color: var(--bs-primary);
}
@media (max-width: 768px) {
    #section-training .training {
        padding: 1em;
    }
    .training img {
        width: 100px;
    }
    .training h4 {
        font-size: 1.5em;
    }
    .training a[href] {
        font-size: 1em;
    }
}
/* --- END SECTION TRAINING --- */

/* --- HOME CAROUSEL --- */
/* #home-carousel {
    margin-top: 85px;
} */
#home-carousel .carousel-item {
    aspect-ratio: 16 / 9;
}
#home-carousel .carousel-item img,
#home-carousel .carousel-item svg {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .container.home-carousel-container {
        padding-right: 0px;
        padding-left: 0px;
    }
}
/* -- END HOME CAROUSEL --- */

/* --- SECTION START FROM --- */
section#start-from {
    padding: 0px;
    margin-top: -125px;
    z-index: 100;
    position: relative;
}

.start-from {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bs-primary-darker);
    color: white;
    border-radius: 30px;
    padding: 0px 2.4em;
    transform: scale(0.8);
}

.start-from__left {
    font-size: 24px;
    font-weight: 600;
    font-size: 2.4em;
    line-height: 1em;
}

.start-from__btn-group {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    padding-bottom: 1em;
}

.start-from__btn {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 20%;
    padding: 20px;
    padding-top: 40px;
    cursor: pointer;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-decoration: none;
    font-size: 1.2em;
    color: white;
}

.start-from__btn:hover {
    background-color: var(--bs-primary);
    color: white;
}

.start-from__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.start-from__btn span {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
@media (max-width: 768px) {
    section#start-from {
        margin-top: -72px;
    }
    .start-from {
        padding: 0px 1em;
    }
    .start-from__left {
        font-size: 1.2em;
    }
    .start-from__btn-group {
        overflow-x: auto;
        gap: 0.5em;
        padding-bottom: 0px;
    }
    .start-from__btn {
        width: 160px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .start-from__btn span {
        font-size: 10px;
    }
    .start-from__btn img {
        width: 64px;
        height: 64px;
    }
}
/* --- END SECTION START FROM --- */

@media (max-width: 768px) {
    section {
        padding-top: 2em;
        padding-bottom: 2em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
}

.socials {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 1em;
}

.socials__link {
    color: white;
    display: inline-flex;
    background-color: var(--bs-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.navbar-spacing {
    height: 85px;
}

.container--sm {
    max-width: 768px;
}

.page-content {
    font-size: 1.1em;
}

.page-content h2 {
    font-size: 2.5em;
    font-weight: bold;
    font-family: sans-serif;
    color: var(--bs-primary-darker);
}

.text-justify {
    text-align: justify;
}

@media (max-width: 768px) {
    .page-content h2 {
        font-size: 1.6em;
    }
}

.page-header {
    background-color: var(--bs-primary-darker);
    color: white;
    padding: 1.25em 1em;
    margin-bottom: 0em;
}

.list-group-item > a[href] {
    text-decoration: none;
}

.post-card {
    background-color: white;
    border-radius: 1em;
    padding: 1em;
    box-shadow: 0px 5px 17px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e5e5;
    height: 350px;
}

.post-card a[href] {
    text-decoration: none;
    color: inherit;
}

.post-card__title {
    font-size: 1.5em;
    color: var(--bs-primary-darker);
    font-family: sans-serif;
}

a.post-card__btn[href] {
    background-color: var(--bs-primary);
    border-radius: 0.65em;
    padding: 0.5em 1em;
    font-size: 1em;
    color: white;
    font-family: sans-serif;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.btn-warning.btn-glow {
    /* make the button glow with warning color scheme */
    box-shadow: 0 5px 12px 0px rgba(255, 193, 7, 0.25);
}

.flex-1 {
    flex: 1;
}

.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--below {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
