/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(rgba(50, 177, 184, 0.7), rgba(50, 177, 184, 0.7)), url('../images/contact_hero_bg.jpg') no-repeat center center/cover; /* Teal overlay */
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px; /* To account for sticky header */
}

.contact-hero h1 {
    color: var(--white);
    font-size: 3em;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 1.2em;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.contact-form-container {
    flex: 2; /* Takes more space */
    min-width: 350px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-form .submit-button {
    background-color: var(--teal);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.contact-form .submit-button:hover {
    background-color: var(--dark-blue);
}

.contact-info-container {
    flex: 1; /* Takes less space than form */
    min-width: 280px;
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info-container h3 {
    color: var(--dark-blue);
    margin-bottom: 25px;
}

.info-item {
    display: flex; /* Aligns icon and text */
    align-items: flex-start; /* Aligns items to the top */
    margin-bottom: 20px;
}

.info-item i {
    color: var(--teal);
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.info-item p {
    margin: 0;
    font-size: 1em;
    color: #333;
}

.info-item a {
    font-weight: bold;
}

.social-contact {
    margin-top: 30px;
    border-top: 1px solid #ccc; /* Separator line */
    padding-top: 25px;
}

.social-contact h3 {
    margin-bottom: 15px;
}

.social-contact a {
    font-size: 28px;
    margin-right: 20px;
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

.social-contact a:hover {
    color: var(--teal);
}

/* Location Map Section */
.location-map-section {
    padding: 60px 0;
    background-color: var(--black); /* Dark background for map section */
    margin-top: 50px;
    text-align: center;
}

.location-map-section .section-title {
    color: var(--white);
}

.location-map-section .section-title::after {
    background-color: var(--teal);
}

.map-embed-large {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    margin-top: 40px;
}

.map-embed-large iframe {
    width: 100%;
    min-height: 500px;
    border: 0;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5em;
    }

    .contact-grid {
        flex-direction: column; /* Stack contact form and info vertically */
    }

    .contact-form-container, .contact-info-container {
        min-width: unset;
        width: 100%;
        padding: 30px;
    }

    .map-embed-large iframe {
        min-height: 300px; /* Smaller map on mobile */
    }
}
