/* Home page layout and visual polish. Scoped to avoid changing inner pages. */
.home-page {
    background: #ffffff;
}

.home-page .main-navigation {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e8eef6;
}

.home-page .navbar .container {
    min-height: 80px;
}

.home-page .navbar-brand img {
    display: block;
    width: 164px;
    max-height: 48px;
    object-fit: contain;
}

.home-page .navbar .nav-item .nav-link {
    letter-spacing: 0;
}

.home-page .hs-1 {
    margin-top: 0;
    overflow: hidden;
    background: #f7fbff;
    border-bottom: 1px solid #e3edf7;
}

.home-page .hs-1 .hero-single {
    min-height: 650px;
    padding: 86px 0 76px;
    background: transparent;
}

.home-page .hs-1 .hero-shape img {
    object-fit: cover;
    opacity: .1;
}

.home-page .hs-1 .hero-single .container {
    position: relative;
    z-index: 2;
}

.home-page .hero-content {
    max-width: 620px;
}

.home-page .hs-1 .hero-single .hero-content .hero-sub-title {
    margin: 0 0 20px;
    padding: 5px 16px 5px 5px;
    font-size: 15px;
    letter-spacing: 0;
    box-shadow: 0 8px 24px rgba(61, 202, 177, .18);
}

.home-page .hs-1 .hero-single .hero-content .hero-title {
    max-width: 610px;
    margin: 0 0 22px;
    color: #0a1d43;
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: 0;
}

.home-page .hero-title span {
    display: block;
    margin-top: 7px;
    color: #168fd3;
}

.home-page .hs-1 .hero-single .hero-content .hero-description {
    max-width: 560px;
    margin: 0;
    color: #52627a;
    font-size: 17px;
    line-height: 1.85;
}

.home-page .hs-1 .hero-single .hero-content .hero-btn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-page .hero-btn .theme-btn {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 7px;
    box-shadow: 0 12px 26px rgba(51, 182, 255, .2);
}

.home-page .hero-btn .theme-btn2 {
    color: #0a1d43;
    background: #ffffff;
    border: 1px solid #d7e3ef;
    box-shadow: none;
}

.home-page .hero-btn .theme-btn2:hover {
    color: #ffffff;
    border-color: #33b6ff;
    background: #33b6ff;
}

.home-page .hero-text-link {
    padding: 10px 6px;
    color: #176fa1;
    font-weight: 700;
}

.home-page .hero-text-link i {
    margin-left: 8px;
    font-size: 13px;
}

.home-page .hero-text-link:hover {
    color: #0a1d43;
}

.home-page .hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #dce8f4;
}

.home-page .hero-highlight {
    display: flex;
    align-items: center;
    gap: 11px;
}

.home-page .highlight-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #168fd3;
    background: #e4f5ff;
    border-radius: 50%;
}

.home-page .hero-highlight strong,
.home-page .hero-highlight small {
    display: block;
    letter-spacing: 0;
}

.home-page .hero-highlight strong {
    color: #0a1d43;
    font-size: 14px;
    line-height: 1.35;
}

.home-page .hero-highlight small {
    margin-top: 2px;
    color: #78869b;
    font-size: 12px;
    line-height: 1.35;
}

.home-page .hero-img-wrap {
    width: 100%;
    margin-left: auto;
}

.home-page .hs-1 .hero-img {
    position: relative;
    width: 100%;
    margin: 0;
}

.home-page .hs-1 .hero-img .responsive-img {
    position: static;
    display: block;
    width: min(100%, 690px);
    margin: 0 auto;
    filter: drop-shadow(0 22px 28px rgba(56, 45, 119, .12));
}

.home-page .counter-area {
    padding: 34px 0;
    background: #0a1d43;
}

.home-page .counter-area .row {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

.home-page .counter-box {
    min-height: 112px;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    box-shadow: none;
}

.home-page .counter-box .icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    line-height: 1;
    place-items: center;
}

.home-page .counter-box .icon img {
    width: 33px;
}

.home-page .counter-box .counter,
.home-page .counter-box .unit {
    font-size: 36px;
}

.home-page .counter-box .title {
    margin-top: 7px;
    color: #c6d3e6;
    font-size: 14px;
}

.home-page .service-area.bg {
    background: #f3f9fc;
}

.home-page .site-heading {
    margin-bottom: 42px;
}

.home-page .site-title-tagline {
    letter-spacing: 0;
}

.home-page .site-title {
    margin-top: 10px;
    letter-spacing: 0;
}

.home-page .service-item,
.home-page .pricing-item {
    border: 1px solid #e2ebf3;
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(27, 65, 92, .07);
}

.home-page .service-item:hover,
.home-page .pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(27, 65, 92, .12);
}

.home-page .home-section-state {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #74849a;
    border: 1px dashed #cbd9e6;
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
}

.home-page .home-section-state i {
    color: #33b6ff;
    font-size: 25px;
}

.home-page .home-section-state span {
    letter-spacing: 0;
}

.home-page .home-section-state-light {
    color: rgba(255, 255, 255, .72);
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .04);
}

@media (max-width: 1199px) {
    .home-page .hs-1 .hero-single .hero-content .hero-title {
        font-size: 44px;
    }

    .home-page .hs-1 .hero-img .responsive-img {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .home-page .navbar .container {
        min-height: 72px;
    }

    .home-page .navbar {
        position: relative;
    }

    .home-page .hs-1 .hero-single {
        min-height: 0;
        padding: 72px 0 54px;
    }

    .home-page .hero-content {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .home-page .hs-1 .hero-single .hero-content .hero-title,
    .home-page .hs-1 .hero-single .hero-content .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .home-page .hs-1 .hero-single .hero-content .hero-btn,
    .home-page .hero-highlights {
        justify-content: center;
    }

    .home-page .hero-img-wrap {
        max-width: 650px;
        margin: 10px auto 0;
    }
}

@media (max-width: 767px) {
    .home-page .hs-1 .hero-single {
        padding: 54px 0 42px;
    }

    .home-page .hs-1 .hero-single .hero-content .hero-sub-title {
        font-size: 13px;
    }

    .home-page .hs-1 .hero-single .hero-content .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .home-page .hs-1 .hero-single .hero-content .hero-description {
        font-size: 15px;
        line-height: 1.75;
    }

    .home-page .hs-1 .hero-single .hero-content .hero-btn {
        align-items: stretch;
    }

    .home-page .hero-btn .theme-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 145px;
        padding: 11px 15px;
    }

    .home-page .hero-text-link {
        flex: 1 0 100%;
    }

    .home-page .hero-highlights {
        gap: 18px;
        margin-top: 26px;
        padding-top: 22px;
    }

    .home-page .hero-highlight {
        flex: 1 1 140px;
        text-align: left;
    }

    .home-page .counter-area {
        padding: 28px 0;
    }

    .home-page .counter-box {
        min-height: 96px;
    }

    .home-page .counter-box .counter,
    .home-page .counter-box .unit {
        font-size: 31px;
    }
}

@media (max-width: 420px) {
    .home-page .hs-1 .hero-single .hero-content .hero-title {
        font-size: 31px;
    }

    .home-page .hero-btn .theme-btn {
        flex-basis: 100%;
    }

    .home-page .counter-box {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .service-item,
    .home-page .pricing-item {
        transition: none;
    }
}

/* Keep the mobile navigation independent from page-specific banners. */
@media (max-width: 991px) {
    .main-navigation {
        position: relative;
        z-index: 20;
        background: #ffffff;
        border-bottom: 1px solid #e8eef6;
    }

    .main-navigation .navbar {
        position: relative;
        min-height: 72px;
    }

    .main-navigation .navbar > .container {
        display: flex;
        min-height: 72px;
        align-items: center;
        padding-right: 16px;
        padding-left: 16px;
    }

    .main-navigation .navbar-brand {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        height: 72px;
        margin: 0;
        padding: 0;
    }

    .main-navigation .navbar-brand img {
        display: block;
        width: 130px;
        height: auto;
        max-height: 42px;
        object-fit: contain;
    }

    .main-navigation .mobile-menu-right {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .main-navigation .mobile-menu-right .search-btn,
    .main-navigation .mobile-menu-right .navbar-toggler {
        display: flex;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .main-navigation .mobile-menu-right .nav-right-link,
    .main-navigation .navbar-toggler-mobile-icon {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .main-navigation .mobile-menu-right i {
        display: block;
        margin: 0;
        line-height: 1;
    }
}

@media (max-width: 420px) {
    .main-navigation .navbar > .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .main-navigation .navbar-brand img {
        width: 120px;
    }
}
