.finance-testimonial-section {
    background: transparent;
    padding: 10px 0 10px 0;
    font-family: "Montserrat", sans-serif;
}

.blue_bg {
    background: linear-gradient(90deg, #ffffff 30%, #f5faff 50%, #e6f0fa 70%) !important;
}

.testimonial-container {
    max-width: 80%;
    margin: 0 auto;
}

.testimonial-heading {
    text-align: center;
    margin-bottom: 50px;
    color: #003087;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-carousel {
    padding: 30px;
}

.testimonial-item {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto !important;
}


.testimonial-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.client-image-wrapper {
    margin-bottom: 25px;
}

.client-image {
    width: 75px !important;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.client-image:hover {
    transform: scale(1.1);
}

.client-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #003087;
    margin-bottom: 8px;
}

.client-date {
    font-size: 1.1rem;
    color: #6c757d;
    font-style: italic;
}

.client-feedback {
    font-size: 1.03rem;
    font-weight: 450;
    color: #333;
    line-height: 1.8;
    max-width: 900px;
    text-align: justify !important;
    margin: 0 auto;
    flex-grow: 1 !important;
    overflow: visible !important;
    /* Đảm bảo nội dung không bị cắt */
}

/* Căn giữa và khoảng cách giữa các dots */
.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-stage-outer {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.owl-nav {
    display: none;
}

/* Dot đang active */
.owl-dot.active {
    transform: scale(1.2);
}


.custom-card-bg {
    background: #f8f9fa;
}

.custom-price-text {
    color: #fffffe;
    font-size: 1.8rem;
    font-weight: bold;
}

.custom-list-check li span {
    position: absolute;
    left: 0;
    color: #d4a017;
    font-size: 1.2rem;
    font-weight: bold;
}

.custom-price-text small {
    color: #ffffff !important;
}

.custom-btn-gradient {
    background: #003087;
    color: #ffffff;
}

.custom-btn-gradient:hover {
    background: #d4a017;
    color: #ffffff;
    transform: scale(1.05);
}

.btn-cta {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.custom-list-check {
    color: #ffffff;
}

.custom-list-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

#pricing-section {
    background: transparent;
    padding: 80px 0;
    margin-top: 60px;
    margin-bottom: 10px;
}

.pricing-card:hover .card-title,
.pricing-card:hover .price,
.pricing-card:hover .card-text,
.pricing-card:hover .description-list,
.pricing-card:hover .price small,
.pricing-card:hover .custom-list-check li span {
    color: #ffffff;
    /* Chuyển màu chữ sang trắng khi hover */
}

.price {
    font-size: 2.1rem;
    font-weight: 800;
    color: #003087;
    line-height: normal;
    margin-bottom: 20px;
}

.pricing-card {
    position: relative;
    border-radius: 15px;
    border: 1px solid #e6e6e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #ffffff;
    /* Đặt nền trắng làm lớp mặc định */
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Lớp phủ tối với độ trong suốt */
    z-index: 1;
    opacity: 0;
    /* Ẩn lớp phủ khi không hover */
    border-radius: 15px;
    transition: background 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #d4a017;
}

.pricing-card:hover::after {
    background: rgba(0, 0, 0, 0.6);
    /* Tăng độ tối khi hover */
    opacity: 1;
    transition: 0.3s ease-in-out;
    /* Hiện lớp phủ khi hover */
}

.pricing-card:hover img {
    opacity: 1;
    transition: 0.3s ease-in-out;
    /* Hiện ảnh nền khi hover */
}

.pricing-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    /* Ẩn ảnh nền khi không hover */
    border-radius: 15px;
}

.pricing-card:hover img {
    opacity: 0.9;
    /* Tăng độ rõ khi hover */
}

.description-list li span {
    color: #f7de00;
    font-weight: 900;
}

.description-list li {
    font-size: 1.14rem;
    font-weight: 500;
}

.description-list {
    font-size: 1rem;
    color: #181818;
    line-height: 1.64;
}

.price small {
    font-size: 1.24rem;
    color: #003087;
    font-weight: 500;
}

.card-text {
    font-size: 1.2rem;
    font-weight: 450;
    color: #252525;
    line-height: 1.6;
}

.card-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #003087;
    letter-spacing: 1px;
}

.card-body {
    position: relative;
    z-index: 2;
    /* Đặt z-index cao hơn lớp phủ để nội dung nổi lên */
    padding: 0;
    height: 100%;
}

.card-body-content {
    position: relative;
    z-index: 2;
    /* Đảm bảo nội dung luôn nổi trên lớp phủ */
    background: transparent;
    /* Lớp phủ trắng nhẹ để tăng độ rõ */
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.choose_bg {
    background: transparent;
    padding: 80px 0;
    font-family: "Montserrat", sans-serif;
}

.choose_bg p {
    margin-top: 20px;
    margin-bottom: 40px;
    color: #003087;
    font-weight: 600;
    font-size: 2.4rem;
    text-align: center;
}

.white_bg {
    background: #ffffff;
}

.white_bg .title .span {
    color: #000000 !important;
}

.brand_color {
    background: transparent;
}

.brand_color .titlepage h2 {
    color: #003087 !important;
}

.title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #003087;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.title {
    text-align: center;
    margin-bottom: 50px;
}

.titlepage h2 {
    position: relative;
    display: inline-block;
    /* để gạch căn giữa theo nội dung */
    padding-bottom: 10px;
    /* khoảng cách giữa chữ và gạch */
    text-transform: uppercase;
    /* nếu bạn muốn viết hoa */
}

.titlepage p {
    color: #1e3c72 !important;
    font-size: 1.2rem;
    font-weight: 500;
}

.titlepage h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    /* một nửa chiều rộng của h2 */
    height: 3px;
    /* độ dày gạch */
    background-color: #FFD700;
    /* màu vàng */
    border-radius: 2px;
}

.contact-title {
    background: transparent;
}

.contact-title .titlepage h2 {
    color: #053574 !important;
    font-size: 45px !important;
    font-weight: 700;
}

.value_section_bg {
    background: transparent;
    padding: 40px 20px;
    margin-bottom: 5px;
}

.value_section_bg p {
    color: #000000;
    font-size: 1.2rem;
    line-height: 28px;
    font-weight: 500;
}

.for_box h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #003087;
    margin-bottom: 15px;
}

.for_box i {
    font-size: 4.5rem;
    font-weight: 600;
    color: #003087;
    transition: color 0.3s ease;
}

.for_box:hover {
    transform: translateY(-10px);
    transition: 0.5s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.for_box:hover i {
    color: #d4a017;
}

.for_box p {
    font-size: 1.05rem;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.for_box {
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    border: 1px solid #e6e6e6;
}

.value_section_bg {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    padding: 50px;
}

.value-box {
    display: flex;
    justify-content: center;
}

.swiper-pagination {
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: #fff !important;
    /* màu trắng, phù hợp với nền #21569b */
    color: #fff !important;
    opacity: 0.5;
    width: 12px !important;
    height: 12px !important;
    margin: 0 5px;
    border-radius: 50%;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    background: #ffd700;
    /* màu vàng nổi bật khi đang chọn */
    opacity: 1;
    transform: scale(1.2);
}

/* Video Testimonials Section Styles */
.wbt-video-testimonials-section {
  padding: 4rem 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.wbt-video-testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="0.3" fill="%23ffffff" opacity="0.08"/><circle cx="50" cy="10" r="0.4" fill="%23ffffff" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
  z-index: 1;
}

.wbt-video-container {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wbt-video-container:hover {
  transform: translateY(-8px);
}

.wbt-video-wrapper {
  position: relative;
  padding: 25px;
  background: #fafbfc;
  border-bottom: 1px solid #e9ecef;
}

.wbt-video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.1);
  background: #000000;
  border: 3px solid #ffffff;
}

.wbt-video-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #007bff, #6c757d, #007bff);
  border-radius: 18px;
  z-index: -1;
  animation: wbt-border-glow 3s ease-in-out infinite alternate;
}

@keyframes wbt-border-glow {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.wbt-responsive-iframe {
  display: block;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.wbt-responsive-iframe:hover {
  transform: scale(1.01);
}

.wbt-video-overlay {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  bottom: 25px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.wbt-video-wrapper:hover .wbt-video-overlay {
  opacity: 1;
}

.wbt-video-caption {
  padding: 30px 25px 25px;
  text-align: center;
  background: #ffffff;
}

.wbt-caption-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.wbt-caption-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}

.wbt-caption-text {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wbt-video-testimonials-section {
    padding: 3rem 0;
  }
  
  .wbt-video-wrapper {
    padding: 20px;
  }
  
  .wbt-video-caption {
    padding: 25px 20px 20px;
  }
  
  .wbt-caption-title {
    font-size: 1.3rem;
  }
  
  .wbt-caption-text {
    font-size: 0.95rem;
  }
  
  .wbt-responsive-iframe {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .wbt-video-wrapper {
    padding: 15px;
  }
  
  .wbt-video-caption {
    padding: 20px 15px 15px;
  }
  
  .wbt-caption-title {
    font-size: 1.2rem;
  }
  
  .wbt-responsive-iframe {
    height: 240px;
  }
}

@media (min-width: 1200px) {
  .wbt-responsive-iframe {
    height: 500px;
  }
  
  .wbt-caption-title {
    font-size: 1.7rem;
  }
  
  .wbt-caption-text {
    font-size: 1.1rem;
  }
}

/* Responsive styles for mobile devices */
@media (max-width: 576px) {
    .tfindex-hero-slider {
        display: none !important;
    }

    .brand_color .titlepage {
        margin-top: 20px;
        padding-bottom: 30px;
    }

    .contact-title .titlepage h2 {
        font-size: 1.35rem !important;
    }

    .choose_bg p {
        font-size: 1.3rem;
    }

    .container-lg-10 {
        max-width: 90% !important;
    }

    #pricing-section {
        margin-top: 0;
        padding-top: 0;
    }

    .description-list li {
        font-size: 1rem;
    }

    .card-title {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        font-size: 1.16rem;
    }

    .card-text {
        font-size: 0.8rem;
        margin-bottom: 5px !important;
    }

    .price small {
        font-size: 0.95rem;
        line-height: normal !important;
    }

    .price {
        font-size: 1.2rem;
    }

    .description-list li {
        font-size: 0.6rem;
    }

    .custom-list-check li span {
        font-size: 0.6rem;
    }

    .custom-list-check li {
        padding-left: 12px;
    }

    .btn-cta {
        font-size: 4vw;
        padding: 6px 10px;
    }

    .faq-button {
        font-size: 0.85rem;
    }

    .faq-body {
        font-size: 0.85rem;
    }

    .for_box i {
        font-size: 3rem;
    }

    .for_box p {
        font-size: 1rem;
        font-weight: 450;
    }

    .read-more {
        font-size: 1rem;
    }

    .service-box i {
        font-size: 2.5rem;
    }

    .service-box {
        min-height: 160px;
    }

    .service-box h3 {
        font-size: 1.2rem;
    }

    .service-box p {
        font-size: 0.9rem;
    }

    .title h2 {
        font-size: 1.6rem;
    }

    .contact-image {
        display: none;
    }

    .testimonial-heading {
        font-size: 2rem;
    }

    .testimonial-item {
        padding: 25px;
    }

    .client-image {
        width: 80px;
        height: 80px;
    }

    .client-name {
        font-size: 1.3rem;
    }

    .client-feedback {
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 1280px) {
    .contact-title .titlepage h2 {
        font-size: 1.9rem !important;
    }

    .card-title {
        font-size: 1.14rem;
    }

    .card-text {
        font-size: 0.65rem;
    }

    .price {
        font-size: 1.2rem;
    }

    .price small {
        font-size: 0.9rem;
    }

    .description-list li {
        font-size: 0.6rem;
    }

    .custom-list-check li span {
        font-size: 0.6rem;
    }

    .btn-cta {
        font-size: 0.85vw;
        padding: 6px 10px;
    }

    .choose_bg p {
        font-size: 1.5rem;
    }

    .for_box i {
        font-size: 3rem;
    }

    .for_box p {
        font-size: 1rem;
        font-weight: 450;
    }

    .read-more {
        font-size: 1rem;
    }

    .title h2 {
        font-size: 1.8rem;
    }

    .title span {
        font-size: 1.1rem;
    }

    .service-box i {
        font-size: 2.5rem;
    }

    .service-box {
        min-height: 160px;
    }

    .service-box h3 {
        font-size: 1.2rem;
    }

    .service-box p {
        font-size: 0.9rem;
    }

    .brand_color .titlepage h2 {
        font-size: 2.1rem !important;
    }

    .contact-input,
    .contact-textarea,
    .contact-select {
        font-size: 0.8rem;
    }

    .client-name {
        font-size: 1rem;
    }

    .client-feedback {
        font-size: 0.8rem;
    }

    .client-image {
        width: 40px !important;
        height: 40px;
    }

    .custom-list-check li {
        padding-left: 11px;
    }
}

/* Laptop */
@media (min-width: 1281px) and (max-width: 1750px) {

    .contact-title .titlepage h2 {
        font-size: 1.9rem !important;
    }

    .card-title {
        font-size: 1.65rem;
    }

    .card-text {
        font-size: 0.96rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .price small {
        font-size: 1.2rem;
        line-height: normal !important;
    }

    .description-list li {
        font-size: 0.87rem;
    }

    .custom-list-check li span {
        font-size: 0.87rem;
    }

    .btn-cta {
        font-size: 0.85vw;
    }

    .choose_bg p {
        font-size: 1.5rem;
    }

    .for_box i {
        font-size: 3rem;
    }

    .for_box p {
        font-size: 1rem;
        font-weight: 450;
    }

    .read-more {
        font-size: 1rem;
    }

    .title h2 {
        font-size: 1.8rem;
    }

    .title span {
        font-size: 1.1rem;
    }

    .service-box i {
        font-size: 2.5rem;
    }

    .service-box {
        min-height: 160px;
    }

    .service-box h3 {
        font-size: 1.2rem;
    }

    .service-box p {
        font-size: 0.9rem;
    }

    .brand_color .titlepage h2 {
        font-size: 2.1rem !important;
    }

    .contact-input,
    .contact-textarea,
    .contact-select {
        font-size: 1rem;
    }

    .custom-list-check li {
        padding-left: 15px;
    }
}