
@font-face {
    font-family: alexandria;
    src: url(../font/Alexandria-VariableFont_wght.ttf);
}


html, body{
    direction: rtl;
    /* background-color: white; */
    font-family: alexandria;
    overflow-x: hidden;
}


/********** Template CSS **********/
:root {
    --primary: #3578BC;
    --secondary: #4a94de;
    --light: #F7FAFF;
    --dark: #082e55;
}

.shadow{
    box-shadow: 0 10px 10px #3578bc57 !important;
}
.about-hero{
    background-image: url('./../img/013.jpg') !important;
    
}


.hero-about-text-container{
    background-color: rgba(0, 0, 0, 0.2);
}



.about-img{
    width: 100px;
}

.about-title,.about-text{
    font-family: alexandria;
    color: var(--primary);
    text-align: center;
    
}

.about-title{
    font-size: 3rem;
    font-weight: 500 !important;
    display: inline-block;
    width: fit-content;
    padding-bottom: 10px;
    border-bottom: 4px solid var(--primary);
}

.about-text{
    font-size: 2rem;
    
}



.service-item {
    position: relative;
    min-height: 200px;
    padding: 30px 25px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}
.service-item h5{
    color: var(--primary);
    font-family: 'alexandriaNext';
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 0px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--light);
}
.superiority{
    background-image: url('./../img/trophy\ \(1\).png');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}
.org:hover .superiority{
    background-image: url('./../img/trophy.png');
}

.quality{
    background-image: url('./../img/guarantee.png');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}
.sr:hover .quality{
    background-image: url('./../img/guarantee\ \(1\).png');
}
.experience{
    background-image: url('./../img/review\ \(1\).png');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}
.mg:hover .experience{
    background-image: url('./../img/review.png');
}
.services{
    background-image: url('./../img/headphones.png');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}
.sf:hover .services{
    background-image: url('./../img/headphones\ \(1\).png');
}
.reliabilty{
    background-image: url('./../img/trust.png');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}
.am:hover .reliabilty{
    background-image: url('./../img/trust\ \(1\).png');
}
.integrity{
    background-image: url('./../img/scale\ \(1\).png');
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}
.ig:hover .integrity{
    background-image: url('./../img/scale.png');
}

.service-item h5{
    font-family: alexandria;
    transition: .5s;
}
.service-item > p{
    display: none;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--light);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: #DDDDDD;
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

.contact-hero{   
    background-color: rgba(0, 0, 0, 0);
}

.contact-main{
    background-image: url('./../img/contact-body.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.inner-main{
    /* background: linear-gradient(to bottom, var(--primary),transparent); */
    padding: 50px 100px ;
}

.map-container{
    width: 100%;
    height: auto;
}

.map-container h3{
    margin-top: 120px;
    font-size: 3rem;
}

.map{
    width: 100%;
}

.map iframe{
    width: 100%;
    height: 600px;
    border-radius: 15px;
}

.mail-container{
    margin: 80px 0px 0px 0px;
    border: 1px solid white;
    border-radius: 15px;
    padding: 15px 0;
}

.mail-container .form-control{
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary);
}

.mail-container label{
    top: 0;
    right: 0;
    left: unset;
    transition: 0.3s;
    color: var(--primary);
    background-color: transparent;
}

.contact-button{
    background-color: var(--primary);
    color: white;
    width: 100px;
}

.contact-button:hover{
    background-color: white;
    color: var(--primary);
    transition: .4s;
}

.prodcuts-container{
    background-color: var(--light);
    width: 100%;
    padding: 80px 20px;
}

.product-hero{
    background-image: url('./../img/owlimg3.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.product-card{
    overflow: hidden;
    align-items: center;
    text-align: center;
    border: 1px solid var(--primary);
    width: 300px;
    height: 300px;
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.149);
}

.product-card-text{
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: var(--primary);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-top: 3px solid var(--light);
    filter: opacity(0.8);
    transition: 0.4s;
}

.product-card:hover .product-card-text{
    filter: opacity(1);
}


.product-card-text h5{
    color: var(--light);
}

.product-card-text a,.compare-button{
    background-color: var(--light);
    color: var(--primary);
    border-radius: 10px;
    padding: 5px 10px;
    transition: 0.3s all;
    &:hover{
        background-color: var(--dark);
        color: var(--light);
    }
}

.product-card img{
    width: 150px;
    transition: 0.4s;
}

.product-card:hover .product-img{
    scale: 1.2;
}

.whatsapp-button{
    width: 30px;
    height: 30px;
    font-size: 16px;
    border-radius: 20px 20px 20px 0;
    position: absolute;
    top: 10%;
    right: -15%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
}

.whatsapp-button img{
    width: 100%;
}

.product-card:hover .whatsapp-button{
    right: 5%;
}

.whatsapp-layout-btn{
    position: fixed;
    bottom: 14%;
    top: unset;
    right: 3.2%;
    width: 45px;
    height: 40px;
    z-index: 999;
}

.product-detail-container{
    background:linear-gradient(135deg,var(--primary) 18%,#5b9ddf 33%,var(--primary) 63% );
}

.detail-data{
    color: var(--light);
    padding-top: 150px;
}

.news-hero{
    background-image: url('./../img/news-hero.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.news-body{
    height: 300px;
    border-top: 2px solid var(--primary);
    border-image: linear-gradient(to right, var(--primary) 95%, transparent 5%) 1/2px 0px 0px;
    padding: 20px;
    position: relative;
}

.news-text{
    color: var(--primary);
    text-shadow: none;
    margin-top: 50px;
}

.filter-container{
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-container .filter-btn{
    margin: 5px;
    border: none;
    border-radius: 10px;
    background-color: var(--primary);
    color: var(--light);
    transition: 0.3s all ;
    &:hover{
        background-color: var(--dark);
    }
}

.news-body:first-child{
    border-top: none;
    border-image: none;
}

.news-img{
    height: 100%;
    margin-left: 20px;
}
.news-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.news-title{
    color: var(--primary);
}

.news-date{
    position: absolute;
    bottom: 10%;
    color: var(--primary);
    direction: ltr;
}

.news-data .news-description{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 60%;
}


.compare-img-container{
    display: flex;
    align-items: start;
}

.compare-img{
    width: auto;
    height: 500px;
    object-fit: cover;
}

.compare-similar-button{
    background-color: var(--light);
    color: var(--primary);
    transition: 0.4s all;
    &:hover{
        background-color: var(--dark);
        color: var(--light);
    }
}

.product-details-table>tbody>tr>td, .product-details-table>tbody>tr>th {
    color: var(--light); 
}


.compare-table>tbody>tr>th,.compare-table>tbody>tr>td {
    color: var(--primary) ;
}

.compare-table>tbody>tr:first-of-type,.compare-table>tbody>tr:first-of-type th,.compare-table>tbody>tr:first-of-type td{
    background-color: var(--primary) ;
    color: var(--light);
}


.owl-carousel .owl-stage-outer{
    overflow: visible;
}
.detail-data h2{
    color: var(--light);
    
}

.back-to-top{
    right: 3.2% !important;
}

.login-user{
    border-radius: 0px 10px 10px 0px !important;
}
.login-user-icon{
    border-radius: 10px 0px 0px 10px !important;
}

.filter-label{
    color: var(--primary);
}
.sort-btn,#category-filter {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    outline: none;
    appearance: none;
    height: 30px;
    margin: 5px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    &:hover{
        background-color: var(--dark);
    }
}

.dropdown {
    margin: 5px;
    position: relative;
}

.dropdown-btn {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    outline: none;
    height: 30px;
    width: 150px;
    padding: 5px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    &:hover{
        background-color: var(--dark) !important;
        color: var(--light) !important;
    }
}
.dropdown-toggle::after{
    display: none;
}
.dropdown-menu {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    outline: none;
    padding: 5px;
    font-size: 16px;
    border-radius: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 9rem;
    width: 100%;
}

.dropdown-menu:hover .dropdown-btn{
    background-color: var(--primary) !important;
}

.dropdown-item {
    color: var(--light);
    padding: 5px;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.dropdown-item.active,
.dropdown-item:hover {
    background-color: var(--dark);
    color: var(--light);
}

.dropdown.show .dropdown-menu {
    display: block;
}
.dropdown-item-hovered {
    background-color: var(--dark);
    color: #fff;
}
.arrow-icon {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.arrow-icon.rotate-up {
    transform: rotate(-180deg);
}


.contact-home-text{
    font-size: 4vw !important;
}


@keyframes blog-rearrange {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.blog-rearrange-animation {
    overflow: hidden;
}

.news-body {
    animation-fill-mode: both;
}


@media (min-width: 768.98px) {
    .news-body{
        display: flex;
    }
}

@media (max-width:992px) {
    .news-body{
        height: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: auto 0;
        border-image: none;
        padding-bottom: 15px;
    }

    .news-img{
        text-align: center;
    }

    .news-data{
        text-align: center;
    }

    .news-img{
        height: 300px;
        width: 80%;
        margin: 0;
    }
    .news-description{
        margin: auto;
    }

    .news-date{
        position: relative;
    }
}
@media (max-width: 768px){
    .home-text-Large{
        font-size: 9vw !important;
    }

    .slogan-img{
        display: none !important;
    }
    .card-text-title{
        font-size: 7vw !important;
    }

    .inner-main{
        padding: 50px 40px ;
    }

    
}

@media (max-width: 680px){
    .main{
        padding: 0 20px;
    }

    .back-to-top{
        bottom: 6.2% !important;
    }

    .inner-main{
        padding: 30px 20px ;
    }
}

@media (max-width: 576px){
    .main{
        padding: 0 5px;
    }

    .news-img{
        width: 100%;
        height: 250px;
    }

}

@media screen and (min-width: 996px) and (max-width: 1400px) {
    
}