/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
}

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

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

nav a:hover {
    color: #6d28d9;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(90deg, rgba(79,70,229,0.8) 0%, rgba(109,40,217,0.8) 100%);
    color: #fff;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    min-width: 280px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    min-width: 280px;
}

.cta-button {
    background-color: #ffffff;
    color: #4f46e5;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f3f3f9;
}

/* Section Headings */
h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #4f46e5;
    text-align: center;
}

/* About Section */
.about-section p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    background-color: #ffffff;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #f5f5fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

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

.service-card h4 {
    margin-bottom: 0.75rem;
    color: #6d28d9;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.portfolio-item {
    background-color: #f5f5fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.portfolio-item h4 {
    margin-bottom: 0.75rem;
    color: #4f46e5;
    font-size: 1.2rem;
}

.portfolio-item p {
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4f46e5;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6d28d9;
    outline: none;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.site-footer {
    background-color: #4f46e5;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

.site-footer p {
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    nav ul {
        gap: 1rem;
    }
    nav a {
        font-size: 0.9rem;
    }
}