/* Reset and General Styles */
body, h1, h2, p, ul, li, form, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #f0f0f0;
    padding: 20px 0;
}

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

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 100px 0;
}

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

.hero-content {
    flex: 1;
    text-align: left;
}

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

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

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero .btn button {
    background-color: white;
    color: #6a11cb; /* Matches the gradient's purple */
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1em; 
}

.hero .btn button:hover {
    background-color: #f0f0f0; /* Light gray on hover */
    color: #2575fc; /* Matches the gradient's blue */
}

.hero .btn {
  text-decoration: none; /* removes underline from the a tag*/
}

/* About Section Styles */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

/* Services Section Styles */
.services {
    padding: 80px 0;
    text-align: center;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

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

.service-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.service-item h3 {
    margin-bottom: 15px;
}

/* Testimonials Section Styles */
.testimonials {
    padding: 80px 0;
    background-color: #f0f0f0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

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

.testimonial-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

/* Contact Section Styles */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact input, .contact textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact textarea {
    height: 150px;
}

.contact .btn {
    background-color: #6a11cb;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

/* Responsive Design (updated) */
@media (max-width: 768px) {
    header .container, .hero .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-image {
        text-align: center;
        margin-top: 30px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }
}