@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

body, html {
    width: 100%;
    height: 100%;
    margin: 0;

    /*font-family: "Roboto Slab", sans-serif;*/
    /*font-family: "Abril Fatface", serif;*/
    background-repeat: no-repeat;
    background-size: cover;
    --bs-backdrop-opacity: .5;
}


/*.loading{*/
/*    background-color: black;*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 9999;*/
/*    transition: all 2s;*/
/*}*/



.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind the content */
}

/* Background images */
.slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(80%);
    animation: fade 20s infinite;
}

/* Animations */
@keyframes fade {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 1;
        transform: scale(1.05);
    }
    /* Zoom in slightly */
    30% {
        opacity: 1;
        transform: scale(1.05);
    }
    /* Stay zoomed in */
    40% {
        opacity: 0;
        transform: scale(1);
    }
    /* Zoom out and fade out */
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Control the duration for each image */
.slideshow img:nth-child(1) {
    animation-delay: 0s;
}

.slideshow img:nth-child(2) {
    animation-delay: 7s;
}

.slideshow img:nth-child(3) {
    animation-delay: 14s;
}

/* Nav bar */
nav {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}


/* Text Overlay */
.slideshow-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}



.pages_headline_tag {
    font-family: "Abril Fatface", serif;
    margin-bottom: 20px;
}


@media (max-width: 500px) {

    .font-page-3-tagline{
        /*font-size: .6rem !important;*/
        display: none!important;
    }
    .pages_headline_tag {
         margin-top: 50px;
        font-family: "Abril Fatface", serif;
        font-size: 2.4rem !important;
        margin-bottom: 20px;
    }
}

@media (min-width: 501px) and (max-width: 769px) {

    .font-page-3-tagline{
        font-size: 1rem !important;
        font-weight: bold;
    }
    .pages_headline_tag {
        font-family: "Abril Fatface", serif;
        font-size: 2.3rem !important;
        margin-bottom: 20px;
    }
}

@media (min-width: 770px) and (max-width: 1450px) {

    .font-page-3-tagline{
        font-size: 1.1rem !important;
        font-weight: bold;
    }
    .pages_headline_tag {
        font-family: "Abril Fatface", serif;
        font-size: 3.4rem !important;
        margin-bottom: 20px;
    }
}

@media (min-width: 1450px) {
    .pages_headline_tag {
        font-family: "Abril Fatface", serif;
        font-size: 4rem !important;
        margin-bottom: 20px;
    }
}




.slideshow-text p {
    font-size: 1rem;
    margin-bottom: 20px;
}


/*every page coverphoto details*/
.every-page-coverPhoto{
    min-height: 500px ;
    width: auto;
    object-fit: cover;
    display: block;
}



.justify-text {
    text-align: justify; /* Justifies text for even alignment on both sides */
}



.btn {
    padding: 10px 20px;
    background-color: #ea2a2a;
    /*background-image: url('../img/logo/zama btn bg.png');*/

    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;

}

.btn:hover {
    background-color: rgba(246, 246, 246, 0);
    color: rgba(255, 255, 255, 0.83);
    border: 2px solid red;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
}



.banner-item-headline {
    font-family: "Roboto Slab", sans-serif;
}

/*font-family: "DM Sans", sans-serif;*/

.h1-tag {

    /*font-family: "Abril Fatface", serif;*/
    font-family: "Roboto Slab", sans-serif;

    font-size: 2rem;
    /*font-weight: bold;             !* Bold weight for emphasis *!*/
    color: #0f4189; /* Dark, elegant color */
    /*text-transform: uppercase;    !* Makes text all caps *!*/
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.1);
}





.team-h1-tag {
    font-size: 4rem;
    margin-bottom: 20px;
    stroke: black;
}


.test {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 100%;*/
    z-index: -1; /* Behind the content */
}

/* Background images */
.test img {
    position: absolute;
    width: 100%;
    /*height: 100%;*/
    /*object-fit: cover;*/
}


.vertical-text-whyus {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: "Abril Fatface", serif;
    letter-spacing: 2px;
    color: #2d2d2d;
    display: inline-block; /* Ensure it doesn't collapse */
    word-spacing: 20px;
    font-size: 50px;
    margin: 0;
    font-weight: bolder;
    overflow: hidden; /* Hide any overflowing content */
    white-space: nowrap;
    max-height: 100%;
}

@media (max-width: 767.98px) {
    .vertical-text-whyus {
        writing-mode: horizontal-tb;
        transform: none;
        margin: 0 auto;
        text-align: center;
        font-size: 35px; /* Adjust font size for small screens */
        letter-spacing: 1px; /* Adjust letter spacing */
        word-spacing: normal; /* Reset word spacing */
        display: block; /* Ensure proper positioning */
    }

.banner-item-headline{
    font-weight: normal !important;
    font-size: 16px;
}
    .banner-item-des{
        display: none;
    }
}

.nav-link:hover{
    color: #ff0000 !important;
}

.footer_quick_link:hover{
    color: #ff0000 !important;
}