/* BT CSS Manager | Module #4146 | BT Card System */
/* ==========================================
   BT MARKETING - CARD SYSTEM V1.2
   Flatsome UX Builder
   ========================================== */

/* Row chứa Card */
.row.bt-card-row {
    align-items: stretch;
}

/* Giữ nguyên padding và grid của Flatsome */
.row.bt-card-row > .col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Card cân bằng chiều cao */
.row.bt-card-row > .col > .col-inner {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    background: #fff;
    border: 1px solid rgba(10,42,74,.08);
    border-radius: 10px;

    box-shadow: 0 4px 14px rgba(10,42,74,.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

/* Hover desktop */
@media (hover: hover) and (pointer: fine) {
    .row.bt-card-row > .col > .col-inner:hover {
        transform: translateY(-4px);
        border-color: rgba(0,174,239,.3);
        box-shadow: 0 10px 24px rgba(10,42,74,.14);
    }
}

/* Click / Tap */
.row.bt-card-row > .col > .col-inner:active {
    transform: translateY(-1px) scale(.99);
    transition-duration: .1s;
}

/* Mobile */
@media (max-width: 849px) {
    .row.bt-card-row > .col > .col-inner {
        border-radius: 8px;
    }
}

/* Giảm chuyển động nếu người dùng yêu cầu */
@media (prefers-reduced-motion: reduce) {
    .row.bt-card-row > .col > .col-inner {
        transition: none;
    }
}

/* =========================================
   BT CARD V1.2 - FIX CONTENT SPACING
   ========================================= */

/* Khoảng đệm bên trong card */
.row.bt-card-row > .col > .col-inner {
    padding: 22px 24px !important;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

/* Khoảng cách giữa các phần tử */
.row.bt-card-row > .col > .col-inner > :last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 849px) {
    .row.bt-card-row > .col > .col-inner {
        padding: 18px 20px !important;
    }
}
/* BT CSS Manager | Module #4147 | Accordion Style Global */
/* ==
   BT MARKETING – GLOBAL ACCORDION STYLE
   Áp dụng cho toàn bộ Accordion của Flatsome
   =============================================== */

:root {
    --bt-acc-primary: #0875bd;
    --bt-acc-primary-dark: #004b7d;
    --bt-acc-bg: #f3f6f8;
    --bt-acc-bg-active: #dceef9;
    --bt-acc-content-bg: #f7fbfe;
    --bt-acc-text: #1f2933;
    --bt-acc-radius: 12px;
}


/* Khoảng cách giữa các mục */
.accordion .accordion-item {
    position: relative;
    margin-bottom: 14px;
    border: 0;
    border-radius: var(--bt-acc-radius);
    background: var(--bt-acc-bg);
    overflow: hidden;
    box-shadow: none;
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* Tiêu đề Accordion */
.accordion .accordion-title {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    margin: 0;
    padding: 14px 58px 14px 30px;
    border: 0 !important;
    background: transparent;
    color: var(--bt-acc-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}


/* Hover khi Accordion đang đóng */
.accordion .accordion-title:not(.active):hover {
    color: var(--bt-acc-primary-dark);
    background: #edf3f0;
}


/* Trạng thái đang mở */
.accordion .accordion-title.active {
    color: var(--bt-acc-primary-dark);
    background: var(--bt-acc-bg-active);
}


/* Làm nổi toàn bộ mục đang mở */
.accordion .accordion-item:has(.accordion-title.active) {
    background: var(--bt-acc-content-bg);
    box-shadow: 0 8px 24px rgba(0, 79, 44, 0.08);
}


/* =====    ICON DẤU CỘNG / DẤU TRỪ ===== */

/* Đưa nút icon sang bên phải */
.accordion .accordion-title .toggle {
    position: absolute;
    top: 50%;
    right: 20px;
    left: auto;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    transform: translateY(-50%);
}


/* Ẩn icon mặc định của Flatsome */
.accordion .accordion-title .toggle i {
    display: none !important;
}


/* Hai nét tạo thành dấu cộng */
.accordion .accordion-title .toggle::before,
.accordion .accordion-title .toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: var(--bt-acc-primary);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        background-color 0.25s ease;
}


/* Nét ngang */
.accordion .accordion-title .toggle::before {
    width: 18px;
    height: 2px;
}


/* Nét dọc */
.accordion .accordion-title .toggle::after {
    width: 2px;
    height: 18px;
}


/* Khi mở: ẩn nét dọc, dấu cộng thành dấu trừ */
.accordion .accordion-title.active .toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}


/* ===    PHẦN NỘI DUNG XỔ XUỐNG    ====== */

.accordion .accordion-inner {
    padding: 17px 30px 22px;
    border: 0;
    background: var(--bt-acc-content-bg);
    color: var(--bt-acc-text);
    font-size: 15px;
    line-height: 1.75;
}


/* Không tạo khoảng trắng thừa ở đầu và cuối */
.accordion .accordion-inner > *:first-child {
    margin-top: 0;
}

.accordion .accordion-inner > *:last-child {
    margin-bottom: 0;
}


/* Danh sách bên trong Accordion */
.accordion .accordion-inner ul {
    margin: 4px 0 8px;
    padding-left: 20px;
}

.accordion .accordion-inner li {
    margin-bottom: 7px;
}


/* Link dịch vụ con */
.accordion .accordion-inner a {
    color: var(--bt-acc-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.accordion .accordion-inner a:hover {
    color: var(--bt-acc-primary-dark);
}


/* ===    MOBILE  =============== */

@media (max-width: 849px) {

    .accordion .accordion-item {
        margin-bottom: 11px;
        border-radius: 10px;
    }

    .accordion .accordion-title {
        min-height: 50px;
        padding: 13px 48px 13px 18px;
        font-size: 15px;
        line-height: 1.4;
    }

    .accordion .accordion-title .toggle {
        right: 14px;
    }

    .accordion .accordion-title .toggle::before {
        width: 16px;
    }

    .accordion .accordion-title .toggle::after {
        height: 16px;
    }

    .accordion .accordion-inner {
        padding: 14px 18px 19px;
        font-size: 14.5px;
        line-height: 1.7;
    }
}
/* ====== CLOSE  ACCORDION ========================= */
/* BT CSS Manager | Module #4148 | BT Contact Form v1.0 */
/* ==========================================
   BT MARKETING – CONTACT FORM GLOBAL V1.1
   WordPress / Flatsome / Contact Form 7
   Scope: .bt-contact-form
   ========================================== */

/* 01. FORM CONTAINER */

.bt-contact-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 02. FORM ROW */

.bt-contact-form .bt-form-row {
    margin-bottom: 18px;
}

/* 03. LABEL */

.bt-contact-form label {
    display: block;
    margin-bottom: 0;
    color: #183553;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.bt-contact-form .bt-required {
    color: #e5484d;
}

/* 04. INPUT / TEXTAREA / SELECT */

.bt-contact-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.bt-contact-form textarea,
.bt-contact-form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin-top: 7px;
    margin-bottom: 0;
    padding: 11px 14px;

    border: 1px solid #dbe4ed;
    border-radius: 7px;

    background: #ffffff;
    color: #183553;
    box-shadow: none;

    font-size: 14px;
    line-height: 1.5;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

/* 05. INPUT HEIGHT */

.bt-contact-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
    min-height: 44px;
}

/* 06. TEXTAREA */

.bt-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* 07. FOCUS */

.bt-contact-form input:focus-visible,
.bt-contact-form textarea:focus-visible,
.bt-contact-form select:focus-visible {
    border-color: #00a6c8;
    box-shadow: 0 0 0 3px rgba(0,166,200,.10);
    outline: none;
}

/* 08. SUBMIT BUTTON */

.bt-contact-form .bt-form-submit {
    margin-top: 22px;
}

.bt-contact-form input[type="submit"],
.bt-contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    margin: 0;
    padding: 12px 28px;

    border: 0;
    border-radius: 7px;

    background: #07538a;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    cursor: pointer;

    transition:
        background-color .2s ease,
        transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .bt-contact-form input[type="submit"]:hover,
    .bt-contact-form button[type="submit"]:hover {
        background: #008eaf;
    }
}

/* 09. CONTACT FORM 7 */

.bt-contact-form .wpcf7-spinner {
    vertical-align: middle;
}

.bt-contact-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #dc3545;
    font-size: 12px;
    line-height: 1.5;
}

/* Validation response */

.wpcf7 form.bt-contact-form .wpcf7-response-output,
.bt-contact-form.wpcf7 form .wpcf7-response-output,
.bt-contact-form .wpcf7 form .wpcf7-response-output,
.bt-contact-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 16px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.6;
}

/* 10. MOBILE */

@media (max-width: 549px) {

    .bt-contact-form .bt-form-row {
        margin-bottom: 16px;
    }

    .bt-contact-form input[type="submit"],
    .bt-contact-form button[type="submit"] {
        max-width: 100%;
    }

}

/* 11. REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .bt-contact-form input,
    .bt-contact-form textarea,
    .bt-contact-form select,
    .bt-contact-form button {
        transition: none;
    }

}

/* ==========================================
   BT CONTACT FORM - FIX SELECT V1.1.1
   Flatsome Compatibility
   ========================================== */

.bt-contact-form select {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 46px;
    min-height: 46px;

    padding: 0 38px 0 14px;
    margin-top: 7px;
    margin-bottom: 0;

    line-height: normal;
    box-sizing: border-box;

    background-color: #ffffff;
    background-position: right 12px center;

    vertical-align: middle;
    appearance: auto;
    -webkit-appearance: auto;
}

/* Mobile */
@media (max-width: 549px) {
    .bt-contact-form select {
        height: 46px;
        min-height: 46px;
        font-size: 14px;
    }
}

/* BT Contact Form – Select Placeholder */

.bt-contact-form select:invalid {
    color: #98a2b3;
}

.bt-contact-form select:valid {
    color: #183553;
}

.bt-contact-form select option {
    color: #183553;
    background-color: #ffffff;
}

.bt-contact-form select option:disabled {
    color: #98a2b3;
}
