:root {
    /* --background-primary: #0cb4d4; */
    --background-primary: #04034f;
    --background-secondary: #e40414;
}

* {
    font-family: "Noto Kufi Arabic", sans-serif;
}

.mt-5 {
    margin-top: 20px;
}

.color_theme_primary {
    color: var(--background-primary) !important;
    transition: 0.3s all ease-in-out;
}

.color_theme_primary:hover {
    color: var(--background-secondary) !important;
}

.color_theme_secondary {
    color: var(--background-secondary) !important;
    transition: 0.3s all ease-in-out;
}

.navbar__wrapper {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 1000px;
}

.nav-link.active {
    color: var(--background-secondary) !important;
}

.navbar__top {
    /* background-image: linear-gradient(to right, var(--background-primary), var(--background-secondary)); */
    background-color: var(--background-primary);
    color: #fff;
    height: 50px;
    width: 90%;
    padding-inline: 20px;
    border-radius: 8px;
    font-size: large;
}

.navbar__container {
    border-radius: 8px;
}

.navbar__logo_container {
    width: 100px;
    height: 100px;
}

.navbar__logo {
    width: 100%;
    height: 100%;
}

.nav-link {
    font-weight: 600;
}

.header__container {
    /* background-image: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover; */
    height: 900px;
    overflow: auto;
}

.swiper {
    /* margin-top: 150px; */
    height: 100%;
    /* z-index: -1000; */
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.slide_1,
.slide_2,
.slide_3 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
    color: #fff;
}

.swiper_content {
    position: absolute;
    content: "";
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    text-align: center;
}

.swiper_title {
    font-size: 42px;
}

.swiper_subtitle {
    font-size: 20px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: #fff;
}

.related_products_swiper .swiper-button-prev::after,
.related_products_swiper .swiper-button-next::after {
    color: var(--background-primary);
}

.related_product_card {
    height: 400px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px,
    rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
}

.swiper-button-prev {
    left: 50px !important;
}

.swiper-button-next {
    right: 50px !important;
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
}

.solutions__title {
    font-size: 35px;
    font-weight: 600;
}

.solutions__subtitle {
    font-size: 25px;
    font-weight: 600;
}

.solutions__content {
    margin-top: 100px;
}

.solutions__card {
    border: none;
    box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    -webkit-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    -moz-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    margin-bottom: 100px;
    height: 200px;
    position: relative;
}

.solution_icon_container {
    position: absolute;
    content: "";
    top: -50px;
    left: 50%;
    height: 80px;
    width: 80px;
    transform: translateX(-50%);
    box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.2);
    -webkit-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.2);
    -moz-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.solution_icon_container .icon {
    font-size: xx-large;
    color: var(--background-primary);
    transition: 0.3s all ease-in-out;
}

.solution_icon_container::before {
    position: absolute;
    content: "";
    inset: 0;
    opacity: 1;
    background-color: var(--background-primary);
    z-index: -10;
    transform: translateY(-100%);
    transform-origin: top;
    transition: 0.3s all ease-in-out;
}

.solutions__card:hover .solution_icon_container::before {
    transform: translateY(0);
}

.solutions__card:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.products__page .header {
    background-position: center;
    background-size: cover;
    height: 500px;
    position: relative;
}

.product_wrapper {
    width: 100%;
    min-height: 500px;
}

.product_card {
    border: none;
    box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    -webkit-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    -moz-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    text-align: center;
    border-radius: 4px;
    width: 350px;
}

.product_card .card-title {
    color: var(--background-primary);
    font-size: medium;
}

.product_card_index {
    border: none;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px,
    rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    text-align: center;
    border-radius: 4px;
}

.product_card_index .card-title {
    color: var(--background-primary);
}

.product_image_container {
    height: 250px;
    position: relative;
    overflow: hidden;
}

/*
.product_image_container::before {
    position: absolute;
    content: "";
    inset: 0;
    background-image: linear-gradient(
        to right,
        rgba(4, 3, 79, 0.2),
        rgba(228, 4, 20, 0.2)
    );
    opacity: 1;
    transition: 0.3s all ease-in-out;
    z-index: 19;
}

.product_card_index:hover .product_image_container::before,
.related_product_card:hover .product_image_container::before,
.product_card:hover .product_image_container::before{
    opacity: 0;
} */
.product_card_index:hover .product_image,
.related_product_card:hover .product_image,
.product_card:hover .product_image {
    transform: scale(1.1);
}

.product_image {
    height: 100%;
    object-fit: contain;
    transition: 0.3s all ease-in-out;
}

.about__container {
    margin-bottom: 100px;
}

.about__image_container {
    max-width: 700px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/*
.about__image_container::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(
        to right,
        rgba(4, 3, 79, 0.1),
        rgba(228, 4, 20, 0.3)
    );
} */

.about__image {
    width: 100%;
}

.about__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--background-primary);
}

.about__subtitle {
    font-size: 22px;
    font-weight: 700;
}

.about__content_container {
    max-width: 579px;
}

.about__content {
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    width: 100%;
    text-align: justify;
}

.about__btn_container {
    margin-block: 30px;
}

.about__btn {
    background-color: transparent;
    border: none;
    text-transform: capitalize;
    font-weight: 600;
}

.btn_active {
    background-color: var(--background-primary);
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px,
    rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
}

.btn_active:hover {
    color: #fff;
    background-color: var(--background-secondary);
}

.product_btn {
    background-color: var(--background-primary);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px,
    rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
}

.product_btn:hover {
    color: #fff;
    background-color: var(--background-secondary);
}

.form-check-label {
    text-transform: capitalize;
}

.read_more {
    background-color: var(--background-primary);
    padding: 15px 30px;
    color: #fff;
    border-radius: 5px;
}

.about__contact_icon {
    background-color: var(--background-primary);
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    border-top-right-radius: 0;
}

.about__contact_title {
    font-size: 22px;
}

.about__contact_number {
    font-size: 22px;
    font-weight: 600;
}

.services__card {
    border: none;
    box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    -webkit-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    -moz-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.1);
    margin-bottom: 20px;
    height: 390px;
    position: relative;
    transition: 0.3s all ease-in-out;
}

.services__card:hover .service__image {
    transform: scale(1.1);
}

.services__card:hover {
    transform: translateY(-10px);
}

.card-title {
    transition: 0.3s all ease-in-out;
    cursor: pointer;
}

.services__card:hover .card-title,
.services__card:hover .services__readmore_container {
    color: var(--background-secondary);
}

/*.service__page_card {*/
/*    height: 392px !important;*/
/*}*/

.service__image_container {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service__image_overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    background-image: linear-gradient(
        to right,
        rgba(4, 3, 79, 0.1),
        rgba(228, 4, 20, 0.3)
    );
}

.service__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s all ease-in-out;
}

.service_icon_container {
    position: absolute;
    content: "";
    top: -50px;
    left: 20%;
    height: 80px;
    width: 80px;
    transform: translateX(-50%);
    box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.2);
    -webkit-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.2);
    -moz-box-shadow: 0px 10px 35px 0px rgba(0, 27, 175, 0.2);
    border-radius: 8px;
}

.service_icon_container .icon {
    font-size: xx-large;
    color: var(--background-primary);
}

.services__title {
    margin-top: 100px;
}

.services__readmore_container {
    padding-left: 20px;
    padding-bottom: 20px;
}

.services__readmore {
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
}

.services__readmore_container:hover {
    color: var(--background-secondary);
}

.service_icon {
    transition: 0.3s all ease-in-out;
}

.contact__container {
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    height: 350px;
}

.contact__wrapper {
    height: 100%;
}

.contact__phone {
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
}

.contact__right {
    width: 500px !important;
}

.contact__btn {
    font-size: larger;
    text-transform: capitalize;
    font-weight: 600;
}

/* services page start */

.breadcrump_header {
    background-position: center;
    background-size: cover;
    height: 500px;
    position: relative;
}

.breadcrump_header .breadcrump__container {
    position: absolute;
    content: "";
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 1px #000;
}

.breadcrump__top {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.services__content {
    margin-top: 50px;
}

.services__page .services__content .services__card {
    box-shadow: 0px 20px 81px 0px rgba(8, 0, 20, 0.14);
    /*height: 210px;*/
}

.service_icon_card {
    font-size: 32px;
    margin-bottom: 20px;
}

/* why us page */
.whyus__container {
    margin-block: 100px;
}

.whyus__image_container {
    /* max-width: 750px; */
    /* min-width: 400px; */
    width: 100%;
    height: 550px;
    overflow: hidden;
    box-shadow: 0px 20px 81px 0px rgba(8, 0, 20, 0.301);
}

.whyus__image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.whyus__title {
    color: var(--background-primary);
}

.whyus__content {
    font-size: medium;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
}

/* FAQ section */

.faq__title {
    margin-top: 100px;
    margin-top: 50px;
    text-align: center;
    color: var(--background-primary);
}

.faq__subtitle {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
}

/* footer section */

.footer__container {
    /* background-image: linear-gradient(
            to bottom,
            rgba(2, 27, 32, 0.2),
            rgba(2, 27, 32, 0.2)
        ),
        url("https://img.freepik.com/free-photo/vibrant-abstract-sphere-illuminates-dark-backdrop-generated-by-ai_188544-11877.jpg?t=st=1702389520~exp=1702393120~hmac=b99b17831f3d38a24ab9632a348da6ab86a4d5e95e18c632f20db3e6df1ea7a1&w=1380"); */
    background-position: center;
    background-size: cover;
    height: auto;
    color: #fff;
}

.footer__logo_container {
    width: 100px;
    margin-bottom: 20px;
}

.footer__logo {
    width: 100%;
    filter: drop-shadow(0 0 0.75rem #000);
}

.footer__description {
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
}

.footer__list {
    list-style: none;
}

.footer__title {
    font-size: 22px;
    width: max-content;
    position: relative;
    margin-bottom: 15px;
}

/* contact us page start */

.contact__page .header {
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.3)
    ),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    /* background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://www.bnetworksit.com/front/img/breadcrumb_img.jpg'); */
    background-position: center;
    background-size: cover;
    height: 500px;
    position: relative;
}

.contact__page .breadcrump__container {
    position: absolute;
    content: "";
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 1px #000;
}

.breadcrump__top {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.contact__content {
    min-height: calc(100vh - 500px);
    padding-bottom: 50px;
}

.contact__office_title {
    color: var(--background-primary);
    font-size: 32px;
}

.contact__list {
    list-style: none;
    padding-left: 0;
}

.contact__icon {
    color: var(--background-primary);
}

/* single service page */

.service__page .header {
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.3)
    ),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    /* background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://www.bnetworksit.com/front/img/breadcrumb_img.jpg'); */
    background-position: center;
    background-size: cover;
    height: 500px;
    position: relative;
}

.service__page .header .breadcrump__container {
    position: absolute;
    content: "";
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 1px #000;
}

.breadcrump__top {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.single_service_image_container {
    height: 500px;
    /* width: 600px; */
}

.single_service_image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.single_service_description {
    font-size: 18px;
}

.related_services_title {
    color: var(--background-primary);
    margin-block: 20px;
}

.related_services_list .list_item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.copy_rights {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 20px;
    font-size: smaller;
}

.copy_rights_bottom {
    color: #fff;
    padding: 0;
}

.page-link {
    color: var(--background-primary);
}

.page-item.active .page-link {
    background-color: var(--background-primary);
    border-color: var(--background-primary);
}

.snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 8px; /* Rounded borders */
    border: none;
    background-color: green;
    position: fixed; /* Sit on top of the screen */
    z-index: 1999; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    top: 50px; /* 50px from the bottom */
    padding-inline: 50px;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
.snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 50px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 50px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 50px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 50px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}

@media screen and (max-width: 1000px) {
    .navbar__top {
        display: none !important;
    }

    .navbar__wrapper {
        width: 100% !important;
    }

    .navbar__container {
        border-radius: 0;
    }

    .swiper_content {
        top: 50%;
        left: 50% !important;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 60%;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 25px !important;
    }

    .swiper-button-prev {
        left: 20px !important;
    }

    .swiper-button-next {
        right: 20px !important;
    }

    .swiper_title {
        font-size: 22px;
    }

    .product_card {
        width: 100%;
    }
}

@media screen and (max-width: 519px) {
    .breadcrump__container {
        width: 90%;
    }

    .contact__container {
        padding: 20px;
    }

    .contact__btn {
        /* padding: 10px 15px; */
        font-size: small;
    }

    .whyus__description {
        margin-top: 30px;
    }

    .margin-top-sm {
        margin-top: 30px;
    }

    .product_card {
        width: 100%;
    }

    .product_wrapper {
        padding: 20px;
    }

    .product_title_container {
        margin-block: 10px;
    }
}

/*Anas*/

/*Video*/
.owl-carousel .item {
    position: relative;
}

.button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%; /* Adjust width as needed */
    z-index: 10; /* Ensure it's above the image */
}

.swiper_title {
    color: white; /* Optional: make text white for better visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Optional: add text shadow for readability */
    margin-bottom: 10px;
}

.swiper_subtitle {
    color: white; /* Optional: make text white for better visibility */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Optional: add text shadow for readability */
}

.button-video-container {
    position: absolute;
    /*margin-top: 10px;*/
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /*width: 80%; !* Adjust width as needed *!*/
    z-index: 10; /* Ensure it's above the image */
}

.owl-carousel .item img {
    width: 100%;
    height: 1000px;
    object-fit: cover;
}

.owl-carousel .item video {
    width: 100%;
    height: 1000px; /* Matches the height of the image */
    object-fit: cover; /* Ensures the video covers the container while maintaining aspect ratio */
}

@media (max-width: 768px) {
    .owl-carousel .item img, .owl-carousel .item video {
        height: 900px;
    }

    .button-video-container {
        margin-top: 200px;
    }
}

@media (max-width: 480px) {
    .owl-carousel .item img, .owl-carousel .item video {
        height: 750px;
    }

    .button-video-container {
        margin-top: 200px;
    }
}

/**/
.services__card .service__image_container {
    margin: 0 15px;
}
