@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {

    /* --bs-primary: #ff0000; */
    --color-primary: #2E0B4F;

    --popup-icon-size: 1.5rem;
    --popup-button-size: 40px;
    /* --popup-button-from-bottom: 20px; */
}

* {
    /* font-family: var(--font-family-brandon), sans-serif; */
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    /* text-transform: capitalize; */
    font-weight: 300;
}

/* .btn:hover {
    background-color: #A3A380;
} */

html {
    scroll-behavior: smooth;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.card-course,
.card-about {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    text-align: start;
}

.card-about .card-img-top {
    /* border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    text-align: start; */
    max-height: 250px;
    object-fit: cover;
    object-position: top center;

}

.card-course .card-img-top {
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.card-webinar {
    border: none;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    border-radius: 20px;
    text-align: start;
    background-color: #F8F8F8;
    padding: 10px 10px 0px 20px;
}

.scheduled {
    background-color: #d9f8e0 !important;
}

.card-training {
    border: none;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    border-radius: 20px;
    text-align: start;
    background-color: #F8F8F8;
    padding: 20px;
}

.card-img,
.card-img-top {
    border-radius: 20px;
}

.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 20px 0;
}

/* Make the carousel take up the full screen */
.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar {
    /* background-color: transparent !important; */
    /* box-shadow: none !important; */
    background-color: #F8F9FA;
}

/* Ensure carousel takes full viewport height */
.carousel,
.carousel-inner,
.carousel-item {
    height: 100vh;
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
}

/* Style for the navbar */
.navbar {
    /* position: fixed;
    width: 100%;
    z-index: 1000; */
    /* background-color: rgba(0, 0, 0, 0.7); */
    /* background-color: #F8F9FA; */
}

.navbar-brand,
.nav-link {
    /* color: white !important; */
    font-weight: 500;
}

.carousel-caption {
    bottom: 20%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.navbar-nav .nav-item {
    margin-right: 1.5rem;
    /* or any custom value */
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    /* override default bottom positioning */
}


.btn-primary {
    /* background-color: var(--color-primary); */
    background-color: transparent;
    color: var(--color-primary);

    border: solid 1px var(--color-primary);

    border-radius: 14px;
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border: solid 1px var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-primary);
    padding-left: 20px;
    padding-right: 20px;
}

.why {
    border-radius: 20px;
    /* background-color: #BB9457; */
    color: white;
    font-weight: 300;
    border: none;
}

.card1 {
    background-color: #BB9457;
}

.card2 {
    background-color: #A2999E;
}

.card3 {
    background-color: #A3A380;
}

.card4 {
    background-color: #007CBE;
}

.card5 {
    background-color: #829298;
}

.card6 {
    background-color: #DDA448;
}

.card7 {
    background-color: #BB342F;
}

.footer li a {
    text-decoration: none;
    font-size: .875em;
}

.top-bar {
    background-color: var(--color-primary);
}

.top-bar ul {
    margin-bottom: 0px
}

.top-bar ul>li>a>img {
    width: 30px;
    height: auto;

}


.hero-image {
    height: 50vh;
}


.more-info-button {
    /* border-radius: 0; */
    max-width: max-content;
    font-size: 0.7rem;

}


.popup-button-wa {
    width: var(--popup-button-size);
    height: var(--popup-button-size);
    border: none;
    cursor: pointer;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    right: 10px;
    bottom: 10px;
    background: transparent;
}

@media (max-width: 767px) {

    /* Styles here apply only to screens smaller than 768px (most phones) */
    .carousel-caption h3 {
        /* display: none !important; */
    }

    .carousel-caption h1 {
        /* font-size: calc(1rem + 1.5vw) !important; */
        padding-left: 20px;
        padding-right: 20px;
    }
}

#popupModal {
    --bs-modal-width: 600px;
    /* --bs-modal-padding: 0 */
}


.content-fade {
    max-height: 1000px;
    /* height limit */
    overflow: hidden;
    /* hide the rest */
    position: relative;
}

.content-fade::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    /* fade size */
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            /* transparent */
            rgba(255, 255, 255, 1) 100%
            /* background color */
        );
}