.hover-card {
    transition: transform 0.2s;
}

.hover-card:hover {
    transform: translateY(-5px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Scrollbar Styles */
:root {
    --scrollbar-thumb-color: var(--primary-color, #198754);
    --scrollbar-track-color: #000000;
}

/* For Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track-color);
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb-color);
    border-radius: 6px;
    border: 2px solid var(--scrollbar-track-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-color);
    opacity: 0.8;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}

/* For Edge and IE */
body {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color); /* Firefox */
}

/* For all browsers - ensure consistent scrollbar behavior */
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.select2-home {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.select2-container--bootstrap-5 .select2-selection {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.select2-dropdown {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Hero Background Styles */
#hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 140px 0;
    min-height: 78vh;
}

/* Unified Hero Search Deck Layout */
.hero-search-card {
    max-width: 840px;
    margin: 0 auto;
}

.hero-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    margin: 12px 12px 0 12px;
}

.toggle-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

.toggle-btn.active {
    background: linear-gradient(135deg, rgba(25, 135, 84, .85), rgba(32, 201, 151, .85));
    color: #fff;
}

.toggle-btn:focus {
    outline: none;
    box-shadow: none;
}

.hero-search-content {
    padding: 6px 6px 14px 6px;
    min-height: 450px;
    position: relative;
    transition: none;
}

.mode-pane {
    border-radius: 12px;
    opacity: 0;
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    transition: opacity 0.3s ease;
}

.mode-pane[hidden] {
    display: none !important;
}

.mode-pane.active {
    display: block;
    opacity: 1;
    position: relative;
    animation: fadeInHome 0.3s ease-in;
}

@keyframes fadeInHome {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for hero search */
@media (max-width: 768px) {
    .hero-search-content {
        min-height: 420px;
    }
}

@media (max-width: 576px) {
    .hero-search-content {
        min-height: 400px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 0;
    animation: zoomIn 20s ease infinite alternate;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 70% 20%, rgba(32, 201, 151, 0.25), transparent 60%),
    radial-gradient(900px 500px at 20% 80%, rgba(25, 135, 84, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.04"/></svg>');
    background-size: 160px 160px;
    z-index: 1;
    pointer-events: none;
}

.hero-ornament {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
    animation: floatY 12s ease-in-out infinite;
}

.hero-ornament-1 {
    background: radial-gradient(circle at 30% 30%, rgba(25, 135, 84, 0.8), transparent 60%);
    top: -60px;
    left: -60px;
}

.hero-ornament-2 {
    background: radial-gradient(circle at 70% 70%, rgba(32, 201, 151, 0.8), transparent 60%);
    bottom: -80px;
    right: -80px;
    animation-delay: 2s;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

#hero .container {
    z-index: 2;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-title {
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem);
    position: relative;
    color: #fff;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1vw + 0.75rem, 1.25rem);
}

.hero-badges .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.hero-badge i {
    color: #20c997;
}

.filter-header-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.25), rgba(32, 201, 151, 0.25));
    color: #20c997;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 30px;
    height: 48px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 3;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity .2s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    margin-top: 8px;
    border-radius: 2px;
    background: #ffffff;
    animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    100% {
        transform: translateY(18px);
        opacity: 0;
    }
}

.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.product-img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-aftermarket, .badge-new {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
    font-weight: 500;
}

.product-title {
    font-weight: 600;
    line-height: 1.3;
    color: #2c3e50;
    font-size: 1.1rem;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-container {
    line-height: 1.2;
}

.btn {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.btn-primary:hover {
    background-color: #34495e;
    border-color: #34495e;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: #2c3e50;
    border-color: #2c3e50;
}

.btn-outline-primary:hover {
    background-color: #2c3e50;
    border-color: #2c3e50;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .col-md-3 {
        width: 50%;
    }

    #hero {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .col-md-3 {
        width: 100%;
    }

    #hero {
        padding: 40px 0;
    }
}

.hover-card .card-title {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hover-card:hover .card-title {
    color: var(--primary-color, #198754) !important;
}

.hover-translate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Custom Accordion Styles */
.custom-accordion .accordion-button {
    padding: 1.2rem;
    font-weight: 500;
    background-color: #fff;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: #fff;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.custom-accordion .accordion-item {
    transition: all 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-2px);
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.custom-accordion .accordion-body ul {
    list-style-type: none;
    padding-left: 0;
}

.custom-accordion .accordion-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.custom-accordion .accordion-body ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bs-primary);
}

/* Additional hover effect for accordion buttons */
.custom-accordion .accordion-button:hover {
    color: #495057; /* neutral gray instead of blue */
    background-color: rgba(0, 0, 0, .03);
}

.custom-accordion .accordion-button:not(.collapsed):hover {
    color: #fff; /* keep white text on open gradient button */
}

/* Smooth transition for accordion items */
.custom-accordion .accordion-collapse {
    transition: all 0.3s ease-in-out;
}

.custom-accordion .accordion-item {
    border: 1px solid transparent;
}

/* Custom styles for the engine code dropdown only */
#engine_code + .select2-container .select2-results__option {
    padding: 8px 12px;
}

.engine-option {
    padding: 4px 0;
}

.engine-name {
    font-weight: bold;
    font-size: 0.95rem;
}

.engine-power, .engine-code {
    font-size: 0.85rem;
    color: #555;
}

/* Make dropdown wider for engine code */
#engine_code + .select2-container {
    max-width: 100%;
}

#engine_code + .select2-container .select2-dropdown {
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Adjust selection renderer padding for inline display */
#engine_code + .select2-container .select2-selection__rendered {
    font-size: 14px;
    color: #212529 !important;
    padding: 0 8px !important;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Fix container alignment */
#engine_code + .select2-container .select2-selection {
    display: flex;
    align-items: center;
    border-color: rgba(70, 130, 180, 0.5);
}

/* Update selection arrow height */
#engine_code + .select2-container .select2-selection__arrow {
    height: 38px !important;
}

/* Ensure dropdown text doesn't exceed the width */
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* When selected, show blue highlight border as in the image */
#engine_code + .select2-container.select2-container--focus .select2-selection,
#engine_code + .select2-container.select2-container--open .select2-selection {
    border-color: rgba(70, 130, 180, 0.8) !important;
    box-shadow: 0 0 0 0.25rem rgba(70, 130, 180, 0.25) !important;
}

/* Additional styling for select2 engine code selection display */
#engine_code + .select2-container .select2-selection__rendered span {
    font-weight: 500;
    font-size: 14px;
    display: inline;
}

#engine_code + .select2-container .select2-selection__rendered .d-flex {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
}

#engine_code + .select2-container .select2-selection__rendered .small {
    font-size: 11px !important;
    color: #6c757d !important;
    line-height: 1;
}

/* Increase height to match other selects */
#engine_code + .select2-container .select2-selection--single {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
}

/* Fix selection arrow height */
#engine_code + .select2-container .select2-selection__arrow {
    height: 38px !important;
}

/* Ensure dropdown text doesn't exceed the width */
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Styling for inline selection container */
.selection-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
}

.selection-container span {
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
}

.selection-container .d-flex {
    flex-wrap: wrap;
}

/* For smaller screens, allow wrapping */
@media (max-width: 576px) {
    .selection-container {
        flex-wrap: wrap;
    }

    .selection-container span {
        margin-bottom: 4px;
        width: 100%;
    }
}

/* Quick Search Styles in Hero */
#hero .glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Ensure the filter card matches the width of the quick code card on desktop */
@media (min-width: 992px) {
    #hero .filter-card,
    #hero .quick-code-card {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

#hero .form-control {
    border-radius: 12px 0 0 12px;
    border: 2px solid rgba(255, 255, 255, 0.24);
    background-color: rgba(255, 255, 255, 0.92);
    transition: all 0.3s ease;
}

#hero .form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    background-color: #fff;
}

#hero .btn-success {
    border-radius: 0 12px 12px 0;
    border: 2px solid #198754;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    transition: all 0.25s ease;
}

#hero .btn-success:hover {
    background-color: #157347;
    border-color: #157347;
    transform: translateY(-1px);
}

/* Refined CTA button aesthetics */
.cta-btn {
    border-radius: 12px;
    letter-spacing: .02em;
    font-weight: 800;
    text-transform: none;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: 0;
    box-shadow: 0 10px 20px rgba(25, 135, 84, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.cta-btn:active {
    transform: translateY(0);
}

/* CTA layout: icon at right end */
.cta-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cta-search .cta-text {
    flex: 1;
    text-align: left;
}

.cta-search .cta-icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #hero {
        padding: 90px 0 120px 0;
        min-height: 86vh;
    }

    #hero .glass-card h3 {
        font-size: 1.125rem;
    }

    .hero-search-card {
        margin-left: 12px;
        margin-right: 12px;
    }

    .hero-toggle {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .toggle-btn {
        padding: 10px 12px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Compact buttons and inputs on mobile */
    #hero .btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.95rem;
    }

    #hero .btn-success {
        padding: 0.6rem 0.9rem;
    }

    #hero .bg-primary {
        padding: 0.6rem 0.9rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 0.65rem 0.9rem;
    }

    /* Stack CTA and reset button full width */
    .actions-row {
        flex-direction: column;
    }

    .cta-search {
        width: 100%;
    }

    /* Full-width reset button */
    .reset-btn {
        width: 100%;
        margin-top: 8px;
        border-color: rgba(255, 255, 255, .65);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 12px;
    }

    .reset-text {
        width: 100%;
        text-align: center;
        text-transform: none;
        font-weight: 700;
    }

    #reset-filters {
        width: 100%;
        min-width: 100%;
        height: auto;
        padding: .6rem .9rem;
        border-radius: 12px;
    }

    #reset-filters i {
        font-size: 1rem;
        line-height: 1;
    }

    /* Code search input group button smaller */
    #turbine-search-form .btn {
        padding: 0.55rem 0.8rem;
    }
}

/* Toggle behavior */
.toggle-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
}

/* TurboVIP Program Styles */
#turbovip-program {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.turbovip-card {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtle top divider for section transitions */
#turbovip-program::before,
#partner-cards::before,
#benefits::before,
#products::before,
#car-brands::before,
#blog-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), transparent);
    pointer-events: none;
}

.turbovip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.turbovip-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.turbovip-icon {
    background: #ffc107;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.turbovip-icon i {
    font-size: 1.5rem;
    color: #212529;
}

.turbovip-title h3 {
    color: white;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.turbovip-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.turbovip-warning {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.benefits-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefits-container h4 {
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.turbovip-btn {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.turbovip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
    background: linear-gradient(135deg, #157347 0%, #198754 100%);
}

@media (max-width: 768px) {
    .turbovip-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .turbovip-title h3 {
        font-size: 1.5rem;
    }

    .turbovip-card {
        padding: 1.5rem;
    }

    .benefits-container {
        padding: 1.5rem;
    }

    .benefit-item {
        padding: 0.5rem 0;
    }

    .turbovip-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Partner Cards Section Styles */
#partner-cards {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Partner Registration Card */
.partner-registration-card {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(25, 135, 84, 0.35), rgba(32, 201, 151, 0.35)) border-box;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.partner-registration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.partner-registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.partner-intro {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.partner-intro-icon {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    position: relative;
    overflow: hidden;
}

.partner-intro-icon i {
    font-size: 1.5rem;
    color: white;
}

.partner-intro-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(24px 24px at 30% 30%, rgba(255, 255, 255, 0.35), transparent 60%);
    pointer-events: none;
}

.partner-intro-content h3 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.partner-intro-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.partner-intro-content strong {
    color: #198754;
    font-weight: 600;
}

.partner-benefits {
    padding: 0 1rem;
}

.benefit-mini {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.benefit-mini i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.benefit-mini span {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.4;
}

.partner-cta {
    text-align: center;
    padding: 0 1rem;
}

.visibility-info {
    margin-bottom: 1.5rem;
}

.visibility-info i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.visibility-info h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.visibility-info p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.partner-cta-btn {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    background: linear-gradient(135deg, #157347 0%, #198754 100%);
}

/* Benefits Section */
#benefits {
    position: relative;
    background: radial-gradient(600px 200px at 20% 10%, rgba(25, 135, 84, 0.07), transparent 60%),
    radial-gradient(600px 200px at 80% 90%, rgba(32, 201, 151, 0.07), transparent 60%),
    linear-gradient(180deg, #f8f9fa 0%, #f8f9fa 100%);
}

#benefits .highlight-text {
    letter-spacing: -0.01em;
}

#benefits i {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(32, 201, 151, 0.12);
    border: 1px solid rgba(32, 201, 151, 0.25);
}

/* Products Section */
#products h2 {
    position: relative;
    display: inline-block;
}

#products h2::after,
#car-brands h2::after,
#blog-section h2::after {
    content: '';
    display: block;
    height: 4px;
    width: 120px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #198754, #20c997);
}

/* Car Brands Section */
#car-brands .card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#car-brands .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    border-color: rgba(25, 135, 84, 0.25);
}

#car-brands .card-title {
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Why Choose Us */
.hover-translate {
    transition: transform .25s ease, box-shadow .25s ease;
}

.hover-translate:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12) !important;
}

/* Blog Section Enhancements */
.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #198754, #20c997);
    z-index: 2;
}

.blog-image-container {
    position: relative;
}

.blog-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 40%, rgba(0, 0, 0, 0.35) 100%);
}

.blog-card .card-body {
    position: relative;
    z-index: 3;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

/* FAQ Enhancements */
.custom-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.95), rgba(32, 201, 151, 0.95));
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.15);
}

/* Numbered FAQ buttons to match product page */
.faq-btn {
    position: relative;
    padding-left: 3.5rem !important;
}

.faq-number {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9f7ef;
    color: #198754;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(25, 135, 84, 0.15);
}

.faq-btn:not(.collapsed) {
    color: #fff;
}

.faq-btn:not(.collapsed) .faq-number {
    background: #fff;
    color: #198754;
}

.accordion-item {
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.custom-accordion .accordion-item {
    border-radius: 12px;
}

.custom-accordion .accordion-item.border-0 {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.custom-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Consultant Card */
.consultant-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.consultant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.consultant-avatar {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
}

.consultant-avatar i {
    font-size: 2rem;
    color: white;
}

.consultant-info {
    padding: 0 1rem;
}

.consultant-name {
    color: white;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.consultant-title {
    color: #20c997;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.consultant-contact {
    text-align: center;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-buttons .btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-buttons .btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0da354 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.contact-buttons .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.availability-status {
    text-align: center;
}

.status-badge {
    background: rgba(25, 135, 84, 0.2);
    color: #20c997;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    color: #20c997;
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design for Partner Cards */
@media (max-width: 992px) {
    .partner-registration-card {
        padding: 2rem;
    }

    .partner-intro {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .partner-benefits {
        margin-bottom: 2rem;
    }

    .consultant-card {
        padding: 1.5rem;
        text-align: center;
    }

    .consultant-info {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .partner-registration-card {
        padding: 1.5rem;
    }

    .partner-intro-content h3 {
        font-size: 1.25rem;
    }

    .benefit-mini {
        justify-content: center;
        text-align: center;
    }

    .consultant-name {
        font-size: 1.5rem;
    }

    .consultant-title {
        font-size: 0.8rem;
    }

    .contact-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-buttons .btn {
        flex: 1;
        min-width: 120px;
        font-size: 0.8rem;
    }
}
