:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --accent: #22c55e;
    --light: #f8fafc;
    --dark: #020617;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 0.8rem;
}

.logo span {
    font-weight: 700;
    font-size: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.2rem;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    left: 0;
    bottom: -4px;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 760px;
    margin: auto;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero .cta-btn {
    background: linear-gradient(90deg, var(--secondary), #3b82f6);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.hero .cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 3rem 1.5rem;
}

.container h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card p {
    margin-bottom: 1.2rem;
}

.btn {
    display: block;
    background: var(--secondary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.about {
    margin-top: 3rem;
    text-align: center;
}

.about p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    display: inline-block; 
    text-align: left;
}

.about-list li {
    margin-bottom: 0.6rem;
}

#contact {
    margin-top: 4rem;
    padding: 3rem 1.5rem;
    background: #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

#contact h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: auto;
}

.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
}

.contact-form button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

footer {
    background: #020617;
    color: #cbd5f5;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header {
    flex-direction: column;
    align-items: flex-start;
    }

    nav {
    margin-top: 0.5rem;
    }
}