/* --- Khai báo biến màu sắc để dễ quản lý --- */
:root {
  --primary: #053795;
  --primary-gradient: linear-gradient(135deg, #053795 0%, #0a4fc3 100%);
  --accent: #ff7e5f;
  --bg-light: #f9fbff;
  --text-main: #333;
  --text-muted: #666;
  --radius: 16px; /* Bo góc mềm mại cho toàn trang */
  --shadow: 0 10px 30px rgba(5, 55, 149, 0.08);
  --shadow-hover: 0 20px 40px rgba(5, 55, 149, 0.15);
}

body {
	font-family: font-family: 'Muli', sans-serif !important;
    background-color: #f5f5f5; /* màu nền nhẹ nhàng */
}

figure {
	border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}


li {
    list-style: none !important; /* Hoặc list-style-type: none; */
}


/* menu*/
/* Đảm bảo khung bao ngoài không bị lệch */
.logo_nav_outer_wrap {
    background: #ffffff;
    position: relative;
    z-index: 1000; /* Luôn nằm trên Slider và các nội dung khác */
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
}

/* Căn chỉnh hàng menu */
.logo_nav_outer_wrap .row {
    display: flex;
    align-items: center; /* Căn giữa logo và menu theo chiều dọc */
    flex-wrap: wrap;
}

/* Khử khoảng cách mặc định của ul và làm sạch float */
.main_navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap; /* Không cho phép nhảy hàng trên desktop */
}

/* Item menu chính */
.main_navigation ul li {
    position: relative; /* Quan trọng để menu con bám theo */
    white-space: nowrap; /* Chống xuống dòng chữ trong menu */
}

.main_navigation ul li a {
    display: block;
    padding: 25px 15px; /* Tăng diện tích click */
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* Xử lý Menu con (Dropdown) không bị đè */
.main_navigation ul li ul {
    position: absolute;
    top: 100%; /* Sát mép dưới menu chính */
    left: 0;
    min-width: 250px;
    background: #fff;
    display: block !important; 
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-top: 3px solid #007bff; /* Điểm nhấn hiện đại */
    padding: 10px 0;
    z-index: 1001;
}

/* Khi Hover */
.main_navigation ul li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Menu con không bị lệch chữ */
.main_navigation ul li ul li {
    width: 100%;
}

.main_navigation ul li ul li a {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #f5f5f5;
}

.main_navigation ul li ul li:last-child a {
    border-bottom: none;
}

/* Hiệu ứng hover cho menu con */
.main_navigation ul li ul li:hover > a {
    background: #f8f9fa;
    padding-left: 25px; /* Hiệu ứng đẩy chữ sang phải nhẹ */
    color: #007bff;
}

/* --- Tối ưu Menu Chính --- */
.main_navigation ul {
    display: flex;
    flex-wrap: wrap; /* Cho phép các mục menu chính xuống hàng nếu màn hình nhỏ */
    align-items: center;
}

.main_navigation > ul > li {
    position: relative;
    list-style: none;
}

/* --- Xử lý Menu Con (Dropdown) --- */
.main_navigation ul li ul.hide-menu-left {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px; /* Độ rộng cố định vừa phải cho menu con */
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 10px 0;
    z-index: 999;
    
    /* Hiệu ứng ẩn/hiện chuyên nghiệp */
    display: block; 
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Hiển thị khi hover */
.main_navigation ul li:hover > ul.hide-menu-left {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- TRƯỜNG HỢP QUAN TRỌNG: Ẩn menu rỗng --- */
/* Nếu <ul> không có thẻ <li> nào bên trong, nó sẽ bị ẩn hoàn toàn */
.main_navigation ul li ul.hide-menu-left:empty,
.main_navigation ul li ul.hide-menu-left:not(:has(li)) {
    display: none !important;
}

/* --- Xử lý chữ dài trong Menu con --- */
.main_navigation ul li ul.hide-menu-left li {
    width: 100%;
    list-style: none;
}

.main_navigation ul li ul.hide-menu-left li a {
    display: block;
    padding: 10px 20px;
    line-height: 1.4;      /* Khoảng cách dòng thoáng */
    font-size: 14px;
    color: #333;
    
    /* Chống tràn text và cho phép xuống dòng */
    white-space: normal;   /* Ép xuống dòng nếu chữ dài */
    word-wrap: break-word; /* Bẻ từ nếu cần thiết */
    text-transform: none;  /* Giữ chữ thường/hoa theo dữ liệu để dễ đọc */
    transition: background 0.2s;
}

.main_navigation ul li ul.hide-menu-left li a:hover {
    background-color: #f8f9fa;
    color: #007bff; /* Màu thương hiệu */
}

/* Ẩn icon mũi tên nếu không có menu con (tùy chọn) */
.main_navigation ul li:not(:has(ul li)) .open-close {
    display: none;
}
/* Đảm bảo hàng luôn cân đối */
.display-flex-center {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Ép không xuống dòng ở cấp độ row */
}

/* Khung chứa Menu + Search */
.nav_search_combined {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Đẩy menu sát về bên phải */
    width: 100%;
}

.main_navigation {
    flex-grow: 1; /* Để menu chiếm hết không gian trống */
}

.main_navigation ul {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap; /* QUAN TRỌNG: Không cho phép các mục menu nhảy hàng */
}

.main_navigation ul li a {
    white-space: nowrap; /* Chữ không xuống dòng trong 1 mục */
    padding: 15px 12px;  /* Khoảng cách vừa phải */
    font-size: 13px;     /* Kích thước chữ tối ưu cho menu dài */
    display: block;
    font-weight: 600;
}

/* Xử lý menu con (Dropdown) */
.main_navigation ul li ul.hide-menu-left {
    position: absolute;
    min-width: 250px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none; /* Ẩn mặc định */
    padding: 10px 0;
    z-index: 999;
}

/* Hiển thị menu con khi hover và nếu có dữ liệu */
.main_navigation ul li:hover > ul.hide-menu-left {
    display: block;
}

/* Nếu menu con rỗng thì không hiện */
.main_navigation ul li ul.hide-menu-left:empty {
    display: none !important;
}

/* Chữ trong menu con nếu quá dài thì xuống dòng cho đẹp */
.main_navigation ul li ul.hide-menu-left li a {
    white-space: normal; 
    line-height: 1.4;
    padding: 10px 20px;
}
/* --- Tối ưu hóa Slider 500px Cover --- */
.ct_course_list_wrap .course_list_img_des .ct_zoom_effect, .ct_course_list_wrap:hover .course_list_img_des .ct_zoom_effect {
    transform: scale(1);
    background: rgb(191 201 213 / 60%);
}


.template-index {
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.template-index section {
  padding: 80px 0 !important; /* Tăng padding để trang sang trọng hơn */
}

/* --- Heading Style --- */
.template-index .ct_heading_1_wrap {
  text-align: center;
  margin-bottom: 50px;
}

.template-index .ct_heading_1_wrap h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

/* Gạch chân trang trí dưới tiêu đề */
.template-index .ct_heading_1_wrap h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 10px;
}

/* --- Card & Blocks --- */
.template-index .get_started_services,
.template-index .testimonial_wrap,
.template-index .ct_news_wrap,
.template-index .nivoSlider,
.template-index .get_started_outer_wrap iframe {
  border-radius: var(--radius) !important;
  border: none;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #fff;
}

.template-index .get_started_services:hover,
.template-index .ct_news_wrap:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

/* Tin tức */
.template-index .ct_news_wrap {
  overflow: hidden;
  height: 100%;
}

.template-index .ct_news_wrap .cover img {
  transition: transform 0.6s ease;
}

.template-index .ct_news_wrap:hover .cover img {
  transform: scale(1.1);
}

.template-index .ct_news_wrap h5 {
  padding: 15px 15px 5px;
  font-weight: 700;
  color: var(--primary);
}

.template-index .ct_news_wrap p {
  padding: 0 15px 20px;
  font-size: 14px;
}

/* Testimonials */
.template-index .ct_testimonial_bg {
  background: var(--primary-gradient);
  position: relative;
}

.template-index .ct_white_hdg h3 {
    color: #fff;
}

/* Nút tư vấn nổi bật */
.template-index .btn-tu-van {
  background: var(--accent);
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* --- HIỆU ỨNG ANIMATION KHI SCROLL --- */

/* Các khối mặc định sẽ ẩn và đẩy nhẹ xuống */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

/* Khi có class .active (thêm bằng JS), khối sẽ hiện lên */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Khối mô tả tổng */
.popular_course_des {
  display: flex;
  flex-direction: column;
}

/* Tiêu đề */
.popular_course_des h5 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Khối danh sách */
.popular_course_des .kac {
  overflow: hidden;
}

/* Danh sách */
.popular_course_des .kac ul {
  padding-left: 18px;
  margin: 0;

  /* QUAN TRỌNG */
  max-height: 130px;        /* chỉnh chiều cao mong muốn */
  overflow: hidden;
}

/* Mỗi dòng */
.popular_course_des .kac li {
  list-style: disc;
}

/* Text trong p */
.popular_course_des .kac p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;

  /* CẮT DÒNG + ... */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;   /* mỗi dòng chỉ 1 line */
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular_course_des .kac ul {
	padding:0;
}

.ct_course_list_wrap {
	animation: fadeIn 0.8s ease-in-out forwards;
}

/* Container chính */
.get_started_outer_wrap {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

/* Video Iframe */
.get_started_outer_wrap iframe {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.get_started_outer_wrap iframe:hover {
    transform: scale(1.01);
}

/* Nội dung text bên trái */
.get_started_content_wrap h3 {
    color: #053795;
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    position: relative;
    padding-bottom: 10px;
}

.get_started_content_wrap h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #ff7e5f;
    border-radius: 5px;
}

/* --- Widget Tư vấn hỗ trợ (Bên phải) --- */
.support_box {
    background: #f8faff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e1e8f5;
    height: 100%;
}

.support_box .widget-title {
    color: #053795;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: center;
}

/* Từng dòng nhân viên tư vấn */
.support_box .row {
    display: flex;
    align-items: center; /* Căn giữa theo chiều dọc */
    margin-bottom: 15px;
}

.support_box .img-responsive {
    border-radius: 50%; /* Bo tròn ảnh đại diện */
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 80px;
    margin: 0 auto;
}

.support_box .name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.support_box .social {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.support_box .social img {
    transition: transform 0.2s ease;
}

.support_box .social img:hover {
    transform: translateY(-3px);
}

.support_box .phone_name {
    font-size: 14px;
    color: #666;
}

.support_box .phone_text {
    font-size: 16px;
    font-weight: 700;
    color: #d9534f; /* Màu đỏ nổi bật cho số điện thoại */
    text-decoration: none;
}

.support_box .phone_text:hover {
    color: #053795;
}

/* Đường kẻ phân cách */
.support_box .hr {
    height: 1px;
    background: linear-gradient(to right, transparent, #ced4da, transparent);
    margin: 15px 0;
    border: none;
}

.support_box .hr_details {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

/* Responsive cho mobile */
@media (max-width: 767px) {
    .support_box .row {
        text-align: center;
        flex-direction: column;
    }
    .support_box .social {
        justify-content: center;
    }
}

/* --- Tổng thể Section Testimonial --- */
.ct_testimonial_bg {
	margin-top: 40px;
    background: linear-gradient(135deg, #4c454b 0%, #5b786f 100%) !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

/* Tiêu đề trắng trên nền xanh */
.ct_white_hdg h3 {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ct_white_hdg p {
    color: rgba(255,255,255,0.8) !important;
    font-style: italic;
}

/* --- Thẻ Card Testimonial --- */
.testimonial_wrap {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px !important; /* Bo góc mạnh hiện đại */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Đổ bóng sâu để nổi lên nền xanh */
    margin: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

/* Hiệu ứng nhấc lên khi hover */
.testimonial_wrap:hover {
    transform: translateY(-10px);
}

/* Avatar học viên */
.testimonial_wrap figure {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%; /* Làm tròn hoàn toàn */
    border: 4px solid #f0f4f8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial_wrap figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nội dung văn bản cảm nhận */
.testimonial_wrap p {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Giới hạn 4 dòng cho đều các khối */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

/* Tên học viên */
.testimonial_wrap span b {
    display: block;
    color: #053795;
    font-size: 18px;
    margin-top: 10px;
}

.testimonial_wrap span {
    color: #777;
    font-size: 14px;
}

/* Nút Đọc tiếp */
.testimonial_wrap .text-center a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 25px;
    background: #f0f4f8;
    color: #053795;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.testimonial_wrap .text-center a:hover {
    background: #ff7e5f;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
}

/* --- Tùy chỉnh các nút điều hướng của Owl Carousel --- */
.testimonial_carousel .owl-nav button {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    transition: all 0.3s;
}

.testimonial_carousel .owl-nav button:hover {
    background: #ff7e5f !important;
}

.testimonial_carousel .owl-dots .owl-dot span {
    background: rgba(255,255,255,0.3) !important;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}

.testimonial_carousel .owl-dots .owl-dot.active span {
    background: #ff7e5f !important;
    width: 25px; /* Kéo dài chấm tròn đang active cho hiện đại */
}

/* --- Khối bao quanh Tin tức --- */
.ct_news_wrap {
    background: #ffffff;
    border-radius: 18px !important; /* Bo góc hiện đại */
    overflow: hidden; /* Để ảnh không bị tràn ra ngoài khi zoom */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06); /* Đổ bóng nhẹ nhàng */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border: 1px solid #f0f0f0; /* Viền mảnh tạo sự tinh tế */
    margin-bottom: 20px;
}

/* Hiệu ứng khi di chuột vào cả thẻ tin tức */
.ct_news_wrap:hover {
    transform: translateY(-8px); /* Bay lên nhẹ */
    box-shadow: 0 15px 35px rgba(5, 55, 149, 0.12); /* Đổ bóng đậm hơn màu xanh thương hiệu */
    border-color: #053795;
}

/* --- Phần hình ảnh (Cover) --- */
.ct_news_wrap .cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10; /* Giữ khung hình luôn đẹp, không bị cao thấp khác nhau */
}

.ct_news_wrap .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* Chuyển động zoom mượt mà */
}

/* Zoom ảnh khi hover */
.ct_news_wrap:hover .cover img {
    transform: scale(1.1);
}

/* --- Nội dung văn bản --- */
.ct_news_wrap h5 {
    padding: 15px 15px 5px 15px;
    margin: 0;
    min-height: 55px; /* Đảm bảo các tiêu đề có chiều cao bằng nhau */
}

.ct_news_wrap h5 a {
    color: #053795;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.ct_news_wrap h5 a:hover {
    color: #ff7e5f; /* Đổi màu cam khi di chuột vào tiêu đề */
}

.ct_news_wrap p {
    padding: 0 15px 20px 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Giới hạn đúng 3 dòng để các thẻ bằng nhau tăm tắp */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* --- Phần thông tin thêm (Tác giả, ngày tháng) --- */
/* Hiện tại bạn đang để hidden, nếu bạn muốn hiện lên thì dùng CSS này */
.news_img {
    padding: 10px 15px;
    background: #f9f9f9;
    border-top: 1px dashed #eee;
    display: flex !important; /* Ghi đè class hidden nếu muốn hiện */
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.news_img i {
    margin-right: 5px;
    color: #053795;
}

/* Tùy chỉnh Owl Nav (nút bấm) cho đồng bộ với phần Testimonial */
.most_popular_courses .owl-nav button {
    width: 35px;
    height: 35px;
    background: #053795 !important;
    color: #fff !important;
    border-radius: 50% !important;
    margin: 0 5px;
}

/* --- Khối bao quanh chuyên mục Văn hóa --- */
.template-index .most_popular_courses .ct_news_wrap {
    background: #ffffff;
    border-radius: 20px !important; /* Bo góc mượt mà */
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Hiệu ứng khi di chuột: Thẻ sẽ nổi lên và viền đổi màu */
.template-index .most_popular_courses .ct_news_wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 55, 149, 0.15);
    border-color: #053795;
}

/* --- Hiệu ứng cho Hình ảnh (Cover) --- */
.template-index .most_popular_courses .cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3; /* Tỷ lệ vàng cho ảnh tin tức văn hóa */
}

/* Lớp phủ nhẹ khi hover vào ảnh để chữ tiêu đề nổi bật hơn */
.template-index .most_popular_courses .cover::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(5, 55, 149, 0.2));
    opacity: 0;
    transition: opacity 0.3s;
}

.template-index .most_popular_courses .ct_news_wrap:hover .cover::after {
    opacity: 1;
}

/* Tinh chỉnh tiêu đề */
.template-index .most_popular_courses h5 {
    padding: 15px 15px 10px;
    height: 70px; /* Cố định chiều cao tiêu đề để các khối bằng nhau */
    overflow: hidden;
}

.template-index .most_popular_courses h5 a {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    color: #053795;
    /* Cắt chữ nếu quá 2 dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Tinh chỉnh đoạn tóm tắt nội dung */
.template-index .most_popular_courses p {
    font-size: 14px;
    color: #555;
    padding: 0 15px 20px;
    line-height: 1.6;
    margin: 0;
    height: 90px; /* Cố định chiều cao đoạn mô tả */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Nút bấm mũi tên (Nav) của Slide --- */
.most_popular_courses .owl-nav {
    margin-top: 20px;
    text-align: center;
}

.most_popular_courses .owl-nav button {
    background: #fff !important;
    border: 1px solid #053795 !important;
    color: #053795 !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    font-size: 18px !important;
    transition: all 0.3s;
}

.most_popular_courses .owl-nav button:hover:not(.disabled) {
    background: #053795 !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(5, 55, 149, 0.3);
}

.most_popular_courses .owl-nav button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* --- Chấm điều hướng (Dots) --- */
.most_popular_courses .owl-dots {
    margin-top: 20px !important;
}

.most_popular_courses .owl-dot span {
    background: #d1d1d1 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s;
}

.most_popular_courses .owl-dot.active span {
    background: #053795 !important;
    width: 24px !important; /* Hiệu ứng thanh dài hiện đại */
}

/* Container chung */
.ct_newsletter_wrap {
    background: #f9f9f9; /* nền sáng nhẹ */
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Text tiêu đề */
.ct_newsletter_wrap h5 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Form */
.ct_newsletter_wrap form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

/* Icon email bên trong input */
.ct_newsletter_wrap form label.fa-envelope-o {
    position: absolute;
    left: 15px;
    font-size: 18px;
    color: #888;
    pointer-events: none;
}

/* Input email */
.ct_newsletter_wrap input[type="email"] {
    flex: 1;
    padding: 12px 20px 12px 40px; /* để icon không bị đè */
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

/* Focus input */
.ct_newsletter_wrap input[type="email"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Nút đăng ký */
.ct_newsletter_wrap button#subscribe {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover nút */
.ct_newsletter_wrap button#subscribe:hover {
    background-color: #0056b3;
}

/* Footer background chung */
.ct_footer_bg {
    background-color: #1c1c1c; /* nền tối */
    color: #f1f1f1;           /* chữ sáng */
    padding: 60px 0 40px 0;
    font-family: "Arial", sans-serif;
    font-size: 14px;
}

/* Footer link */
.ct_footer_bg a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.ct_footer_bg a:hover {
    color: #007bff;
}

/* Footer logo và thông tin */
.footer_col_1 img {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer_col_1 p {
    margin: 5px 0;
    line-height: 1.6;
}

/* Email */
.footer_col_1 span a {
    color: #007bff;
}

/* Nút Liên hệ */
.foo_get_qoute a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    border-radius: 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    transition: all 0.3s;
}

.foo_get_qoute a:hover {
    background-color: #0056b3;
}

/* Tiêu đề các cột footer */
.ct_footer_bg h5 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.ct_footer_bg h5::after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: #007bff;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Footer map */
.foo_col_2 iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 10px;
}

/* Fanpage Facebook */
.foo_col_4 .fb-page {
    width: 100% !important;
    max-width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .ct_footer_bg {
        padding: 40px 0 30px 0;
    }

    .footer_col_1 img {
        max-width: 150px;
    }
}

@media (max-width: 767px) {
    .ct_footer_bg .col-md-4, 
    .ct_footer_bg .col-sm-6 {
        margin-bottom: 30px;
    }

    .foo_col_2 iframe {
        height: 200px;
    }
}


/* Responsive mobile */
@media (max-width: 576px) {
    .ct_newsletter_wrap form {
        flex-direction: column;
    }
    .ct_newsletter_wrap input[type="email"], 
    .ct_newsletter_wrap button#subscribe {
        width: 100%;
    }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}