/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Poppins:wght@400&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background-color: #2C3E50;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background-image: url(''); /* Add a road image or something related */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-text {
    z-index: 1;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #F39C12;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #F1C40F;
}

/* Services Section */
#services {
    padding: 60px 20px;
    background-color: #F9F9F9;
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background-color: white;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service p {
    font-size: 1.1rem;
    color: #666;
}

/* Contact Section */
#contact {
    padding: 60px 20px;
    background-color: #2C3E50;
    color: white;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
}

#contact input,
#contact textarea {
    padding: 15px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-size: 1rem;
}

#contact button {
    background-color: #F39C12;
    color: white;
    padding: 15px;
    width: 100%;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact button:hover {
    background-color: #F1C40F;
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer .social-media {
    margin-top: 20px;
}

footer .social-media a {
    color: white;
    margin: 0 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

footer .social-media a:hover {
    color: #F39C12;
}
.hero {
    background-image: url('roadside-assistance.jpg'); /* Add your image */
    background-size: cover;
    background-position: center;
}
.cta-button:hover {
    background-color: #F1C40F;
}
.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #2C3E50;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header .logo h1 {
    margin: 0;
    font-size: 1.6rem; /* Adjust logo font size */
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

@media (max-width: 768px) {
    header {
        padding: 10px 15px; /* Adjust header padding for mobile */
    }

    header .logo h1 {
        font-size: 1.4rem; /* Adjust logo font size on mobile */
    }

    header nav ul {
        display: none; /* Hide navigation links for mobile */
    }

    header .logo {
        font-size: 1.4rem;
    }
}

/* Hero Section */
.hero {
    background-image: url('roadside-assistance.jpg'); /* Your image */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 20px; /* Add some padding for better spacing */
}

.hero-text h2 {
    font-size: 3rem; /* Adjust text size for large screens */
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #F39C12;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #F1C40F;
}

@media (max-width: 768px) {
    /* Mobile adjustments */
    .hero {
        height: 60vh; /* Reduce hero section height on mobile */
        background-position: center top; /* Adjust image positioning */
    }

    .hero-text h2 {
        font-size: 2rem; /* Smaller font size on mobile */
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    /* Further mobile optimizations */
    .hero {
        height: 50vh; /* Further reduce height for very small screens */
    }

    .hero-text h2 {
        font-size: 1.8rem; /* Even smaller font size */
    }

    .cta-button {
        font-size: 0.9rem; /* Smaller button text */
        padding: 8px 16px;
    }
}

