/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center; /* Center the navbar links */
    padding: 15px 20px; /* Adjust padding for mobile */
    background-color: #000;
}

.navbar nav {
    display: flex;
    gap: 15px; /* Reduce gap between links */
}

.navbar nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem; /* Adjust font size for mobile */
}

.navbar nav a:hover {
    color: #ff9801;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px; /* Adjust padding for mobile */
    background-color: #000;
    color: #fff;
}

.hero .hero-logo {
    height: 200px; /* Reduce size for mobile */
    width: auto;
    margin: 0 auto;
    display: block;
}

.hero p {
    font-size: 1rem; /* Reduce text size for mobile */
    margin: 20px 0 20px; /* Adjust spacing above and below text */
}

.btn-primary {
    background-color: #ff9801;
    color: #fff;
    padding: 10px 15px; /* Adjust padding for mobile buttons */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem; /* Adjust font size */
}

.btn-primary:hover {
    background-color: #e66000;
}

/* Content Sections (e.g., About, Services, Contact) */
.about, .services, .contact {
    padding: 50px 15px; /* Reduce padding for mobile */
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
}

.about h2, .services h2, .contact h2 {
    font-size: 1.5rem; /* Adjust heading size for mobile */
    margin-bottom: 15px;
    color: #000;
}

.about p, .services p, .contact p {
    font-size: 0.9rem; /* Reduce paragraph size */
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Services Section */
.services .cards {
    display: flex;
    flex-direction: column; /* Stack cards vertically on mobile */
    align-items: center;
    gap: 15px; /* Add spacing between cards */
}

.services .card {
    background: #fff;
    margin: 10px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%; /* Make cards full width on mobile */
}

.services .card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem; /* Adjust font size for headings */
    color: #000;
}

.services .card p {
    font-size: 0.9rem; /* Adjust font size for paragraphs */
    color: #555;
}

/* Contact Section */
.contact form {
    max-width: 100%; /* Full width on mobile */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact input, .contact textarea, .contact button {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact button {
    background-color: #ff7300;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

.contact button:hover {
    background-color: #e66000;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Media Queries for Mobile */
@media screen and (max-width: 768px) {
    /* Navbar */
    .navbar nav {
        flex-direction: column; /* Stack links vertically */
        align-items: center;
        gap: 10px; /* Reduce gap for mobile */
    }

    .navbar nav a {
        font-size: 0.9rem; /* Adjust font size */
    }

    /* Hero Section */
    .hero {
        padding: 60px 10px; /* Adjust padding for smaller screens */
    }

    .hero .hero-logo {
        height: 150px; /* Reduce logo size */
    }

    .hero p {
        font-size: 0.9rem; /* Reduce text size */
        margin: 15px 0;
    }

    .btn-primary {
        font-size: 0.9rem; /* Adjust button font size */
        padding: 8px 12px; /* Adjust button padding */
    }

    /* Services Section */
    .services .card {
        width: 100%; /* Cards take full width */
        margin: 15px 0; /* Add vertical spacing */
    }
}