/* ==========================================================================
   CSS THÊM VÀO cho Trang Liên Hệ (Dán vào cuối style.css)
   ========================================================================== */

/* == Contact Banner == */
.t-contact-banner {
    background: linear-gradient(135deg, var(--t-secondary-color) 0%, #d15b1f 100%);
    /* Gradient màu */
    color: var(--t-light-color);
    padding: 60px 15px;
    /* Giảm padding, thêm padding ngang */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.t-contact-banner::before {
    /* Pattern nhẹ */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.t-contact-banner-content {
    /* Cần container riêng cho nội dung banner */
    position: relative;
    z-index: 1;
}

.t-contact-banner-title {
    font-size: 36px;
    /* Chỉnh lại size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--t-light-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.t-contact-banner-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s;
    /* Delay animation */
    animation-fill-mode: backwards;
    /* Giữ trạng thái bắt đầu */
}

.t-contact-banner .t-btn {
    padding: 12px 28px;
    /* Chỉnh lại padding */
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease-out 0.4s;
    animation-fill-mode: backwards;
    position: relative;
    overflow: hidden;
}

.t-contact-banner .t-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Bỏ hiệu ứng ::after nếu không cần */

/* == Contact Main Section (Info/Form) == */
.t-contact-main-section {
    background-color: #f9f9f9;
}

.t-contact-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    /* Khoảng cách giữa 2 cột */
    margin-top: 0;
    /* Bỏ margin top nếu đã có heading chung */
}

.t-contact-column-info,
.t-contact-column-form {
    flex: 1;
    min-width: 300px;
}

/* Style cho card */
.t-contact-card {
    background: var(--t-light-color);
    border-radius: 8px;
    /* Bo góc ít hơn */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    padding: 30px;
    height: 100%;
    border: 1px solid #eee;
    /* Viền nhẹ hơn */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.t-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.t-contact-card::after {
    /* Bỏ thanh ngang màu ở trên */
    display: none;
}


.t-contact-section-heading {
    text-align: center;
    font-size: 26px;
    /* Chỉnh size heading */
    font-weight: 700;
    color: var(--t-secondary-color);
    margin-bottom: 30px;
    /* Khoảng cách dưới */
    position: relative;
    padding-bottom: 15px;
}

.t-contact-section-heading::after {
    /* Gạch chân */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--t-primary-color);
    border-radius: 3px;
}

/* == Contact Info Column == */
.t-contact-info-item {
    display: flex;
    align-items: flex-start;
    /* Căn trên */
    margin-bottom: 20px;
    /* Giảm khoảng cách */
    font-size: 15px;
    /* Giảm font */
    padding: 10px 0;
    /* Chỉ padding top/bottom */
    border-radius: 0;
    /* Bỏ border-radius item */
}

.t-contact-info-item:hover {
    /* Bỏ hiệu ứng hover item */
    background-color: transparent;
    transform: none;
}

.t-contact-icon {
    color: var(--t-primary-color);
    font-size: 20px;
    /* Giảm size icon */
    margin-right: 15px;
    margin-top: 3px;
    /* Chỉnh vị trí dọc */
    flex-shrink: 0;
    width: 35px;
    /* Giảm kích thước nền */
    height: 35px;
    background-color: rgba(224, 94, 26, 0.08);
    /* Nền nhạt hơn */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.t-contact-info-item:hover .t-contact-icon {
    /* Hiệu ứng hover icon */
    background-color: var(--t-primary-color);
    color: white;
    transform: scale(1.1);
}


.t-info-label {
    font-weight: 500;
    /* Giảm độ đậm */
    margin-bottom: 4px;
    color: var(--t-secondary-color);
    font-size: 16px;
}

.t-contact-info-item p {
    margin-bottom: 0;
    line-height: 1.5;
    color: #555;
}

.t-contact-info-item a {
    color: var(--t-primary-color);
    font-weight: normal;
    /* Bỏ bold */
    position: relative;
    display: inline-block;
}

.t-contact-info-item a::after {
    /* Bỏ gạch chân link */
    display: none;
}

.t-contact-info-item a:hover {
    color: var(--t-primary-dark);
    text-decoration: underline;
    /* Thêm gạch chân khi hover */
}

.t-contact-social-icons {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    /* Viền mờ hơn */
}

.t-social-links {
    display: flex;
    gap: 12px;
    /* Giảm gap */
    font-size: 20px;
    /* Giảm size icon */
}

.t-social-link {
    color: var(--t-secondary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Giảm kích thước nền */
    height: 40px;
    border-radius: 50%;
    background-color: rgba(44, 62, 80, 0.07);
}

.t-social-link:hover {
    color: white;
    background-color: var(--t-primary-color);
    transform: translateY(-3px);
    /* Giảm hiệu ứng */
    box-shadow: 0 4px 10px rgba(224, 94, 26, 0.25);
}

/* == Contact Form Area == */
.t-contact-form-placeholder {
    /* Giữ nguyên style placeholder */
    background-color: var(--t-grey-color);
    border: 2px dashed var(--t-grey-dark);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    color: #777;
}

.t-contact-form-placeholder:hover {
    border-color: var(--t-primary-color);
    background-color: rgba(241, 241, 241, 0.7);
}


/* Style cho CF7 inputs/textarea/submit (Giữ nguyên như đã cung cấp trước đó) */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--t-grey-dark);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    transition: var(--transition);
    background-color: #fff;
    font-size: 15px;
}

.wpcf7-form-control:focus {
    border-color: var(--t-primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(224, 94, 26, 0.1);
    /* Giảm shadow */
}

.wpcf7-form-control.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form-control.wpcf7-submit {
    background: var(--t-primary-color);
    /* Đổi lại thành màu đơn */
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    display: inline-block;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    text-transform: none;
    /* Bỏ uppercase */
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background: var(--t-primary-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Giảm shadow */
    transform: translateY(-2px);
}

.wpcf7-form label {
    display: block;
    margin-bottom: 6px;
    /* Giảm margin */
    font-weight: 500;
    color: var(--t-secondary-color);
    font-size: 14px;
    /* Giảm font */
}

/* == Map Section == */
.t-contact-map-section {
    padding: 0;
    line-height: 0;
}

.t-map-placeholder {
    height: 400px;
    /* Giảm chiều cao */
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #666;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
}

.t-map-placeholder::before {
    /* Bỏ pattern map */
    display: none;
}


/* Section separators */
hr.t-section-separator {
    /* Target thẻ hr */
    height: 1px;
    /* Làm mỏng hơn */
    background: var(--t-grey-dark);
    /* Màu đơn */
    margin: 60px 0;
    /* Khoảng cách trên dưới */
    border: none;
    opacity: 0.5;
}

/* Template part placeholders */
.t-template-placeholder {
    padding: 40px 20px;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    /* Đổi kiểu viền */
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    color: #777;
}

.t-template-placeholder:hover {
    background-color: #e9e9e9;
    border-color: var(--t-primary-light);
}

.t-template-placeholder p {
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
}

.t-template-placeholder p small {
    color: #999;
}

.t-template-placeholder::before {
    /* Bỏ pattern */
    display: none;
}

/* Animations (Giữ nguyên) */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* == Responsive Adjustments for Contact Page (Giữ nguyên như đã cung cấp) == */
@media (max-width: 768px) {
    .t-contact-banner {
        padding: 50px 15px;
    }

    /* Thêm padding ngang */
    .t-contact-banner-title {
        font-size: 28px;
    }

    .t-contact-banner-subtitle {
        font-size: 16px;
    }

    .t-contact-main-section {
        padding: 40px 0;
    }

    .t-contact-columns {
        gap: 0;
    }

    .t-contact-column-info,
    .t-contact-column-form {
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    .t-contact-column-form {
        margin-bottom: 0;
    }

    .t-contact-card {
        padding: 25px 20px;
    }

    /* Giảm padding card */
    .t-contact-section-heading {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .t-contact-info-item {
        padding: 5px 0;
        font-size: 14px;
    }

    .t-contact-icon {
        font-size: 18px;
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .t-info-label {
        font-size: 15px;
    }

    .t-social-link {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .t-map-placeholder {
        height: 300px;
    }

    .t-template-placeholder {
        padding: 30px 15px;
    }

    hr.t-section-separator {
        margin: 40px 0;
    }
}

@media (max-width: 480px) {
    .t-contact-banner {
        padding: 40px 15px;
    }

    .t-contact-banner-title {
        font-size: 24px;
    }

    .t-contact-banner-subtitle {
        font-size: 14px;
    }

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

    .t-map-placeholder {
        height: 250px;
    }

    hr.t-section-separator {
        margin: 30px 0;
    }
}


/* ==========================================================================
   Kết thúc CSS cho Trang Liên Hệ
   ========================================================================== */