#home-contact {
    height: 40px;
    line-height: 40px;
    background: #000;
    margin-bottom: 15px;
    color: #fff
}

#home-contact .title {
    background: #ce0707;
    float: left;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 0 15px;
    position: relative;
    padding-right: 5px
}

#home-contact .title:after {
    content: '';
    display: block;
    width: 0;
    border: solid 20px #fff0;
    border-left-color: #ce0707;
    position: absolute;
    right: -40px;
    top: 0
}

#home-contact .marquee {
    margin-left: 250px;
    height: 40px
}


.section-title-normal {
    overflow: hidden;
    border-bottom: 2px solid #CE0707 !important;
}

.section-title-container {
    margin-bottom: 0
}

.section-title-normal span.section-title-main {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 26px;
    background: #e80104;
    color: #fff;
    border-radius: 5px 5px 0 0;
    padding: 6px 20px;
    font-weight: 700;
    position: relative;
    margin-right: 20px;
}

.section-title-normal span.section-title-main:before {
    content: '';
    display: block;
    line-height: 40px;
    background: #ffabac;
    width: 15px;
    height: 40px;
    position: absolute;
    top: 8px;
    right: 0;
    margin-right: -13px;
    transform: skewX(13deg);
    border-radius: 0 5px 0 0;
}

.section-title-normal span.section-title-main:after {
    content: '';
    display: block;
    line-height: 40px;
    background: #e80104;
    width: 18px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -7px;
    transform: skewX(21deg);
    border-radius: 0 5px 0 0;
}

.tab-custom .tab>a {
    padding: 10px;
    background-color: #ddd;

}

.tab-custom .tab.active>a {
    padding: 10px;
    background-color: #ce0707;
    color: #fff;
}

.tab-custom .tab>a::before {
    display: none;

}

/* Tổng thể khung chứa Form */
.custom-contact-form {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.custom-contact-form .wpcf7-spinner {
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Định dạng các hàng nhập liệu */
.custom-contact-form .wpcf7-form-control-wrap {
    display: block;
}

/* Định dạng Input, Select và Textarea */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="tel"],
.custom-contact-form input[type="email"],
.custom-contact-form select,
.custom-contact-form textarea {
    width: 100%;
    padding: 0px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* Đảm bảo padding không làm tràn khung */
}

/* Hiệu ứng khi click vào ô nhập liệu */
.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    background-color: #fff;
    border-color: #e80104;
    /* Đỏ chủ đạo */
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 1, 4, 0.1);
}

/* Riêng cho ô nhập nội dung */
.custom-contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* Định dạng nút Gửi (Submit) */
.custom-contact-form input[type="submit"] {
    width: 100%;
    padding: 0 15px;
    background: linear-gradient(135deg, #e80104 0%, #b80002 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-contact-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 1, 4, 0.4);
}

.custom-contact-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Thông báo lỗi và thành công */
.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #dc3545;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 0px !important;
    border-radius: 8px !important;
    border: 2px solid #dc3545 !important;
    font-size: 14px;
    text-align: center;
}

/* TỔNG THỂ FOOTER */
#footer {
    background-color: #1a1a1a;
    /* Màu nền tối sang trọng */
    color: #cccccc;
    padding-top: 50px;
    border-top: 4px solid #e80104;
    /* Thanh màu chủ đạo trên cùng */
}

/* TIÊU ĐỀ CÁC CỘT */
#footer h4 {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Đường gạch chân dưới tiêu đề cho chuyên nghiệp */
#footer h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e80104;
    /* Màu nhấn */
}

/* DANH SÁCH LIÊN KẾT */
#footer ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

#footer ul li {
    margin-bottom: 12px;
    margin-left: 0;
    transition: transform 0.3s ease;
}

#footer ul li a {
    color: #bbbbbb;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Hiệu ứng khi di chuột vào link */
#footer ul li a:hover {
    color: #e80104 !important;
    padding-left: 8px;
    /* Dịch sang phải một chút */
}

/* Thêm icon mũi tên nhỏ trước mỗi link nếu muốn */
#footer ul li a::before {
    content: "›";
    margin-right: 8px;
    color: #e80104;
    font-weight: bold;
}

/* PHẦN CHÂN TRANG (COPYRIGHT) */
.absolute-footer {
    background-color: #111111 !important;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-footer {
    font-size: 14px;
    color: #888888;
}

.copyright-footer strong {
    color: #e80104;
}

/* NÚT BACK TO TOP (LÊN ĐẦU TRANG) */
#top-link {
    background-color: #e80104;
    border: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#top-link:hover {
    background-color: #b80002;
    transform: translateY(-3px);
}

/* TỐI ƯU TRÊN DI ĐỘNG */
@media (max-width: 549px) {
    #footer .col {
        margin-bottom: 30px;
        text-align: left;
    }

    #footer h4::after {
        left: 0;
    }
}