/* Global Styles */
:root {
    --primary-color: #FFD700; /* Yellow */
    --secondary-color: #282828; /* Dark Gray */
    --text-color-dark: #333;
    --text-color-light: #f0f0f0;
    --background-light: #f8f8f8;
    --background-dark: #1e1e1e;
    --border-color: #ddd;
}

body {
    font-family: 'Montserrat Alternates', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    line-height: 1.6;
}


.flex-container {
  display: flex;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: darken(var(--primary-color), 10%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    color: var(--background-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: var(--background-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.logo a:hover {
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 400;
    color: var(--text-color-dark);
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.logout-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat Alternates', sans-serif;
}

.logout-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Login Page Styles */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(40, 40, 40, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.login-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    margin: 2rem auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 64px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.login-form {
    margin-bottom: 1.5rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-form .form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat Alternates', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fafafa;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
    background-color: white;
    transform: translateY(-1px);
}

.login-form .form-group input::placeholder {
    color: #999;
    font-style: italic;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary-color);
    transform: scale(1.2);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.checkbox-group label:hover {
    color: var(--secondary-color);
}

.forgot-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.forgot-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffed4e 100%);
    color: var(--secondary-color);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat Alternates', sans-serif;
    position: relative;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #ffed4e 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-icon {
    margin-right: 0.5rem;
}

.btn-signup {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-signup:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.divider span {
    background-color: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.btn-google {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: white;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat Alternates', sans-serif;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-google:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-google:active {
    transform: translateY(0);
}

.google-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
}

.form-toggle {
    text-align: center;
    margin: 1.5rem 0;
}

.form-toggle p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    font-family: 'Montserrat Alternates', sans-serif;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    color: #e6c200;
}

.message-container {
    margin-top: 1rem;
    animation: slideIn 0.3s ease-out;
}

.message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 4px solid;
    animation: fadeIn 0.5s ease-out;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #28a745;
    border-left-color: #28a745;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
    border-left-color: #dc3545;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #17a2b8;
    border-left-color: #17a2b8;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Form transition effects */
.login-form, .form-toggle {
    animation: fadeIn 0.6s ease-out;
}

.hidden {
    display: none !important;
}

.hamburger-menu {
    display: none; /* Hidden by default */
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Responsive adjustments for login page */
@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        padding: 1.5rem;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .forgot-password {
        align-self: flex-end;
    }
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(40, 40, 40, 0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Featured Parts Section */
.featured-parts {
    padding: 60px 0;
}

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

.part-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.part-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.part-item img {
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensure images cover the area */
}

.part-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.part-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
}

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

.service-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-content ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.testimonials h2 {
    color: var(--primary-color);
}

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

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.testimonial-author {
    text-align: right;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--secondary-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Latest News Section */
.latest-news {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.news-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    text-align: center;
}

.contact-cta h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

    .cta-buttons .btn {
        min-width: 150px;
    }

    /* Mobile-specific adjustments for new sections */
    .feature-item {
        padding: 20px 15px;
    }

    .service-card img {
        height: 200px;
    }

    .service-content {
        padding: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .news-item {
        padding: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 60px 0;
}

.page-header h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* About Us Page */
.about-content {
    padding: 60px 0;
}

.about-content .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: 0.8rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: 8px;
    max-width: 500px; /* Control image size */
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-section .container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    gap: 40px;
    justify-content: space-between;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px; /* Ensure they have enough space */
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #555;
}

.contact-info strong {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    transition: all 0.3s ease;
    background: white;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffed4e 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

.contact-form .btn-primary.disabled {
    background: #28a745;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Section Styles */
.form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.form-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Responsive form rows */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }
    
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
}

/* Services Page */
.parts-catalog {
    padding: 60px 0;
}

.parts-catalog h3 {
    margin-top: 30px;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    display: inline-block;
}

.parts-catalog .parts-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Slightly smaller for more items */
}

.part-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.part-item .price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.part-item .btn-add-to-cart {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 2rem 0;
    text-align: center;
    margin-top: 50px; /* Space from content */
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* For smaller screens */
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: var(--text-color-light);
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    nav {
        display: none; /* Hide navigation on small screens */
    }

    .hamburger-menu {
        display: block; /* Show hamburger */
    }

    header .container {
        padding: 0 20px; /* More padding on small screens */
    }

    .hero {
        padding: 60px 0;
    }

    .featured-parts, .page-header, .about-content, .contact-section, .parts-catalog,
    .why-choose-us, .services-overview, .testimonials, .stats-section, .latest-news, .contact-cta {
        padding: 40px 0;
    }

    .parts-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }

    .features-grid,
    .services-grid,
    .testimonials-grid,
    .stats-grid,
    .news-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }

    .about-content .container,
    .contact-section .container {
        flex-direction: column;
    }

    .about-image img, .contact-form, .contact-info {
        width: 100%;
    }

    .contact-form {
        margin-top: 30px;
    }

    footer .container {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 15px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}



/* Form Section Styles */
.form-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.form-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Responsive form rows */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }
    
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
}
