/* ===========================================
   CONTACT PAGE STYLES
   =========================================== */

/* --- Page Banner --- */
.page-banner--contact {
    background-image: linear-gradient(rgba(28, 37, 57, 0.8), rgba(28, 37, 57, 0.8)), url('../../images/contact/banner-contact.jpg'); /* Fallback */
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    margin-bottom: 0;
    color: var(--color-white);
    text-align: center;
}

/* --- Contact Section --- */
.contact-section {
    padding: 3rem;
    background-color: var(--color-white);
}

.contact-section .row {
    align-items: center;
}

/* --- Contact Info Cards (Left) --- */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: var(--color-heading-1);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}

.contact-card:hover,
.contact-card:active,
.contact-card.touched {
    transform: translateY(-5px) scale(1.02);
    background: var(--color-secondary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-white);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon,
.contact-card:active .contact-icon,
.contact-card.touched .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-details h5 {
    font-size: 18px;
    font-weight: var(--p-bold);
    color: var(--color-white);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.4s ease;
}

.contact-details a:hover,
.contact-details a:active {
    color: var(--color-white);
}

/* Clickable contact cards */
a.contact-card {
    text-decoration: none;
    cursor: pointer;
}

.contact-details span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* --- Contact Form (Right) --- */
.contact-form-wrapper {
    background: var(--color-primary);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
}

.contact-form-title {
    font-size: 28px;
    font-weight: var(--p-bold);
    color: var(--color-white);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    height: 55px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 15px;
    color: var(--color-white);
    transition: all 0.4s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

textarea.form-control {
    height: 150px;
    padding: 20px;
    resize: none;
}

/* Form Submit Button */
.btn-form {
    width: 100%;
    height: 55px;
    background: var(--color-white);
    color: var(--color-secondary);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-form:hover,
.btn-form:active {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(5px) scale(1.05);
}

/* --- Map Section --- */
.map-section {
    padding: 3rem;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .contact-section {
        padding: 2rem 1rem;
    }

    .contact-info-wrapper {
        margin-bottom: 0;
        gap: 20px;
    }

    .contact-form-wrapper {
        margin-bottom: 40px;
        padding: 30px 20px;
    }

    .contact-card {
        padding: 20px;
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-details h5 {
        font-size: 16px;
    }

    .contact-details p,
    .contact-details a,
    .contact-details span {
        font-size: 14px;
    }

    .form-control {
        height: 50px;
        font-size: 14px;
    }

    textarea.form-control {
        height: 120px;
    }

    .btn-form {
        height: 50px;
        font-size: 16px;
    }

    .map-section {
        padding: 2rem 1rem;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .contact-section {
        padding: 1.5rem 0.75rem;
    }

    .contact-info-wrapper {
        gap: 15px;
    }

    .contact-card {
        padding: 15px;
        gap: 12px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .map-section {
        padding: 1.5rem 0.75rem;
    }

    .map-container {
        height: 280px;
        border-radius: var(--radius-md);
    }
}
