* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #f8fafc; color: #1e293b; }
:root { --primary: #007bff; --primary-dark: #0056b3; }

/* NAVBAR */
.navbar { background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo img { height: 40px; }
.logo span { font-weight: 700; font-size: 1.1rem; color: #1e293b; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: #64748b; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); font-weight: 600; }

/* HERO */
.hero { background: linear-gradient(135deg, #007bff 0%, #0056b3 60%, #003d80 100%); color: white; padding: 4rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 500px; height: 500px; background: rgba(255,255,255,0.05); border-radius: 50%; top: -150px; right: -100px; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; position: relative; }
.hero p { font-size: 1.05rem; opacity: 0.9; max-width: 600px; margin: 0 auto; line-height: 1.7; position: relative; }

/* CONTACT GRID */
.container { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.contact-card { background: white; padding: 2rem; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); text-align: center; transition: transform 0.2s; }
.contact-card:hover { transform: translateY(-4px); }
.contact-icon { width: 60px; height: 60px; background: #eff6ff; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.contact-card p { color: #64748b; font-size: 0.9rem; margin-bottom: 1rem; }
.contact-card a { color: var(--primary); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* FORM */
.form-wrapper { background: white; padding: 2.5rem; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); max-width: 700px; margin: 0 auto; }
.form-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #475569; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.85rem; border: 1px solid #e2e8f0; border-radius: 10px; font-family: inherit; font-size: 0.95rem; transition: border 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,123,255,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit { width: 100%; padding: 1rem; background: var(--primary); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: var(--primary-dark); }

/* FOOTER */
footer { background: #1e293b; color: #94a3b8; padding: 2rem 1.5rem; text-align: center; font-size: 0.88rem; margin-top: 3rem; }
footer a { color: #94a3b8; text-decoration: none; }

/* RESPONSIVE */
html, body { overflow-x: hidden; max-width: 100%; }

.back-link-mobile {
    display: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .back-link-mobile { display: flex; }
    .nav-links { display: none; }
    .nav-container { padding: 0.75rem 1rem; }
    .logo img { height: 32px; }
    .logo span { font-size: 0.9rem; }

    .hero { padding: 2.5rem 1rem; }
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 0.88rem; }

    .container { padding: 1.5rem 1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 1rem; }
    .contact-card { padding: 1.5rem; }

    .form-wrapper { padding: 1.25rem; }
    .form-title { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.3rem; }
    .contact-icon { width: 50px; height: 50px; font-size: 1.2rem; }
}