/* ================================================
   CONTACT PAGE - CUSTOM STYLES
   File: css/contact-page.css
   ================================================ */

/* ---------- Info Cards Row ---------- */
.contactPage .contactInfo {
    background: #fff;
    padding: 60px 0 40px;
}

.contactPage .contactInfo__card {
    text-align: center;
    padding: 30px 20px;
}

.contactPage .contactInfo__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #d68f36;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.30);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contactPage .contactInfo__icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.40);
}

.contactPage .contactInfo__icon i,
.contactPage .contactInfo__icon svg {
    font-size: 28px;
    color: #fff;
}

.contactPage .contactInfo__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a73e8;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contactPage .contactInfo__card p,
.contactPage .contactInfo__card address {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 6px;
    font-style: normal;
}

.contactPage .contactInfo__card strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.contactPage .contactInfo__card a.phone-link {
    color: #e53935;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contactPage .contactInfo__card a.phone-link:hover {
    opacity: 0.8;
}

.contactPage .contactInfo__card a.map-link {
    color: #e53935;
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.contactPage .contactInfo__card a.map-link:hover {
    opacity: 0.8;
}

/* Divider between info cards */
.contactPage .contactInfo__card+.contactInfo__card {
    border-left: 1px solid #e8e8e8;
}

@media (max-width: 767px) {
    .contactPage .contactInfo__card+.contactInfo__card {
        border-left: none;
        border-top: 1px solid #e8e8e8;
    }
}

/* ---------- Contact Form Section ---------- */
.contactPage .contactFormSection {
    background: #f5f5f5;
    padding: 60px 0;
}

.contactPage .contactFormSection__heading {
    text-align: center;
    margin-bottom: 32px;
}

.contactPage .contactFormSection__heading h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.contactPage .contactFormSection__heading p {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin: 0;
}

/* Form wrapper */
.contactPage .contactFormSection .contact-form-wrap {
    max-width: 760px;
    margin: 0 auto;
}

/* Form grid rows */
.contactPage .contact-form-wrap .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.contactPage .contact-form-wrap .form-row .form-col {
    flex: 1;
}

.contactPage .contact-form-wrap .form-row.full .form-col {
    flex: 1 0 100%;
}

/* Inputs */
.contactPage .contact-form-wrap input[type="text"],
.contactPage .contact-form-wrap input[type="email"],
.contactPage .contact-form-wrap input[type="tel"],
.contactPage .contact-form-wrap textarea,
.contactPage .contact-form-wrap select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.25s;
    box-sizing: border-box;
    font-family: inherit;
}

.contactPage .contact-form-wrap input:focus,
.contactPage .contact-form-wrap textarea:focus,
.contactPage .contact-form-wrap select:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.contactPage .contact-form-wrap textarea {
    height: 140px;
    resize: vertical;
}

/* Phone row with country code */
.contactPage .contact-form-wrap .phone-row {
    display: flex;
    gap: 0;
}

.contactPage .contact-form-wrap .phone-code-select {
    width: 130px;
    flex-shrink: 0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23888' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center;
    appearance: none;
    padding-right: 24px;
    cursor: pointer;
}

.contactPage .contact-form-wrap .phone-input {
    flex: 1;
    border-radius: 0 4px 4px 0;
}

/* Submit button */
.contactPage .contact-form-wrap .form-submit {
    text-align: center;
    margin-top: 24px;
}

.contactPage .contact-form-wrap .btn-submit {
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 13px 44px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.35);
}

.contactPage .contact-form-wrap .btn-submit:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.45);
}

.contactPage .contact-form-wrap .btn-submit:active {
    transform: translateY(0);
}

/* ---------- Office List Section ---------- */
.contactPage .contactOffices {
    background: #eef2f7 url('') no-repeat center / cover;
    padding: 50px 0 60px;
    position: relative;
}

/* Subtle world-map watermark feel via a light overlay - bạn có thể thêm bg-image */
.contactPage .contactOffices::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(238, 242, 247, 0.88);
    pointer-events: none;
}

.contactPage .contactOffices .container {
    position: relative;
    z-index: 1;
}

.contactPage .contactOffices__item {
    padding: 0 20px;
}

.contactPage .contactOffices__item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}

.contactPage .contactOffices__item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contactPage .contactOffices__item ul li {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 0;
}

.contactPage .contactOffices__item ul li strong {
    font-weight: 700;
    color: #222;
}

.contactPage .contactOffices__item ul li a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s;
}

.contactPage .contactOffices__item ul li a:hover {
    color: #1558b0;
    text-decoration: underline;
}

/* Dividers between office columns */
.contactPage .contactOffices__item+.contactPage .contactOffices__item {
    border-left: 1px solid #d0d7e3;
}

@media (max-width: 991px) {
    .contactPage .contactOffices__item {
        border-left: none;
        border-top: 1px solid #d0d7e3;
        padding-top: 20px;
    }

    .contactPage .contactOffices__item:first-child {
        border-top: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .contactPage .contactInfo {
        padding: 40px 0 20px;
    }

    .contactPage .contactFormSection {
        padding: 40px 0;
    }

    .contactPage .contact-form-wrap .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .contactPage .contactOffices {
        padding: 30px 0 40px;
    }
}

/* ---------- CF7 Override (nếu dùng CF7) ---------- */
.contactPage .wpcf7-form .wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

.contactPage .wpcf7-form input[type="text"],
.contactPage .wpcf7-form input[type="email"],
.contactPage .wpcf7-form input[type="tel"],
.contactPage .wpcf7-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.25s;
    box-sizing: border-box;
}

.contactPage .wpcf7-form input:focus,
.contactPage .wpcf7-form textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.contactPage .wpcf7-form textarea {
    height: 140px;
    resize: vertical;
}

.contactPage .wpcf7-form input[type="submit"] {
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 13px 44px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.35);
    display: block;
    margin: 24px auto 0;
}

.contactPage .wpcf7-form input[type="submit"]:hover {
    background: #c62828;
    transform: translateY(-2px);
}

/* ── Google Map ── */
.contactPage .contactMap {
    margin-bottom: 0;
    line-height: 0;
}

.contactPage .map-responsive {
    overflow: hidden;
    padding-bottom: 450px;
    position: relative;
    height: 0;
}

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

.footer__logo img {
    width: auto !important;
    height: auto !important;
}

@media (max-width: 767px) {
    .contactPage .map-responsive {
        padding-bottom: 300px;
    }
}