/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

header#header {
    border-bottom: 2px solid #2c7cbe;
}

div#top-bar .flex-left {
    min-width: 50%;
}

div#top-bar .flex-center {
    display: none !important;
}

ul#header-contact .icon-phone~span {
    font-size: 16px;
    font-weight: 700;
    color: var(--fs-color-secondary);
}

.sec-service .box.has-hover {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.row-star .icon-box-img {
    border: 1px solid #999;
    padding: 15px;
    border-radius: 80px;
    width: 80px;
    height: 80px;
}

.br-box-10 img {
    border-radius: 10px;
}
.achievements-block {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1574cc, #0c4a8a);
    padding: 40px 20px;
    border-radius: 8px;
    margin: 30px 0;
    color: #ffffff;
    text-align: center;
}
.achievement-item {
    flex: 1;
    min-width: 150px;
    margin: 15px;
}
.achieve-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}
.achieve-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .achievements-block { flex-direction: column; }
}
.process-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}
.process-step {
    flex: 1;
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 6px;
    border-top: 4px solid #1574cc;
    text-align: center;
    box-shadow: 0 4px 6px rgba0,0,0,0.05;
    transition: transform 0.3s ease;
}
.process-step:hover {
    transform: translateY(-5px);
}
.step-icon {
    width: 50px;
    height: 50px;
    background: #1574cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
}
.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}
.process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .process-container { flex-direction: column; }
}
.commitments-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.commitment-card {
    border: 1px solid #e1e1e1;
    padding: 25px;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.commitment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #1574cc;
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #1574cc;
    margin-bottom: 12px;
}
.commitment-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f7ff;
    border-left: 6px solid #1574cc;
    padding: 30px;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
    box-sizing: border-box;
}
.cta-content {
    flex: 2;
    padding-right: 20px;
}
.cta-content h2 {
    margin: 0 0 10px 0 !important;
    font-size: 22px;
    color: #0c4a8a;
}
.cta-content p {
    margin: 0 !important;
    color: #555;
    font-size: 15px;
}
.cta-action {
    flex: 1;
    text-align: right;
}
.cta-button-phone {
    display: inline-block;
    background: #1574cc;
    color: #ffffff !important;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(21, 116, 204, 0.3);
    transition: background 0.3s ease;
}
.cta-button-phone:hover {
    background: #0c4a8a;
}
@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .cta-content {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .cta-action {
        text-align: center;
        width: 100%;
    }
}

/* Khung bọc ngoài của form */
.custom-form-container {
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #fff;
}

/* Các hàng trong form */
.form-row {
    margin-bottom: 15px;
}

/* Định dạng chung cho các ô input và textarea */
.custom-form-container input[type="text"],
.custom-form-container input[type="email"],
.custom-form-container input[type="tel"],
.custom-form-container textarea {
    width: 100% !important;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0px;
    /* Chỉnh thành 4px nếu muốn bo góc nhẹ */
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    margin-bottom: 0;
}

.custom-form-container textarea {
    height: 75px;
    min-height: 70px;
}

/* Chia 2 cột cho dòng Email & Số điện thoại */
.split-row {
    display: flex;
    gap: 15px;
    /* Khoảng cách giữa 2 cột */
}

.split-row .form-col {
    flex: 1;
}

/* Hàng chứa nút Submit (Căn phải) */
.submit-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

/* Định dạng nút GỬI ĐI */
.custom-form-container input[type="submit"] {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 30px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    line-height: 1.5;
}

/* Hiệu ứng khi rê chuột vào nút */
.custom-form-container input[type="submit"]:hover {
    background-color: #fff;
    color: #1574cc;
    box-shadow: none;
}
.custom-form-container .wpcf7-spinner {
    float: left;
}
.widget-area .form-row.split-row {
    flex-direction: column;
}
.widget-area .custom-form-container {
    padding: 10px;
    border: 1px solid #eee;
    background: #f5f5f5;
}
.widget-area .custom-form-container input[type="submit"] {
    border: 2px solid #2c7cbf;
    color: #2c7cbf;
}
/* Hỗ trợ hiển thị mượt mà trên điện thoại */
@media (max-width: 600px) {
    .split-row {
        flex-direction: column;
        gap: 15px;
    }
}