:root {
    --car-color: #2E86C1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    color: white;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(46, 134, 193, 0.3));
    transition: all 0.3s ease;
}

.logo img:hover {
    filter: brightness(1.4) drop-shadow(0 0 15px rgba(46, 134, 193, 0.5));
    transform: scale(1.05);
}

.logo-text {
    color: white;
    margin-right: 5px;
}

.logo-accent {
    background: #2E86C1;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #2E86C1;
}

/* Fixed Car Animation */
.car-animation-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #1a1a1a, rgba(26, 26, 26, 0.8));
    z-index: 999;
    pointer-events: none;
}

.road {
    position: absolute;
    bottom: 30px;
    width: 100%;
    height: 4px;
    background: #444;
}

.road-lines {
    position: absolute;
    bottom: 32px;
    width: 200%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        transparent 0px,
        transparent 20px,
        white 20px,
        white 40px
    );
    animation: roadMove 2s linear infinite;
}

.sports-car {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 50px;
    animation: carBounce 1.5s ease-in-out infinite alternate;
}

.car-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2E86C1, #1F5F99);
    border-radius: 15px 15px 8px 8px;
    box-shadow: 0 4px 15px rgba(46, 134, 193, 0.3);
}

.windshield {
    position: absolute;
    top: -8px;
    left: 25px;
    width: 50px;
    height: 25px;
    background: rgba(135, 206, 235, 0.8);
    border-radius: 8px 8px 0 0;
    border: 1px solid #87CEEB;
}

.side-window {
    position: absolute;
    top: 5px;
    right: 15px;
    width: 20px;
    height: 15px;
    background: rgba(135, 206, 235, 0.6);
    border-radius: 3px;
}

.hood-line {
    position: absolute;
    top: 15px;
    left: 10px;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.spoiler {
    position: absolute;
    top: -5px;
    right: 5px;
    width: 25px;
    height: 8px;
    background: #1F5F99;
    border-radius: 2px;
}

.wheel {
    position: absolute;
    bottom: -15px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #333 60%, #666 100%);
    border-radius: 50%;
    border: 2px solid #222;
    animation: wheelSpin 0.3s linear infinite;
}

.wheel.front { right: 15px; }
.wheel.back { left: 15px; }

.exhaust {
    position: absolute;
    bottom: 10px;
    right: -5px;
    width: 8px;
    height: 6px;
    background: #666;
    border-radius: 50%;
}

/* Animations */
@keyframes roadMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-40px); }
}

@keyframes carBounce {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-5px); }
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    padding-bottom: 120px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, white, #2E86C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 8px 25px rgba(46, 134, 193, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 134, 193, 0.4);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.floating-tools {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.tool {
    width: 60px;
    height: 60px;
    background: #2E86C1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(46, 134, 193, 0.3);
}

.tool:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.tool:nth-child(2) { top: 30%; right: 10%; animation-delay: 1s; }
.tool:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 2s; }

/* Services Section */
.services {
    padding: 100px 0 200px 0;
    background: #1a1a1a;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #2c2c2c, #333);
    padding: 30px 25px 25px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 134, 193, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #2E86C1;
    box-shadow: 0 15px 40px rgba(46, 134, 193, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2E86C1;
    margin: 15px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.service-card-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.book-service-btn {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.book-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 134, 193, 0.4);
}

/* Service Details Expandable Section */
.service-price small {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: normal;
    margin-left: 8px;
}

.service-details-btn {
    background: rgba(46, 134, 193, 0.1);
    color: #2E86C1;
    border: 1px solid rgba(46, 134, 193, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
    width: 100%;
}

.service-details-btn:hover {
    background: rgba(46, 134, 193, 0.2);
    border-color: rgba(46, 134, 193, 0.5);
    transform: translateY(-1px);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 15px 0;
}

.service-details.expanded {
    max-height: 300px;
    padding: 20px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.service-details li:before {
    content: "●";
    color: #2E86C1;
    position: absolute;
    left: 0;
    top: 8px;
}

.service-details li:last-child {
    border-bottom: none;
}

/* Confirmation Modal Styles */
.confirmation-modal {
    max-width: 500px;
    text-align: center;
}

.confirmation-header {
    margin-bottom: 30px;
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confirmation-header h2 {
    color: #2E86C1;
    margin: 0;
}

.confirmation-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: #333;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.download-pdf-btn, .close-confirmation-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-pdf-btn {
    background: linear-gradient(45deg, #27AE60, #2ECC71);
    color: white;
}

.download-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.close-confirmation-btn {
    background: #6c757d;
    color: white;
}

.close-confirmation-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Car Diagram Section */
.car-diagram-section {
    padding: 100px 0 200px 0;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.color-picker-container {
    text-align: center;
    margin-bottom: 30px;
}

.color-picker-container label {
    font-size: 1.1rem;
    margin-right: 15px;
    color: white;
}

#car-color {
    width: 50px;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: none;
}

.diagram-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.view-btn {
    background: linear-gradient(45deg, #333, #444);
    color: white;
    border: 2px solid transparent;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.view-btn:hover,
.view-btn.active {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    border-color: #2E86C1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 134, 193, 0.3);
}

.car-diagram-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.car-view {
    display: none;
    max-width: 600px;
    width: 100%;
}

.car-view.active {
    display: block;
}

.car-svg {
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
}

.car-part {
    cursor: pointer;
    transition: all 0.3s ease;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 1;
}

.car-part:hover {
    stroke: #2E86C1;
    stroke-width: 2;
    filter: brightness(1.2);
    transform: scale(1.02);
    transform-origin: center;
}

.car-body-part {
    fill: var(--car-color);
}

/* Contact Section */
.contact {
    padding: 100px 0 200px 0;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(46, 134, 193, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2E86C1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.contact-details p {
    opacity: 0.8;
    font-size: 1rem;
}

.contact-details a {
    color: #2E86C1;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(46, 134, 193, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E86C1;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 134, 193, 0.3);
}

/* Popup Modal */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #2c2c2c, #333);
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #2E86C1;
    box-shadow: 0 20px 60px rgba(46, 134, 193, 0.3);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #2E86C1;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #5DADE2;
}

#popup-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

#popup-options {
    display: grid;
    gap: 15px;
}

.maintenance-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(46, 134, 193, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.maintenance-option:hover {
    background: rgba(46, 134, 193, 0.2);
    border-color: #2E86C1;
    transform: translateX(5px);
}

.maintenance-option h4 {
    color: #2E86C1;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.maintenance-option p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 2em;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        margin-top: 40px;
        order: 2;
        display: none;
    }
    
    .hero-text {
        order: 1;
    }
    
    /* Hide the car animation wrapper on mobile to prevent overlap */
    .car-animation-fixed {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .diagram-controls {
        gap: 10px;
    }
    
    .view-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .popup-content {
        width: 95%;
        padding: 30px 20px;
    }
    
    .confirmation-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .download-pdf-btn, .close-confirmation-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Cars for Sale Section */
.cars-for-sale {
    padding: 100px 0 200px 0;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.car-card {
    background: linear-gradient(135deg, #2c2c2c, #333);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 134, 193, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.car-card:hover {
    transform: translateY(-10px);
    border-color: #2E86C1;
    box-shadow: 0 15px 40px rgba(46, 134, 193, 0.2);
}

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

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

.car-info {
    padding: 25px;
}

.car-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.car-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2E86C1;
    margin-bottom: 10px;
}

.car-brief {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.info-btn {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 134, 193, 0.3);
}

/* Car Details Popup */
.car-popup {
    max-width: 600px;
    width: 95%;
}

.car-details-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2E86C1;
}

.car-details-header h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.car-details-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2E86C1;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spec-group {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(46, 134, 193, 0.2);
}

.spec-group h4 {
    color: #2E86C1;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.spec-value {
    color: white;
    font-weight: bold;
}

.car-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 134, 193, 0.2);
}

.car-description h4 {
    color: #2E86C1;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.car-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-dealer-btn {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.contact-dealer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 134, 193, 0.3);
}

/* Mobile Responsiveness for Cars Section */
@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .car-specs {
        grid-template-columns: 1fr;
    }
    
    .car-details-header h3 {
        font-size: 1.6rem;
    }
    
    .car-details-price {
        font-size: 1.8rem;
    }
}


/* Booking Calendar Section */
.booking-calendar {
    padding: 100px 0 200px 0;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
}

.calendar-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(46, 134, 193, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2E86C1;
}

.calendar-nav {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 134, 193, 0.3);
}

.calendar-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 134, 193, 0.4);
}

#current-month {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    text-align: center;
    min-width: 200px;
}

.calendar-grid {
    margin-bottom: 30px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    margin-bottom: 10px;
}

.weekday {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #2E86C1;
    background: rgba(46, 134, 193, 0.1);
    border-radius: 8px;
    font-size: 1rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    min-height: 50px;
}

.calendar-day:hover {
    background: rgba(46, 134, 193, 0.2);
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
}

.calendar-day.disabled {
    background: rgba(255, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    position: relative;
}

.calendar-day.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #ff4444;
    transform: translateY(-50%);
}

.calendar-day.past {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.calendar-day.available {
    background: rgba(46, 134, 193, 0.2);
    border: 2px solid rgba(46, 134, 193, 0.5);
}

.calendar-day.available:hover {
    background: rgba(46, 134, 193, 0.4);
    border-color: #2E86C1;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(46, 134, 193, 0.3);
}

.calendar-day.selected {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    border: 2px solid #2E86C1;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(46, 134, 193, 0.4);
}

.calendar-day.today {
    border: 2px solid #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.calendar-day.full {
    background: rgba(255, 165, 0, 0.1);
    color: rgba(255, 165, 0, 0.8);
    cursor: not-allowed;
    position: relative;
    flex-direction: column;
    padding: 4px;
}

.full-label {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8em;
    font-weight: bold;
    color: #FFA500;
    background: rgba(0, 0, 0, 0.7);
    padding: 1px 3px;
    border-radius: 2px;
    pointer-events: none;
    line-height: 1;
}

.calendar-day.full:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: none;
}

/* VIN Help Icon and Tooltip */
.form-group-with-help {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group-with-help input {
    flex-grow: 1;
}

.vin-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2E86C1;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
    position: relative;
    flex-shrink: 0;
}

.vin-help-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 300px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.vin-help-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.vin-help-icon:hover .vin-help-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Searchable Dropdown Styles */
.searchable-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    color: white;
    min-height: 54px;
}

.dropdown-selected:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #2E86C1;
}

.dropdown-selected:focus {
    border-color: #2E86C1;
    box-shadow: 0 0 0 2px rgba(46, 134, 193, 0.2);
}

.selected-text {
    flex-grow: 1;
    text-align: left;
}

.selected-text.placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: #2E86C1;
    font-size: 12px;
    margin-left: 8px;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.dropdown-search {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-search input {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.dropdown-search input:focus {
    border-color: #2E86C1;
    box-shadow: 0 0 0 2px rgba(46, 134, 193, 0.2);
}

.dropdown-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.options-list {
    max-height: 400px; /* ~10 options at 40px each */
    overflow-y: auto;
    padding-bottom: 4px; /* Ensure last option is properly visible */
}

.option {
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.option:hover {
    background: rgba(46, 134, 193, 0.2);
}

.option:last-child {
    border-bottom: none;
}

.option.no-options {
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
    text-align: center;
    font-style: italic;
}

.option.no-options:hover {
    background: transparent;
}

.option.manual-input {
    color: rgba(255, 215, 0, 0.9);
    font-style: italic;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.option.manual-input:hover {
    background: rgba(255, 215, 0, 0.15);
}

/* Vehicle dropdowns container */
.vehicle-dropdowns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.vehicle-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vehicle-dropdown-label {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 768px) {
    .vehicle-dropdowns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .options-list {
        max-height: 200px; /* ~5 options at 40px each on mobile */
    }
}

.time-slots-container {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(46, 134, 193, 0.2);
    animation: fadeInUp 0.5s ease;
}

.time-slots-container h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: white;
    font-weight: 500;
}

.time-slot:hover {
    background: rgba(46, 134, 193, 0.3);
    border-color: #2E86C1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 134, 193, 0.2);
}

.time-slot.booked {
    background: rgba(255, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    position: relative;
}

.time-slot.booked::after {
    content: '✗';
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    color: #ff4444;
    font-weight: bold;
}

.time-slot.selected {
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    border-color: #2E86C1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 134, 193, 0.4);
}

/* Booking Popup */
.booking-popup {
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.booking-popup h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #2E86C1;
    padding-bottom: 15px;
}

#booking-details {
    background: rgba(46, 134, 193, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(46, 134, 193, 0.3);
}

.booking-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-detail-item:last-child {
    border-bottom: none;
}

.booking-detail-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.booking-detail-value {
    color: #2E86C1;
    font-weight: bold;
}

.booking-popup .form-group {
    margin-bottom: 20px;
}

.booking-popup label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

/**** Calendar ****/
.booking-popup input,
.booking-popup textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-popup input:focus,
.booking-popup textarea:focus {
    outline: none;
    border-color: #2E86C1;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(46, 134, 193, 0.3);
}

.booking-popup input::placeholder,
.booking-popup textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cancel-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.confirm-booking-btn {
    flex: 2;
    background: linear-gradient(45deg, #2E86C1, #5DADE2);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(46, 134, 193, 0.3);
}

.confirm-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 134, 193, 0.4);
}

/* Mobile Responsiveness for Calendar */
@media (max-width: 768px) {
    .calendar-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 15px;
    }
    
    #current-month {
        font-size: 1.5rem;
        min-width: auto;
    }
    
    .calendar-nav {
        padding: 8px 12px;
        font-size: 1rem;
    }
    
    .weekday {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
    
    .calendar-day {
        min-height: 40px;
        font-size: 0.9rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .booking-popup {
        width: 98%;
        margin: 1%;
    }
    
    .form-actions {
        flex-direction: column;
    }
}


/* FAQ Section */
.faq {
    padding: 100px 0 200px 0;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(46, 134, 193, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(46, 134, 193, 0.3);
    box-shadow: 0 8px 25px rgba(46, 134, 193, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.faq-question:hover {
    background: rgba(46, 134, 193, 0.05);
}

.faq-question h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    color: #2E86C1;
    font-size: 1.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(46, 134, 193, 0.1);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: #2E86C1;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    padding-top: 10px;
    font-size: 1rem;
    border-top: 1px solid rgba(46, 134, 193, 0.1);
}

/* Mobile Responsiveness for FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 15px;
    }
    
    .faq-toggle {
        font-size: 1.5rem;
        width: 25px;
        height: 25px;
    }
    
    .faq-answer.active {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

/**** Pop-up ****/
 /* Popup Overlay */
 .bundy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bundy-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.bundy-popup {
    background: var(--background);
    border-radius: 12px;
    box-shadow: 0 25px 50px var(--shadow-medium);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.bundy-popup-overlay.show .bundy-popup {
    transform: scale(1) translateY(0);
}

/* Popup Header */
.bundy-popup-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
}

.bundy-popup-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.bundy-popup-title {
    margin: 0;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.bundy-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    z-index: 2;
}

.bundy-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Popup Content */
.bundy-popup-content {
    padding: 24px;
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    font-size: 16px;
    background: linear-gradient(135deg, #2c2c2c, #333);
}

/* Popup Actions */
.bundy-popup-actions {
    padding: 0 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: linear-gradient(135deg, #2c2c2c, #333)
}

.bundy-popup-btn {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bundy-popup-btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(43, 119, 173, 0.3);
}

.bundy-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 119, 173, 0.4);
}

.bundy-popup-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.bundy-popup-btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Popup Types */
.bundy-popup-success .bundy-popup-header {
    background: linear-gradient(135deg, #38a169, #2f855a);
}

.bundy-popup-warning .bundy-popup-header {
    background: linear-gradient(135deg, #d69e2e, #b7791f);
}

.bundy-popup-error .bundy-popup-header {
    background: linear-gradient(135deg, var(--accent-color), #c53030);
}

.bundy-popup-info .bundy-popup-header {
    background: linear-gradient(135deg, #3182ce, #2b6cb0);
}

/* Icon styles */
.bundy-popup-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .bundy-popup {
        margin: 20px;
        max-width: calc(100vw - 40px);
    }
    
    .bundy-popup-actions {
        flex-direction: column;
    }
    
    .bundy-popup-btn {
        width: 100%;
    }
}

/* Animation keyframes */
@keyframes bundyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bundySlideUp {
    from { 
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}