:root {
    --theme-color1-rgb: 34, 36, 41;
    --theme-color2-rgb: 255, 56, 56;
    --theme-color3-rgb: 244, 245, 248;
    --theme-color1: #222429;
    --theme-color2: #df2026;
    --theme-color3: #f4f5f8;
    --text-color-bg-theme-color1: #fff;
    --text-color-bg-theme-color2: #fff;
    --text-color-bg-theme-color3: #fff
}

.icon-quote {
    background-image: url(../images/icons/icon-quote-red.png)
}

.banner-section-two:before {
    background-image: url(../images/main-slider/s3-shape-1-red.png)
}

.about-section .image-column .inner-column:before {
    background-image: url(../images/icons/pattern-25-red.png)
}

.about-section-three:before {
    background-image: url(../images/icons/arrow-top-red.png)
}

.about-section-three:after {
    background-image: url(../images/icons/arrow-bottom-red.png)
}

.about-section-four:before {
    background-image: url(../images/icons/shape-tm-6-red.png)
}

.about-section-ten:before {
    background-image: url(../images/icons/shape-tm-16-red.png)
}

.about-section-ten:after {
    background-image: url(../images/icons/shape-tm-17-red.png)
}

.contact-form.light:before {
    background-image: url(../images/icons/shape-tm-7-red.png)
}

.contact-section-three.style-three:before {
    background-image: url(../images/icons/shape-tm-18-red.png)
}

.contact-section-three.style-three:after {
    background-image: url(../images/icons/shape-tm-19-red.png)
}

.features-section-two:before {
    background-image: url(../images/icons/bg-shape-tm-1-red.png)
}

.feature-block-two .inner-box:after {
    background-image: url(../images/icons/shape-tm-1-red.png)
}

.features-section-seven:before {
    background-image: url(../images/icons/shape-tm-9-red.png)
}

.pricing-block-two .inner-box {
    background-image: url(../images/icons/shape-tm-13-red.png)
}

.services-section-six:before {
    background-image: url(../images/icons/bg-shape-tm-2-red.png)
}

.team-section:before {
    background-image: url(../images/icons/shape-tm-11-red.png)
}

.testimonial-section:before {
    background-image: url(../images/icons/pattern-tm-1-red.png)
}

.about-section-seven::after {
    background-image: url(../images/background/shape-tm-5.png);
    position: absolute;
    left: 0;
    bottom: 0;
    height: calc(100% - 24px);
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    content: "";
    z-index: -1;
}

.about-section-seven::before {
    position: absolute;
    left: 0;
    bottom: 0;
    height: calc(100% - 24px);
    width: 100%;
    background-color: var(--bg-theme-color2);
    content: "";
    opacity: .92;
    z-index: -1;
}

.gallery .inner-box {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 20px 20px 25px;
    background-color: #fff;
    text-align: center;
    -webkit-box-shadow: 0 10px 60px rgba(0, 0, 0, .07);
    box-shadow: 0 10px 60px rgba(0, 0, 0, .07);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.videos .inner-box {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 20px 20px 25px;
    background-color: #fff;
    text-align: center;
    -webkit-box-shadow: 0 10px 60px rgba(0, 0, 0, .07);
    box-shadow: 0 10px 60px rgba(0, 0, 0, .07);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.videos .video-wrapper {
    position: relative;
    display: inline-block;
}

.videos .thumbnail {
    width: 100%;
    height: auto;
}

.videos .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50px;
    pointer-events: none;
}

.fab.fa-x-twitter::before {
    content: "𝕏";
    font-family: "Arial", sans-serif;
    font-size: 17px;
}

.main-menu .navigation>li>ul>li>ul>li {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #ebf1f5;
}

.main-menu .navigation>li>ul>li>ul>li.dropdown>a:after {
    font-family: "font awesome 5 free";
    content: "\f105";
    position: absolute;
    right: 0;
    top: 11px;
    display: block;
    line-height: 24px;
    font-size: 11px;
    font-weight: 900;
    z-index: 5;
}

.main-menu .navigation>li>ul>li>ul>li:hover>a {
    color: var(--theme-color2);
}

.main-menu .navigation>li>ul>li>ul>li>ul>li>a:hover {
    color: var(--theme-color2);
}

.main-menu .navigation>li>ul>li>ul>li>ul>li>a {
    position: relative;
    display: block;
    padding: 10px 0;
    line-height: 29px;
    font-weight: 400;
    font-size: 16px;
    color: var(--bg-theme-color1);
    text-align: left;
    margin: 0 30px;
    text-transform: capitalize;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}

.main-menu .navigation>li>ul>li>ul>li>a {
    position: relative;
    display: block;
    padding: 10px 0;
    line-height: 29px;
    font-weight: 400;
    font-size: 16px;
    color: var(--bg-theme-color1);
    text-align: left;
    margin: 0 30px;
    text-transform: capitalize;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}

.main-menu .navigation>li>ul>li>ul>li.dropdown:hover>ul {
    visibility: visible;
    opacity: 1;
    top: 0;
    margin-top: 20px;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.main-menu .navigation>li>ul>li>ul>li>ul {
    background-color: #fff;
    -webkit-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, .05), -2px 0 5px 1px rgba(0, 0, 0, .05);
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, .05), -2px 0 5px 1px rgba(0, 0, 0, .05);
    display: none;
    left: 100%;
    margin-top: 10px;
    opacity: 0;
    padding: 10px 0 0;
    position: absolute;
    top: 0;
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
    width: 220px;
    z-index: 100;
}

@media only screen and (min-width: 768px) {
    .main-menu .navigation>li>ul>li>ul>li>ul {
        display: block !important;
        visibility: hidden;
        opacity: 0;
    }
}

.main-menu .navigation>li>ul>li>ul>li>ul>li:last-child {
    border-bottom: none;
}

.project-block-five .inner-box .image-box video {
    width: 100%;
    height: 370px;
    border: none;
}

.project-block-five .inner-box .image-box img {
    height: 370px;
}

.fancybox-slide video {
    width: auto;
    height: 90%;
}

/* soluction */

.solution-section,
.solution-section-two {
    position: relative;
    padding: 60px 0 20px;
}

.solution-section:before,
.solution-section-two:before {
    content: "";
    position: absolute;
    top: 0;
    width: 705px;
    height: 100%;
    background-color: var(--theme-color1);
    z-index: -1;
}

.solution-section:before {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 0% 100%, 0 100%);
}

.solution-section-two:before {
    right: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.slider-outer {
    position: relative;
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 5px;
}

.solution-section .solution-block .inner-box .content {
    position: relative;
    padding: 20px 40px;
    background-color: #f3f3f3;
    border-radius: 5px;
    height: 100%;
}

.solution-section-two .solution-block .inner-box .content {
    position: relative;
    padding: 20px 40px;
    background-color: #f3f3f3;
    border-radius: 5px;
    height: 100%;
}

/* .solution-section .solution-block .inner-box .content:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 485px;
    height: 157px;
    clip-path: polygon(100% 100%, 100% 0, 0% 100%);
    background-color: var(--theme-color2);
}

.solution-section-two .solution-block .inner-box .content:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 485px;
    height: 157px;
    clip-path: polygon(100% 100%, 0 0, 0% 100%);
    background-color: var(--theme-color2);
} */

.solution-block .inner-box .content .text {
    color: #707070;
    font-size: 22px;
    line-height: 1.6em;
    margin-bottom: 35px;
}

/* .icon-quote {
    position: absolute;
    width: 56px;
    height: 54px;
    background-image: url('../images/icons/icon-quote.webp');
} */

.solution-section .icon-quote {
    bottom: 32px;
    right: 32px;
}

.solution-section-two .icon-quote {
    bottom: 32px;
    left: 32px;
}


/* Basic styling for the popups */

.feature-block-two {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.feature-popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.feature-popup .owl-carousel .owl-item img {
    max-height: 600px;
}

.feature-popup.active {
    display: flex;
    /* Show when 'active' class is added */
}

.feature-popup .popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
}

.feature-popup .close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    color: #333;
    z-index: 9;
    cursor: pointer;
    transition: color 0.3s ease;
}

.feature-popup .close-popup:hover {
    color: #df2026;
}

.feature-popup .close-popup i {
    font-size: inherit;
}

.feature-popup .banner-carousel .owl-nav .owl-next,
.feature-popup .banner-carousel .owl-nav .owl-prev {
    background: #df2026;
    opacity: 1;
    border: none;
}

.feature-popup .banner-section {
    margin: unset;
}


.feature-popup .banner-section .slide-item {
    min-height: auto;
}

.feature-popup .banner-section .slide-item video {
    height: 90vh;
}

.feature-popup .popup-content .usp-box {
    display: flex;
    align-items: normal;
}

.feature-popup .popup-content .usp-box i {
    color: #df2026;
    font-size: 30px;
    margin-right: 20px;
}

.contact-widget .contact-info li img {
    position: relative;
    margin-left: -30px;
}

.description-text p {
    font-size: 16px !important;
}

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-section .owl-dots,
.team-section .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.team-section .owl-dot,
.team-section .owl-dot {
    width: 40px;
    height: 10px;
    background: #333;
    display: inline-block;
    margin: 5px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.team-section .owl-dot.active,
.team-section .owl-dot.active {
    background: var(--theme-color2);
    background-color: var(--theme-color2);
}

.team-section .owl-dot:hover,
.team-section .owl-dot:hover {
    background: #555;
    border-color: #555;
}

.team-ten-carousel .owl-dots.disabled {
    display: block !important;
}

.team-ten-carousel,
.team-carousel {
    overflow: hidden;
}

.about-section-three .tabs-two .tab-buttons .tab-btn {
    padding: 10px 15px;
}

/* Ensure the video container takes up the entire screen */
.home_video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    z-index: 1000;
}

/* Make the video element cover the entire container */
.home_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style the skip button */
.home_skip-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
    /* Make sure it's above the video */
}

.home_skip-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.pagination .page-link {
    color: #dc3545;
}

.pagination .active>.page-link,
.page-link.active {
    background-color: #df2026;
    border-color: #dc3545;
    color: #fff;
}

/* Styles the third-level item */
.nav.main-menu .navigation>li.current>a {
    color: #dc3545;
}

/* Styles the second-level item if a child is active */
.nav.main-menu .navigation>li>ul>li.current>a {
    color: #dc3545;
}

/* Styles the third-level item if a child or grandchild is active */
.nav.main-menu .navigation>li>ul>li>ul>li.current>a,
.nav.main-menu .navigation>li>ul>li.current>a {
    color: #dc3545;
}

/* Styles the top-level item if a child or grandchild is active */
.nav.main-menu .navigation>li>ul>li>ul>li>ul>li.current>a,
.nav.main-menu .navigation>li>ul>li>ul>li.current>a {
    color: #dc3545;
}

/* Ensures top-level item is highlighted when any child/grandchild is current */
.nav.main-menu .navigation>li.current>a,
.nav.main-menu .navigation>li.current>ul>li.current>a,
.nav.main-menu .navigation>li.current>ul>li>ul>li.current>a,
.nav.main-menu .navigation>li.current>ul>li>ul>li>ul>li.current>a {
    color: #dc3545;
}

/* slider */

.carousel-inner .carousel-caption .sub-title {
    position: relative;
    display: block;
    font-size: 16px;
    color: var(--theme-color-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 15px;
}

.carousel-inner .carousel-caption .title {
    color: var(--theme-color-light);
    font-size: 50px;
    font-weight: 700;
    line-height: 65px;
    letter-spacing: 0;
    margin-bottom: 50px;
}

@media only screen and (max-width: 991px) {
    .solution-section-two .mobile-flex {
        flex-direction: column-reverse;
    }

    .offer-section-three .image-column .image-box {
        height: unset;
        width: unset;
    }

    .offer-section-three .content-column .inner-column {
        padding: unset;
    }

    .offer-section-three .content-column {
        padding-top: 140px;
    }

    .about-section-seven .content-column {
        margin-top: 50px;
    }

    .testimonial-block-four .info-box {
        margin-top: 0px;
        margin-left: 40px;
    }

    .carousel-caption {
        top: 7.25rem;
    }

    .carousel-inner .carousel-caption .sub-title {
        font-size: 13px;
    }

    .carousel-inner .carousel-caption .title {
        font-size: 28px;
        line-height: 35px;
        margin-bottom: 15px;
    }
}

.solution-section .content .text ul,
.solution-section .content .text li,
.solution-section-two .content .text ul,
.solution-section-two .content .text li {
    list-style: unset !important;
}

.contact-service {
    background-color: #000b1c;
    background-image: url(../images/icons/bg-shape-tm-2-red-1.png);
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
    padding: 120px 0;
    background-size: cover;
}

.contact-service .level-0 {
    padding: 10px;
    border: 1px solid #e620266e;
    position: relative;
}

.contact-service .level-0>a::before {
    content: "▼";
    font-size: 12px;
    margin-right: 5px;
    color: #e62026;
}

.contact-service .level-1 {
    padding: 5px;
    margin-top: 5px;
    margin-left: 10px;
    border: none;
    position: relative;
}

.contact-service .level-1>a::before {
    content: "▶";
    font-size: 10px;
    margin-right: 5px;
    color: #e62026;
}

.contact-service .level-2 {
    padding: 5px;
    margin-top: 5px;
    margin-left: 20px;
    position: relative;
}

.contact-service .level-2>a::before {
    content: "▶";
    font-size: 10px;
    margin-right: 5px;
    color: #e62026;
}

.contact-service .level-0 a:hover::before,
.contact-service .level-1 a:hover::before,
.contact-service .level-2 a:hover::before {
    color: #c1c1c1;
}

.contact-service .level-0 a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.contact-service .level-1 a,
.level-2 a {
    color: #c1c1c1;
    text-decoration: none;
    display: block;
}

.contact-service .level-0 a:hover,
.level-1 a:hover,
.level-2 a:hover {
    color: #ffffff;
}
