/* ======================= Contact Page: Page Header ======================= */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1602941525421-8f8b81d3edbb?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 3.5rem;
}

/* ======================= Contact Page: Main Section (NEW LAYOUT) ======================= */
.contact-map-wrapper {
    position: relative; /* This is the key for positioning the info box */
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info-box {
    position: absolute; /* Places the box on top of the wrapper */
    top: 40px;
    left: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Creates a modern "frosted glass" effect */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    max-width: 400px;
    z-index: 10;
}

.contact-info-box h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}
.contact-info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info-item a:hover {
    color: var(--primary-color);
}

/* ======================= Responsive adjustments for Contact Page ======================= */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-map-wrapper {
        height: auto; /* Let height be determined by content */
        display: flex;
        flex-direction: column;
    }

    .contact-info-box {
        position: static; /* Un-float the box */
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        background-color: #fff;
    }

    .contact-map-wrapper iframe {
        height: 400px;
        order: -1; /* Puts the map on top on mobile */
    }
}