a[href^="#"] {
    scroll-behavior: smooth;
}

.mil-top-panel {
    background-color: #ffffff;
}

.smooth-scroll {
    transition: all 0.5s ease-in-out;
}

.mil-banner {
    max-height: 900px;
    position: relative;
}

@media (max-width: 767px) {
    .mil-banner {
        min-height: 100vh;
    }
}

/* New CSS for the overlay */
.hero.mil-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Ensure the content is above the overlay and set text color to white */
.hero.mil-banner .container {
    position: relative;
    z-index: 2;
    color: white;
}

/* Ensure all text within the banner is white */
.hero.mil-banner h1,
.hero.mil-banner h6,
.hero.mil-banner p,
.hero.mil-banner a {
    color: white !important;
}

/* Style for the button to ensure visibility */
.mil-banner .mil-btn,
.mil-btn {
    background-color: rgb(72, 99, 112);
}

.spaced p {
    margin-bottom: 35px;
}

.service .mil-out-frame {
    background-color: rgb(249 250 251);
}

.mil-out-frame.mil-bg-1 {
    background: linear-gradient(0deg, #CDE7F0 0%, #DCC9F5 100%);
}

footer.mil-footer-dark {
    background-color: #111827 !important;
}

.text-footer-white {
    color: #ffffff !important;
}

.mil-image-frame .mil-img-box.mil-accent-box {
    background: rgb(72, 99, 112) !important;
}

.mil-checkbox input[type="checkbox"]:checked+label {
    background-color: rgb(72, 99, 112);
    border-color: rgb(72, 99, 112);
}

.mil-checkbox input[type="checkbox"] {
    background-color: white;
    border-color: rgb(72, 99, 112);
    color: rgb(72, 99, 112);
}

.progress-wrap {
    background-color: rgb(72, 99, 112);
}

.mil-testi-next,
.mil-testi-prev {
    background-color: rgb(72, 99, 112);
}

.mil-testi-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: rgb(72, 99, 112);
}

.mil-map-frame {
    height: 100%;
    min-height: 400px;
    /* Ensures a minimum height on smaller screens */
}

@media (max-width: 991px) {
    .mil-map-frame {
        height: 400px;
        /* Fixed height on mobile devices */
    }
}

.mil-banner.mil-banner-inner {
    min-height: 350px;
}

@media (min-width: 992px) {
    .mil-banner.mil-banner-inner {
        min-height: 500px;
    }
}

.full-screen{
    height: 100vh;
}

.fof-content h1 {
    font-size: 10rem;
}

@media (max-width: 767px) {
    .fof-content h1 {
        font-size: 5rem;
    }
}

/* flash message */

#flashMessageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

#flashMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1000;
    max-width: 80%;
    width: 400px;
}

#flashMessage.show {
    opacity: 1;
}

#flashMessage .check-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #4CAF50;
    background-color: #e8f5e9;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#flashMessage .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

#flashMessage .message {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}