/* Global colors */
* {
    margin: 0;
    padding: 0;
    font-family: "Roboto Condensed", sans-serif;
}

.bg-prime {
    background-color: #052e59;
}

.bg-second {
    background-color: #e8b742;
}

.text-prime {
    color: #052e59;
}

.text-second {
    color: #e8b742;
}

/* navbar marquee text */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 50%;
    border: none;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-animation 15s linear infinite;
    animation-play-state: running;
    padding: 10px;
}

@keyframes marquee-animation {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-text:hover {
    animation-play-state: paused;
}

.mid-nav img {
    width: 70%;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: rgb(27, 32, 36, 0.8);
    transition: right 0.3s ease;
    z-index: 12;
}

.sidebar.show-sidebar {
    right: 0;
}

.sidebar-s {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: rgb(27, 32, 36, 0.8);
    transition: right 0.3s ease;
    z-index: 12;
}

.sidebar-s.show-sidebar-s {
    right: 0;
}

.submenu {
    opacity: 0;
    position: absolute;
    background-color: rgb(27, 32, 36, 0.9);
    transition: opacity 0.3s ease, height 0.3s ease;
    height: 0;
    overflow: hidden;
    z-index: 4;
}

.submenu-trigger:hover .submenu {
    opacity: 1;
    height: auto;
}

.submenuList li {
    padding: 10px 0 10px 10px;
}

.submenuList a:hover {
    color: #e8b742;
}

.submenuList hr {
    color: gray;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 80vh;
}

/* 1024 Pixel 882px */
@media (max-width: 667px) and (min-height: 375px) {
    .hero-carousel {
        position: relative;
        overflow: hidden;
        height: 50vh;
    }
}


.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.header-text {
    color: white;
    text-shadow: 2px 2px 4px #000000;
    font-weight: bold;
    text-align: center;
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
}

.bigButtons a {
    z-index: 3;
}

.vll {
    border-left: 1px solid white;
    height: 100px;
}

.vls {
    border-left: 1px solid white;
    height: 50px;
}

.foot {
    position: relative;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.footerhr {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

/* Slider */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Ensure the slider container takes the full width */
}


.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.cardd {
    flex: 0 0 33.33%;
    margin: 2%;
}

@media (max-width: 768px) {

    /* 2 cards in tablet mode */
    .slider {
        flex-wrap: nowrap;
    }

    .cardd {
        flex: 0 0 50%;
    }
}

@media (max-width: 480px) {

    /* 1 card in mobile mode */
    .slider {
        flex-wrap: nowrap;
    }

    .cardd {
        flex: 0 0 100%;
    }
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.slider-container:hover .prev-button,
.slider-container:hover .next-button {
    opacity: 1;
}

hr {
    color: #e8b742;
}

/* FAQ */
.container {
    margin: 0 auto;
    padding: 4rem;
    width: 48rem;
}

h3 {
    font-size: 1.75rem;
    color: #373d51;
    padding: 1.3rem;
    margin: 0;
}

.accordion a {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    color: black;
    font-size: 1.15rem;
    font-weight: 400;
    border-bottom: 1px solid #e5e5e5;
}

.accordion a:hover,
.accordion a:hover::after {
    cursor: pointer;
    color: #052e59;
}

.accordion a:hover::after {
    border: 1px solid #052e59;
}

.accordion a.active {
    color: white;
    background-color: #052e59;
    border-bottom: 1px solid #052e59;
}

.accordion a::after {
    position: absolute;
    float: right;
    right: 1rem;
    font-size: 1rem;
    color: #7288a2;
    padding: 5px;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #7288a2;
    text-align: center;
}

.accordion a.active::after {
    color: #052e59;
    border: 1px solid #052e59;
}

.accordion .content {
    opacity: 0;
    padding: 0 1rem;
    background-color: white;
    max-height: 0;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
    clear: both;
    -webkit-transition: all 0.2s ease 0.15s;
    -o-transition: all 0.2s ease 0.15s;
    transition: all 0.2s ease 0.15s;
}

.accordion .content p {
    font-size: 1rem;
    font-weight: 300;
}

.accordion .content.active {
    opacity: 1;
    padding: 1rem;
    max-height: 100%;
    -webkit-transition: all 0.35s ease 0.15s;
    -o-transition: all 0.35s ease 0.15s;
    transition: all 0.35s ease 0.15s;
}

.accordion-toggle .arrow svg {
    transition: transform 0.3s ease-in-out;
}

.accordion-item.active .accordion-toggle .arrow svg {
    transform: rotate(180deg);
}

/* Search */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.search-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: white;
    width: 50%;
    margin: 0 auto;
}

.close-search-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.overlay-active {
    display: flex;
}

/* Initial Modal */
#customModal .modal-container {
    width: 90%;
}

#customModal .modal-content {
    padding: 0;
}

/* Adjust the close button positioning */
#closeModal {
    top: 10px;
    right: 10px;
}

/* 1024 Pixel 882px */
@media (max-width: 1024px) and (min-height: 882px) {
    #top {
        padding-left: 0;
        padding-right: 0;
    }
}

/* 1024 Pixel 768px */
@media (max-width: 1024px) and (min-height: 768px) {
    #top {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1440px) and (min-height: 768px) {
    #top {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Add this CSS to your stylesheet or in a <style> tag in your HTML */
.image-container {
    width: 300px;
    /* Set a fixed width for the image container */
    height: 200px;
    /* Set a fixed height for the image container */
    overflow: hidden;
    /* Hide the overflow of the image */
}

.gallery-image {
    width: 100%;
    /* Make sure the image fits the container width */
    height: 100%;
    /* Make sure the image fits the container height */
    object-fit: contain;
    /* Display the full image within the container */
}
