:root {
    --primary-color: #8B4513; /* Brown - representing earth/tradition */
    --secondary-color: #F5A623; /* Golden/amber - representing heritage */
    --accent-color: #009B4D; /* Green - from Nigerian flag */
    --light-color: #F9F5EA; /* Off-white - parchment-like */
    --dark-color: #333333; /* Dark grey */
    --error-color: #D64045; /* Red */
    --success-color: #4CAF50; /* Green */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-bottom: 5px solid var(--accent-color);
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.yoruba-pattern {
    height: 15px;
    background-image: repeating-linear-gradient(
        45deg,
        var(--accent-color),
        var(--accent-color) 15px,
        var(--secondary-color) 15px,
        var(--secondary-color) 30px
    );
}

.form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    padding: 2rem;
    max-width: 800px;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
}

.form-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto;
}

.form-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.form-section h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

.error {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--success-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.button-container {
    text-align: center;
    margin-top: 2rem;
}

button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #007d3d;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.required-note {
    text-align: right;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.two-column {
    display: flex;
    gap: 20px;
}

.two-column .form-group {
    flex: 1;
}

@media (max-width: 768px) {
    .two-column {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 2rem;
    }
}