/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f8f9fa;
    line-height: 1.6;
}

/* Header / Nav */
header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 24px; font-weight: 700; color: #667eea; text-decoration: none; }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: #667eea; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 24px 110px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero p {
    font-size: 19px;
    max-width: 600px;
    margin: 0 auto 36px;
    opacity: 0.92;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Sections */
section { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.section-title { text-align: center; font-size: 32px; font-weight: 700; color: #333; margin-bottom: 12px; }
.section-subtitle { text-align: center; font-size: 16px; color: #666; max-width: 600px; margin: 0 auto 48px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: white;
    border-radius: 10px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.service-icon { font-size: 44px; margin-bottom: 20px; display: block; }
.service-card h3 { font-size: 20px; font-weight: 600; color: #333; margin-bottom: 12px; }
.service-card p { font-size: 15px; color: #666; line-height: 1.65; }

/* About & Contact wrappers (shared styles) */
.about-wrapper,
.contact-wrapper {
    background: white;
    border-radius: 10px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    margin: 0 auto;
}
.about-wrapper { max-width: 780px; }
.contact-wrapper { max-width: 620px; }
.about-wrapper p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.about-wrapper p:last-child { margin-bottom: 0; }

/* Contact form */
.contact-wrapper form { display: flex; flex-direction: column; gap: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #444; margin-bottom: 6px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    padding: 14px 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102,126,234,.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,.45); }
.contact-email { text-align: center; margin-top: 24px; font-size: 14px; color: #888; }
.contact-email a { color: #667eea; text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

/* Footer */
footer { text-align: center; padding: 32px 24px; border-top: 1px solid #eee; background: white; }
footer p { font-size: 13px; color: #999; }

/* Responsive: tablet */
@media (max-width: 768px) {
    .hero { padding: 64px 20px 72px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 16px; }
    section { padding: 56px 20px; }
    .section-title { font-size: 26px; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .nav-links { gap: 20px; }
    .about-wrapper,
    .contact-wrapper { padding: 32px 24px; }
}

/* Responsive: mobile */
@media (max-width: 480px) {
    nav { flex-direction: column; gap: 14px; }
    .nav-links { gap: 16px; }
}
