/* =====================================================
   HOME V5 UNIVERSITY THEME - MAROON & GOLD
   Color Scheme: #270000 (maroon), #E9AB47 (gold), #000000 (black)
   ===================================================== */

/* =====================================================
   HERO SECTION OVERRIDES
   ===================================================== */

/* Hero Overlay */
.v5-hero-cinematic .v5-hc-overlay {
    background: linear-gradient(
        135deg,
        rgba(39, 0, 0, 0.80) 0%,
        rgba(0, 0, 0, 0.85) 50%,
        rgba(39, 0, 0, 0.75) 100%
    ) !important;
}

/* Hero Badge */
.v5-hero-cinematic .v5-hc-badge i {
    color: var(--v5-accent) !important;
}

/* Hero Title Underline */
.v5-hero-cinematic .v5-hc-title::after {
    background: linear-gradient(90deg, var(--v5-accent), var(--v5-accent-light), var(--v5-accent), var(--v5-accent-light), var(--v5-accent)) !important;
    background-size: 200% 100% !important;
}

/* Hero Primary Button */
.v5-hero-cinematic .v5-hc-btn-primary {
    background: var(--v5-gradient-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-hero-cinematic .v5-hc-btn-primary:hover {
    color: var(--v5-primary) !important;
    box-shadow: 0 25px 60px var(--v5-shadow-accent) !important;
}

/* Hero Secondary Button */
.v5-hero-cinematic .v5-hc-btn-secondary:hover {
    background: rgba(233, 171, 71, 0.2) !important;
    border-color: var(--v5-accent) !important;
}

/* Hero Stat Icons */
.v5-hero-cinematic .v5-hc-stat-icon i {
    color: var(--v5-accent) !important;
}

/* Hero Badge Pulse */
.v5-hero-cinematic .v5-hc-badge-pulse {
    background: var(--v5-accent) !important;
}

@keyframes v5BadgePulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(233, 171, 71, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(233, 171, 71, 0); }
}

.v5-hero-cinematic .v5-hc-badge-pulse {
    animation: v5BadgePulseGold 2s infinite !important;
}

/* =====================================================
   FEATURES/RATE SECTION OVERRIDES
   ===================================================== */

/* Feature Cards */
.v5-features-section .v5-feature-card:hover {
    border-color: var(--v5-accent) !important;
}

.v5-features-section .v5-feature-icon {
    background: var(--v5-gradient-primary) !important;
}

.v5-features-section .v5-feature-card:hover .v5-feature-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-features-section .v5-feature-title:hover {
    color: var(--v5-accent) !important;
}

/* Section Badge */
.v5-features-section .v5-section-badge .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-features-section .v5-section-badge .badge-text {
    color: var(--v5-primary) !important;
}

/* =====================================================
   AID PROGRAMS SECTION OVERRIDES
   ===================================================== */

.v5-aid-section .v5-aid-card:hover {
    border-color: var(--v5-accent) !important;
}

.v5-aid-section .v5-aid-icon {
    background: var(--v5-gradient-primary) !important;
}

.v5-aid-section .v5-aid-card:hover .v5-aid-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-aid-section .v5-aid-title:hover {
    color: var(--v5-accent) !important;
}

.v5-aid-section .v5-section-badge .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-aid-section .v5-section-badge .badge-text {
    color: var(--v5-primary) !important;
}

/* =====================================================
   NEWS & EVENTS SECTION OVERRIDES
   ===================================================== */

.v5-news-section .v5-news-card:hover {
    border-color: var(--v5-accent) !important;
}

.v5-news-section .v5-news-category {
    background: var(--v5-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-news-section .v5-news-title:hover {
    color: var(--v5-accent) !important;
}

.v5-news-section .v5-news-date i {
    color: var(--v5-accent) !important;
}

.v5-news-section .v5-section-badge .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-news-section .v5-section-badge .badge-text {
    color: var(--v5-primary) !important;
}

.v5-news-section .v5-view-all-btn {
    background: var(--v5-gradient-primary) !important;
    color: #fff !important;
}

.v5-news-section .v5-view-all-btn:hover {
    background: var(--v5-gradient-accent) !important;
    color: var(--v5-primary) !important;
}

/* =====================================================
   TESTIMONIALS SECTION OVERRIDES
   ===================================================== */

.v5-testimonials-section {
    background: var(--v5-gradient-primary) !important;
}

.v5-testimonials-section .v5-testimonial-card:hover {
    border-color: var(--v5-accent) !important;
}

.v5-testimonials-section .v5-quote-icon {
    color: var(--v5-accent) !important;
}

.v5-testimonials-section .v5-section-badge .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-testimonials-section .v5-section-badge .badge-text {
    color: var(--v5-accent) !important;
}

/* Slick Slider Dots */
.v5-testimonials-section .slick-dots li button {
    background: rgba(233, 171, 71, 0.3) !important;
}

.v5-testimonials-section .slick-dots li.slick-active button {
    background: var(--v5-accent) !important;
}

/* Slider Arrows */
.v5-testimonials-section .slick-prev,
.v5-testimonials-section .slick-next {
    background: var(--v5-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-testimonials-section .slick-prev:hover,
.v5-testimonials-section .slick-next:hover {
    background: var(--v5-accent-light) !important;
}

/* =====================================================
   STATS SECTION OVERRIDES
   ===================================================== */

.v5-stats-section {
    background: var(--v5-gradient-primary) !important;
}

.v5-stats-section .v5-stat-icon {
    background: var(--v5-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-stats-section .v5-stat-number {
    color: var(--v5-accent) !important;
}

.v5-stats-section .v5-section-badge .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

/* =====================================================
   ACCREDITATIONS SECTION OVERRIDES
   ===================================================== */

.v5-accreditations-section .v5-accreditation-card:hover {
    border-color: var(--v5-accent) !important;
}

.v5-accreditations-section .v5-section-badge .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-accreditations-section .v5-section-badge .badge-text {
    color: var(--v5-primary) !important;
}

/* Trust Indicators */
.v5-accreditations-section .v5-trust-icon {
    background: var(--v5-gradient-primary) !important;
}

.v5-accreditations-section .v5-trust-icon:hover {
    background: var(--v5-gradient-accent) !important;
}

/* =====================================================
   WELCOME SECTION OVERRIDES
   ===================================================== */

.v5-welcome-section .v5-welcome-btn {
    background: var(--v5-gradient-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-welcome-section .v5-welcome-btn:hover {
    background: var(--v5-gradient-primary) !important;
    color: #fff !important;
}

.v5-welcome-section .v5-section-badge .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-welcome-section .v5-section-badge .badge-text {
    color: var(--v5-primary) !important;
}

/* =====================================================
   GENERAL OVERRIDES FOR ALL V5 SECTIONS
   ===================================================== */

/* Badge Styling */
.v5-university-theme [class*="v5-"] .badge-icon,
.v5-university-theme [class*="v5-section-badge"] .badge-icon {
    background: var(--v5-gradient-accent) !important;
}

.v5-university-theme [class*="v5-"] .badge-text,
.v5-university-theme [class*="v5-section-badge"] .badge-text {
    color: var(--v5-primary) !important;
}

/* Primary Buttons */
.v5-university-theme .v5-btn-primary,
.v5-university-theme [class*="v5-"] .btn-primary {
    background: var(--v5-gradient-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-university-theme .v5-btn-primary:hover,
.v5-university-theme [class*="v5-"] .btn-primary:hover {
    box-shadow: 0 15px 40px var(--v5-shadow-accent) !important;
}

/* Secondary Buttons */
.v5-university-theme .v5-btn-secondary,
.v5-university-theme [class*="v5-"] .btn-secondary {
    background: var(--v5-gradient-primary) !important;
    color: #fff !important;
}

/* Icon Containers */
.v5-university-theme [class*="v5-icon-primary"] {
    background: var(--v5-gradient-primary) !important;
}

.v5-university-theme [class*="v5-icon-accent"] {
    background: var(--v5-gradient-accent) !important;
    color: var(--v5-primary) !important;
}

/* Links Hover Color - Only for v5 section links */
.v5-university-theme [class*="v5-"] a:hover {
    color: var(--v5-accent) !important;
}

/* Card Hover Border */
.v5-university-theme [class*="v5-card"]:hover {
    border-color: var(--v5-accent) !important;
}

/* Floating Shapes */
.v5-university-theme [class*="floating-shape"],
.v5-university-theme [class*="v5-shape"] {
    background: var(--v5-primary) !important;
}

/* =====================================================
   HEADER, FOOTER, TOP BAR - USE ADMIN APPEARANCE SETTINGS
   These are NOT overridden here - colors come from:
   Admin > Appearance > Header Colors / Footer Colors
   ===================================================== */

/* Only override hover colors to use gold accent */
.v5-university-theme .td_site_header .td_nav_list > li > a:hover {
    color: var(--v5-accent) !important;
}

.v5-university-theme .td_footer a:hover {
    color: var(--v5-accent) !important;
}

/* Footer Social Icons hover */
.v5-university-theme .td_footer .td_social_btns a:hover {
    background: var(--v5-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-university-theme .td-top-bar a:hover {
    color: var(--v5-accent) !important;
}

/* =====================================================
   SCROLLUP BUTTON
   ===================================================== */

.v5-university-theme .td_scrollup {
    background: var(--v5-accent) !important;
    color: var(--v5-primary) !important;
}

.v5-university-theme .td_scrollup:hover {
    background: var(--v5-primary) !important;
    color: #fff !important;
}

/* =====================================================
   PRELOADER
   ===================================================== */

.v5-university-theme .td_preloader_in span {
    background: var(--v5-accent) !important;
}
