@font-face {
    font-family: 'Ge SS TV Bold'; 
    src: url('/fonts/gess/ge-ss-tv-bold.ttf') format('truetype');
    font-weight: normal; 
    font-style: normal;
}

@font-face {
    font-family: 'Swiss 721 BT';
    src: url('/fonts/swis/Swiss 721 BT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "Ge SS TV Bold", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

.sf{
    font-family: "Russo One", sans-serif;
}

.bg-custom-dark{
    background: #000;
}

#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;
}

.border-red{
    border: 5px solid #ba0403;
    border-radius: 65px;
}

.w-md-75{
    width: 75%;
}

.py-md-7{
    padding-top: 3%;
    padding-bottom: 3%;
}

.text-red-header{
    color: #ff0300;
}

.left-black-border{
    border-right: 5px solid #000;
}

.left-black-border-title{
    padding: 0 2%;
    border-right: 1.5rem solid #000;
}

.text-red{
    color: #ba0403;
}

.no-margin{
    margin: 0 !important;
    padding: 0 !important;
}

.bg-red{
    background: rgba(221, 5, 5, 0.6);
}

.pt-md-7{
    padding-top: 10%;
}

.custom-button{
    padding: 1%;
    background: none;
    border: none;
    transition: .5s;
}

.custom-button:hover{
    background: #ba0403;
    color: white;
}

.w-70{
    width: 70%;
}

.w-50-custom{
    width: 50%;
}

.pt-md-6{
    padding-top: 7%;
}

.bg-solid-red{
    background: #ba0403;
}

.left-black-big-border{
    padding: 0 2%;
    border-right: 1.5rem solid #000;
}

.project-title{
    font-size: 2rem;
}

/* End of General */

/* Banner */

.custom-caption h4, .custom-caption-services h4 {
    font-size: 5rem;
    font-weight: bold;
}

.left-red-border{
    padding: 0 2%;
    border-right: 8px solid #ba0403;
}

.left-white-border{
    padding: 0 2%;
    border-right: 10px solid #fff;
}

.left-red-border-2{
    padding: 0 2%;
    border-right: 1.5rem solid #ba0403;
}

.h4{
    font-size: 3.8rem;
}

.h3{
    font-size: 1.5rem;
}

/* End of Banner */

/* Index */
#home_banner {
    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_ar.webp') no-repeat center center;
    background-size: 100% 100%;
}

.banner_one_text h4,
.banner_one_text span {
    direction: rtl !important;
}

.text-shadow{
    text-shadow: 0px 10px 0px black;
}

.flex-custom{
    overflow-x: auto;
}

.flex-custom img{
    max-width: 10%;
    height: auto;
    margin: 0 1%;
    transition: transform .1s ease-in-out;
}

.bg-uae{
    background: url('/img/bg2.webp') no-repeat center center;
    background-size: cover;
    height: 80vh;
}

.custom-card{
    background: none;
    border: none;
    box-shadow: none;
    transition: transform .1s ease-in-out;
}

.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;
}

.w-80{
    width: 80%;
}

.projects{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 50vh;
    background: url('/img/banner-proj.webp') no-repeat center center;
    background-size: 100% 100%;
}

.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;
}

/* 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 */

/* Additional */
/* 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;
}


/* End of Index */

/* Contact */
.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;
}

.offset-md-medium{
    margin-top: -12%;
    z-index: 999;
}

.custom-form-group {
    position: relative;
}

.custom-form-label {
    position: absolute;
    right: 10px;
    top: 14px;
    transition: all 0.15s;
    padding: 0 0.4rem;
    z-index: 1;
    color: #ba0403;
    background: #fff;
    border-radius: 15px;
}

.custom-form-control {
    padding: 0.8rem;
    text-align: right;
    width: 100%;
    border: 2px solid #f2f2f2;
    border-radius: 0.5rem;
    font-size: 18px;
    outline: none;
    transition: all 0.3s;
}

.custom-form-control:focus {
    border-color: #ba0403;
}

.custom-form-control:not(:placeholder-shown) + .custom-form-label,
.custom-form-control:focus + .custom-form-label {
    top: -10px;
    right: 10px;
    color: #ba0403;
    font-size: 14px;
}

.custom-form-control:not(:placeholder-shown) {
    border: 2px solid #f2f2f2; 
}

.custom-form-control::placeholder {
    opacity: 0;
}

.custom-textarea {
    padding: 0.8rem;
    text-align: right;
    width: 100%;
    height: 100%;
    border: 2px solid #f2f2f2; 
    border-radius: 0.5rem;
    font-size: 18px;
    outline: none;
    transition: all 0.3s;
    resize: none; 
}

.custom-textarea:focus {
    border-color: #ba0403;
}

.custom-textarea:not(:placeholder-shown) + .custom-form-label,
.custom-textarea:focus + .custom-form-label {
    top: -10px;
    right: 10px;
    color: #ba0403;
    font-size: 14px;
}

.custom-textarea:not(:placeholder-shown) {
    border: 2px solid #ba0403; 
}

.custom-textarea::placeholder {
    opacity: 0;
}

.btn-contact{
    background: #ba0403;
    color: white;
    transition: .5s;
}

.btn-contact:hover{
    transition: transform .1s ease-in-out;
    color: black;
}

.icon{
    max-width: 40px;
}

.inc{
    font-size: 1.2rem;
}


/* End of Contact */

/* 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;
}

.three-rem h4{
    font-size: 3rem;
}

.tasleeh_sub{
    width: 35%;
    margin-top: -25px;
}

.tasleeh_holding{
    width: 50%;
}

.bg-gray{
    background: #f2f2f2;
}

.bg-about-red{
    background: #d02824;
}

.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;
}

.hide_mobile{
    display: hidden;
}

/* End of About */

/* Projects */

.banner-projects{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/banner_ar.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, 100% 100%, 5% 100%);
}

.project-flex{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.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: block;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-custom .bg-about-red {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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);
}

/* End of Projects */


/* 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;
}

.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%;
}

.inc-about{
    font-size: 5rem;
}

.services-offset{
    margin-top: -8%;
}

.border-red-big{
    padding: 0 2%;
    border-right: 20px solid #ba0403;
}

/* End of Services */

/* 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-right: 8px solid #ed1d24;
}

.icon-footer{
    max-width: 35px;
}

/* Projects */

.proj6-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj6/1_ar.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_ar.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_ar.webp') no-repeat center center;
    background-size: 100% 100%;
}

.proj1-banner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/proj/proj1/1_ar.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_ar.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_ar.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_ar.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_ar.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%;
}

.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;
}

.py-xl{
    padding: 5% 0;
}

.img-offset{
    margin-right: -2rem;
}

.left-red-border-title{
    padding: 0 2%;
    border-right: 1.5rem solid #ba0403;
}

.custom-section{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.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;
}

.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;
}

#prod_milo{
    max-width: 50%;
    height: auto;
    object-fit: contain;
}

.fact{
    width: 100%;
    max-width: 500px;
    margin: 1rem 0;
}

#prod_custom_crange{
    max-width: 100%;
    height: auto;
}

/* End of Products */


/* End of Footer */

@media(max-width: 768px){
    #home_banner{
        width: 100%;
    }

    .carousel-caption h4, .carousel-caption span {
        font-size: 1.2rem !important;
    }

    #milo_banner{
        height: 30vh;
    }

    .tasleeh_holding{
        width: 100%;
    }

    .index-banner{
        height: 35vh;
    }

    #home_banner h4, #home_banner span {
        font-size: 1.2rem !important;
    }
    
    .offset-md-medium{
        margin-top: -20%;
        z-index: 999;
    }

    .banner {
        height: 50vh;
        justify-content: center;
        background-position: top;
    }

    .three-rem h4{
        font-size: 2rem;
    }

    .text-shadow{
        text-shadow: 0px 5px 0px black;
    }

    .bg-uae{
        background: none;
        height: auto;
    }

    .mobile-header-title{
        text-align: center;
        font-size: 1.5rem;
    }

    .project-flex{
        grid-template-columns: repeat(2, 1fr);
    }

    .w-md-75, .w-md-35, .w-70, .w-80, .w-66, .w-50-custom{
        width: 100%;
    }

    .banner-projects, .projects{
        height: 25vh;
    }

    .custom-hover {
        flex: 0 0 calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
    }

    .border-red{
        border: 5px solid #ba0403;
        border-radius: 10px;
    }

    .hide_mobile, .red-header-footer{
        display: none !important;
    }

    .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;
    }

    .banner-products{
        width: 100vw !important;
        height: 300px;
        background: url('/img/prod/banner_w_red.webp') no-repeat center center;
        background-size: contain;
    }

    .tasleeh_sub{
        width: 75%;
    }

    /* Additional */

    .contact{
        height: 40vh;
    }
    
    .hide{
        display: none;
    }

    .d-grid-mobile{
        display: block;
        display: grid;
        align-items: center;
        grid-template-columns: repeat(2, 1fr);
    }
}