/********** Template CSS **********/
:root {
    --primary: #1363C6;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.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: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    transition: .5s;
}

.team-item:hover {

    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* =========================================================
   TECHNOLOGY SECTION
   ========================================================= */

.technology-section {
    width: 75%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}


/* =========================================================
   TECHNOLOGY HEADER
   ========================================================= */

.technology-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 35px;
}

.technology-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    color: #2563eb;
}

.technology-header h2 {
    margin: 0 0 12px;

    font-size: 32px;
    line-height: 1.2;

    font-weight: 800;

    color: #0f172a;
}

.technology-header p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #64748b;
}


/* =========================================================
   TECHNOLOGY FILTER / TAB WRAPPER
   ========================================================= */

.tech-tabs-wrapper {
    position: sticky;

    top: 0;

    z-index: 100;

    width: 100%;

    padding: 12px 0;

    margin-bottom: 25px;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid
        rgba(226, 232, 240, 0.85);
}


/* =========================================================
   TECHNOLOGY TABS
   ========================================================= */

.tech-tabs {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    width: 100%;
}


/* =========================================================
   INDIVIDUAL TECHNOLOGY TAB
   ========================================================= */

.tech-tab {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 10px 15px;

    min-height: 44px;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    background: #ffffff;

    color: #475569;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    flex: 0 0 auto;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tech-tab i {
    font-size: 13px;
}

.tech-tab:hover {
    color: #2563eb;

    border-color: #bfdbfe;

    background: #f8fbff;

    transform: translateY(-1px);
}

.tech-tab.active {
    color: #ffffff;

    background: #2563eb;

    border-color: #2563eb;

    box-shadow:
        0 4px 12px rgba(37, 99, 235, 0.20);
}


/* =========================================================
   TECHNOLOGY PANELS
   ========================================================= */

.tech-panel {
    display: block;

    width: 100%;

    padding: 28px;

    margin-bottom: 20px;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    background: #ffffff;

    box-sizing: border-box;

    animation: techFadeIn 0.25s ease;
}

.tech-panel:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PANEL ANIMATION
   ========================================================= */

@keyframes techFadeIn {

    from {
        opacity: 0;

        transform: translateY(5px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================================
   TECHNOLOGY PANEL TITLE
   ========================================================= */

.tech-panel-title {
    margin-bottom: 20px;
}

.tech-panel-title h3 {
    margin: 0 0 6px;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 700;

    color: #0f172a;
}

.tech-panel-title p {
    margin: 0;

    font-size: 13px;

    line-height: 1.6;

    color: #64748b;
}


/* =========================================================
   TECHNOLOGY PILLS
   ========================================================= */

.tech-pills {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   TECHNOLOGY PILL
   ========================================================= */

.tech-pill {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    border: 1px solid #e2e8f0;

    border-radius: 999px;

    background: #f8fafc;

    color: #334155;

    font-size: 13px;

    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.tech-pill img {
    width: 20px;

    height: 20px;

    object-fit: contain;

    flex-shrink: 0;
}


/*
 * Emoji / icon inside technology pill
 */

.tech-pill > span {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 20px;

    height: 20px;

    flex-shrink: 0;

    font-size: 15px;

    line-height: 1;
}


.tech-pill:hover {
    transform: translateY(-2px);

    background: #ffffff;

    border-color: #93c5fd;

    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1401px) {

    .technology-section {
        width: 75%;

        max-width: 1400px;
    }

}


/* =========================================================
   LAPTOP / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    .technology-section {
        width: 85%;
    }

    .technology-header {
        max-width: 700px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .technology-section {
        width: 90%;
    }


    .technology-header h2 {
        font-size: 28px;
    }


    .technology-header p {
        font-size: 14px;
    }


    /*
     * Allow tabs to align from the left when
     * there isn't enough room.
     */

    .tech-tabs {
        justify-content: flex-start;
    }


    .tech-tab {
        padding: 10px 13px;

        font-size: 12px;
    }


    .tech-panel {
        padding: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    /*
     * Section width
     */

    .technology-section {
        width: calc(100% - 24px);

        max-width: none;

        margin-left: auto;

        margin-right: auto;
    }


    /* =====================================================
       HEADER
       ===================================================== */

    .technology-header {
        width: 100%;

        margin-bottom: 25px;
    }


    .technology-eyebrow {
        font-size: 11px;

        letter-spacing: 1.3px;

        margin-bottom: 8px;
    }


    .technology-header h2 {
        font-size: 25px;

        line-height: 1.25;

        margin-bottom: 10px;
    }


    .technology-header p {
        font-size: 14px;

        line-height: 1.6;
    }


    /* =====================================================
       MOBILE TAB WRAPPER
       ===================================================== */

    .tech-tabs-wrapper {

        position: sticky;

        top: 0;

        z-index: 100;

        width: 100%;

        height: auto;

        min-height: 66px;

        margin: 0 0 25px 0;

        padding: 10px 0 12px 0;

        background: rgba(255, 255, 255, 0.97);

        backdrop-filter: blur(12px);

        -webkit-backdrop-filter: blur(12px);

        border-bottom: 1px solid #e2e8f0;

        /*
         * VERY IMPORTANT:
         * Enable horizontal scrolling.
         */

        overflow-x: auto;

        overflow-y: hidden;

        /*
         * Smooth touch scrolling on iPhone /
         * Android.
         */

        -webkit-overflow-scrolling: touch;

        /*
         * Hide scrollbar but retain scrolling.
         */

        scrollbar-width: none;

        /*
         * Prevent accidental horizontal
         * overscroll affecting the page.
         */

        overscroll-behavior-x: contain;
    }


    .tech-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }


    /* =====================================================
       MOBILE TABS CONTAINER
       ===================================================== */

    .tech-tabs {

        display: flex;

        flex-wrap: nowrap;

        justify-content: flex-start;

        align-items: center;

        gap: 8px;

        /*
         * This is important.
         * It allows the content to be wider
         * than the screen.
         */

        width: max-content;

        min-width: max-content;

        padding: 0 8px;

        margin: 0;

        /*
         * DO NOT use overflow:hidden here.
         */

        overflow: visible;
    }


    /* =====================================================
       MOBILE TAB
       ===================================================== */

    .tech-tab {

        display: inline-flex;

        align-items: center;

        justify-content: center;

        flex: 0 0 auto;

        min-width: max-content;

        min-height: 44px;

        padding: 10px 14px;

        gap: 7px;

        border-radius: 8px;

        font-size: 12px;

        line-height: 1;

        white-space: nowrap;
    }


    .tech-tab i {
        font-size: 12px;

        flex-shrink: 0;
    }


    /*
     * Improve touch experience
     */

    .tech-tab {
        -webkit-tap-highlight-color: transparent;

        touch-action: manipulation;
    }


    /* =====================================================
       RIGHT SIDE SCROLL INDICATOR
       ===================================================== */

    .tech-tabs-wrapper::after {

        content: "";

        position: absolute;

        pointer-events: none;

        right: 0;

        top: 0;

        bottom: 1px;

        width: 32px;

        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.98)
        );
    }


    /* =====================================================
       TECHNOLOGY PANELS
       ===================================================== */

    .tech-panel {

        width: 100%;

        padding: 20px;

        margin-bottom: 15px;

        border-radius: 12px;

        box-sizing: border-box;
    }


    /* =====================================================
       PANEL TITLE
       ===================================================== */

    .tech-panel-title {

        margin-bottom: 18px;
    }


    .tech-panel-title h3 {

        font-size: 17px;

        line-height: 1.3;

        margin-bottom: 6px;
    }


    .tech-panel-title p {

        font-size: 12px;

        line-height: 1.6;
    }


    /* =====================================================
       TECHNOLOGY PILLS
       ===================================================== */

    .tech-pills {

        display: flex;

        flex-wrap: wrap;

        align-items: center;

        gap: 8px;
    }


    .tech-pill {

        padding: 8px 11px;

        gap: 6px;

        font-size: 12px;

        min-height: 34px;

        box-sizing: border-box;
    }


    .tech-pill img {

        width: 18px;

        height: 18px;
    }


    .tech-pill > span {

        width: 18px;

        height: 18px;

        font-size: 14px;
    }

}


/* =========================================================
   VERY SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 380px) {

    .technology-section {

        width: calc(100% - 16px);
    }


    .technology-header h2 {

        font-size: 22px;
    }


    .technology-header p {

        font-size: 13px;
    }


    .tech-tab {

        padding: 9px 12px;

        min-height: 42px;

        font-size: 11px;
    }


    .tech-panel {

        padding: 16px;
    }


    .tech-panel-title h3 {

        font-size: 16px;
    }


    .tech-pill {

        padding: 7px 9px;

        font-size: 11px;
    }

}


