/* Homepage-only responsive fixes and product-style footer. */
.home-page .main-banner3-con {
    overflow: hidden;
}

.home-page .main-banner3-con .container {
    z-index: 3;
}

.home-page .bearspa-bubbles {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-page .bearspa-bubbles span {
    position: absolute;
    bottom: -90px;
    display: block;
    width: var(--bubble-size, 38px);
    height: var(--bubble-size, 38px);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background:
        radial-gradient(circle at 31% 27%, rgba(255, 255, 255, .95) 0 4%, rgba(255, 255, 255, .34) 5% 12%, transparent 13%),
        radial-gradient(circle at 65% 72%, rgba(255, 255, 255, .12), rgba(174, 226, 255, .28) 48%, rgba(255, 255, 255, .08) 66%, rgba(255, 255, 255, .48) 82%, transparent 85%);
    box-shadow:
        inset 3px 3px 7px rgba(255, 255, 255, .48),
        inset -4px -5px 9px rgba(94, 174, 220, .28),
        0 2px 8px rgba(4, 34, 75, .2);
    opacity: 0;
    animation: bearspa-bubble-rise var(--bubble-duration, 6s) ease-in infinite;
    animation-delay: var(--bubble-delay, 0s);
}

.home-page .bearspa-bubbles span:nth-child(1) { left: 12%; --bubble-size: 18px; --bubble-duration: 5.8s; --bubble-delay: -1.2s; }
.home-page .bearspa-bubbles span:nth-child(2) { left: 24%; --bubble-size: 48px; --bubble-duration: 6.7s; --bubble-delay: -4.6s; }
.home-page .bearspa-bubbles span:nth-child(3) { left: 35%; --bubble-size: 28px; --bubble-duration: 5.3s; --bubble-delay: -2.8s; }
.home-page .bearspa-bubbles span:nth-child(4) { left: 44%; --bubble-size: 64px; --bubble-duration: 7.2s; --bubble-delay: -5.7s; }
.home-page .bearspa-bubbles span:nth-child(5) { left: 55%; --bubble-size: 14px; --bubble-duration: 5.1s; --bubble-delay: -3.4s; }
.home-page .bearspa-bubbles span:nth-child(6) { left: 64%; --bubble-size: 42px; --bubble-duration: 6.2s; --bubble-delay: -1.7s; }
.home-page .bearspa-bubbles span:nth-child(7) { left: 73%; --bubble-size: 72px; --bubble-duration: 7.5s; --bubble-delay: -6.1s; }
.home-page .bearspa-bubbles span:nth-child(8) { left: 82%; --bubble-size: 24px; --bubble-duration: 5.6s; --bubble-delay: -4.1s; }
.home-page .bearspa-bubbles span:nth-child(9) { left: 90%; --bubble-size: 52px; --bubble-duration: 6.9s; --bubble-delay: -2.2s; }
.home-page .bearspa-bubbles span:nth-child(10) { left: 96%; --bubble-size: 10px; --bubble-duration: 4.9s; --bubble-delay: -3.9s; }
.home-page .bearspa-bubbles span:nth-child(11) { left: 5%; --bubble-size: 32px; --bubble-duration: 5.7s; --bubble-delay: -4.8s; }
.home-page .bearspa-bubbles span:nth-child(12) { left: 17%; --bubble-size: 9px; --bubble-duration: 4.2s; --bubble-delay: -2.5s; }
.home-page .bearspa-bubbles span:nth-child(13) { left: 29%; --bubble-size: 58px; --bubble-duration: 7.1s; --bubble-delay: -3.6s; }
.home-page .bearspa-bubbles span:nth-child(14) { left: 39%; --bubble-size: 20px; --bubble-duration: 4.8s; --bubble-delay: -1.1s; }
.home-page .bearspa-bubbles span:nth-child(15) { left: 48%; --bubble-size: 38px; --bubble-duration: 5.9s; --bubble-delay: -5.2s; }
.home-page .bearspa-bubbles span:nth-child(16) { left: 59%; --bubble-size: 8px; --bubble-duration: 4.1s; --bubble-delay: -3.1s; }
.home-page .bearspa-bubbles span:nth-child(17) { left: 68%; --bubble-size: 30px; --bubble-duration: 5.4s; --bubble-delay: -.6s; }
.home-page .bearspa-bubbles span:nth-child(18) { left: 77%; --bubble-size: 55px; --bubble-duration: 7.3s; --bubble-delay: -4.4s; }
.home-page .bearspa-bubbles span:nth-child(19) { left: 87%; --bubble-size: 16px; --bubble-duration: 4.7s; --bubble-delay: -2s; }
.home-page .bearspa-bubbles span:nth-child(20) { left: 93%; --bubble-size: 35px; --bubble-duration: 5.8s; --bubble-delay: -5.5s; }
.home-page .bearspa-bubbles span:nth-child(21) { left: 9%; --bubble-size: 12px; --bubble-duration: 4.5s; --bubble-delay: -.2s; }
.home-page .bearspa-bubbles span:nth-child(22) { left: 33%; --bubble-size: 25px; --bubble-duration: 5.2s; --bubble-delay: -4s; }
.home-page .bearspa-bubbles span:nth-child(23) { left: 71%; --bubble-size: 18px; --bubble-duration: 4.9s; --bubble-delay: -2.9s; }
.home-page .bearspa-bubbles span:nth-child(24) { left: 84%; --bubble-size: 11px; --bubble-duration: 4.3s; --bubble-delay: -1.5s; }

@keyframes bearspa-bubble-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0) scale(.72);
    }
    12% {
        opacity: .88;
    }
    52% {
        transform: translate3d(20px, -48vh, 0) scale(.95);
    }
    88% {
        opacity: .7;
    }
    100% {
        opacity: 0;
        transform: translate3d(-12px, -105vh, 0) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .bearspa-bubbles span {
        animation: none;
        opacity: .42;
    }
}

@media (max-width: 767px) {
    .home-page .bearspa-bubbles span:nth-child(n+15) {
        display: none;
    }
}

.home-page .bearspa-product-footer {
    background: linear-gradient(90deg, #102f69 0%, #102f69 34%, #12346f 100%);
}

.home-page .bearspa-product-footer .container {
    width: min(calc(100% - 64px), 1260px);
    max-width: 1260px;
}

.home-page .bearspa-product-footer .footer-box {
    grid-template-columns: minmax(270px, 310px) repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 48px);
    align-items: stretch;
}

.home-page .bearspa-product-footer .footer-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 330px;
    padding: 64px 44px;
    background: linear-gradient(155deg, rgba(54, 171, 242, .96) 0%, rgba(35, 149, 223, .95) 58%, rgba(28, 128, 205, .94) 100%);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08), inset -1px 0 0 rgba(7, 36, 82, .14);
}

.home-page .bearspa-product-footer .footer-info::before {
    content: "";
    position: absolute;
    inset: 26px 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    pointer-events: none;
}

.home-page .bearspa-product-footer .footer-logo img {
    width: 168px;
    margin: 0 auto 28px;
}

.home-page .bearspa-product-footer .footer-info ul {
    display: grid;
    gap: 13px;
    margin: 0;
}

.home-page .bearspa-product-footer .footer-info li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
    color: rgba(255, 255, 255, .96);
    font-size: 14px;
    line-height: 1.35;
}

.home-page .bearspa-product-footer .footer-info i {
    width: 22px;
    margin-top: 1px;
    padding: 0;
    color: #fff;
    text-align: center;
    opacity: .96;
}

.home-page .bearspa-product-footer .footer-info a,
.home-page .bearspa-product-footer .footer-info span {
    color: #fff;
    font-weight: 700;
}

.home-page .bearspa-product-footer .site-map {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-page .bearspa-product-footer h4 {
    margin-bottom: 24px;
}

.home-page .bearspa-product-footer .site-map li {
    margin-bottom: 15px;
}

@media (min-width: 1000px) {
    .home-page .header-con .navbar-collapse {
        flex: 1 1 auto;
        min-width: 0;
    }

    .home-page .header-con .navbar-expand-lg .navbar-nav {
        width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
        gap: 0;
        justify-content: space-between;
    }

    .home-page .header-con .header-btn {
        margin-left: 32px;
    }

    .home-page .main-banner3-con {
        padding: 212px 0 260px;
    }

    .home-page .service-con {
        padding-bottom: 80px;
    }

    .home-page .home3-about-con {
        padding-top: 80px;
        background: #fff;
    }

    .home-page .home3-about-box {
        --about-image-height: clamp(680px, 52vw, 760px);
        position: relative;
        display: block;
        min-height: var(--about-image-height);
    }

    .home-page .home3-about-img,
    .home-page .home3-about-img figure {
        width: min(82%, 920px);
    }

    .home-page .home3-about-img figure img {
        display: block;
        width: 100%;
        height: var(--about-image-height);
        object-fit: cover;
        border-radius: 20px;
    }

    .home-page .home3-about-content {
        position: absolute;
        z-index: 2;
        top: 50%;
        right: 3%;
        width: min(52%, 620px);
        transform: translateY(-45%);
    }

    .home-page .home3-about-content-box {
        width: 100%;
        max-width: none;
        padding: clamp(44px, 4vw, 62px);
        background: #102f69;
        border-radius: 20px;
        box-shadow: 0 22px 50px rgba(16, 47, 105, .18);
    }

    .home-page .home3-about-content-box span {
        color: #fff;
        font-weight: 700;
    }

    .home-page .home3-about-content-box h2 {
        color: #fff;
        font-size: clamp(32px, 2.6vw, 40px);
        line-height: 1.12;
    }

    .home-page .home3-about-content-box p {
        padding-right: 0;
        color: #c2cce1;
        font-size: 15px;
        line-height: 1.65;
    }

    .home-page .bearspa-product-footer .footer-item {
        box-sizing: border-box;
        height: 260px;
        min-height: 260px;
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .home-page .bearspa-product-footer .footer-info {
        height: 260px;
        min-height: 260px;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .home-page .bearspa-product-footer .footer-info::before {
        top: 20px;
        bottom: 20px;
    }

    .home-page .bearspa-product-footer .footer-logo img {
        margin-bottom: 20px;
    }

    .home-page .bearspa-product-footer .site-map a {
        white-space: nowrap;
    }
}

@media (max-width: 999px) {
    .home-page .service-con {
        position: relative;
        z-index: 2;
        padding-top: 72px !important;
    }

    .home-page .service-con .generic-title {
        width: 100%;
        max-width: none;
        margin-bottom: 28px;
        padding: 0 12px;
    }

    .home-page .service-con .generic-title h2 {
        overflow: visible;
        line-height: 1.2;
    }

    .home-page .home3-about-img {
        width: 100%;
        max-width: none;
        margin-bottom: 28px;
    }

    .home-page .home3-about-img figure,
    .home-page .home3-about-img figure img {
        display: block;
        width: 100%;
        max-width: none;
    }

    .home-page .bearspa-product-footer,
    .home-page .bearspa-product-footer .container,
    .home-page .bearspa-product-footer .footer-box,
    .home-page .bearspa-product-footer .footer-item {
        max-width: 100%;
        box-sizing: border-box;
    }

    .home-page .bearspa-product-footer {
        padding: 0;
        overflow-x: hidden;
        background: #12346f;
        text-align: left;
    }

    .home-page .bearspa-product-footer .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .home-page .bearspa-product-footer .footer-box {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        width: 100%;
        padding: 0 22px 34px;
        margin: 0;
    }

    .home-page .bearspa-product-footer .footer-info {
        grid-column: auto;
        min-height: 0;
        width: auto;
        max-width: none;
        margin: 0 -22px 34px;
        padding: 42px 30px;
        text-align: left;
    }

    .home-page .bearspa-product-footer .footer-info::before {
        inset: 20px 18px;
        border-radius: 16px;
    }

    .home-page .bearspa-product-footer .footer-logo img {
        width: 156px;
        margin: 0 0 28px;
    }

    .home-page .bearspa-product-footer .footer-info ul {
        display: grid;
        align-items: initial !important;
        justify-content: initial;
        gap: 13px;
    }

    .home-page .bearspa-product-footer .footer-info li {
        margin: 0;
    }

    .home-page .bearspa-product-footer .site-map {
        width: 100%;
        min-width: 0;
        padding: 0 0 30px;
        justify-content: flex-start;
        text-align: left;
    }

    .home-page .bearspa-product-footer .newsletter {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .home-page .service-con {
        padding-top: 58px !important;
    }

    .home-page .service-con .generic-title h2 {
        font-size: 26px;
        line-height: 1.2;
    }
}
