.sell-hero, .sell-form-section, .benefits { 
    background: #ffffff !important; 
}

.sell-form-section::before, .benefits::before { 
    display: none !important; 
}

.sell-hero h1, .sell-hero p { 
    color: #0c1445 !important; 
}

/* Sell page form container on white background */
.sell-form-container {
    background: #ffffff !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(33, 150, 243, 0.18) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}

/* Ensure input controls suit white background */
.sell-form-container input,
.sell-form-container select,
.sell-form-container textarea {
    background: #ffffff !important;
    color: #0c1445 !important;
    border: 1px solid rgba(33, 150, 243, 0.25) !important;
}

/* Benefits cards on white background */
.benefit-card {
    background: #ffffff !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(33, 150, 243, 0.18) !important;
}

.benefit-card h3 { color: #0c1445 !important; }
.benefit-card p { color: #0c1445 !important; }

/* Ensure section headings on sell page use header blue */
.benefits h2, .sell-form-container h2 { color: #0c1445 !important; }

/* Form subsection heading */
.sell-form-section h3 { color: #0c1445; }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #0c1445; /* dark blue text for white background */
    background: #ffffff; /* switch to white background */
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a237e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #2196f3, #21cbf3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #1976d2, #1cb5e0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #0c1445;
    backdrop-filter: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(33, 150, 243, 0.8), 0 0 40px rgba(33, 150, 243, 0.6);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu.active {
    background: #0c1445;
    backdrop-filter: none;
    border-radius: 0 0 15px 15px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border: 0;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before { display: none; }

.nav-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: transparent; /* let carousel images be the background */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before { display: none; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 1s ease-in-out;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    animation: slideInUp 1s ease-out 0.5s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #21cbf3, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(33, 150, 243, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(33, 150, 243, 0.8));
    }
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.prev-btn, .next-btn {
    background: #0c1445;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: #0c325f;
    transform: translateY(-1px);
}

/* Cars Section */
.cars-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.cars-section::before { display: none; }

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cars-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #0c1445;
    position: relative;
    z-index: 2;
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.highlight {
    background: linear-gradient(45deg, #21cbf3, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.car-card {
    background: #ffffff;
    backdrop-filter: none;
    border-radius: 20px;
    border: 1px solid rgba(33, 150, 243, 0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: cardSlideIn 0.6s ease-out both;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.car-card::before { display: none; }

.car-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 14px 30px rgba(33, 150, 243, 0.18);
    border-color: rgba(33, 150, 243, 0.35);
}

.car-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1);
}

.certified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.car-details {
    padding: 2rem;
    background: transparent;
}

.car-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0c1445;
    line-height: 1.3;
    font-weight: 600;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec {
    background: rgba(33, 150, 243, 0.2);
    color: #21cbf3;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.spec:hover {
    background: rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

.car-price {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.view-details-btn {
    width: 100%;
    background: linear-gradient(45deg, #2196f3, #21cbf3);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.view-details-btn:hover::before {
    left: 100%;
}

.view-details-btn:hover {
    background: linear-gradient(45deg, #1976d2, #1cb5e0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-section::before { display: none; }

.services-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #0c1445;
    position: relative;
    z-index: 2;
    animation: titleSlideIn 1s ease-out;
}

/* UI unification for inner pages (About, Contact, Sell) */
.about-hero, .contact-hero, .sell-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    color: #ffffff;
}
.about-hero, .contact-hero { 
    background: transparent !important; 
}

.about-hero h1, .contact-hero h1,
.about-hero p, .contact-hero p { 
    color: #0c1445 !important; 
}


.about-content, .contact-content, .benefits, .sell-form-section, .faq-section, .map-section {
    padding: 4rem 0;
}

.about-section, .contact-info, .contact-form, .sell-form-container, .benefit-card, .faq-item, .map-container, .team-member, .stat-card, .value-card {
    background: #ffffff;
    border: 1px solid rgba(33, 150, 243, 0.18);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 2rem;
}

.team-member img { border-radius: 50%; }

.contact-grid { gap: 2rem; }

.contact-item { background: rgba(33, 150, 243, 0.06); border: 1px solid rgba(33, 150, 243, 0.2); }

/* FAQ on white theme */
.faq-section { padding: 4rem 0; background: #ffffff; }
.faq-item {
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid rgba(33, 150, 243, 0.18);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.faq-question {
    padding: 1.25rem 1.5rem;
    background: #f5f9ff;
    color: #0c1445;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.faq-question:hover { background: #e8f2ff; }
.faq-answer {
    padding: 1.25rem 1.5rem;
    display: none;
    color: #0c1445;
    line-height: 1.6;
    background: #ffffff;
}
.faq-item.active .faq-answer { display: block; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.sell-form-container label { color: #0c1445; }
.sell-form-container input, .sell-form-container select, .sell-form-container textarea {
    background: #ffffff !important;
    color: #0c1445 !important;
    border-color: rgba(33, 150, 243, 0.25) !important;
}

.submit-btn {
    background: linear-gradient(45deg, #2196f3, #21cbf3);
}

.submit-btn:hover {
    background: linear-gradient(45deg, #1976d2, #1cb5e0);
}

/* Ensure headings match Services style */
.about-content h2,
.contact-info h2,
.contact-form h2,
.benefits h2 { 
    color: #0c1445; 
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #ffffff;
    backdrop-filter: none;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(33, 150, 243, 0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.8s ease-out both;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card::before { display: none; }

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 14px 30px rgba(33, 150, 243, 0.18);
    border-color: rgba(33, 150, 243, 0.35);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0c1445;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #0c1445;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.search-form, .emi-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.search-form select, .emi-form input {
    padding: 1rem;
    border: 2px solid rgba(33, 150, 243, 0.25);
    border-radius: 15px;
    font-size: 1rem;
    background: #ffffff;
    color: #0c1445;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.search-form select::placeholder, .emi-form input::placeholder {
    color: rgba(12, 20, 69, 0.6);
}

.search-form select:focus, .emi-form input:focus {
    outline: none;
    border-color: #1976d2;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.15);
}

.search-btn, .calculate-btn {
    background: linear-gradient(45deg, #2196f3, #21cbf3);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-btn::before, .calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.search-btn:hover::before, .calculate-btn:hover::before {
    left: 100%;
}

.search-btn:hover, .calculate-btn:hover {
    background: linear-gradient(45deg, #1976d2, #1cb5e0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.sell-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.sell-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.sell-btn:hover::before {
    left: 100%;
}

.sell-btn:hover {
    background: linear-gradient(45deg, #ff5252, #ff7676);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0c1445;
}

/* Ensure labels are always readable */
label { color: #0c1445 !important; }

.emi-result {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(33, 150, 243, 0.06);
    backdrop-filter: none;
    border-radius: 15px;
    font-weight: bold;
    color: #0c1445;
    display: none;
    border: 1px solid rgba(33, 150, 243, 0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    animation: fadeInUp 0.5s ease-out;
}

.emi-result h4 {
    color: #21cbf3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.emi-result p {
    color: #0c1445;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: #bdc3c7;
    margin-top: 1rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before { display: none; }

.testimonials-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #0c1445;
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonial {
    display: none;
    padding: 3rem;
    background: #ffffff;
    backdrop-filter: none;
    border-radius: 20px;
    border: 1px solid rgba(33, 150, 243, 0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    animation: fadeInUp 0.8s ease-out;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 1.3rem;
    font-style: italic;
    color: #0c1445;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
}

.testimonial p::before {
    content: '"';
    font-size: 4rem;
    color: #21cbf3;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.3;
}

.testimonial p::after {
    content: '"';
    font-size: 4rem;
    color: #21cbf3;
    position: absolute;
    bottom: -40px;
    right: -20px;
    opacity: 0.3;
}

.author {
    font-weight: bold;
    background: linear-gradient(45deg, #21cbf3, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #0c1445;
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-map {
    height: 280px;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.footer-map-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-branches {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.25rem;
}

.footer-branches h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-branches .branch + .branch { margin-top: 1rem; }

.footer-branches h5 { color: #e0ecff; margin-bottom: 0.25rem; }
.footer-branches p { color: #cfe0ff; font-size: 0.95rem; }

@media (max-width: 768px) {
    .footer-map-row {
        grid-template-columns: 1fr;
    }
}

.leaflet-control-zoom a {
    background: #0c1445;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: #0c1445;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer::before { display: none; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: #e0ecff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #21cbf3;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-section ul li a:hover {
    color: #ffffff;
    padding-left: 10px;
}

.qr-code {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.qr-code img:hover {
    transform: scale(1.05);
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: translateX(100%);
}

.social-link i {
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
}

/* Individual Social Media Colors */
.social-link.facebook {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    color: white;
}

.social-link.facebook:hover {
    background: linear-gradient(45deg, #0d5bb8, #1976d2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-link.twitter {
    background: linear-gradient(45deg, #1da1f2, #42a5f5);
    color: white;
}

.social-link.twitter:hover {
    background: linear-gradient(45deg, #0d8bd9, #1976d2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, #e4405f, #fd1d1d, #fcb045);
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #c13584, #e1306c, #f56040);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.social-link.linkedin {
    background: linear-gradient(45deg, #0077b5, #42a5f5);
    color: white;
}

.social-link.linkedin:hover {
    background: linear-gradient(45deg, #005885, #1976d2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-link.youtube {
    background: linear-gradient(45deg, #ff0000, #ff4444);
    color: white;
}

.social-link.youtube:hover {
    background: linear-gradient(45deg, #cc0000, #ff3333);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-link.whatsapp {
    background: linear-gradient(45deg, #25d366, #4caf50);
    color: white;
}

.social-link.whatsapp:hover {
    background: linear-gradient(45deg, #1ea952, #388e3c);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #e0ecff;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

/* Floating Call & WhatsApp Buttons */
.floating-actions {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1100; /* above header */
}

.float-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.float-btn i { font-size: 1.1rem; }
.float-label { font-size: 0.95rem; color: #ffffff; }

.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.3);
    filter: brightness(1.05);
}

.call-btn { background: linear-gradient(45deg, #0c1445, #1c3f6e); }
.whatsapp-btn { background: linear-gradient(45deg, #25d366, #0bbf4b); }

@media (max-width: 480px) {
    .floating-actions {
        right: 12px;
        bottom: 12px;
        gap: 10px;
    }
    .float-btn {
        padding: 12px;
        border-radius: 50px;
    }
    .float-label { display: none; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(12, 20, 69, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.3);
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(33, 150, 243, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-controls {
        padding: 0 1rem;
    }
    
    .prev-btn, .next-btn {
        font-size: 1.5rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cars-section h2,
    .services-section h2,
    .testimonials-section h2 {
        font-size: 2rem;
    }
    
    .car-card {
        margin: 0 1rem;
    }
    
    .service-card {
        margin: 0 1rem;
    }
}

/* Animation for car cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.car-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* prevent anchored sections from hiding behind fixed header */
}

/* Additional Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Loading animation for images */
.car-image img {
    transition: opacity 0.3s ease;
}

.car-image img[src*="placeholder"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Hover effects for interactive elements */
.nav-link, .view-details-btn, .search-btn, .calculate-btn, .sell-btn {
    position: relative;
    overflow: hidden;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0c1445, #1a237e);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2196f3, #21cbf3);
    border-radius: 6px;
    border: 2px solid #0c1445;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976d2, #1cb5e0);
}

/* Selection styling */
::selection {
    background: rgba(33, 150, 243, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(33, 150, 243, 0.3);
    color: #ffffff;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #21cbf3;
    outline-offset: 2px;
}

/* Ensure all text elements have proper colors */
h1, h2, h3, h4, h5, h6 {
    color: #0c1445;
}

p, span, div {
    color: #0c1445;
}

/* Fix any remaining white backgrounds */
* {
    background-color: transparent;
}

/* Ensure form elements use light theme on white backgrounds */
input, select, textarea {
    background: #ffffff !important;
    color: #0c1445 !important;
    border-color: rgba(33, 150, 243, 0.25) !important;
}

input::placeholder, textarea::placeholder {
    color: rgba(12, 20, 69, 0.55) !important;
}

/* Dropdown options appearance */
select option {
    background: #ffffff !important;
    color: #0c1445 !important;
}

/* Fix any alert or notification backgrounds */
.alert, .notification, .message {
    background: rgba(33, 150, 243, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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