/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f7fa;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
}
h1 {
    color: white;
}
 h2, h3 {
    color: #333;
}

/* Header Section */
.hero {
    background: url('https://via.placeholder.com/1600x900') no-repeat center center/cover;
    color: white;
    padding: 120px 0; /* Increased padding */
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #1a73e8;
    padding: 14px 35px;
    font-size: 20px;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0f61b8;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.service-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 50px;
    color: #1a73e8;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #666;
}

/* Portfolio Section */
.portfolio {
    padding: 60px 0;
    background-color: #f1f1f1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
}

.portfolio-item p {
    margin-top: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-card h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.contact textarea {
    height: 150px;
}

.contact button {
    background-color: #1a73e8;
    padding: 12px 30px;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
}

.contact button:hover {
    background-color: #0f61b8;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 15px;
    text-decoration: none;
}

/* Navigation Bar */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 10px 25px;
    }
}

/* Header Section */
.hero {
    background: url('hero.jpg') no-repeat center center/cover;  /* Update with your image URL */
    color: white;
    padding: 120px 0; /* Increased padding */
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #1a73e8;
    padding: 14px 35px;
    font-size: 20px;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0f61b8;
}
