/* --- Form & Service Page Styles --- */
.form-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #0a2540; /* --dark-blue var */
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #f8f9fa;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #495057;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff; /* --primary-color var */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    background-color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.form-container .btn-primary {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #007bff; /* --primary-color var */
    border-color: #007bff; /* --primary-color var */
    transition: background-color 0.2s, border-color 0.2s;
}

.form-container .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff; /* --primary-color var */
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.confirmation-container {
    text-align: center;
    max-width: 600px;
    margin: 4rem auto;
    padding: 3rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.confirmation-container h1 {
    color: #0a2540; /* --dark-blue var */
    margin-bottom: 1rem;
}

.confirmation-container p {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.6;
}

/* --- Dark Page Header for Service/Form Pages --- */
.form-page-header {
    background-color: #0a2540; /* var(--dark-blue) */
    padding: 3rem 1rem;
    text-align: center;
}

.form-page-header h1,
.form-page-header h2,
.form-page-header p {
    color: #ffffff;
}

.form-page-header .section-title::after {
    background-color: #ffc107; /* var(--secondary-color) */
}

.form-page-header .intro-text {
    opacity: 0.9;
}

/* --- Responsive Styles for Forms & Service Pages --- */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }

    .form-page-header {
        padding: 2rem 1rem;
    }

    .form-page-header h1,
    .form-page-header h2 {
        font-size: 1.8rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-control,
    .btn-submit {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .confirmation-container h1,
    .confirmation-container h2 {
        font-size: 1.8rem;
    }

    .confirmation-container p {
        font-size: 1rem;
    }
}
