:root {
    --theme-color1-rgb: 15, 45, 76;
    --theme-color2-rgb: 17, 118, 135;
    --theme-color3-rgb: 245, 247, 250;
    --theme-color1: #0F2D4C;
    --theme-color2: #117687;
    --theme-color3: #F5F7FA;
    --text-color-bg-theme-color1: #ffffff;
    --text-color-bg-theme-color2: #ffffff;
    --text-color-bg-theme-color3: #102A43;
    --text-color: #102A43;
    --headings-color: #0F2D4C;
}

body {
    background: linear-gradient(135deg, #F5F7FA 0%, #E8F0F6 100%);
    background-attachment: fixed;
    color: #102A43;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: -220px;
    right: -220px;
    width: 640px;
    height: 640px;
    border: 1px solid rgba(15, 45, 76, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: -280px;
    right: -280px;
    width: 760px;
    height: 760px;
    border: 1px solid rgba(17, 118, 135, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Global text contrast rules */
body,
.page-wrapper {
    color: #102A43 !important;
}

.dark-bg,
.hero-section,
.banner-section,
.testimonial-section,
.footer-bottom,
.main-footer,
.sticky-header.fixed-header {
    color: #ffffff !important;
}

.white-bg,
.bg-white,
.bg-light,
.content-box,
.inner-box,
.feature-block-two .inner-box,
.service-block .inner-box,
.news-block .inner-box,
.gallery .inner-box,
.videos .inner-box,
.solution-block .inner-box .content,
.search-popup .form-group,
.feature-popup,
.main-header.header-style-two .header-lower .main-box,
.main-menu .navigation>li>ul,
.main-menu .navigation>li>ul>li>ul {
    color: #102A43 !important;
}

.white-bg a,
.bg-white a,
.bg-light a,
.content-box a,
.inner-box a,
.feature-block-two .inner-box a,
.service-block .inner-box a,
.news-block .inner-box a,
.gallery .inner-box a,
.videos .inner-box a,
.solution-block .inner-box .content a,
.search-popup .form-group input,
.search-popup .form-group button,
.contact-service .level-0 a,
.contact-service .level-1 a,
.contact-service .level-2 a,
.main-menu .navigation>li>ul>li>a,
.main-menu .navigation>li>ul>li>ul>li>a {
    color: #102A43 !important;
}

.white-bg *,
.bg-white *,
.bg-light *,
.content-box *,
.inner-box *,
.feature-block-two .inner-box *,
.service-block .inner-box *,
.news-block .inner-box *,
.gallery .inner-box *,
.videos .inner-box *,
.solution-block .inner-box .content *,
.search-popup .form-group *,
.feature-popup *,
.main-header.header-style-two .header-lower .main-box *,
.main-menu .navigation>li>ul *,
.main-menu .navigation>li>ul>li>ul * {
    color: #102A43 !important;
}

.page-wrapper {
    background-color: transparent;
}

section, .section, .inner-box, .content-box, .about-section, .services-section, .team-section, .contact-section, .widgets-section, .footer-bottom,  .header-top, .header-lower, .sticky-header {
    background-color: transparent !important;
}
.main-footer{
    background: linear-gradient(135deg, #76adf8 0%, #80afe5 35%, #68a8d3 70%, #16c6d9 100%);
}

.sticky-header.fixed-header {
    background-color: rgba(15, 45, 76, 0.95) !important;
}

.mobile-menu .menu-box, .mega-menu, .main-menu .navigation > li > ul, .preloader {
    background-color: #ffffff !important;
    border: 1px solid #E5E7EB !important;
}

.main-menu .navigation > li > ul > li > a {
    color: #2C3E50 !important;
}

.main-menu .navigation > li > ul > li:hover > a {
    color: #1A9B8E !important;
}

.preloader:after {
    background-image: url(../../uploads/logo-white.png) !important;
}

.inner-box, .feature-block-two .inner-box, .service-block .inner-box, .news-block .inner-box {
    background-color: rgba(31, 58, 95, 0.03) !important;
    border: 1px solid #E5E7EB !important;
}

.main-header.header-style-two .header-lower .main-box {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(31, 58, 95, 0.1) !important;
}

.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)
}

/* Centered, smaller Accounting & Bookkeeping mega menu */
.mega-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 900px !important;
    /* width: auto !important; */
    /* min-width: 520px !important; */
    padding: 18px 20px !important;
}

.mega-row {
    justify-content: center !important;
    gap: 18px !important;
}

.mega-col {
    flex: 0 1 230px !important;
    min-width: 220px !important;
    max-width: 260px !important;
}

.mega-col.wide {
    flex: 0 1 460px !important;
    min-width: 420px !important;
    max-width: 500px !important;
}

.mega-col.wide .child-wrap {
    gap: 20px !important;
}

.mega-col h4 {
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.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)
}

/* Header top full width and social icons right aligned */
.header-top {
    display: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.header-top .inner-container {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 25px !important;
}

.header-top .outer-box {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: auto !important;
}

.header-top .outer-box .social-icon-one {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem;
}

.header-top .outer-box .social-icon-one li {
    margin: 0 !important;
}

.header-top .outer-box .social-icon-one li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}


.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;
    color: #222429;
}

.gallery .inner-box h6,
.gallery .inner-box p,
.gallery .inner-box span {
    color: #222429;
}

.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;
    color: #222429;
}

.videos .inner-box h6,
.videos .inner-box p,
.videos .inner-box span {
    color: #222429;
}

.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: #ffffff;
    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: #ffffff;
    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;
}

.main-menu .navigation>li>ul>li>ul>li>ul a {
    color: #222429 !important;
}

@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;
    color: #222429;
}

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

.btn, .btn-primary, .primary-btn, button[type="submit"], input[type="submit"] {
    background-color: #1A9B8E !important;
    border-color: #1A9B8E !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.btn:hover, .btn-primary:hover, .primary-btn:hover, button[type="submit"]:hover, input[type="submit"]:hover {
    background-color: #1F3A5F !important;
    border-color: #1F3A5F !important;
    box-shadow: 0 4px 12px rgba(26, 155, 142, 0.3) !important;
}


/* .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: #222429;
    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;
    color: #222429;
}

.feature-popup .popup-content h1,
.feature-popup .popup-content h2,
.feature-popup .popup-content h3,
.feature-popup .popup-content h4,
.feature-popup .popup-content h5,
.feature-popup .popup-content h6,
.feature-popup .popup-content p,
.feature-popup .popup-content span {
    color: #222429 !important;
}

.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: var(--theme-color2);
}

.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: var(--theme-color2);
    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: var(--theme-color2);
    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: var(--theme-color2);
}

.pagination .active>.page-link,
.page-link.active {
    background-color: var(--theme-color2);
    border-color: var(--theme-color2);
    color: #fff;
}

/* Styles the third-level item */
.nav.main-menu .navigation>li.current>a {
    color: var(--theme-color2);
}

/* Styles the second-level item if a child is active */
.nav.main-menu .navigation>li>ul>li.current>a {
    color: var(--theme-color2);
}

/* 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: var(--theme-color2);
}

/* 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: var(--theme-color2);
}

/* 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: var(--theme-color2);
}

/* 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: 25px;
}

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

@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: #1F3A5F;
    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 rgba(26, 155, 142, 0.4);
    position: relative;
}

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

.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: #1A9B8E;
}

.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: #1A9B8E;
}

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

.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;
}
