/* Western Alliance Bank Custom Color Scheme */
/* Primary Color: #04327c and its shades */

:root {
    --primary-color: #04327c;
    --primary-light: #04327c;
    --primary-dark: #04327c;
    --primary-lighter: #04327c;
    --primary-darker: #04327c;
    --accent-color: #04327c;
    --accent-light: #04327c;
    --accent-hover: #04327c;
    --light-gray: #04327c;
    --gray-light: #04327c;
}

/* Button Styles */
.btn.style1 {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn.style1:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
}

.btn.style1:after {
    background-color: var(--primary-light) !important;
}

/* Header Styles */
.header-wrap.style1 .header-bottom .header-btn .btn.style1 {
    background-color: var(--primary-color) !important;
}

.header-wrap.style1 .header-bottom .header-btn .btn.style1:after {
    background-color: var(--primary-light) !important;
}

.header-wrap.style2 .header-bottom .header-btn .btn.style1 {
    background-color: var(--primary-dark) !important;
    font-weight: 500;
}

.header-wrap.style2 .header-bottom .header-btn .btn.style1:after {
    background-color: var(--primary-light) !important;
}

/* Navigation Active States */
.header-wrap .header-bottom .navbar .navbar-nav .nav-item a.active,
.header-wrap .header-bottom .navbar .navbar-nav .nav-item a:hover {
    color: var(--primary-color) !important;
}

/* Section Titles */
.section-title.style1 span,
.content-title.style1 span {
    color: var(--primary-color) !important;
}

/* Links */
a:hover,
h3:hover a {
    color: var(--primary-color) !important;
}

/* Service Cards */
.service-card.style3:after {
    background-color: var(--primary-color) !important;
}

/* Feature Cards */
.feature-card .feature-info .feature-title span i {
    color: var(--primary-color) !important;
}

/* Testimonial Cards */
.testimonial-card-thumb {
    border-color: var(--primary-color) !important;
}

/* Counter Cards */
.counter-card-wrap .counter-card:before {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

/* Pricing Tables */
.pricing-table.style1 .btn.style1 {
    background-color: var(--primary-color) !important;
}

/* Contact Items */
.contact-item .contact-icon {
    background-color: var(--primary-color) !important;
}

.contact-item:hover .contact-icon {
    background-color: #fff !important;
}

/* Form Elements */
.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(4, 50, 124, 0.25) !important;
}

/* Checkbox Styles */
.checkbox input[type="checkbox"]:checked + label::before {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Tag List */
.tag-list ul li a:hover {
    background: var(--primary-color) !important;
    border-color: transparent;
    color: #fff !important;
}

/* Page Navigation */
.page-nav li a.active,
.page-nav li a:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Dark Theme Adjustments */
.theme-dark .section-title.style1 span,
.theme-dark .content-title.style1 span,
.theme-dark .header-wrap .header-bottom .navbar .navbar-nav .nav-item a.active,
.theme-dark .header-wrap .header-bottom .navbar .navbar-nav .nav-item a:hover,
.theme-dark h3:hover a,
.theme-dark a:hover,
.theme-dark .copyright-text p a {
    color: var(--primary-color) !important;
}

.theme-dark .pricing-table.style1 .btn.style1 {
    background-color: var(--primary-color) !important;
}

.theme-dark .contact-item .contact-icon {
    background-color: var(--primary-color) !important;
}

.theme-dark .contact-item:hover .contact-icon {
    background-color: #fff !important;
}

.theme-dark .tag-list ul li a:hover {
    background: var(--primary-color) !important;
    border-color: transparent;
    color: #fff !important;
}

.theme-dark .header-wrap .header-bottom .navbar-nav .nav-item .dropdown-menu li a.active {
    border-color: var(--primary-color) !important;
}

.theme-dark .header-wrap .header-bottom .navbar .navbar-nav .nav-item a.active {
    border-color: var(--primary-color) !important;
}

/* Hero Section Adjustments */
.hero-wrap .hero-content .hero-btn .btn.style1 {
    background-color: var(--primary-color) !important;
}

.hero-wrap .hero-content .hero-btn .btn.style1:hover {
    background-color: var(--primary-dark) !important;
}

/* Service Card Icons */
.service-card .service-icon i {
    color: var(--primary-color) !important;
}

/* Feature Icons */
.feature-item .feature-icon i {
    color: var(--primary-color) !important;
}

/* Breadcrumb Links */
.breadcrumb-menu li a:hover {
    color: var(--primary-color) !important;
}

/* Footer Links */
.footer-menu li a:hover {
    color: var(--primary-color) !important;
}

/* Social Links */
.social-profile li a:hover {
    color: var(--primary-color) !important;
}

/* Back to Top Button */
.back-to-top {
    background-color: var(--primary-color) !important;
}

.back-to-top:hover {
    background-color: var(--primary-dark) !important;
}

/* Loading Spinner */
.loader div {
    background-color: var(--primary-color) !important;
}

/* Custom Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Additional Color Overrides */
.bg-light,
.bg-gray-light,
.bg-light-gray {
    background-color: #04327c !important;
}

.text-light,
.text-gray-light,
.text-light-gray {
    color: #04327c !important;
}

.border-light,
.border-gray-light,
.border-light-gray {
    border-color: #04327c !important;
}

/* Ensure all primary elements use the same color */
.btn-primary,
.btn-outline-primary,
.navbar-brand,
.footer-logo,
.service-card,
.feature-card,
.testimonial-card,
.counter-card,
.pricing-table,
.contact-item,
.hero-btn,
.section-title,
.content-title {
    --bs-primary: #04327c !important;
    --bs-primary-rgb: 4, 50, 124 !important;
}

/* Override any remaining color variations */
* {
    --primary: #04327c !important;
    --primary-light: #04327c !important;
    --primary-dark: #04327c !important;
    --accent: #04327c !important;
    --accent-light: #04327c !important;
    --accent-dark: #04327c !important;
}

/* Footer Logo White Filter */
.footer-logo-img {
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
}

/* Alternative method using CSS filter for white effect */
.footer-logo img {
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
}

