/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
    --soft-border: rgba(9, 30, 62, .10);
    --soft-shadow: 0 22px 50px rgba(9, 30, 62, .08);
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

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


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

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

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


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-brand {
    display: flex;
    align-items: center;
    height: 72px;
    overflow: hidden;
}

.brand-block {
    text-decoration: none;
    line-height: 1;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    height: auto !important;
    overflow: visible !important;
}

.brand-title {
    font-size: 2.45rem;
    font-weight: 900;
    letter-spacing: .22rem;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, #00c6ff, #0072ff, #02b8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tag {
    color: #6b7280;
    font-size: .72rem;
    letter-spacing: .44rem;
    margin-top: .45rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.footer-brand-logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    max-width: 290px;
    width: 100%;
    height: auto;
    display: block;
}

.footer-brand-tag {
    margin-top: .55rem;
    color: rgba(255, 255, 255, .95);
    font-size: .78rem;
    letter-spacing: .34rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.navbar-dark .navbar-brand .brand-logo {
    height: 62px;
    width: auto;
    max-height: none;
    display: block;
    transform: scale(2.2);
    transform-origin: center center;
    transition: opacity .3s ease, transform .3s ease;
}

.navbar-dark .navbar-brand .brand-logo-sticky {
    display: none;
}

.sticky-top.navbar-dark .navbar-brand .brand-logo-default {
    display: none;
}

.sticky-top.navbar-dark .navbar-brand .brand-logo-sticky {
    display: block;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-dark .navbar-brand .brand-logo {
        height: 52px;
        transform: scale(2.05);
    }

    .brand-title {
        font-size: 1.9rem;
        letter-spacing: .16rem;
    }

    .brand-tag {
        font-size: .60rem;
        letter-spacing: .24rem;
    }

    .navbar-dark .navbar-brand .brand-logo-default {
        display: none;
    }

    .navbar-dark .navbar-brand .brand-logo-sticky {
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        background: #FFFFFF;
        border-bottom: 1px solid rgba(9, 30, 62, .12);
        z-index: 999;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 24px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand .brand-logo-default {
        display: none;
    }

    .navbar-dark .navbar-brand .brand-logo-sticky {
        display: block;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }

    .sticky-top.navbar-dark .navbar-brand .brand-logo {
        height: 58px;
        transform: scale(2.1);
    }
}

.nav-cta {
    min-width: 150px;
    border-radius: 999px;
    height: 44px;
    box-shadow: 0 18px 36px rgba(6, 163, 218, .20);
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.carousel-item img {
    height: 540px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .carousel-item img {
        height: 360px;
    }
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: .45rem .9rem;
    margin: 0 .45rem .75rem 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: .82rem;
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(4px);
}

.hero-slider-copy {
    max-width: 560px;
}

.hero-slider-copy .display-4 {
    font-size: clamp(2.2rem, 3.7vw, 3.7rem);
    line-height: 1.1;
}

.hero-slider-copy p {
    font-size: .98rem;
    max-width: 520px;
}

.hero-panel {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    padding: 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 50px rgba(5, 22, 46, .22);
    max-width: 385px;
    margin-left: auto;
}

.hero-panel img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 16px;
}

.hero-panel-content {
    padding: 16px 6px 6px;
    color: #fff;
}

.hero-panel-content h5 {
    color: #fff;
    margin-bottom: .6rem;
}

.hero-panel-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 1rem;
}

.hero-panel-metric {
    background: rgba(255, 255, 255, .10);
    border-radius: 14px;
    padding: 12px;
}

.hero-panel-metric strong {
    display: block;
    font-size: 1.1rem;
    color: #fff;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

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

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    min-height: 320px;
    padding: 24px 30px;
    transition: .5s;
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    border: 1px solid var(--soft-border);
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4B029;
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 50px rgba(6, 163, 218, .22);
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

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

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

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

.bg-header {
    background: linear-gradient(rgba(5, 22, 46, .70), rgba(5, 22, 46, .70)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    min-height: 132px;
    display: flex;
    align-items: center;
}

.page-hero {
    min-height: 132px;
    margin-bottom: 34px !important;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.page-hero .row {
    min-height: 132px;
    align-items: center;
}

.page-hero .pt-lg-5,
.page-hero .mt-lg-5 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.page-hero .display-4 {
    font-size: clamp(1.8rem, 3.3vw, 2.65rem);
    margin-bottom: .2rem;
}

.page-hero .h5 {
    font-size: .96rem;
}

.page-hero h1,
.page-hero a,
.page-hero i {
    position: relative;
    z-index: 2;
}

.hero-about {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/global-team-office.jpg);
}

.hero-contact {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/global-meeting.jpg);
}

.hero-blog {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/global-meeting.jpg);
}

.hero-ai {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/analytics-laptop.jpg);
}

.hero-software {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/global-team-office.jpg);
}

.hero-team {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/global-meeting.jpg);
}

.hero-analytics {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/analytics-laptop.jpg);
}

.hero-operations {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/global-team-office.jpg);
}

.hero-support {
    background-image: linear-gradient(rgba(5, 22, 46, .74), rgba(5, 22, 46, .74)), url(../img/support-headset.jpg);
}

.info-card {
    background: linear-gradient(145deg, #ffffff, #f2f9ff);
    border-radius: 14px;
    box-shadow: var(--soft-shadow);
    padding: 28px;
    height: 100%;
    border: 1px solid var(--soft-border);
}

.contact-tile {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    align-items: center !important;
    min-height: 100%;
    padding: 24px 26px;
    border-radius: 20px;
}

.contact-tile .ps-4 {
    padding-left: 0 !important;
    min-width: 0;
}

.contact-tile .bg-primary {
    width: 72px !important;
    height: 72px !important;
    border-radius: 20px !important;
    flex-shrink: 0;
    box-shadow: 0 18px 34px rgba(6, 163, 218, .20);
}

.contact-tile h6,
.contact-tile p,
.contact-tile a {
    margin-bottom: 0;
}

.contact-label {
    color: var(--dark);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.contact-value {
    color: var(--primary);
    font-size: clamp(1.05rem, 1.5vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    display: inline-block;
    word-break: break-word;
}

.contact-value:hover {
    color: #0582ae;
}

.contact-email {
    font-size: clamp(1rem, 1.35vw, 1.35rem);
}

.contact-intro {
    max-width: 860px !important;
}

.contact-intro h1 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.16;
    letter-spacing: -.02em;
}

.contact-summary {
    margin-top: .35rem;
}

.contact-form-card {
    padding: 34px;
    border-radius: 20px;
}

.contact-side-stack {
    display: grid;
    gap: 24px;
}

.contact-side-image {
    height: 250px;
    object-fit: cover;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 560px;
    border: 0;
    display: block;
}

.contact-map-card {
    min-height: 100%;
}

.contact-address {
    color: var(--primary);
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.5;
    max-width: 280px;
}

.image-content-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--soft-border);
    box-shadow: var(--soft-shadow);
    background: #fff;
}

.image-content-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.image-content-card .card-copy {
    padding: 24px;
}

.image-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(9, 30, 62, .12);
}

.topbar-stack {
    height: 45px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.topbar-note {
    letter-spacing: .02rem;
    color: rgba(255, 255, 255, .78) !important;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

@media (max-width: 767.98px) {
    .page-hero,
    .page-hero .row,
    .bg-header {
        min-height: 102px;
    }

    .page-hero .display-4 {
        font-size: 1.55rem;
    }

    .hero-slider-copy .display-4 {
        font-size: 2rem;
    }

    .hero-slider-copy p {
        font-size: .92rem;
    }

    .contact-intro h1 {
        font-size: 1.95rem;
        line-height: 1.22;
    }

    .contact-tile {
        padding: 20px;
        min-height: auto;
        grid-template-columns: 68px minmax(0, 1fr);
        align-items: flex-start !important;
        gap: 16px;
    }

    .contact-map {
        min-height: 380px;
    }

    .contact-value {
        font-size: 1.1rem;
    }
}
