@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;700&display=swap');

body {
    font-family: 'Sarabun', sans-serif;
    margin: 0;
    background: #f8fafc;
    color: #222;
}
header {
    background: #1a237e;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
}
.logo {
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: 2px;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: #64b5f6;
}
.hero {
    margin: 72px auto 32px auto;
    max-width: 600px;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(30, 60, 120, 0.08);
    border-radius: 12px;
    padding: 40px 24px 32px 24px;
}
.cta-btn {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    margin-top: 18px;
    font-size: 1.12rem;
    padding: 12px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px 0 rgba(30,60,120,0.08);
    transition: background 0.18s;
}
.cta-btn:hover {
    background: #1565c0;
}
footer {
    text-align: center;
    color: #888;
    margin-top: 60px;
    padding: 18px 0 10px;
    font-size: 0.96rem;
}
.contact-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-form label {
    text-align: left;
    font-weight: 600;
    color: #31489e;
    margin-bottom: 2px;
}
.contact-form input,
.contact-form textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 9px 10px;
    border-radius: 5px;
    border: 1px solid #bfcad6;
    background: #f4f6fb;
    margin-bottom: 4px;
    width: 100%;
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.6px solid #558aed;
    outline: none;
    background: #fff;
}
.form-success {
    background: #e9fbe7;
    color: #249e3b;
    border: 1.5px solid #a6e7a2;
    border-radius: 6px;
    padding: 18px 10px;
    margin: 24px auto 0 auto;
    font-size: 1.13rem;
    max-width: 400px;
    text-align: center;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
        padding: 14px 8px;
    }
    .hero {
        margin: 40px 6px 24px 6px;
        padding: 22px 6px 16px 6px;
    }
    .logo {
        font-size: 1.22rem;
    }
}
