* {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.bg-custom-dark{
    background: #000;
}

.text-red-header{
    color: #ff0300;
}

.py-xl{
    padding: 5% 0;
}

.bg-dark-gray{
    background: #d0d2d3;
}

.fact{
    width: 100%;
    max-width: 500px;
    margin: 1rem 0;
}

.img-offset{
    margin-left: -2rem;
}

.custom-section{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.flex-custom-mobile{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flex-custom-mobile img{
    width: 100%;
    height: 100%;
}

.buttons-products{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.products_button_custom{
    background: none;
    color: #fff;
    border: none;
    padding: .6rem;
    text-transform: uppercase;
    transition: .5s;
}

.products_button_custom:hover{
    cursor: pointer;
    border: 1px solid #ba0403;
    border-radius: 6px;
    transition: transform .5s ease-in-out;
}

/* Index Banner */
#home_banner {
    text-align: left;
    left: 0;
    right: auto;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* padding-left: 5%; */
    /* background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); */
    width: 60%;
}

#home_banner h4 {
    font-size: 3.8rem;
    font-weight: bold;
}

#home_banner p {
    font-size: 1.2rem;
}

.index-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 90vh;
    background: url('/img/bg1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.projects{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 50vh;
    background: url('/img/banner.webp') no-repeat center center;
    background-size: 100% 100%;
}

.bg-project-black{
    display: inline-block;
    padding: 2%;
    background: rgba(0, 0, 0, 0.6);
}

/* End of Index Banner */

/* General */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 9999;
    border: none;
    outline: none;
    background: #ba0403;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
}

#myBtn:hover {
    background-color: #fff;
    color: #ba0403;
}

.bg-solid-red{
    background: #ba0403;
}

.by-two{
    flex: 1 0 calc(25% - 1rem);
    max-width: calc(25% - 1rem);
}

/* Carousel-custom Clients */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 25s slide infinite linear;
}

.logos-slide img {
    height: 80px;
    margin: 0 2rem;
}

/* End of Custom Carousel */

/* Banner Contact Section */
.custom-caption{
    margin-top: -12% !important;
}

.custom-caption h4, .custom-caption-services h4 {
    font-size: 5rem;
    font-weight: bold;
}

.banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    background: url('/img/contact/banner.webp') no-repeat center center;
    background-size: cover;
}

.bg-red{
    background: rgba(221, 5, 5, 0.6);
}

.h4{
    font-size: 3.8rem;
}

.text-shadow{
    text-shadow: 0px 10px 0px black;
}

.bg-uae{
    background: url('/img/bg2.webp') no-repeat center center;
    background-size: cover;
    height: 80vh;
}

.py-md-10{
    padding: 20% 0 20% 0;
}

.pt-md-7{
    padding-top: 10%;
}

.pt-md-6{
    padding-top: 7%;
}

.py-md-7{
    padding-top: 3%;
    padding-bottom: 3%;
}

.w-70{
    width: 70%;
}

.w-80{
    width: 80%;
}

.mt-md-6 {
    margin-top: 4rem !important;
}

.bg-gray{
    background: #f2f2f2;
}

/* Contact */
.btn-contact{
    background: #ba0403;
    color: white;
    transition: .5s;
}

.btn-contact:hover{
    transition: transform .1s ease-in-out;
    color: black;
}

.align-items-stretch{
    display: flex;
}

/* End of Banner */

/* Index */

.text-black{
    color: #000;
}

.text-red{
    color: #ba0403;
}

.left-red-border{
    padding: 0 2%;
    border-left: 8px solid #ba0403;
}

.left-red-border-2{
    padding: 0 2%;
    border-left: 1.5rem solid #ba0403;
}

.left-black-border{
    border-left: 5px solid #000;
}

.left-black-border-title{
    padding: 0 2%;
    border-left: 1.5rem solid #000;
}

.custom-button{
    padding: 1%;
    background: none;
    border: none;
    transition: .5s;
}

.custom-button:hover{
    background: #ba0403;
    color: white;
}

.justified{
    text-align: justify;
}

.custom-card{
    background: none;
    border: none;
    box-shadow: none;
    transition: transform .1s ease-in-out;
}

.custom-card-2{
    transition: transform .1s ease-in-out;
}

.custom-card-2:hover{
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: rgba(50, 93, 91, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.custom-card:hover, .custom-hover:hover .custom-card{
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: rgba(50, 93, 91, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.border-red{
    border: 5px solid #ba0403;
    border-radius: 65px;
}

.flex-custom{
    overflow-x: auto;
}

.flex-custom img{
    max-width: 10%;
    height: auto;
    margin: 0 1%;
    transition: transform .1s ease-in-out;
}

.flex-custom-2 img{
    max-width: 15%;
    height: auto;
    margin: 0 1%;
    transition: transform .1s ease-in-out;
}

.flex-custom img:hover, .flex-custom-2 img:hover{
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: rgba(50, 93, 91, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.mh-70{
    max-height: 70%;
}

.border-red-big{
    border-left: 20px solid #ba0403;
}

.px-custom-md-2{
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
}

.ps-custom-md-2{
    padding-left: 2.5rem !important;
}

.w-md-70{
    width: 70%;
}

.no-margin{
    margin: 0 !important;
    padding: 0 !important;
}

.custom-carousel{
    background: none !important;
}

.offset-md-medium{
    margin-top: -12%;
    z-index: 999;
}

.icon{
    max-width: 40px;
}

.inc{
    font-size: 1.2rem;
}

.offset-home-partners{
    width: 35%;
    margin-top: -24px;
    z-index: 999;
}

/* Additional */

.custom-card-services2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bg-image2 {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.bg-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body-mobile {
    flex-shrink: 0;
}

.d-grid-mobile{
    display: none;
}

/* End of Index */

/* Services */
.banner-services{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80vh;
    background: url('/img/services/services-banner.webp') no-repeat center center;
    background-size: cover;
}

.left-white-border{
    padding: 0 2%;
    border-left: 10px solid #fff;
}

.services-offset{
    margin-top: -8%;
}

.bg-dark-red{
    background: rgba(0, 0, 0, 0.9);
}

.custom-card-services{
    background: none;
    border: none;
    box-shadow: none;
    transition: transform .1s ease-in-out;
}

.custom-card-services .card-body{
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}

.custom-card-services:hover {
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: rgba(237, 29, 36, 0.45) 0px 25px 20px -20px;
}

.bg-red-2{
    background: #be1e2d;
}

.inc-3{
    font-size: 4rem;
}

.w-md-75{
    width: 75%;
}

.image-hover{
    transition: transform .08s ease-in-out;
}

.image-hover:hover{
    cursor: pointer;
    transform: scale(1.05);
}


/* End of Services */

/* About */
/* .about-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80vh;
    background: url('/img/background.webp') no-repeat center center;
    background-size: cover;
} */

.contact{
    display: flex;
    align-items: flex-end !important;
    height: 80vh;
    background: url('/img/about/aboutus.webp') no-repeat center center;
    background-size: 100% 100%;
}

.title .highlight {
    background: rgba(0, 0, 0, 0.3);
    padding: 2%;
}

.three-rem h4{
    font-size: 3rem;
}

.tasleeh_sub{
    width: 35%;
    margin-top: -25px;
}

.tasleeh_holding{
    width: 50%;
}

.bg-about-red{
    background: #d02824;
}

.hide_mobile{
    display: block;
}

/* End of About */

/* Projects */

.banner-projects{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/banner.webp') no-repeat center center;
    background-size: 100% 100%;
}

.w-md-35{
    width: 35%;
}

.bg-custom-red-2{
    background: #d02824;
    clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
}

#prod_custom_crange{
    max-width: 100%;
    height: auto;
}

#prod_milo{
    max-width: 50%;
    height: auto;
    object-fit: contain;
}

.left-black-big-border{
    padding: 0 2%;
    border-left: 1.5rem solid #000;
}

.project-title{
    font-size: 2rem;
}

.w-50-custom{
    width: 50%;
}

.project-flex{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.card-custom{
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    margin-top: 2%;
}

.card-custom img{
    width: 100%;
    height: auto;
}

.card-custom a{
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.bg-about-red-proj {
    background-color: #d02824; /* Example background color */
    padding: 10px;
    text-align: center;
    flex-grow: 1 !important; /* Makes sure the text block grows to fill remaining space */
}

.card-custom:hover{
    cursor: pointer;
    transform: scale(1.04);
}

.proj1-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj1/1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj2-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj2/1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj3-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj3/1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj4-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj4/1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj5-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj5/1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj6-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj6/1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj7-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj7/1.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj8-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj8/1.webp') no-repeat center center;
    background-size: 100% 100%;
}



/* End of Projects */

/* Products */

.products-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80vh;
    background: black;
    background-size: cover;
}

#milo_banner{
    height: 70vh;
    background: url('/img/prods/milo.webp') no-repeat center center;
    background-size: 100% 100%;
}

.banner-products{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 85vh;
    background: url('/img/prod/banner_w_red.webp') no-repeat center center;
    background-size: cover;
}

.left-red-border-title{
    padding: 0 2%;
    border-left: 1.5rem solid #ba0403;
}

.w-66{
    width: 66.6%;
}

/* End of Products */

/* Footer */
.bg-gray-footer{
    background: #58595b;
    color: white;
}

.red-header-footer{
    display: block;
    width: 15%;
    background: #ed1d24;
    height: 30px;
}

.left-red-border-footer{
    padding: 0 2%;
    border-left: 8px solid #ed1d24;
}

.bg-footer-red{
    background: #ed1d24;
}

.text-gray{
    color: #bcbec0;
}

.icon-footer{
    max-width: 35px;
}

/* End of Footer */

/* Mobile */
@media (max-width: 768px) {
    #home_banner{
        width: 100%;
    }

    .contact{
        height: 40vh;
    }

    .index-banner{
        height: 35vh;
    }
    

    #home_banner h4, #home_banner span {
        font-size: 1.2rem !important;
    }

    #milo_banner{
        height: 30vh;
    }

    .offset-home-partners{
        width: 60%;
        margin-top: -9%;
    }

    .mobile-header{
        font-size: .9rem !important;
    }

    .mobile-header-title{
        text-align: center;
        font-size: 1.5rem;
    }

    .mobile-no-margin{
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile{
        font-size: 0.8rem !important;
    }

    .text-shadow{
        text-shadow: 0px 3px 0px black
    }

    .py-md-10, .pt-md-7, .pt-md-6, .pt-xl{
        padding: 0 !important;
    }
    
    .w-70, .w-80, .w-66{
        width: 100%;
    }
    
    .mt-md-6 {
        margin-top: 0;
    }

    .left-black-border{
        padding: 0 2%;
    }

    .border-red{
        border: 5px solid #ba0403;
        border-radius: 10px;
    }

    .px-custom-md-2, .ps-custom-md-2{
        padding: 0 !important;
    }
    
    .w-md-70{
        width: 100%;
    }

    .bg-uae{
        background: none;
        height: auto;
    }

    .banner-projects, .projects{
        height: 25vh;
    }

    .bg-projects{
        height: 30vh;
    }

    .hide_mobile, .red-header-footer{
        display: none !important;
    }

    /* Footer */
    .custom-caption h4, .custom-caption-services h4, .three-rem h4{
        font-size: 2rem;
    }

    .banner {
        height: 50vh;
        justify-content: center;
        background-position: top;
    }

    .offset-md-medium{
        margin-top: -20%;
        z-index: 999;
    }

    .mobile-center{
        text-align: center;
    }

    .custom-hover {
        flex: 0 0 calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
    }

    .card-body-mobile h6{
        font-size: .9rem;
    }

    /* Services */
    .w-md-75, .w-md-35{
        width: 100%;
    }

    .inc-3{
        font-size: 3rem;
    }

    .p-ms-3{
        padding: 0 3rem;
    }

    .mt-ms-3{
        margin-top: 3rem;
    }

    .mb-ms-3{
        margin-bottom: 3rem;
    }

    /* About */
    .tasleeh_sub{
        width: 75%;
    }

    .tasleeh_holding{
        width: 100%;
    }

    .about-banner{
        height: 60vh;
    }

    /* End of Services */

    /* Projects */

    .project-flex{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    .project-title{
        font-size: 1.2rem !important;
    }

    .w-50-custom{
        width: 100%;
    }

    /* End of Projects */

    /* Products */
    .banner-products{
        width: 100vw !important;
        height: 300px;
        background: url('/img/prod/banner_w_red.webp') no-repeat center center;
        background-size: contain;
    }

    #prod_milo{
        max-width: 100%;
    }

    .flex-custom-mobile{
        display: flex;
        flex-grow: 1;
        flex-direction: row !important;
    }

    .flex-custom-mobile img{
        width: auto;
        height: auto;
    }
    
    .products_button_custom{
        font-size: .7rem;
    }

    .buttons-products{
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-section{
        display: flex;
        align-items: center;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .custom-section .img-offset{
        max-width: 100%;
    }

    .mw-25{
        width: 100%;
    }

    .img-offset{
        margin: 0 !important;
    }

    /* Additional About */

    .hide{
        display: none;
    }

    .d-grid-mobile{
        display: block;
        display: grid;
        align-items: center;
        grid-template-columns: repeat(2, 1fr);
    }
}