/* Custom CSS for Thuong Motor Website */

/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000 !important;
}

/* Force all text to be black - SUPER STRONG */
* {
    color: #000000 !important;
}

p, span, div, h1, h2, h3, h4, h5, h6, li, a, strong, em, i, b, small, label, td, th {
    color: #000000 !important;
}

/* Exception for white text on dark backgrounds */
.bg-dark, .bg-dark *,
.footer, .footer *,
.top-bar, .top-bar *,
.carousel-caption, .carousel-caption *,
.contact-btn, .contact-btn *,
.newsletter-widget, .newsletter-widget *,
.page-header, .page-header * {
    color: #ffffff !important;
}

/* Exception for buttons - keep their original colors */
.btn-primary {
    color: #ffffff !important;
}

.btn-outline-primary {
    color: #007bff !important;
}

.btn-light {
    color: #000000 !important;
}

/* Force all buttons to have black text */
.btn {
    color: #000000 !important;
}

.btn-light {
    color: #000000 !important;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
}

.btn-outline-primary {
    color: #000000 !important;
}

/* Override for specific button types that need white text */
.btn-primary {
    color: #ffffff !important;
    background-color: #007bff !important;
}

.btn-dark {
    color: #ffffff !important;
}

.contact-btn {
    color: #ffffff !important;
}

/* Specific override for "Liên hệ ngay" button */
a[href*="contact.html"].btn-light,
a[href="contact.html"].btn-light {
    color: #000000 !important;
}

/* Icons should keep their colors */
.fas, .fab, .far {
    color: inherit !important;
}

/* Top Bar */
.top-bar {
    font-size: 14px;
}

.top-bar .social-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar .social-links a:hover {
    color: var(--primary-color) !important;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.search-box button {
    border-radius: 0 20px 20px 0;
    border-left: none;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    bottom: 50px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #000000;
}

/* About Section */
.about-section {
    background: #fff;
}

.about-section .lead {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Featured Products */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger-color);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
}

.product-info h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-info .price {
    color: var(--danger-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Services Section */
.services-section {
    background: #fff;
}

.service-item {
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.3s ease;
}

.service-item:hover .service-icon {
    background: var(--dark-color);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-item h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000000 !important;
}

.service-item p {
    color: #000000 !important;
}

.service-item * {
    color: #000000 !important;
}

/* News Section */
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.4;
}



.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.news-meta span {
    display: flex;
    align-items: center;
}

.news-meta i {
    margin-right: 5px;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
}

.footer-widget h5 {
    color: white !important;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-widget p {
    color: white !important;
}

.footer-widget ul li {
    margin-bottom: 8px;
    color: white !important;
}

.footer-widget ul li a {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--primary-color) !important;
}

.footer-widget ul li i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-widget * {
    color: white !important;
}

/* Fixed Contact Buttons */
.fixed-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: scale(1.05);
    color: white;
}

.phone-btn {
    background: var(--success-color);
}

.facebook-btn {
    background: #1877f2;
}

.zalo-btn {
    background: #0068ff;
}

.contact-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Page Styles */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h5 {
    color: #000000 !important;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-details p {
    color: #000000 !important;
    margin-bottom: 0;
}

.contact-details a {
    color: #000000 !important;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
    color: #000000 !important;
}

.social-contact .social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    color: white;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.zalo {
    background: #0068ff;
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Services Page Styles */
.service-detail-card {
    background: #ffffff !important;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: #000000 !important;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-detail-card .service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
}

.service-detail-card:hover .service-icon {
    transform: scale(1.1);
}

.service-detail-card .service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-detail-card h4 {
    color: #000000 !important;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-detail-card p {
    color: #000000 !important;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-detail-card * {
    color: #000000 !important;
}

.service-features li {
    color: #000000 !important;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Additional Services */
.additional-service-item {
    display: flex;
    align-items: center;
    background: #ffffff !important;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #000000 !important;
}

.additional-service-item:hover {
    transform: translateX(10px);
}

.service-icon-small {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.service-icon-small i {
    color: white;
    font-size: 1.5rem;
}

.service-info h5 {
    color: #000000 !important;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-info p {
    color: #000000 !important;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.additional-service-item * {
    color: #000000 !important;
}

/* Service Process */
.process-step {
    position: relative;
    padding: 30px 20px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.process-step h5 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.process-step p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    color: #000000 !important;
}

.cta-section h3 {
    color: #000000 !important;
}

.cta-section p {
    color: #000000 !important;
}

.cta-section * {
    color: #000000 !important;
}

/* Widget with bg-primary */
.widget.bg-primary {
    color: #000000 !important;
}

.widget.bg-primary h5 {
    color: #000000 !important;
}

.widget.bg-primary p {
    color: #000000 !important;
}

.widget.bg-primary * {
    color: #000000 !important;
}

.widget.bg-primary .btn-light {
    color: #000000 !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Widget with bg-light */
.widget.bg-light {
    color: #000000 !important;
}

.widget.bg-light h5 {
    color: #000000 !important;
}

.widget.bg-light p {
    color: #000000 !important;
}

.widget.bg-light ul li {
    color: #000000 !important;
}

.widget.bg-light * {
    color: #000000 !important;
}

/* Widget with bg-white */
.widget.bg-white {
    color: #000000 !important;
}

.widget.bg-white h5 {
    color: #000000 !important;
}

.widget.bg-white p {
    color: #000000 !important;
}

.widget.bg-white ul li {
    color: #000000 !important;
}

.widget.bg-white a {
    color: #000000 !important;
}

.widget.bg-white * {
    color: #000000 !important;
}

/* Widget without specific background class */
.widget {
    color: #000000 !important;
}

.widget h5 {
    color: #000000 !important;
}

.widget p {
    color: #000000 !important;
}

.widget ul li {
    color: #000000 !important;
}

.widget a {
    color: #000000 !important;
}

.widget * {
    color: #000000 !important;
}

/* Sidebar specific styles */
.sidebar {
    color: #000000 !important;
}

.sidebar * {
    color: #000000 !important;
}

.sidebar .widget {
    color: #000000 !important;
}

.sidebar .widget * {
    color: #000000 !important;
}

.sidebar .widget.bg-light {
    color: #000000 !important;
}

.sidebar .widget.bg-light * {
    color: #000000 !important;
}

.sidebar .widget.bg-light a {
    color: #000000 !important;
}

.sidebar .widget.bg-light li {
    color: #000000 !important;
}

.sidebar .widget.bg-light h5 {
    color: #000000 !important;
}

.sidebar .widget.bg-light p {
    color: #000000 !important;
}

.sidebar .widget.bg-light strong {
    color: #000000 !important;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.is-invalid {
    border-color: var(--danger-color) !important;
}

/* Map Section */
.map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* News Page Styles */
.news-listing {
    background: #ffffff !important;
    color: #000000 !important;
}

.news-listing .section-title {
    color: #000000 !important;
}

.featured-news-image img {
    border-radius: 10px;
    height: 250px;
    object-fit: cover;
}

/* Featured News - White Background with Black Text */
.news-listing .featured-news,
.featured-news {
    background: #ffffff !important;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.featured-news .featured-news-content {
    color: #000000 !important;
}

.featured-news .featured-news-content h3 {
    color: #000000 !important;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.featured-news .featured-news-content p {
    color: #000000 !important;
    line-height: 1.6;
}

.featured-news .featured-news-content p.text-muted {
    color: #6c757d !important;
}

.featured-news .featured-news-content * {
    color: #000000 !important;
}

.featured-news .featured-news-content .text-muted * {
    color: #6c757d !important;
}

/* Featured News Buttons */
.featured-news .btn {
    background: #007bff !important;
    color: #ffffff !important;
    border: none !important;
}

.featured-news .btn:hover {
    background: #0056b3 !important;
    color: #ffffff !important;
}

/* Force featured news background */
.news-listing .featured-news .row,
.featured-news .row {
    background: transparent !important;
}

.news-listing .featured-news .col-md-6,
.featured-news .col-md-6 {
    background: transparent !important;
}

/* Override any background */
.featured-news,
.news-listing .featured-news {
    background-color: #ffffff !important;
}

.featured-news .featured-news-image,
.featured-news .featured-news-content {
    background: transparent !important;
}

.featured-news img {
    background: transparent !important;
}

/* News Articles - White Background with Black Text */
.news-article {
    background: #ffffff !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    color: #000000 !important;
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-article .news-image {
    position: relative;
    overflow: hidden;
}

.news-article .news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-article:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.news-content {
    padding: 25px;
}

.news-content h4 {
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-article .news-content {
    color: #000000 !important;
}

.news-article .news-content * {
    color: #000000 !important;
}

.news-article .news-content h4 {
    color: #000000 !important;
}

.news-article .news-content h4 a {
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-article .news-content h4 a:hover {
    color: var(--primary-color) !important;
}

.news-article .news-excerpt {
    color: #000000 !important;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.news-article .news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d !important;
}

.news-article .news-meta * {
    color: #6c757d !important;
}

.news-meta span {
    display: flex;
    align-items: center;
}

.news-meta i {
    margin-right: 5px;
}

/* Sidebar Styles */
.sidebar .widget {
    background: #ffffff !important;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: #000000 !important;
    border: 1px solid #e9ecef;
}

.sidebar .widget * {
    color: #000000 !important;
}

.widget-title {
    color: #000000 !important;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #000000;
}

.search-widget {
    display: flex;
    gap: 10px;
}

.search-widget input {
    flex: 1;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #000000 !important;
}

.category-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-list a {
    color: #000000 !important;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color) !important;
}

.category-list span {
    background: #f8f9fa !important;
    color: #6c757d !important;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-post-image {
    width: 70px;
    height: 70px;
    margin-right: 15px;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.recent-post-content h6 {
    margin-bottom: 5px;
    line-height: 1.3;
}

.recent-post-content h6 a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.recent-post-content h6 a:hover {
    color: var(--primary-color);
}

.post-date {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color)) !important;
    color: white;
}

.newsletter-widget .widget-title::after {
    background: white;
}

.newsletter-form input {
    border: none;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form input:focus {
    background: white;
    box-shadow: none;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    color: var(--primary-color);
    background-color: var(--light-color);
}

/* Product Page Styles */
.brand-info {
    background: #fff;
}

.brand-content .section-title {
    text-align: left;
}

.brand-content .section-title::after {
    left: 0;
    transform: none;
    background: #000000;
}

.brand-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.2rem;
}

.product-filter {
    background: #fff;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-filter .nav-link {
    color: var(--secondary-color);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-filter .nav-link.active,
.product-filter .nav-link:hover {
    background: var(--primary-color);
    color: white;
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge.new {
    background: var(--success-color);
}

.product-badge.hot {
    background: var(--danger-color);
}

.product-badge.premium {
    background: var(--warning-color);
    color: var(--dark-color);
}

.product-badge.sport {
    background: var(--info-color);
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-specs i {
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
}

/* Why Choose Section */
.feature-box {
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-box h5 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-box p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Products Page Styles */
.brand-category-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.brand-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
}

.brand-card.honda-brand::before {
    background: linear-gradient(135deg, #007bff, #17a2b8);
}

.brand-card.yamaha-brand::before {
    background: linear-gradient(135deg, #007bff, #6f42c1);
}

.brand-card.kawasaki-brand::before {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.brand-card.suzuki-brand::before {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.brand-card.royal-enfield-brand::before {
    background: linear-gradient(135deg, #343a40, #6c757d);
}

.brand-card.beneli-brand::before {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.brand-category-card:hover .brand-card {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
}

.brand-info h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.brand-info p {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-style: italic;
}

.product-count {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Accessories Page Styles */
.category-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--warning-color), var(--danger-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h5 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.category-card p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.service-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-list li i {
    margin-right: 15px;
    font-size: 1.1rem;
}

.brand-logo-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.brand-logo-item:hover {
    transform: scale(1.05);
}

.brand-logo-item img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
}

/* Enhanced Search Results Styling */
.search-result-item {
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.search-result-details {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
}

.search-result-details .brand {
    color: var(--primary-color);
    font-weight: 500;
}

.search-result-details .category {
    color: #6c757d;
}

.search-result-details .price {
    color: var(--danger-color);
    font-weight: 600;
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: #6c757d;
}

.search-no-results i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #dee2e6;
}

.search-no-results p {
    margin: 0;
    font-size: 0.9rem;
}

/* Search Highlighting */
mark {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .fixed-contact {
        right: 10px;
        bottom: 10px;
    }

    .contact-btn span {
        display: none;
    }

    .contact-btn {
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }

    .top-bar .col-md-6:last-child {
        text-align: left !important;
        margin-top: 10px;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 25px;
        margin-bottom: 30px;
    }

    .service-detail-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .additional-service-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .service-icon-small {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 300px;
    }

    .carousel-caption {
        bottom: 20px;
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Brand Gallery Styles */
.brand-gallery {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h6 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.gallery-info .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading Animation for Gallery */
.gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.gallery-loading .loading-modern {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Brand Cards */
.brand-category-card {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.brand-category-card:hover {
    text-decoration: none;
    transform: translateY(-10px);
}

.brand-card {
    position: relative;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(0px);
    transition: filter 0.3s ease;
    z-index: -1;
}

.brand-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.brand-card:hover::before {
    filter: blur(2px);
}

.brand-logo {
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.brand-logo img {
    transition: all 0.3s ease;
    drop-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.brand-card:hover .brand-logo img {
    transform: scale(1.1);
    filter: brightness(1.3) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.brand-info {
    z-index: 2;
    position: relative;
}

.brand-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.brand-info p {
    font-size: 1rem;
    margin-bottom: 15px;
    font-style: italic;
    transition: all 0.3s ease;
}

.product-count {
    display: inline-block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-card:hover .product-count {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Brand specific colors */
.honda-brand:hover {
    border-color: #cc0000;
}

.yamaha-brand:hover {
    border-color: #0066cc;
}

.kawasaki-brand:hover {
    border-color: #00cc00;
}

.suzuki-brand:hover {
    border-color: #ffcc00;
}

.royal-enfield-brand:hover {
    border-color: #8B4513;
}

.beneli-brand:hover {
    border-color: #ff6600;
}
