/* Custom styles for Auto Showroom */

/* Modern Gradient Animation for Header and Navbar */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Delightful Header Styles */
.navbar.bg-dark {
    background: linear-gradient(180deg, #009FE3 0%, #0072BC 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 114, 188, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}


body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    position: relative;
    padding: 0.8rem 0;
    margin-right: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(0, 102, 204, 0.5);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-brand:hover::after {
    transform: scaleX(1);
}

.brand-atta {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-autos {
    color: #e6f3ff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    padding: 0.8rem 1.2rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Enhanced Layout Styles */
.container {
    max-width: 1200px;
    padding: 0 1rem;
}

/* Card Enhancements */
.card {
    border: none;
    transition: all 0.3s ease;
    background: #ffffff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Filter Section Enhancement */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* Main Content Spacing */
main.container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* Enhanced Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #0077cc, #0099ff);
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
    background: linear-gradient(135deg, #0066cc, #0088ff);
}

/* Status Badge Enhancement */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Card hover effects */
.transition-all {
    transition: all 0.3s ease-in-out !important;
}

.card {
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.card:active {
    transform: translateY(-2px);
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.1) !important;
}

/* Make sure badges don't trigger the card click */
.card .badge {
    position: relative;
    z-index: 2;
}

/* Ensure text is readable */
.card-title {
    color: #333 !important;
}

.card-text {
    color: #666 !important;
}

/* Responsive image handling */
.card-img-container {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.card-img-container img {
    transition: transform 0.3s ease-in-out;
}

.card:hover .card-img-container img {
    transform: scale(1.05);
}

.navbar {
    /* Background removed here so the final override controls the navbar color */
    background: none !important;
    background-image: none !important;
    background-size: auto !important;
    animation: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.brand-atta {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-autos {
    color: #E0F4FF;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #E8F1FF !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #6e567b;
    color: white;
    min-height: 100vh;
}

/* Card improvements */
.card {
    border: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.zoom-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    transition: transform 0.3s ease;
    height: 200px;
    object-fit: cover;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: #0d6efd;
    font-weight: 600;
}

/* Car card badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
    color: #fff;
}

.badge.bg-dark {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Form improvements */
.form-select {
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: white;
}

.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.15);
}

/* Footer Styles */
footer {
    /* Use requested deep navy blue for site footer */
    background-color: #0C2E57 !important;
    padding: 4rem 0 2rem !important;
    margin-top: 3rem;
    color: #fff;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.quick-contact {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.quick-contact i {
    color: #0d6efd;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.brand-atta {
    color: #0d6efd;
    font-weight: bold;
}

.brand-autos {
    color: #fff;
    font-weight: bold;
}

/* Hero section */
.hero-section {
    background: linear-gradient(45deg, #4a3d52, #6e567b);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

.card {
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image-wrapper .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    padding: 0.5em 1em;
}

.hero-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.hero-section .carousel-item {
    min-height: 500px;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.navbar {
    /* Neutral navbar box (color controlled by final override) */
    background: none !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: linear-gradient(to right, rgba(33, 37, 41, 0.98), rgba(33, 37, 41, 0.98));
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white !important;
}

.navbar-brand:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    font-weight: 500;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background: linear-gradient(to right, transparent, #fff, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}

.brand-atta {
    color: white;
    font-weight: bold;
}

.brand-autos {
    color: white;
    font-weight: bold;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

main .btn-outline-primary {
    background-color: transparent;
    border-color: #0056b3;
    color: #0056b3;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

main .btn-outline-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    transform: translateY(-2px);
}

.carousel .btn-outline-primary {
    background-color: white;
    border-color: white;
    color: #333;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.carousel .btn-outline-primary:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

main {
    background: #6e567b;
    padding: 3rem 0;
}

main h2 {
    color: white;
}


/* Carousel indicators styling */
.carousel-indicators {
    bottom: 10px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators li.active {
    background-color: #fff;
    border-color: #fff;
}

/* Contact page social links */
.contact-page .social-links a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-page .social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* Form styling */
.form-control:focus {
    background-color: #2b2b2b !important;
    border-color: #6e567b !important;
    color: white !important;
    box-shadow: 0 0 0 0.25rem rgba(110, 86, 123, 0.25) !important;
}

/* Login form styling */
.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.login-card .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.login-card .form-control:focus {
    background-color: white;
    border-color: #6e567b;
    box-shadow: 0 0 0 0.25rem rgba(110, 86, 123, 0.25);
}

.login-card .input-group-text {
    border: none;
}

.login-card .btn-dark {
    background: linear-gradient(to right, #2d2d2d, #1a1a1a);
    border: none;
    transition: all 0.3s ease;
}

.login-card .btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Footer Styling */
footer {
    /* Use the requested deep navy blue */
    background: #0C2E57 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #FFB74D; /* warm accent that contrasts with navy */
}

footer p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6e567b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(110, 86, 123, 0.3);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.quick-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.quick-contact i {
    color: #6e567b;
}

/* --- Navbar color override (site-wide) ---
   Use a deep navy base with a subtle glossy shine. This block overrides
   earlier light-blue gradients and enforces a darker navy look.
*/
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark,
.navbar.bg-dark,
.navbar.bg-dark.navbar-expand-lg {
    /* Use the same deep navy as the footer to keep the site consistent */
    background-color: #0C2E57 !important; /* requested navy */
    background-image: none !important;
    background: #0C2E57 !important;
    background-size: auto !important;
    position: relative !important;
    overflow: visible !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.45) !important;
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    color: #ffffff !important;
}

.navbar.bg-dark.nav-purple::before {
    content: '' !important;
    position: absolute !important;
    left: 0; top: 0; right: 0; bottom: 0;
    pointer-events: none !important;
    /* single-color purple overlay with very low opacity to tint the navy */
    background-color: rgba(110,86,123,0.06) !important; /* #6e567b at 6% opacity */
    mix-blend-mode: normal !important;
    z-index: 1 !important;
}

/* Thin top sheen (kept over the purple tint) */
.navbar.bg-dark::after {
    content: '' !important;
    position: absolute !important;
    left: 0; top: 0; right: 0; height: 6px;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    z-index: 2 !important;
}

/* Ensure navbar content sits above overlays */
.navbar > .container {
    position: relative !important;
    z-index: 3 !important;
}

/* Force footer to use the same navy as header across all pages */
footer, .site-footer, .footer {
    background: #0C2E57 !important;
    background-image: none !important;
    color: #ffffff !important;
}

.navbar.bg-dark .navbar-brand,
.navbar.bg-dark .nav-link {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
}

.navbar.bg-dark .nav-link:hover {
    background: rgba(255,255,255,0.03) !important;
}

.navbar.bg-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}

/* Ensure no animated gradients apply */
.navbar.bg-dark {
    animation: none !important;
}

/* Ensure the footer remains the requested deep navy */
footer {
    background-color: #0C2E57 !important;
}

/* Final authoritative header override to exactly match footer navy */
nav.navbar, .navbar, .navbar.scrolled, nav.navbar.navbar-expand-lg.navbar-dark.bg-dark {
    background-color: #0C2E57 !important; /* exact match */
    background: #0C2E57 !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.12) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35) !important;
    animation: none !important;
}

.navbar.scrolled {
    background-color: #0C2E57 !important;
}

/* Keep brand and links readable */
.navbar .navbar-brand, .navbar .nav-link {
    color: #ffffff !important;
}

/* Remove any stray background-image on the toggler */
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}

/* Final authoritative footer override: use the exact navy (no gradient) to match header */
footer, .site-footer, .footer {
    background-color: #0C2E57 !important; /* exact navy */
    background: #0C2E57 !important;
    background-image: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #ffffff !important;
    padding: 4rem 0 2rem !important;
    margin-top: 3rem !important;
}

