:root {
    --infnit-primary: #4A81B6;
    --infnit-primary-dark: #2F628F;
    --infnit-primary-soft: #5B91C3;
    --infnit-accent: #37d5d6;
    --infnit-dark: #0f172f;
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    color: #1f2940;
    background: #ffffff;
}

main > section {
    position: relative;
}

main > section + section {
    margin-top: 4.5rem;
}

main > section:last-child {
    margin-bottom: 4.5rem;
}

main section[id] {
    scroll-margin-top: 11rem;
}

.site-topbar {
    background: linear-gradient(90deg, rgba(15, 23, 47, 0.96), rgba(13, 92, 134, 0.92));
}

.site-topbar-group {
    gap: 0;
}

.site-topbar-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.08rem;
    white-space: nowrap;
}

.site-topbar-group .site-topbar-item + .site-topbar-item {
    margin-left: 1.3rem;
    padding-left: 1.3rem;
}

.site-topbar-group .site-topbar-item + .site-topbar-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 0.95rem;
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-50%);
}

.site-topbar-link {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease;
}

.site-topbar-link:hover {
    color: #ffffff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 47, 0.06);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 40px rgba(15, 23, 47, 0.08);
}

.brand-logo,
.footer-logo {
    height: 52px;
    width: auto;
}

.site-brand-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 1.4rem;
    padding: 0.85rem 1.2rem;
}

.site-brand-card:hover {
    background: #ffffff;
}

.footer-logo {
    height: 58px;
}

.navbar-light .navbar-nav .nav-link {
    color: #3f4254;
    font-weight: 600;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--infnit-primary);
    background: rgba(74, 129, 182, 0.14);
}

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link.show {
    color: var(--infnit-primary);
}

.btn.btn-primary {
    background-color: var(--infnit-primary);
    border-color: var(--infnit-primary);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(74, 129, 182, 0.26);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background-color: var(--infnit-primary-dark) !important;
    border-color: var(--infnit-primary-dark) !important;
    color: #ffffff !important;
}

.dropdown-item {
    font-weight: 500;
    padding: 0.9rem 1.25rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    color: var(--infnit-primary-dark);
    background: rgba(74, 129, 182, 0.12);
}

.public-solutions-dropdown .dropdown-menu {
    z-index: 1080;
}

.hero-section,
.page-hero,
.testimonials-section {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section::before,
.page-hero::before,
.testimonials-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(15, 23, 47, 0.93), rgba(0, 149, 217, 0.62)),
        linear-gradient(180deg, rgba(15, 23, 47, 0.15), rgba(15, 23, 47, 0.55));
    pointer-events: none;
}

.hero-section .container,
.page-hero .container,
.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.hero-section a,
.page-hero a,
.testimonials-section a,
.solution-card,
.site-header a,
.site-footer a {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-chip,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.12rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-chip {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.section-eyebrow {
    color: var(--infnit-primary-dark);
    background: rgba(74, 129, 182, 0.12);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--infnit-dark);
    margin-bottom: 1.5rem;
}

.section-copy {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #5e6278;
}

.section-narrow {
    max-width: 760px;
}

.hero-copy {
    max-width: 820px;
}

.hero-slider {
    max-width: 980px;
    margin: 0 auto;
}

.hero-slider-track {
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.5rem);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2.5rem;
}

.hero-slider-dot {
    width: 0.9rem;
    height: 0.9rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    padding: 0;
    transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease;
}

.hero-slider-dot.is-active {
    width: 2.6rem;
    background: #ffffff;
}

.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
    background: rgba(255, 255, 255, 0.72);
    outline: none;
}

.feature-panel,
.content-card,
.contact-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 18px 54px rgba(15, 23, 47, 0.06);
}

.mini-value-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(74, 129, 182, 0.12);
    border-radius: 1.75rem;
    padding: 1.95rem;
    box-shadow: 0 18px 40px rgba(15, 23, 47, 0.05);
}

.mini-value-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(74, 129, 182, 0.12);
    color: var(--infnit-primary-dark);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.mini-value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.mini-value-card p {
    margin: 0;
    color: #5e6278;
    line-height: 1.75;
}

.value-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}

.cta-band {
    padding: 5rem 0;
    background:
        linear-gradient(120deg, rgba(15, 23, 47, 0.96), rgba(13, 92, 134, 0.92)),
        url("../../images/02.png") center/cover no-repeat;
}

.solution-card {
    display: block;
    padding: 2.25rem;
    height: 100%;
    border-radius: 2rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 47, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 47, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(15, 23, 47, 0.12);
    border-color: rgba(74, 129, 182, 0.28);
    text-decoration: none;
}

.solution-card-tag {
    display: inline-flex;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(74, 129, 182, 0.12);
    color: var(--infnit-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    margin-bottom: 1.25rem;
}

.solution-card h3 {
    color: var(--infnit-dark);
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #5e6278;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.solution-card strong {
    color: var(--infnit-primary-dark);
    font-weight: 700;
}

.solution-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    row-gap: 2rem;
}

.solution-grid-item {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 2rem;
}

.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 1.75rem;
    box-shadow: 0 18px 40px rgba(15, 23, 47, 0.05);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 68px;
    object-fit: contain;
}

.testimonials-section {
    padding: 5rem 0;
    background-image: url("../../images/04.png");
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2rem;
    padding: 2rem;
    backdrop-filter: blur(12px);
}

.testimonial-card p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.9;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card span {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.68);
}

.contact-card {
    display: grid;
    gap: 1.5rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    display: none;
}

.contact-card small {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #7e8299;
    margin-bottom: 0.35rem;
}

.contact-card strong,
.contact-card a {
    color: var(--infnit-dark);
}

.contact-actions {
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    column-gap: 1.75rem !important;
    row-gap: 1rem !important;
}

.contact-submit-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 16rem;
}

.contact-submit-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-submit-button.is-loading {
    cursor: wait;
    opacity: 0.92;
}

.contact-submit-button.is-loading .contact-submit-spinner {
    opacity: 1;
    transform: scale(1);
    animation: infnit-spin 0.8s linear infinite;
}

.contact-submit-button.is-loading .contact-submit-label {
    opacity: 0.92;
}

.contact-actions-note {
    display: block;
    max-width: 28rem;
    line-height: 1.7;
    padding-top: 0.85rem;
    margin-left: 0.9rem;
}

@keyframes infnit-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.page-hero {
    padding: 7rem 0 5rem;
}

.page-hero-breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.page-hero-breadcrumbs a,
.page-hero-breadcrumbs strong {
    color: inherit;
}

.content-card h2,
.content-card h3 {
    color: var(--infnit-dark);
    margin-bottom: 1rem;
}

.content-card h2 {
    font-size: 1.8rem;
}

.content-card h3 {
    font-size: 1.3rem;
}

.content-card p,
.content-list li {
    color: #5e6278;
    line-height: 1.85;
}

.content-card-wide {
    max-width: 980px;
    margin: 0 auto;
}

.page-hero + section .row.g-10 {
    --bs-gutter-x: 2.5rem;
}

.page-hero + section .row.g-10 > [class*="col-lg-5"] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-hero + section .row.g-10 > [class*="col-lg-5"] .content-card {
    width: 100%;
}

.page-hero + section .row.g-10 > [class*="col-lg-5"] .content-card.mb-6 {
    margin-bottom: 0 !important;
}

.content-list {
    margin: 0;
    padding-left: 1.25rem;
}

.content-list li + li {
    margin-top: 0.55rem;
}

.highlight-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.highlight-links a {
    font-weight: 600;
}

.site-footer {
    background: linear-gradient(180deg, #0f172f, #0b1328);
}

.site-footer > .container {
    padding-top: 4.75rem !important;
    padding-bottom: 3.5rem !important;
    padding-left: 5.5rem;
    padding-right: 5.5rem;
}

.site-footer .row {
    --bs-gutter-x: 4.75rem;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-bottom .container {
    padding-top: 1.15rem !important;
    padding-bottom: 1.15rem !important;
    padding-left: 5.5rem;
    padding-right: 5.5rem;
}

.footer-brand-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1rem 1.35rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    margin-left: 0.25rem;
    margin-bottom: 2.25rem !important;
}

.footer-copy {
    color: rgba(219, 232, 246, 0.78);
    line-height: 1.8;
    max-width: 30rem;
}

.footer-contact {
    color: rgba(226, 236, 248, 0.76);
}

.footer-contact a {
    color: #ffffff;
    font-weight: 600;
}

.footer-title {
    color: #ffffff;
    letter-spacing: 0.01em;
}

.footer-link {
    color: var(--infnit-primary-soft);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #8fb7db;
    text-decoration: none;
}

.footer-legal {
    color: rgba(219, 232, 246, 0.45);
}

.footer-privacy-link {
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .site-footer > .container {
        padding-top: 3.5rem !important;
        padding-bottom: 3rem !important;
        padding-left: 2.75rem;
        padding-right: 2.75rem;
    }

    .site-footer .row {
        --bs-gutter-x: 2.75rem;
    }

    .site-footer-bottom .container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        padding-left: 2.75rem;
        padding-right: 2.75rem;
    }

    main > section + section {
        margin-top: 2.75rem;
    }

    main > section:last-child {
        margin-bottom: 2.75rem;
    }

    .site-topbar-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-topbar-group .site-topbar-item {
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }

    .brand-logo,
    .footer-logo {
        height: 44px;
    }

    .hero-slider {
        max-width: 100%;
    }

    .hero-slider-nav {
        margin-top: 2rem;
    }

    .site-brand-card {
        padding: 0.7rem 1rem;
        border-radius: 1.15rem;
    }

    .feature-panel,
    .content-card,
    .contact-card,
    .solution-card,
    .mini-value-card {
        border-radius: 1.5rem;
    }

    .value-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .page-hero + section .row.g-10 {
        --bs-gutter-x: 1.75rem;
        --bs-gutter-y: 2rem;
    }

    .page-hero + section .row.g-10 > [class*="col-lg-5"] {
        gap: 1.5rem;
    }

    .solution-card {
        padding: 1.5rem;
    }

    .solution-grid-item {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 1rem;
    }

    .contact-actions {
        margin-top: 0.75rem;
        column-gap: 1rem !important;
        row-gap: 0.9rem !important;
    }

    .contact-actions-note {
        max-width: none;
        padding-top: 0;
        margin-left: 0;
    }

    main section[id] {
        scroll-margin-top: 9rem;
    }
}

@media (max-width: 767.98px) {
    .page-hero + section .row.g-10 {
        --bs-gutter-y: 1.75rem;
    }

    .hero-slide .display-3 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    .hero-slider-nav {
        gap: 0.65rem;
        margin-top: 1.75rem;
    }

    .hero-slider-dot {
        width: 0.8rem;
        height: 0.8rem;
    }

    .hero-slider-dot.is-active {
        width: 2.2rem;
    }

    .site-footer > .container {
        padding-top: 2.75rem !important;
        padding-bottom: 2.5rem !important;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }

    .site-footer .row {
        --bs-gutter-x: 1.9rem;
    }

    .site-footer-bottom .container {
        padding-top: 0.9rem !important;
        padding-bottom: 0.9rem !important;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
}
