/* Contact Page Container */
.contact-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Contact Information Banner */

.contact-item strong {
    color: #fff;
}

.contact-item a {
    font-weight: 600;
}

/* Form Card */
.card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}


/* Success and Error Messages */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.required {
    color: #dc3545;
}

.form-note {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
    font-style: italic;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    font-weight: normal;
    margin: 0;
    border-radius: 4px;
}

.checkbox-label:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-label span {
    user-select: none;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.1);
}

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

/* Submit Button */
.submit-button {
    background-color: var(--color-black);
    color: white;
    border: 1px solid var(--color-black);
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.submit-button:hover {
    background-color: white;
    color: var(--color-black);
    border: 1px solid var(--color-black);
}


/* Back Link */
.back-link {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.back-link a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 1.5rem;
        margin: 1.5rem auto;
    }

    .contact-info-banner {
        padding: 1.5rem;
    }

    .contact-info-banner h1 {
        font-size: 1.75rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .contact-info-banner {
        padding: 1.25rem;
    }

    .contact-info-banner h1 {
        font-size: 1.5rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }

    .submit-button {
        padding: 0.75rem 1.5rem;
    }
}
