/* 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: #ffffff;
    min-height: 100vh;
    overflow-x: hidden !important;
}

html {
    overflow-x: hidden !important;
}

.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-kh {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-vision {
    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: 100%;
    padding: 0 1rem;
}

footer .container {
    padding: 0 3rem;
}

/* 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, #5d3dc8, #7c63d8);
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(93, 61, 200, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(93, 61, 200, 0.35);
    background: linear-gradient(135deg, #4a2db2, #6d52d2);
}

/* 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-kh {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-vision {
    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='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 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;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(74, 49, 176, 0.06);
    position: relative;
}

.hover-shadow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(74, 49, 176, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(74, 49, 176, 0.18), 0 6px 14px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(74, 49, 176, 0.15);
}

.hover-shadow:hover::before {
    opacity: 1;
}

.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);
}

#sellSubmit.btn-primary,
#sellSubmit.btn-primary:hover,
#sellSubmit.btn-primary:focus,
#sellSubmit.btn-primary:active,
#sellSubmit.btn-primary:not(:disabled):not(.disabled):active {
    background: linear-gradient(135deg, #5d3dc8, #7c63d8) !important;
    border-color: #5d3dc8 !important;
    box-shadow: 0 5px 15px rgba(93, 61, 200, 0.35) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.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 {
    /* Footer background image */
    background-image: url('footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0 2rem !important;
    margin-top: 3rem;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

footer .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #FFB74D;
}

.footer-text {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #c8b5ff;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: #c8b5ff;
}

.contact-info .contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
}

.contact-info .contact-item i {
    margin-right: 1rem;
    color: #FFB74D;
}

.contact-info .contact-item a {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-info .contact-item a:hover {
    color: #c8b5ff !important;
    text-decoration: underline;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.2);
}

.whatsapp-button i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.whatsapp-button span {
    font-weight: 500;
}

.whatsapp-button:hover {
    background: #22c15e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.85);
}

.socials {
    margin-top: 0.6rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.15s ease;
}

.social-icon i {
    font-size: 1.05rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #0C2E57 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

@media (max-width: 576px) {
    footer {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    footer .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .footer-row,
    footer .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    footer .col-lg-4,
    footer .col-lg-3,
    footer .col-lg-5,
    footer .col-md-6 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }
}


.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-kh {
    color: #0d6efd;
    font-weight: bold;
}

.brand-vision {
    color: #fff;
    font-weight: bold;
}

.hero-welcome {
    position: relative;
    background: #f3f4f9;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.hero-welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(122, 92, 187, 0.10), transparent 40%);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.hero-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.hero-copy {
    text-align: left;
    padding: 0 2.5rem 0 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 460px;
}

.hero-kicker {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.18rem;
    color: #4a31b0;
    opacity: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 5.2rem);
    line-height: 0.9;
    font-weight: 900;
    color: #1d1635;
    letter-spacing: -0.06em;
    max-width: 700px;
    white-space: nowrap;
}

.hero-kh {
    display: inline-block;
    color: #4a31b0;
    font-weight: 900;
    letter-spacing: -0.08em;
    border-bottom: 3px solid rgba(74, 49, 176, 0.35);
    padding-bottom: 0.06em;
}

.hero-global {
    color: #1d1635;
    display: inline-block;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    margin: 1.1rem 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #31285a;
    opacity: 1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-translator {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: fit-content;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(74, 49, 176, 0.12);
    box-shadow: 0 10px 22px rgba(74, 49, 176, 0.08);
}

.hero-translator-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #31285a;
}

.hero-translator-picker {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-lang-btn {
    min-width: 42px;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(74, 49, 176, 0.2);
    background: rgba(255, 255, 255, 0.7);
    color: #1d1635;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.hero-lang-btn:hover,
.hero-lang-btn:focus,
.hero-lang-btn.active {
    background: #4a31b0;
    border-color: #4a31b0;
    color: #fff;
    box-shadow: 0 8px 18px rgba(74, 49, 176, 0.18);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 0.9rem 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.hero-cta:hover::after {
    opacity: 1;
}

.hero-cta-sell {
    background: #5537ba;
    color: #fff !important;
    border: 1px solid #5537ba;
    box-shadow: 0 14px 28px rgba(85, 55, 186, 0.22);
}

.hero-cta-sell:hover {
    background: #4b2faf;
    box-shadow: 0 18px 32px rgba(85, 55, 186, 0.30);
}

.hero-cta-buy {
    background: rgba(255, 255, 255, 0.18);
    color: #1d1635 !important;
    border: 1.5px solid #4a31b0;
    box-shadow: 0 10px 22px rgba(74, 49, 176, 0.10);
}

.hero-cta-buy:hover {
    background: rgba(74, 49, 176, 0.05);
    box-shadow: 0 14px 28px rgba(74, 49, 176, 0.18);
    border-color: #3d2998;
}

.hero-cta i {
    font-size: 1.06rem;
    line-height: 1;
}

.hero-visual-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 460px;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 460px;
    padding: 0;
    border-radius: 0;
    background: #f3f4f9;
    box-shadow: none;
}

.hero-visual-inner {
    border-radius: 0;
    overflow: hidden;
    background: #f3f4f9;
    width: 100%;
    height: 100%;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    mask-image: radial-gradient(ellipse at center, black 62%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 62%, transparent 100%);
}

.hero-car-image {
    display: block;
    width: 145%;
    height: 145%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 18px 28px rgba(35, 24, 61, 0.18));
    opacity: 0.98;
}

.home-filter-wrap {
    position: relative;
    z-index: 20;
    margin-top: -65px;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: transparent !important;
    border-radius: 0;
    overflow: visible;
}

.home-filter-wrap::before {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    width: 100%;
    height: 100%;
    background: #f3f4f9;
    z-index: -1;
    border-radius: 0;
}

.home-filter-card {
    width: 100%;
    max-width: 100%;
    background: #fefefe !important;
    border: 1px solid rgba(74, 49, 176, 0.08);
    border-radius: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 1.4rem 1.5rem 1rem;
}

.home-filter-header {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1d1635;
}

.home-filter-header i {
    color: #4a31b0;
}

.home-filter-form .form-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1d1635;
    font-size: 0.82rem;
}

.home-filter-form .form-select {
    background: #fefefe !important;
    border: 1px solid rgba(74, 49, 176, 0.14);
    border-radius: 12px;
    min-height: 48px;
    color: #1d1635;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.home-filter-form .form-select:focus {
    border-color: rgba(74, 49, 176, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(74, 49, 176, 0.12);
}

.home-filter-card .row,
.home-filter-card .col-12 {
    background: #fefefe !important;
}

@media (min-width: 992px) {
    .home-filter-wrap {
        margin-top: -80px;
    }
    .home-filter-card {
        margin: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-welcome {
        padding-top: 56px;
        padding-bottom: 40px;
    }
    .hero-copy {
        text-align: center;
        padding-right: 0;
    }
    .hero-title {
        max-width: none;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .featured-cars-section {
        overflow-x: hidden !important;
    }

    .featured-cars-section > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .featured-cars-section .featured-cars {
        padding: 0 0 2rem !important;
    }

    .hero-copy {
        padding: 0 1rem;
    }
    .hero-kicker {
        letter-spacing: 0.12rem;
    }
    .hero-title {
        white-space: normal;
        max-width: 100%;
        font-size: clamp(2.1rem, 11vw, 3.1rem);
        line-height: 0.94;
        letter-spacing: -0.05em;
        word-break: break-word;
    }
    .hero-kh,
    .hero-global {
        display: block;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-cta {
        min-width: 130px;
        padding: 0.8rem 1.2rem;
    }
    .hero-translator {
        width: 100%;
        justify-content: center;
    }
    .hero-visual-inner {
        min-height: 300px;
    }

    .cards-mobile-stack {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    .cards-mobile-stack > .col-sm-6,
    .cards-mobile-stack > .col-lg-2-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }

    .cards-mobile-stack > .col-sm-6 > a,
    .cards-mobile-stack > .col-lg-2-4 > a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .cards-mobile-stack .card {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 0 auto 1rem !important;
        box-sizing: border-box !important;
        display: block !important;
        min-width: 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .cards-mobile-stack .card-body {
        padding: 1rem !important;
    }

    .cards-mobile-stack .card-img-container-fixed {
        height: 220px !important;
    }

    .cards-mobile-stack .spec-grid {
        margin-bottom: 0.75rem !important;
    }

    .cards-mobile-stack .card-title,
    .cards-mobile-stack .spec-label,
    .cards-mobile-stack .spec-value {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .featured-cars-header {
        margin-bottom: 1.25rem !important;
        gap: 0.75rem !important;
    }

    .featured-cars-title {
        white-space: normal !important;
    }

    .featured-cars-button {
        width: 100% !important;
        justify-content: center !important;
    }
}

.hero-subtitle {
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .hero-subtitle {
        font-size: 1.15rem !important;
    }
}

.featured-cars-section {
    width: 100%;
    position: relative;
    left: 0;
    margin-left: 0;
    margin-right: 0;
    background: #fefefe !important;
}

.featured-cars-section > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.featured-cars-section .featured-cars {
    padding: 3rem;
}

.featured-cars-section .row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-2-4 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.featured-cars-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.featured-cars-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.featured-cars-title {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    white-space: nowrap;
}

.featured-cars-title-explore {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2651;
    line-height: 1.1;
}

.featured-cars-title-cars {
    font-size: 2rem;
    font-weight: 700;
    color: #4a31b0;
    line-height: 1.1;
}

.featured-cars-line {
    width: 120px;
    height: 3px;
    min-height: 3px;
    background: linear-gradient(90deg, #4a31b0 0%, rgba(74, 49, 176, 0.35) 100%);
    border-radius: 999px;
    display: block;
    margin-top: 0.35rem;
}

.featured-cars-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    white-space: nowrap;
    margin-left: auto;
    align-self: center;
    background: transparent !important;
    color: #4a31b0 !important;
    border: 1.5px solid #4a31b0 !important;
    border-radius: 8px;
    padding: 0.8rem 1.25rem;
    font-weight: 700;
    box-shadow: none;
    text-decoration: none;
    transition: all 0.2s ease;
}

.featured-cars-button:hover,
.featured-cars-button:focus,
.featured-cars-button:active {
    background: rgba(74, 49, 176, 0.05) !important;
    color: #4a31b0 !important;
    border-color: #4a31b0 !important;
    box-shadow: none !important;
    text-decoration: none;
}

.featured-cars-button-arrow {
    font-size: 1.8rem;
    line-height: 1;
    transform: translateY(-1px);
    display: inline-block;
}

.car-details-button {
    background: #111d3a !important;
    color: #ffffff !important;
    border: 1px solid #111d3a !important;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    transition: all 0.2s ease;
}

.car-details-button:hover,
.car-details-button:focus,
.car-details-button:active {
    background: #0c1730 !important;
    color: #ffffff !important;
    border-color: #0c1730 !important;
    box-shadow: none !important;
}

.share-card {
    border-radius: 50% !important;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.spec-label {
    font-size: 0.74rem;
    color: #6c757d;
    line-height: 1;
}

.spec-value {
    font-size: 0.95rem;
    color: #212529;
    line-height: 1;
}

.card-img-container-fixed {
    height: 200px;
    overflow: hidden;
}

.card-image-cover {
    object-fit: cover;
}

.card-title-compact {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 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;
}

.brand-kh {
    color: white;
    font-weight: bold;
}

.brand-vision {
    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: #ffffff;
    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 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: #c8b5ff;
    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: #5537ba;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(85, 55, 186, 0.35);
}

.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 {
    /* Purple brand theme requested for the site */
    background-color: #6f42c1 !important;
    background-image: none !important;
    background: #6f42c1 !important;
    background-size: auto !important;
    position: relative !important;
    overflow: visible !important;
    box-shadow: 0 4px 12px rgba(64, 46, 125, 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 */
.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 {
    filter: invert(1) brightness(1.1) !important;
}

/* Ensure no animated gradients apply */
.navbar.bg-dark {
    animation: none !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: #6f42c1 !important;
    background: #6f42c1 !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(64,46,125,0.35) !important;
    animation: none !important;
}

.navbar.scrolled {
    background-color: #6f42c1 !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;
}

/* About Page Hero Section */
.about-hero-section {
    background-color: #f3f4f9;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(85, 55, 186, 0.08), transparent 40%);
    pointer-events: none;
}

.about-hero-section .container {
    position: relative;
    z-index: 1;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1a2847;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 1.6;
}

.about-hero-line {
    height: 3px;
    width: 100px;
    background: linear-gradient(90deg, #5537ba 0%, rgba(85, 55, 186, 0.4) 100%);
    border-radius: 2px;
    margin: 0 auto;
}

/* About Page Story Section */
.story-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.story-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(85, 55, 186, 0.12);
    border: 1px solid rgba(85, 55, 186, 0.08);
    position: relative;
    z-index: 1;
}

.story-content {
    padding-right: 1rem;
}

.story-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2847;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.story-title i {
    color: #5537ba;
    font-size: 2.5rem;
}

.story-accent-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, #5537ba 0%, rgba(85, 55, 186, 0.3) 100%);
    border-radius: 2px;
}

.story-text {
    font-size: 1rem;
    color: #1a2847;
    line-height: 1.8;
    font-weight: 500;
}

.story-text strong {
    color: #5537ba;
    font-weight: 700;
}

.story-logo-container {
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.story-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(85, 55, 186, 0.1));
}

@media (max-width: 768px) {
    .story-card {
        padding: 2rem;
    }
    
    .story-title {
        font-size: 1.8rem;
    }
    
    .story-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .story-logo-container {
        width: 280px;
        height: 280px;
    }
}

/* About Page Mission Section */
.mission-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.mission-title {
    font-size: 2.2rem;
    color: #1a2847;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.mission-title i {
    color: #5537ba;
    font-size: 2.5rem;
}

.mission-subtitle {
    font-size: 1.1rem;
    color: #4a4a4a;
    font-weight: 500;
}

.mission-accent-line {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #5537ba 0%, rgba(85, 55, 186, 0.3) 100%);
    border-radius: 2px;
}

.mission-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(85, 55, 186, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(85, 55, 186, 0.15);
    border-color: rgba(85, 55, 186, 0.2);
}

.mission-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(85, 55, 186, 0.1) 0%, rgba(85, 55, 186, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(85, 55, 186, 0.15);
    transition: all 0.3s ease;
}

.mission-icon-wrapper i {
    font-size: 2rem;
    color: #5537ba;
}

.mission-card:hover .mission-icon-wrapper {
    background: linear-gradient(135deg, rgba(85, 55, 186, 0.15) 0%, rgba(85, 55, 186, 0.08) 100%);
    border-color: rgba(85, 55, 186, 0.25);
    transform: scale(1.1);
}

.mission-card-title {
    font-size: 1.3rem;
    color: #1a2847;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mission-card-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .mission-title {
        font-size: 1.8rem;
    }
    
    .mission-subtitle {
        font-size: 1rem;
    }
}

/* About Page Why Choose Us Section */
.why-choose-section {
    background: #f3f4f9;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom left, rgba(85, 55, 186, 0.05), transparent 50%);
    pointer-events: none;
}

.why-choose-title {
    font-size: 2.2rem;
    color: #1a2847;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.why-choose-title i {
    color: #5537ba;
    font-size: 2.5rem;
}

.why-choose-subtitle {
    font-size: 1.1rem;
    color: #4a4a4a;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.why-choose-line {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #5537ba 0%, rgba(85, 55, 186, 0.3) 100%);
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.why-choose-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(85, 55, 186, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.why-choose-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(85, 55, 186, 0.15);
    border-color: rgba(85, 55, 186, 0.2);
}

.why-choose-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(85, 55, 186, 0.1) 0%, rgba(85, 55, 186, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(85, 55, 186, 0.15);
    transition: all 0.3s ease;
    font-size: 1.75rem;
    color: #5537ba;
}

.why-choose-item:hover .why-choose-icon {
    background: linear-gradient(135deg, rgba(85, 55, 186, 0.15) 0%, rgba(85, 55, 186, 0.08) 100%);
    border-color: rgba(85, 55, 186, 0.25);
    transform: scale(1.1);
}

.why-choose-content {
    flex-grow: 1;
}

.why-choose-item-title {
    font-size: 1.1rem;
    color: #1a2847;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.why-choose-item-text {
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .why-choose-title {
        font-size: 1.8rem;
    }
    
    .why-choose-subtitle {
        font-size: 1rem;
    }
    
    .why-choose-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .why-choose-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* About Page CTA Section */
.cta-section {
    background: linear-gradient(135deg, #5537ba 0%, #4b2faf 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 20px 60px rgba(85, 55, 186, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2847;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    border: 2px solid transparent;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #5537ba 0%, #4b2faf 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(85, 55, 186, 0.25);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(85, 55, 186, 0.35);
    background: linear-gradient(135deg, #4b2faf 0%, #3f2498 100%);
    color: #ffffff;
    text-decoration: none;
}

.cta-btn-secondary {
    background: rgba(85, 55, 186, 0.1);
    color: #5537ba;
    border-color: #5537ba;
}

.cta-btn-secondary:hover {
    background: #5537ba;
    color: #ffffff;
    border-color: #5537ba;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(85, 55, 186, 0.2);
    text-decoration: none;
}

.cta-btn i {
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        gap: 1rem;
        flex-direction: column;
    }
    
    .cta-btn {
        min-width: 100%;
    }
}

/* Contact Page Hero Section */
.contact-hero-section {
    background-color: #f3f4f9;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(85, 55, 186, 0.08), transparent 40%);
    pointer-events: none;
}

.contact-hero-section .container {
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1a2847;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 1.6;
}

.contact-hero-line {
    height: 3px;
    width: 100px;
    background: linear-gradient(90deg, #5537ba 0%, rgba(85, 55, 186, 0.4) 100%);
    border-radius: 2px;
    margin: 0 auto;
}

/* Contact Page Main Section */
.contact-main-section {
    background: #ffffff;
    position: relative;
}

/* Contact Info Cards */
.contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(85, 55, 186, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(85, 55, 186, 0.15);
    border-color: rgba(85, 55, 186, 0.2);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(85, 55, 186, 0.1) 0%, rgba(85, 55, 186, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(85, 55, 186, 0.15);
    font-size: 2rem;
    color: #5537ba;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: linear-gradient(135deg, rgba(85, 55, 186, 0.15) 0%, rgba(85, 55, 186, 0.08) 100%);
    border-color: rgba(85, 55, 186, 0.25);
    transform: scale(1.1);
}

.whatsapp-card .contact-info-icon {
    color: #25D366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    border-color: rgba(37, 211, 102, 0.15);
}

.whatsapp-card:hover .contact-info-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.08) 100%);
    border-color: rgba(37, 211, 102, 0.25);
}

.phone-card .contact-info-icon {
    color: #0d6efd;
}

.location-card .contact-info-icon {
    color: #dc3545;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-color: rgba(220, 53, 69, 0.15);
}

.location-card:hover .contact-info-icon {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.08) 100%);
    border-color: rgba(220, 53, 69, 0.25);
}

.hours-card .contact-info-icon {
    color: #fd7e14;
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.1) 0%, rgba(253, 126, 20, 0.05) 100%);
    border-color: rgba(253, 126, 20, 0.15);
}

.hours-card:hover .contact-info-icon {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.15) 0%, rgba(253, 126, 20, 0.08) 100%);
    border-color: rgba(253, 126, 20, 0.25);
}

.contact-info-title {
    font-size: 1.2rem;
    color: #1a2847;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-info-desc {
    font-size: 0.9rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contact-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #5537ba 0%, #4b2faf 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(85, 55, 186, 0.2);
}

.contact-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 55, 186, 0.3);
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #4b2faf 0%, #3f2498 100%);
}

.contact-info-hours {
    font-weight: 600;
    color: #5537ba;
    font-size: 1.05rem;
}

/* Address Section */
.address-section {
    background: linear-gradient(135deg, #f3f4f9 0%, #eef1f8 100%);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(85, 55, 186, 0.1);
}

.address-title {
    font-size: 1.8rem;
    color: #1a2847;
    font-weight: 700;
    margin-bottom: 1rem;
}

.address-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, #5537ba 0%, rgba(85, 55, 186, 0.3) 100%);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.address-text {
    font-size: 1.05rem;
    color: #1a2847;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.address-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(85, 55, 186, 0.1);
}

.address-info-item i {
    font-size: 1.5rem;
    color: #5537ba;
    flex-shrink: 0;
}

.address-info-label {
    font-size: 0.8rem;
    color: #4a4a4a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.address-info-item a {
    color: #1a2847;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.address-info-item a:hover {
    color: #5537ba;
}

/* Map Container */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(85, 55, 186, 0.15);
    border: 1px solid rgba(85, 55, 186, 0.1);
}

@media (max-width: 768px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-title {
        font-size: 1.1rem;
    }
    
    .address-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .map-container {
        margin-top: 2rem;
    }
}

/* Announce CTA Button */
.announce-cta {
    background: linear-gradient(135deg, #5537ba 0%, #4b2faf 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(85, 55, 186, 0.2);
}

.announce-cta:hover {
    background: linear-gradient(135deg, #4b2faf 0%, #3f2498 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 55, 186, 0.3);
}

#subscribe_btn,
.btn-warning,
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning:not(:disabled):not(.disabled):active {
    background: linear-gradient(135deg, #5537ba 0%, #4b2faf 100%) !important;
    border-color: #5537ba !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(85, 55, 186, 0.2) !important;
}

.login-page-shell {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 4rem;
    background: #ffffff;
}

.login-panel {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(85, 55, 186, 0.12);
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(26, 40, 71, 0.1);
    max-width: 440px;
    margin: 0 auto;
}

.login-panel-header {
    background: #f4f3f9;
    padding: 1.5rem 1.5rem 1.1rem;
    text-align: center;
    color: #1a2847;
}

.login-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    background: rgba(85, 55, 186, 0.08);
    border: 1px solid rgba(85, 55, 186, 0.12);
    font-size: 1.7rem;
    color: #5537ba;
}

.login-kicker {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a2847;
}

.login-panel-header h3 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #1a2847;
}

.login-panel-body {
    padding: 1.6rem 1.5rem 1.8rem;
}

.login-alert {
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.18);
    color: #842029;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.login-form {
    margin-top: 0.5rem;
}

.login-label {
    display: block;
    color: #1a2847;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-input-group .input-group-text {
    background: #1a2847;
    border: 1px solid #1a2847;
    color: #ffffff;
    padding: 0.8rem 0.9rem;
}

.login-input-group .form-control {
    border: 1px solid rgba(26, 40, 71, 0.18);
    border-left: none;
    min-height: 52px;
    font-size: 1rem;
    background: #ffffff;
    color: #1a2847;
}

.login-input-group .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(85, 55, 186, 0.15);
    border-color: rgba(85, 55, 186, 0.5);
}

.login-input-group .form-control::placeholder {
    color: #7a7f8f;
}

.login-toggle-btn {
    border-color: rgba(26, 40, 71, 0.18);
    color: #1a2847;
    min-width: 48px;
    background: #ffffff;
}

.login-toggle-btn:hover,
.login-toggle-btn:focus {
    border-color: #5537ba;
    color: #5537ba;
    background: #f7f3ff;
}

.login-btn {
    border: none;
    background: linear-gradient(135deg, #5537ba 0%, #4b2faf 100%);
    color: #ffffff;
    min-height: 52px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(85, 55, 186, 0.18);
}

.login-btn:hover,
.login-btn:focus {
    background: linear-gradient(135deg, #4b2faf 0%, #3d2496 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(85, 55, 186, 0.25);
}

@media (max-width: 768px) {
    .login-page-shell {
        padding: 3rem 0 4rem;
    }

    .login-panel-header {
        padding: 1.5rem 1.25rem 1.2rem;
    }

    .login-panel-header h3 {
        font-size: 1.6rem;
    }

    .login-panel-body {
        padding: 1.5rem 1.25rem;
    }
}

/* Clear Filter Button Styling */
.clear-filter-btn {
    transition: all 0.3s ease !important;
    background-color: transparent !important;
}

.clear-filter-btn:hover,
.clear-filter-btn:focus {
    background-color: rgba(85, 55, 186, 0.1) !important;
    border-color: #5537ba !important;
    color: #5537ba !important;
    box-shadow: 0 4px 12px rgba(85, 55, 186, 0.2) !important;
}

/* Final authoritative footer override: use the exact navy (no gradient) to match header */
