/* Rivox overrides only. Core template files are preserved. */

.navbar-brand img.logo,
.footer-style-three .logo img,
.footer-style-one .logo img,
.footer-top .logo img,
#navbar-menu > img {
    max-height: 58px;
    width: auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.top-bar-area .language-switcher {
    display: none !important;
}

.contact-form-style-two .alert {
    margin-bottom: 24px;
    border-radius: 10px;
}

.contact-form-style-two input[name="website"] {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.banner-style-three-area h2 {
    max-width: 980px;
}

.footer-style-three .newsletter-style-three-card,
.footer-style-one .newsletter-flex {
    display: none;
}

@media (max-width: 991px) {
    .navbar-brand img.logo {
        max-height: 48px;
    }
}

/* Rivox scroll-to-top button */
.rivox-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #1451fb;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    box-shadow: 0 18px 40px rgba(20, 81, 251, 0.35);
    transition: all 0.25s ease;
}

.rivox-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.rivox-scroll-top:not(.is-visible) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.rivox-scroll-top:hover {
    background: #071036;
    transform: translateY(-3px);
}

@media (max-width: 575px) {
    .rivox-scroll-top {
        right: 18px;
        bottom: 18px;
        width: 46px;
        height: 46px;
        font-size: 16px;
    }
}

/* Rivox legal pages */
.rivox-legal-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(7, 16, 54, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.rivox-legal-nav {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.rivox-legal-brand img {
    max-height: 56px;
    width: auto;
}

.rivox-legal-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.rivox-legal-menu a {
    color: #071036;
    font-weight: 700;
}

.rivox-legal-menu a:hover {
    color: #1451fb;
}

.rivox-legal-hero {
    background:
        radial-gradient(
            circle at 14% 20%,
            rgba(20, 81, 251, 0.18),
            transparent 28%
        ),
        linear-gradient(135deg, #f7f9ff 0%, #eef4ff 100%);
    padding: 92px 0 72px;
}

.rivox-legal-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(20, 81, 251, 0.1);
    color: #1451fb;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.rivox-legal-hero h1 {
    color: #071036;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
    margin: 0;
}

.rivox-legal-hero p {
    max-width: 820px;
    margin: 20px 0 0;
    color: #5d6470;
    font-size: 18px;
    line-height: 1.7;
}

.rivox-legal-date {
    margin-top: 22px;
    color: #071036;
    font-weight: 700;
}

.rivox-legal-section {
    background: #f6f8ff;
    padding: 80px 0;
}

.rivox-legal-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(7, 16, 54, 0.08);
    box-shadow: 0 22px 70px rgba(7, 16, 54, 0.07);
    padding: clamp(28px, 5vw, 58px);
}

.rivox-legal-card h2 {
    color: #071036;
    font-size: 26px;
    margin: 34px 0 14px;
}

.rivox-legal-card h2:first-child {
    margin-top: 0;
}

.rivox-legal-card p,
.rivox-legal-card li {
    color: #5d6470;
    font-size: 16px;
    line-height: 1.8;
}

.rivox-legal-card ul {
    padding-left: 22px;
    margin-bottom: 22px;
}

.rivox-legal-card a {
    color: #1451fb;
    font-weight: 700;
}

.rivox-legal-footer {
    background: #071036;
    color: rgba(255, 255, 255, 0.75);
    padding: 44px 0;
}

.rivox-legal-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.rivox-legal-footer img {
    max-height: 54px;
    width: auto;
    margin-bottom: 12px;
}

.rivox-legal-footer p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.rivox-legal-footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.rivox-legal-footer-links a {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 767px) {
    .rivox-legal-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .rivox-legal-menu {
        gap: 16px;
    }

    .rivox-legal-hero {
        padding: 68px 0 56px;
    }

    .rivox-legal-section {
        padding: 56px 0;
    }
}

/* Rivox contact service select */
.contact-form-style-two .rivox-select-group {
    position: relative;
}

.contact-form-style-two select.rivox-service-select {
    width: 100%;
    min-height: 50px;
    padding: 0 55px 0 20px;
    border: 1px solid #d8dce3;
    border-radius: 30px;
    background-color: #ffffff;
    color: #3f4654;
    font-size: 15px;
    line-height: 50px;
    cursor: pointer;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form-style-two select.rivox-service-select:focus {
    border-color: #7768f6;
    box-shadow: none;
    outline: none;
}

.contact-form-style-two .rivox-select-arrow {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: #596070;
    font-size: 13px;
    pointer-events: none;
}

.contact-form-style-two select.rivox-service-select:invalid {
    color: #596070;
}

.contact-form-style-two select.rivox-service-select option {
    color: #222222;
    background: #ffffff;
}

/* Rivox partner access section */
.rivox-partner-access-area {
    position: relative;
}

.rivox-partner-access-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 55px;
    background: #071036;
    color: #ffffff;
    box-shadow: 0 25px 80px rgba(7, 16, 54, 0.18);
}

.rivox-partner-access-card::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(20, 81, 251, 0.25);
}

.rivox-partner-access-card::after {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.rivox-partner-access-card .row {
    position: relative;
    z-index: 2;
}

.rivox-partner-access-card .sub-title {
    color: #ffffff;
    opacity: 0.8;
}

.rivox-partner-access-card h2 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 22px;
}

.rivox-partner-access-card p {
    color: rgba(255, 255, 255, 0.78);
}

.rivox-partner-access-card .btn-simple {
    color: #ffffff;
}

.rivox-partner-card {
    height: 100%;
    padding: 32px;
    border-radius: 22px;
    background: #ffffff;
    color: #071036;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.rivox-partner-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.rivox-partner-card-top span {
    font-weight: 700;
    color: #1451fb;
}

.rivox-partner-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 20px;
}

.rivox-partner-mark.microsoft {
    background: #1451fb;
}

.rivox-partner-mark.adobe {
    background: #071036;
}

.rivox-partner-card h4 {
    color: #071036;
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.rivox-partner-card p {
    color: #4f5867;
    margin-bottom: 0;
}

.rivox-partner-note {
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.82);
}

.rivox-partner-note strong {
    display: block;
    color: #ffffff;
    margin-bottom: 4px;
}

@media (max-width: 991px) {
    .rivox-partner-access-card {
        padding: 42px 30px;
    }

    .rivox-partner-access-card h2 {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .rivox-partner-access-area {
        padding-bottom: 60px;
    }

    .rivox-partner-access-card {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .rivox-partner-access-card h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .rivox-partner-access-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    .rivox-partner-access-card .btn-simple {
        font-size: 14px;
        margin-bottom: 32px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .rivox-partner-card {
        padding: 24px 22px;
        border-radius: 20px;
        margin-bottom: 22px;
    }

    .rivox-partner-card-top {
        gap: 12px;
        margin-bottom: 20px;
        align-items: center;
    }

    .rivox-partner-card-top span {
        font-size: 17px;
        line-height: 1.25;
    }

    .rivox-partner-mark {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 15px;
        font-size: 21px;
    }

    .rivox-partner-card h4 {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .rivox-partner-card p {
        font-size: 16px;
        line-height: 1.65;
    }

    .rivox-partner-note {
        margin-top: 4px;
        padding: 18px 20px;
        border-radius: 18px;
        font-size: 15px;
        line-height: 1.65;
    }
}
