/* ======================================================= */
/* ====== EXACT CONTACT SECTION CSS ====================== */
/* ======================================================= */

.contact-section {
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 4rem 0; /* py-16 */
}
@media (min-width: 640px) { /* sm:py-20 */
    .contact-section {
        padding: 5rem 0;
    }
}

.contact-container {
    /* width: 100%; */
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem; /* px-4 */
}

/* --- Section Title --- */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}
.title-underline {
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #2563eb;
}

/* --- Main Card --- */
.contact-card {
    max-width: 72rem; /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* shadow-lg */
    padding: 2rem; /* p-8 */
}
@media (min-width: 640px) { /* sm:p-12 */
    .contact-card {
        padding: 3rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem; /* gap-12 */
}
@media (min-width: 1024px) { /* lg:grid-cols-2 */
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- Form Styling --- */
.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
}
.form-label {
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
}
.form-input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.5rem;
    color: black;
    padding: 0.75rem 1rem; /* px-4 py-3 */
    background-color: white;
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3b82f6; /* focus:ring-2 focus:ring-blue-500 */
    border-color: #3b82f6;
}
.input-error {
    border-color: #ef4444; /* border-red-500 */
}
.input-error:focus {
    box-shadow: 0 0 0 2px #ef4444;
    border-color: #ef4444;
}

/* --- Message Styling --- */
.error-message {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc2626; /* text-red-600 */
}
.success-message {
    background-color: #dcfce7; /* green-100 */
    color: #166534; /* green-800 */
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #86efac; /* green-300 */
    text-align: center;
}
.error-message.general-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #fca5a5;
    text-align: center;
}

.submit-button {
    width: 100%;
    padding: 0.75rem 0;
    background-color: #2563eb; /* bg-blue-600 */
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.submit-button:hover {
    background-color: #1d4ed8; /* hover:bg-blue-700 */
}

/* --- Info Panel Styling --- */
.info-panel {
    background-color: #f9fafb; /* bg-gray-50 */
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}
.info-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.info-details h4 {
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}
.info-details p {
    color: #4b5569;
    margin: 0;
}