/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #000; /* Dark text on white background */
    background-color: #fff;
}

header {
    background: rgba(0, 0, 0, 0.8);  /* Black with opacity */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    height: 80px;
    overflow: hidden;
}

header img {
    /* Increase logo size via transform without increasing header height */
    height: 80px;
    transform: scale(1.8) translateY(5px);
    transform-origin: left center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: url("../images/v_management_transport_banner.jpg") no-repeat center center/cover;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: #000;
}

/* Services Section */
.services {
    padding: 20px 10px; /* Reduced padding */
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #000;
}

/* Use flex to align service cards side-by-side */
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 15px; /* Reduced padding */
    border-radius: 10px;
    flex: 1 1 45%;
    max-width: 45%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    color: #000;
}

.service-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistent sizing */
    object-fit: cover;
    border-radius: 10px;
}

/* Redesigned Brands Section */
.brands {
    padding: 20px 10px; /* Reduced padding */
    background-color: #222;  /* Dark background */
    text-align: center;
}

.brands h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.brand-container {
    background: linear-gradient(135deg, #333, #555);
    padding: 30px;
    margin: 0 auto;
    width: 80%;
    border-radius: 20px;
    /* Unique polygon shape */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Quote Form Section */
.quote-section {
    padding: 20px 10px; /* Reduced padding */
    background-color: #fff;
    text-align: center;
}

.quote-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(51, 51, 51, 0.9);  /* Darker background with opacity */
    padding: 20px;  /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #222;
}

.quote-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

/* Grid layout for form fields */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;  /* Increased gap for better separation */
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #000;
    box-sizing: border-box;
}

.slider-container {
    margin-bottom: 20px;
}

.slider-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.slider-container input[type="range"] {
    width: 100%;
}

.slider-container span {
    color: #fff; /* Mileage text in white */
}

.cost-display {
    margin-top: 25px; /* Increased spacing above cost display */
    margin-bottom: 30px; /* Increased spacing below cost display */
    font-size: 1.2rem;
    color: #fff;
}

.quote-form button.submit-btn,
.quote-form button {
    display: block;
    width: 100%;
    padding: 10px;  /* Reduced padding for smaller button */
    background: linear-gradient(45deg, #007BFF, #0056b3);
    color: #fff;
    border: none;
    border-radius: 50px;  /* Pill shape */
    font-size: 16px;  /* Reduced font size */
    cursor: pointer;
    transition: transform 0.2s;
}

.quote-form button.submit-btn:hover,
.quote-form button:hover {
    transform: scale(1.05);
}

.quote-message {
    margin-top: 20px;
    padding: 15px;
    background: #e9ecef;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #000;
}

/* Minimal Notification Popup */
.notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0,128,0,0.95); /* More opaque green */
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: opacity 0.5s ease;
    max-width: 300px;
    font-size: 16px;
}

.notification .tick {
    font-size: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8); /* Black with opacity */
    padding: 20px;
    text-align: center;
    border-top: 1px solid #333;
    color: #fff;
}

/* Mobile Friendly Styles */
@media (max-width: 768px) {
    header {
        height: 70px;
        padding: 8px 16px;
    }
    header img {
        height: 70px;
        transform: scale(1.8) translateY(5px);
    }
    nav a {
        margin: 0 5px;
        font-size: 14px;
    }
    .hero h1 {
        font-size: 2rem;
        padding: 10px;
    }
    .services h2 {
        font-size: 1.5rem;
    }
    .service-card img {
        height: 150px;
    }
    .service-container {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .service-card {
        flex: 0 0 80%;
        margin-right: 20px;
    }
    .quote-section h2, .quote-form h3 {
        font-size: 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .quote-form {
        padding: 15px;
    }
    .quote-form button {
        font-size: 14px;
        padding: 8px;
    }
}
