.contact-section .section-subtitle {
    font-size: 1.1em;
    margin-top: -20px;
    margin-bottom: 50px;
    color: #666;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: left;
}

.contact-info-column,
.contact-form-column {
    flex: 1;
    min-width: 300px; /* Prevent columns from getting too narrow */
}

.contact-info-column h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-top: 20px;
}
.contact-info-column h3:first-of-type {
    margin-top: 0;
}

.contact-info-column .contact-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
}

.contact-info-column p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

.contact-details-list {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.contact-details-list li i {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-right: 15px;
    width: 25px; /* Ensure alignment */
    text-align: center;
}

.contact-details-list li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details-list li a:hover {
    color: var(--primary-color);
}

.contact-icons {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.contact-icon {
    font-size: 2em;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form-container {
    max-width: 100%; /* Take full width of its column */
    margin: 0;
    background-color: transparent; /* No background needed */
    padding: 0; /* No padding needed */
    border-radius: 0;
    box-shadow: none; /* No shadow needed */
    text-align: left;
}

.contact-form-container h3 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.contact-form-container button {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none; /* Hidden by default */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.form-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Responsive Styles for Contact Section */
@media (max-width: 820px) {
    .contact-wrapper {
        flex-direction: column;
    }
}