/* =========================================
   BRANDING OVERRIDES (Brandscor)
   ========================================= */

:root {
    /* Redefine gradients using the updated root variables */
    --brand-gradient: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary2) 50%, var(--color-primary3) 100%);
    --brand-gradient-hover: linear-gradient(135deg, var(--color-primary3) 0%, var(--color-primary2) 50%, var(--color-primary) 100%);
}

/* Gradient Text for Highlights */
.section-highlight,
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
}

/* Buttons Gradient Override */
.orvio-btn,
.orvio-btn2,
.orvio-btn3,
.impact-btn,
.primary-btn {
    background: var(--brand-gradient) !important;
    color: #fff !important;
    border: none !important;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Hover States */
.orvio-btn:hover,
.orvio-btn2:hover,
.orvio-btn3:hover,
.impact-btn:hover,
.primary-btn:hover {
    background: var(--brand-gradient-hover) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 61, 255, 0.3);
    color: #fff !important;
}

/* Specific fix for the Contact Us button in header (orvio-btn13) */
.orvio-btn13 .btn-content {
    background: transparent !important;
    /* The filter happens on the wrapper or internal span, ensure no conflict */
}

/* Primary Color Accents */
.service__item .service-number em {
    color: var(--color-primary2) !important;
    font-style: normal;
}

.service-title a:hover {
    color: var(--color-primary) !important;
}

/* Update impact section background to be more subtle but consistent if needed */
/* Leaving the radial gradient as is, but ensuring text pops */

/* Navbar Active State */
.header__main-menu nav ul li a.active,
.header__main-menu nav ul li a:hover {
    color: var(--color-primary) !important;
}

/* Active Page Highlighting */
.header__main-menu nav ul li a.active {
    position: relative;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.header__main-menu nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Mobile Menu Active */
.orvio__nav-link:hover {
    color: var(--color-primary2);
}

/* Footer Links Hover */
.footer-links ul li a:hover {
    color: var(--color-primary3);
}