/* ==============================
   GENERAL
   ============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    line-height: 1.6;
}


/* ==============================
   NAVIGATION BAR
   ============================== */

.navbar {
    background: #111827;
    padding: 20px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 26px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #38bdf8;
}

.welcome-user {
    color: white;
    font-weight: 600;
    margin-left: 20px;
    margin-right: 20px;
    opacity: 1;
}


/* ==============================
   HERO SECTION
   ============================== */

.hero {
    min-height: 450px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;

    background: #1e293b;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 30px;
}


/* ==============================
   GENERAL BUTTON
   ============================== */

.btn {
    display: inline-block;

    background: #2563eb;
    color: white;

    padding: 14px 28px;

    border-radius: 6px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.2s;
}

.btn:hover {
    background: #1d4ed8;
}


/* ==============================
   SERVICES SECTION
   ============================== */

.services {
    padding: 70px 60px;
    text-align: center;
}

.services h2,
.about h2,
.contact h2 {
    font-size: 32px;
    margin-bottom: 35px;
}

.service-container {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    max-width: 1100px;

    margin: auto;
}

.service-card {
    background: white;

    padding: 30px 20px;

    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 15px;
}


/* ==============================
   PRICING SECTION
   ============================== */

.pricing-section {
    padding: 80px 60px;

    background: #f5f7fa;

    text-align: center;
}

.pricing-section h2 {
    font-size: 36px;

    margin-bottom: 10px;

    color: #111827;
}

.pricing-section > p {
    font-size: 18px;

    color: #6b7280;

    margin-bottom: 45px;
}


/* Pricing cards container */

.pricing-container {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


/* Individual pricing card */

.price-card {
    background: white;

    padding: 35px 25px;

    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    transition: 0.3s;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 300px;
}

.price-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
}

.price-card h3 {
    font-size: 25px;

    color: #111827;

    margin-bottom: 15px;
}

.price-card p {
    color: #6b7280;

    font-size: 16px;

    margin-bottom: 20px;
}

.price-card h4 {
    font-size: 28px;

    color: #2563eb;

    margin-bottom: 25px;
}


/* Pricing button */

.price-btn {
    display: inline-block;

    background: #2563eb;

    color: white;

    padding: 12px 25px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.2s;
}

.price-btn:hover {
    background: #1d4ed8;

    color: white;

    transform: translateY(-2px);
}


/* ==============================
   ABOUT SECTION
   ============================== */

.about {
    background: white;

    padding: 70px 20px;

    text-align: center;
}

.about h2 {
    color: #111827;
}

.about p {
    max-width: 800px;

    margin: auto;

    color: #666;

    font-size: 18px;
}


/* ==============================
   CONTACT SECTION
   ============================== */

.contact {
    padding: 70px 20px;

    text-align: center;

    background: #f5f7fa;
}

.contact p {
    margin-bottom: 25px;

    color: #666;
}


/* ==============================
   FORMS
   ============================== */

form {
    max-width: 500px;

    margin: 30px auto;
}

form label {
    display: block;

    margin-top: 15px;
    margin-bottom: 5px;

    font-weight: bold;
}

form input,
form select {
    width: 100%;

    padding: 12px;

    border: 1px solid #ccc;

    border-radius: 6px;

    font-size: 16px;
}

form input:focus,
form select:focus {
    outline: none;

    border-color: #2563eb;
}

form button {
    margin-top: 20px;

    padding: 10px 20px;

    border: none;

    border-radius: 6px;

    cursor: pointer;

    background: #2563eb;

    color: white;

    font-weight: bold;
}

form button:hover {
    background: #1d4ed8;
}


/* ==============================
   SUCCESS MESSAGE
   ============================== */

.success-message {
    background-color: #d4edda;

    color: #155724;

    padding: 15px;

    border: 1px solid #c3e6cb;

    border-radius: 8px;

    font-weight: bold;

    max-width: 600px;

    margin: 20px auto;

    text-align: center;
}


/* ==============================
   FOOTER
   ============================== */

footer {
    background: #111827;

    color: white;

    text-align: center;

    padding: 20px;
}

.admin-footer {
    margin-top: 10px;
}

.admin-footer a {
    color: #888;

    text-decoration: none;

    font-size: 14px;
}

.admin-footer a:hover {
    color: #fff;

    text-decoration: underline;
}


/* ==============================
   CUSTOMER DASHBOARD
   ============================== */

.customer-dashboard {
    max-width: 1200px;

    margin: 40px auto;

    padding: 20px;
}


/* Dashboard Header */

.dashboard-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 40px;

    margin-bottom: 30px;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #111827,
        #1f2937
    );

    color: white;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dashboard-label {
    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.dashboard-header h1 {
    font-size: 36px;

    margin-bottom: 10px;
}

.dashboard-header p {
    margin: 0;

    font-size: 17px;

    opacity: 0.85;
}

.car-icon {
    font-size: 70px;
}


/* Dashboard Cards */

.dashboard-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.dashboard-card {
    background: white;

    padding: 30px;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
}

.card-icon {
    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eaf2ff;

    border-radius: 14px;

    font-size: 27px;

    margin-bottom: 20px;
}

.dashboard-card h2 {
    font-size: 23px;

    margin-bottom: 10px;
}

.dashboard-card p {
    color: #6b7280;

    line-height: 1.6;

    min-height: 75px;
}


/* Dashboard Buttons */

.dashboard-btn {
    display: inline-block;

    padding: 12px 22px;

    margin-top: 10px;

    background: #0d6efd;

    color: white;

    text-decoration: none;

    border-radius: 10px;

    font-weight: 600;

    transition: 0.2s;
}

.dashboard-btn:hover {
    background: #084298;

    color: white;

    transform: translateY(-2px);
}


/* Dashboard Information */

.dashboard-info {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;

    padding: 25px;

    background: #f8f9fa;

    border-radius: 18px;
}

.dashboard-info > div {
    display: flex;

    gap: 15px;

    align-items: flex-start;
}

.info-icon {
    font-size: 28px;
}

.dashboard-info h3 {
    font-size: 17px;

    margin-bottom: 5px;
}

.dashboard-info p {
    margin: 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.5;
}


/* ==============================
   MOBILE RESPONSIVE
   ============================== */

@media (max-width: 768px) {

    /* Navbar */

    .navbar {
        padding: 20px;

        flex-direction: column;

        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }


    /* Hero */

    .hero {
        min-height: 400px;

        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }


    /* Services */

    .services {
        padding: 50px 20px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }


    /* Pricing */

    .pricing-section {
        padding: 60px 20px;
    }

    .pricing-section h2 {
        font-size: 30px;
    }

    .pricing-container {
        grid-template-columns: 1fr;

        max-width: 450px;
    }


    /* Dashboard */

    .customer-dashboard {
        margin: 20px auto;

        padding: 15px;
    }

    .dashboard-header {
        padding: 30px;

        text-align: center;

        flex-direction: column;

        gap: 20px;
    }

    .dashboard-header h1 {
        font-size: 28px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-info {
        grid-template-columns: 1fr;
    }
}


/* ==============================
   SMALL MOBILE
   ============================== */

@media (max-width: 480px) {

    .logo {
        font-size: 22px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .pricing-section h2 {
        font-size: 27px;
    }

    .price-card {
        padding: 30px 20px;
    }
}