/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Header Styles */
header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #007BFF;
    text-decoration: none;
}

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007BFF;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.3s;
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

nav .nav-links.active li {
    margin: 15px 0;
    text-align: center;
}

/* Hero Section */
.hero {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    color: #fff;
    text-align: center;
    position: relative;
    margin-top: 70px; /* To offset fixed header */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #0056b3;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2em;
    color: #333;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card {
    flex: 0 0 30%;
    background-color: #f8f8f8;
    margin-bottom: 30px;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.card h3 {
    margin-bottom: 15px;
    color: #007BFF;
}

.card p {
    color: #666;
}

.card:hover {
    transform: translateY(-10px);
}

/* About Us Section */
.about-us {
    padding: 80px 0;
}

.about-us h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #333;
}

.about-us p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: #555;
    font-size: 1.1em;
}

.about-us .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #333;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group label span {
    color: red;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

.contact .btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #007BFF;
    color: #fff;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact .btn:hover {
    background-color: #0056b3;
}

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

footer p {
    text-align: center;
    margin-bottom: 10px;
}

.social-media {
    display: flex;
    justify-content: center;
}

.social-media a {
    margin: 0 10px;
}

.social-media img {
    width: 25px;
    height: 25px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        flex: 0 0 80%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .services h2, .about-us h2, .contact h2 {
        font-size: 1.5em;
    }
}
