.contact-padding {
    padding: 60px 0;
}

.contact-white {
    background:#a2ceee;
}

.contact-white .text-content.about-text-white,
.contact-white .about-subtitle {
    color: #000000;
}

.contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-center {
    text-align: center;
}

.contact-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.contact-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background:  #155da9;
    border-radius: 2px;
}

.contact-gradient-blue {
    background:  #04448e;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.footer-top-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: rgb(0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.map-and-logo-container {
    position: relative;
    width: 50%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.ph-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
    height: auto;
    opacity: 0.3;
    filter: invert(100%);
    pointer-events: none;
    z-index: 1;
}

.footer-brand-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid white;
    position: relative;
    z-index: 3;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.location-details {
    text-align: left;
    flex-grow: 1;
    z-index: 4;
}

.location-heading {
    font-size: 1.7em;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.location-address {
    font-size: 1em;
    line-height: 1.6;
}

.contact-info-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.phone-button {
    background-color: #2b8bcb;
}

.phone-button:hover {
    background-color: #0f4b72;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.email-button {
    background-color: #2b8bcb;
}

.email-button:hover {
    background-color: #0f4b72;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .location-card {
        max-width: 900px;
        width: 90%;
        padding: 25px;
        gap: 25px;
    }
    .map-and-logo-container {
        height: 200px;
    }
    .ph-map {
        width: 160%;
    }
    .footer-brand-logo {
        width: 100px;
        height: 100px;
    }
    .location-heading {
        font-size: 1.15em;
    }
    .location-address {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .location-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 30px;
        max-width: 95%;
    }

    .map-and-logo-container {
        width: 100%;
        height: 220px;
        margin-bottom: 0;
    }

    .ph-map {
        width: 120%;
        height: 120%;
        object-fit: cover;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .footer-brand-logo {
        width: 100px;
        height: 100px;
        margin-top: 0;
        order: 3;
    }

    .location-details {
        text-align: center;
        order: 2;
    }

    .location-heading {
        font-size: 1.65em;
        font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    .location-address {
        font-size: 1.3em;
        text-align:center;
        font-size: 1em;
    }

    .contact-info-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .location-card {
        padding: 25px;
        gap: 25px;
    }

    .map-and-logo-container {
        height: 180px;
    }

    .ph-map {
        width: 130%;
        height: 130%;
    }

    .footer-brand-logo {
        width: 80px;
        height: 80px;
    }

    .contact-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}