/* Contact Section */
.contact-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.contact-image {
    flex: 0 0 auto;
    width: 50%;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    width: 75%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--overlay-dark-light);
    box-sizing: border-box;
}

.contact-text {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-text h3 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
}

.map-container {
    flex: 1;
    min-height: 400px;
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-info {
    flex: 1;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    gap: 1rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Contact Cards */

#contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    margin-top: var(--nav-height);
    padding: 2rem 0;
}


.contact-card {
    max-width: 600px;
    width: 100%;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px var(--overlay-dark-light);
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    text-align: center;
}

.contact-card h5 {
    line-height: 1.2;
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

.contact-card-text {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.contact-card-action {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
}

/* Responsive Design for Contact Cards */
@media (max-width: 1024px) and (min-width: 769px) {
    #contact-content {
        margin-top: calc(var(--nav-height) + 1rem);
        padding-top: 2rem;
        min-height: 50vh;
    }

    .contact-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    #contact-content {
        padding: 2rem 0;
        min-height: 50vh;
    }

    .contact-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .contact-card h5 {
        font-size: 1.5rem;
    }

    .contact-card-text {
        font-size: 1rem;
    }
}

