Body {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("/fonts/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url("/fonts/Montserrat-Bold.ttf") format("truetype");
}

/*Colors*/
.blue_color {
    background-color: #003072;
}

.red_color {
    color: #D62C4F;
}

/*H*/
.big-bold-text {
    font-family: "Montserrat-Regular", sans-serif;
    font-weight: 800;
}

h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600; /* Semibold */
    font-size: 32px;
}

h2 {
    font-size: 26px;
    font-family: 'Montserrat', Arial, sans-serif;
}

h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
}

p {
    font-size: 16px;
}

/*Buttons*/
.red_button {
    background-color: #D62C4F;
    border-radius: 0 !important;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
}

.red_button:hover {
    background-color: #ad203d;
    color: white !important;
}

.blue_button {
    background-color: #003072;
    border-radius: 0 !important;
    color: white;
    padding: 10px 40px;
    text-decoration: none;
}

.blue_button:hover {
    color: white !important;
    background-color: #002557;
}

.white_button {
    background-color: white;
    border-radius: 0 !important;
    color: #003072;
    padding: 10px 30px;
    text-decoration: none;
}

.white_button:hover {
    background-color: #e0e0e0;
    color: #003072 !important;
}

.container-full {
    background-color: #003072;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
}

.navbar {
    border-radius: 0 !important;
}

/*Hero*/
.hero-image {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url("/images/homepage/Hero.png");
    background-size: cover;
    background-position: center;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #003072;
}

.hero-text h1 {
    margin-bottom: 20px;
}

.hero_headline {
    font-size: 32px;
    color: #003072 !important;
    padding: 10px;
    font-weight: bolder;
}

.hero_subheadline {
    padding: 20px;
}

#heroCarousel {
    position: relative;
}

.item-c {
    position: relative;
}

.item-c img {
    height: 80vh;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Add a transparent overlay over the images */
.item-c::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* You can adjust the opacity (last value) here */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    color: #003072 !important;
    text-shadow: none !important;
}

@media (max-width: 767px) {
    .carousel-caption {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .hero_subheadline {
        display: none;
    }

    .item-c img {
        height: 65vh;
        -o-object-fit: cover;
        object-fit: cover;
    }
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #003072;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top a {
    color: white;
    text-decoration: none;
}

/* Show Back to Top Button on Scroll */
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
