/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

header {
    padding: 10px 0;
    padding: 1rem;
    background-color: rgb(173, 73, 225);
}

header .logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: #f4f4f4;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    font-weight: 400;
    transition: color 0.3s ease;
    color: rgb(255, 255, 255);
}

header nav ul li a:hover {
    color: #0000009e;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 100px 0;
    background-color: #f4f4f4;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
}

.hero-text span {
    color:  #8d30fe;
}

.hero-text p {
    font-size: 18px;
    margin: 20px 0;
    text-align: center;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: #f4f4f4;
}

.portfolio h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.portfolio-item img {
    max-width: 100%;
    border-radius: 10px;
}

.portfolio-item h3 {
    font-size: 24px;
    margin: 15px 0;
}

.portfolio-item p {
    font-size: 14px;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact form input, .contact form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact form button {
    align-self: flex-start;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}
