* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Tahoma, sans-serif;
    background: #f5f7fb;
    color: #222;
    line-height: 1.8;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.site-header {
    background: #1f3c88;
    color: #fff;
    padding: 20px 0;
    margin-bottom: 30px;
}

.logo {
    margin: 0;
    font-size: 24px;
}

.hero {
    text-align: center;
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.consult-card {
    display: block;
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    text-decoration: none;
    color: #222;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.consult-card:hover {
    transform: translateY(-4px);
}

.form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.form-intro {
    color: #666;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d7dce5;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
}

.form-check-input {
    transform: scale(1.2);
    margin-left: 8px;
}

.btn-primary {
    display: inline-block;
    background: #1f3c88;
    color: #fff;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #17306f;
}

.error-text {
    color: #d93025;
    font-size: 13px;
    margin-top: 6px;
}

.help-text {
    color: #777;
    font-size: 12px;
}

.success-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
