:root {
    --primary-color: #0a68f5;
    --primary-dark-color: #0854c4;
    --secondary-color: #f0f6ff;
    --text-dark-color: #1c2026;
    --text-light-color: #6b7280;
    --background-color: #ffffff;
    --surface-color: #f9fafb;
    --border-color: #e5e7eb;
}

/* General Styles & Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark-color);
    background-color: var(--background-color);
}

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

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light-color);
}

section {
    padding: 100px 0;
}

/* Header */
header {
    background: var(--background-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.logo {
    font-size: 1.75em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

header ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header ul li a {
    text-decoration: none;
    color: var(--text-dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

header ul li a:hover, header ul li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    color: var(--text-dark-color);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.hero p {
    font-size: 1.15em;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(10, 104, 245, 0.2);
}

.btn:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-3px);
}

/* Services Section */
.services {
    background: var(--background-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.card {
    background: var(--background-color);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.card h3 {
    margin-top: 1.5rem;
    color: var(--text-dark-color);
}

.card p {
    font-size: 0.95rem;
}

.card .icon {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 2rem;
}

/* About Section */
.about {
    background: var(--surface-color);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content, .about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 12px;
}

.about h2 {
    margin-bottom: 20px;
    text-align: left;
}

.about p {
    text-align: left;
}

/* Contact Section */
.contact {
    background: var(--background-color);
}

.contact h2, .contact p {
    text-align: center;
}

.contact p {
    margin-bottom: 50px;
}

.contact form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 104, 245, 0.1);
}

.contact textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 150px;
}

.contact .btn {
    grid-column: 1 / -1;
    width: auto;
    justify-self: center;
    cursor: pointer;
    border: none;
}

/* Footer */
footer {
    background: var(--text-dark-color);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    header .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    header ul {
        margin-top: 15px;
        gap: 20px;
    }
    .about .container {
        flex-direction: column;
    }
    .contact form {
        grid-template-columns: 1fr;
    }
}
