/* contact.css */

/* --- Hero Section for Contact Page --- */
.contact-page-content .hero-section {
    background-color: #F5F7FA; /* Light Grey background */
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure no overflow from animations */
}

.contact-page-content .hero-container {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInSlideUp 1s ease-out forwards; /* Apply animation to hero container */
}

.contact-page-content .hero-headline {
    font-size: 48px;
    color: #1A2E49; /* Navy Blue */
    margin-bottom: 20px;
}

.contact-page-content .hero-description {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* Keyframe Animation for Hero Section (consistent with other pages) */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* contact.css */

/* ... (previous contact.css content) ... */

/* --- Contact Info & Form Section --- */
.contact-info-form-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info on left, Form on right */
    gap: 60px; /* Space between info and form */
    align-items: start; /* Align content to the top */
}

.contact-details {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-details .section-heading {
    margin-top: 0; /* Remove top margin for consistency */
    margin-bottom: 30px;
    color: #1A2E49;
    text-align: left; /* Ensure heading within contact-details is left-aligned */
}

.info-item {
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
    margin-bottom: 25px;
    font-size: 18px;
    color: #2E2E2E;
}

.info-item:last-of-type {
    margin-bottom: 0;
}

.info-icon-wrapper { /* Wrapper for icons */
    width: 40px; /* Slightly larger icon wrapper */
    height: 40px;
    margin-right: 15px;
    flex-shrink: 0;
    background-color: #4A90E2; /* Sky Blue background */
    border-radius: 50%; /* Circular shape */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.info-icon-wrapper img { /* Style the actual icon inside the wrapper */
    width: 60%; /* Adjust icon size to fit */
    height: 60%;
    filter: brightness(0) invert(1); /* Make icons white */
}


.info-item p {
    margin-bottom: 0; /* Remove default paragraph margin */
    align-self: center; /* Vertically center paragraph text with the icon */
}

.info-item a {
    color: #4A90E2;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.social-media {
    margin-top: 40px;
    border-top: 1px solid #E0E0E0;
    padding-top: 30px;
    text-align: center; /* Center content in social media section */
}

.social-media h3 {
    font-size: 20px;
    color: #1A2E49;
    margin-bottom: 20px;
}

.social-media-icons { /* Wrapper for social icons */
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between icons */
}

.social-media a {
    transition: transform 0.3s ease, filter 0.3s ease; /* Added filter transition */
}

.social-media a:hover {
    transform: translateY(-5px); /* Slightly more lift */
    filter: brightness(1.1); /* Slightly brighter on hover */
}

.social-media img {
    width: 40px; /* Slightly larger social icons */
    height: 40px;
    filter: grayscale(100%) brightness(0) invert(1) opacity(0.8); /* Make icons white & subtle */
    transition: filter 0.3s ease;
}

.social-media a:hover img {
    filter: grayscale(0%) brightness(1) invert(0) opacity(1); /* Color on hover */
}


.contact-form-container {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-container .section-heading {
    margin-top: 0; /* Remove top margin */
    margin-bottom: 30px;
    color: #1A2E49;
    text-align: center; /* Center the heading within the form container */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #1A2E49;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Inputs and textareas styling is mostly handled by global.css */
.contact-form button.btn-primary {
    /* Updated: Center the button */
    width: 100%; /* Make button take full width for better alignment with inputs */
    max-width: 200px; /* Limit its maximum width for aesthetics */
    padding: 12px 30px;
    font-size: 18px;
    display: block; /* Make it a block element to use auto margins */
    margin: 20px auto 0 auto; /* Center horizontally with top margin */
    float: none; /* Remove float to allow margin auto to work */
}

#formStatus {
    font-size: 16px;
    font-weight: 600;
    text-align: center; /* Center status message */
    clear: both; /* Ensure it clears any previous floats */
    padding-top: 15px;
}

/* --- Map Section --- */
.map-section {
    padding: 80px 0;
    background-color: #F5F7FA;
}

.map-section .section-heading {
    margin-bottom: 50px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden; /* Ensures iframe corners are rounded */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block; /* Remove extra space below iframe */
}


/* --- Responsive Adjustments for Contact Page --- */
@media (max-width: 992px) {
    .contact-page-content .hero-headline {
        font-size: 42px;
    }
    .contact-page-content .hero-description {
        font-size: 18px;
    }
    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets */
        gap: 40px;
    }
    .contact-details,
    .contact-form-container {
        padding: 30px;
    }
    .contact-form button.btn-primary {
        /* Already handled by new desktop styles, but ensuring consistency */
        float: none; /* Remove float */
        display: block;
        margin: 20px auto 0 auto; /* Center button */
    }
    #formStatus {
        text-align: center;
    }
    .contact-details .section-heading {
        text-align: center; /* Center contact info heading on mobile */
    }
    .contact-form-container .section-heading {
        text-align: center; /* Ensure form heading is centered on mobile */
    }
}

@media (max-width: 768px) {
    .contact-page-content .hero-section,
    .contact-info-form-section,
    .map-section {
        padding: 50px 0;
    }
    .contact-page-content .hero-headline {
        font-size: 36px;
    }
    .contact-page-content .hero-description {
        font-size: 16px;
    }
    .contact-details .section-heading,
    .contact-form-container .section-heading,
    .map-section .section-heading {
        font-size: 28px;
    }
    .info-item {
        font-size: 16px;
    }
    .social-media img {
        width: 35px; /* Adjust size for mobile if needed */
        height: 35px;
    }
}

@media (max-width: 480px) {
    .contact-page-content .hero-headline {
        font-size: 30px;
    }
    .contact-details,
    .contact-form-container {
        padding: 25px;
    }
    .social-media img {
        width: 30px;
        height: 30px;
    }
}