@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700;800&display=swap');

:root { --primary-color: #f15a3a; --dark-blue: #112255; --gradient-btn: linear-gradient(135deg, #ff7e5f, #feb47b); --gradient-btn-hover: linear-gradient(135deg, #feb47b, #ff7e5f); }
html { scroll-behavior: smooth; }
body { font-family: 'Quicksand', sans-serif; margin: 0; padding: 0; background-color: rgb(255, 255, 255); color: #333; overflow-x: hidden; }
/* ========================================================
   HIỆU ỨNG XUẤT HIỆN (ANIMATION) CHO CÁC KHỐI
   ======================================================== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fade-in-up { opacity: 0; animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }

@keyframes zoomIn {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}
.zoom-in { opacity: 0; animation: zoomIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}
.fade-in-left { opacity: 0; animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }

#page-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgb(255, 255, 255); z-index: 999999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
.loader-ring { position: relative; width: 120px; height: 120px; display: flex; justify-content: center; align-items: center; }
.loader-ring::before { content: ""; position: absolute; width: 100%; height: 100%; border: 4px solid #e2e8f0; border-top-color: #007bff; border-radius: 50%; animation: spinRing 1s linear infinite; }
.loader-logo { width: 90px; height: 90px; object-fit: contain; border-radius: 50%; padding: 5px; background: rgb(255, 255, 255); box-shadow: none; border: 1px solid #eeeeee; }
.loader-text { margin-top: 20px; font-weight: 700; color: var(--dark-blue); font-size: 16px; letter-spacing: 2px; animation: pulseText 1.5s infinite; }
@keyframes spinRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulseText { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.main-header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; background-color: rgb(255, 255, 255); box-shadow: none; border-bottom: 1px solid #eeeeee; display: flex; align-items: center; padding: 0 5%; z-index: 1000; justify-content: space-between; }
.header-left { display: flex; align-items: center; }
.header-logo { width: 60px; height: 60px; border-radius: 50%; border: 3px solid #007bff; object-fit: contain; background-color: rgb(255, 255, 255); margin-right: 15px; padding: 2px; }
.header-title { font-size: 20px; font-weight: 800; color: var(--dark-blue); margin: 0; text-transform: uppercase; letter-spacing: -0.5px; }

/* CẬP NHẬT CSS HEADER MENU */
.header-nav a { text-decoration: none; color: var(--dark-blue); font-weight: 700; font-size: 15px; padding: 8px 18px; border-radius: 50px; transition: 0.3s; border: 2px solid transparent; margin-left: 5px; }
.header-nav a:hover { background: rgba(17, 34, 85, 0.05); color: var(--primary-color); border-color: var(--primary-color); }
.btn-phone-menu { background: var(--primary-color) !important; color: white !important; border-color: var(--primary-color) !important; box-shadow: none; }
.btn-phone-menu:hover { background: #d94e30 !important; transform: none; }
.menu-toggle-btn { background: transparent; border: none; color: var(--dark-blue); padding: 0; transition: 0.3s; }
.menu-toggle-btn:focus { box-shadow: none; outline: none; }
.menu-toggle-btn:active { transform: scale(0.9); }

/* CSS MOBILE MENU OFFCANVAS */
.mobile-menu-link { display: block; padding: 12px 20px; font-size: 16px; font-weight: 700; color: var(--dark-blue); text-decoration: none; background: rgb(255, 255, 255); border-radius: 12px; transition: 0.3s; }
.mobile-menu-link:hover { background: #e2e8f0; color: var(--primary-color); }
.mobile-menu-link.phone-link { background: #fff5f5; color: #e31837; border: 1px solid #fecaca; }

/* --- HERO SECTION ĐÃ ĐƯỢC CHUYỂN THÀNH SWIPER TRƯỢT --- */
.hero-section { position: relative; width: 100%; aspect-ratio: 1920 / 800; margin-top: 80px; display: block; overflow: hidden; }
.heroSwiper { width: 100%; height: 100%; }

/* --- NÚT ĐIỀU HƯỚNG TRÁI/PHẢI CHO ẢNH BÌA HERO SECTION (THAY CHO CHẤM TRÒN) --- */
.heroSwiper .swiper-button-next, .heroSwiper .swiper-button-prev {
    color: #ffffff !important;
    background-color: rgba(17, 34, 85, 0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 15;
}
.heroSwiper .swiper-button-next:hover, .heroSwiper .swiper-button-prev:hover {
    background-color: #f15a3a;
    transform: none;
}
.heroSwiper .swiper-button-next::after, .heroSwiper .swiper-button-prev::after {
    font-size: 22px;
    font-weight: 800;
}
@media (max-width: 720px) {
    .heroSwiper .swiper-button-next, .heroSwiper .swiper-button-prev {
        width: 35px; height: 35px;
    }
    .heroSwiper .swiper-button-next::after, .heroSwiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

.btn-fixed-register { position: fixed; bottom: 30px; right: 30px; z-index: 9997; background: var(--gradient-btn); color: white; padding: 15px 25px; font-size: 16px; font-weight: 700; border: none; border-radius: 50px; box-shadow: none; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; text-decoration: none; animation: pulse-btn 1.5s infinite; transform-origin: center; }
.btn-fixed-register i { font-size: 20px; margin-right: 8px; }
.btn-fixed-register:hover { transform: none; box-shadow: none; color: white; animation: none; }
@keyframes pulse-btn { 0% { transform: scale(1); box-shadow: none; } 15% { transform: scale(1.15) rotate(-3deg); box-shadow: none; } 30% { transform: scale(1.15) rotate(3deg); } 45% { transform: scale(1.15) rotate(-3deg); } 60% { transform: scale(1); box-shadow: none; } 100% { transform: scale(1); box-shadow: none; } }

#backToTopBtn { position: fixed; bottom: 100px; right: 30px; z-index: 9998; background-color: #112255; color: white; border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 28px; display: none; justify-content: center; align-items: center; cursor: pointer; box-shadow: none; transition: all 0.3s ease; }
#backToTopBtn:hover { background-color: #f15a3a; transform: none; box-shadow: none; }

.custom-reg-modal { background-color: #112255; border-radius: 20px; color: white; border: none; box-shadow: none; padding: 10px; border: 1px solid #eeeeee; }
.custom-reg-modal .modal-header { border-bottom: none; padding-bottom: 0; }
.custom-reg-modal .form-floating > label { color: #6c757d; font-weight: 500; }
.custom-reg-modal .form-floating > .form-control, .custom-reg-modal .form-floating > .form-select { border-radius: 12px; font-size: 15px; color: #333; border: none; }
.custom-reg-modal .form-select { background-color: white; }
.btn-submit { background-color: #ff9868; color: white !important; font-weight: 700; border-radius: 50px; padding: 15px; font-size: 16px; width: 100%; border: none; transition: 0.3s; margin-top: 10px; box-shadow: none;}
.btn-submit:hover { background-color: #ff854c; transform: none; box-shadow: none;}
.form-check-label { color: rgba(255,255,255,0.9); font-size: 14px; }

.content-section { padding: 5px 10px 20px 10px; background: rgb(255, 255, 255); } 
/* hoặc dùng background: #ffffff; */.content-container { max-width: 1500px; margin: 0 auto; overflow: hidden; }
.section-heading { text-align: center; margin-bottom: 60px; }
.section-heading h2 { color: var(--dark-blue); font-weight: 800; font-size: 38px; margin-bottom: 15px; }
.section-heading p { font-size: 18px; color: #64748b; max-width: 800px; margin: 0 auto; line-height: 1.6; }

/* ĐẢM BẢO CHẤM TRÒN LUÔN BẤM ĐƯỢC MƯỢT MÀ */
.swiper-pagination { z-index: 50 !important; }
.swiper-pagination-bullet { cursor: pointer !important; pointer-events: auto !important; }

/* CSS LLC NEWS COVERFLOW - ĐÃ SỬA CHẤM TRÒN HOÀN TOÀN */
.news-section { background-color: rgb(255, 255, 255); padding: 30px 0; }
.newsSwiper { width: 100%; padding-top: 10px; padding-bottom: 30px; }
.newsSwiper .swiper-slide { background-position: center; background-size: cover; width: 400px; height: auto; display: flex; flex-direction: column; align-items: center; filter: brightness(0.6); transition: 0.4s; }
.newsSwiper .swiper-slide-active { filter: brightness(1); }
.news-img-card { width: 100%; border-radius: 20px; box-shadow: none; border: 1px solid #eeeeee; object-fit: contain; background: rgb(255, 255, 255); transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;}
.newsSwiper .swiper-pagination-bullet { width: 12px !important; height: 12px !important; border-radius: 50% !important; background: #cbd5e1 !important; opacity: 1 !important; margin: 0 6px !important; transition: all 0.3s ease !important; }
.newsSwiper .swiper-pagination-bullet-active { background: var(--dark-blue) !important; width: 12px !important; transform: scale(1.3) !important; }

.course-card { background: rgb(255, 255, 255); border-radius: 20px; padding: 0 0 25px 0; height: 100%; width: 100%; box-shadow: none; border: 1px solid #eeeeee; transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.course-card:hover { transform: none !important; box-shadow: none !important; }
.course-card-img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 25px; transition: transform 0.5s ease; }
.course-card:hover .course-card-img { transform: none; }
.icon-box { background-color: rgb(255, 255, 255); width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; position: absolute; top: 170px; left: 30px; z-index: 2; transition: transform 0.3s ease; box-shadow: none; border: 1px solid #eeeeee; }
.course-title, .course-desc { padding: 0 30px;  }
.course-title { font-weight: 700; font-size: 22px; color: var(--dark-blue); margin-bottom: 15px; margin-top: 10px; }
.course-desc { color: #475569; font-size: 15.5px; line-height: 1.7; flex-grow: 1; }

.english-programs-section { background-color: rgb(255, 255, 255); border-radius: 24px; padding: 40px 20px; transition: 0.5s ease;}
.ep-card { background-color: rgb(255, 255, 255); border-radius: 20px; padding: 25px; height: 100%; width: 100%; display: flex; flex-direction: column; transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important; box-shadow: none; border: 1px solid #eeeeee; }
.ep-card:hover { transform: none !important; box-shadow: none !important; }
.ep-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 15px; }
.ep-title { font-weight: 700; color: #112255; font-size: 19px; margin: 0; line-height: 1.4; flex: 1; }
.ep-age-badge { 
    background-color: rgb(255, 75, 15); 
    color: #ffffff !important; 
    padding: 8px 12px; 
    border-radius: 12px; 
    text-align: center; 
    min-width: 70px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    box-shadow: none; 
}.ep-age-badge span { font-size: 11px; display: block; line-height: 1.2; color: #ffffff !important; opacity: 0.9; }
.ep-age-badge strong { font-size: 22px; line-height: 1.1; margin: 2px 0; color: #ffffff !important; font-weight: 800; }
.ep-img { width: 100%; border-radius: 15px; margin-bottom: 20px; object-fit: cover; aspect-ratio: 16/10; transition: transform 0.5s ease; border: 1px solid #eeeeee; }
.ep-card:hover .ep-img { transform: none; }
.ep-desc { color: #475569; font-size: 15px; line-height: 1.6; flex-grow: 1; margin-bottom: 20px; }
.ep-btn { background-color: #112255; color: white; border: none; border-radius: 50px; padding: 12px 20px; font-weight: 700; display: flex; justify-content: center; align-items: center; width: 100%; text-decoration: none; transition: 0.3s; }
.ep-btn:hover { opacity: 0.9; transform: none; }
.ep-btn i { background-color: white; color: #112255; border-radius: 50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; margin-left: 10px; font-size: 14px; }

.btn-detail { transition: all 0.3s; border-radius: 50px; border: none; font-weight: 600; padding: 10px; }
.btn-detail:hover { opacity: 0.85; transform: none; }

div#loading { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; display: none; justify-content: center; align-items: center; background-color: rgba(255, 255, 255, 1); z-index: 9999; backdrop-filter: none; }

/* --- CSS FOOTER TRÀN VIỀN (MÁY TÍNH) --- */
.main-footer { 
    position: relative; 
    background-color: rgb(16, 64, 178) !important;
    padding: 50px 30px; 
    margin: 0; 
    border-radius: 0; 
    color: #ffffff; 
    overflow: hidden; 
    box-shadow: none;
}
.main-footer::before { display: none !important; }
.footer-container { position: relative; z-index: 1; max-width: 1500px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.footer-left { flex: 1; min-width: 300px; }
.footer-right { width: 350px; min-width: 300px; text-align: right; }
.f-logo { height: 165px; object-fit: contain; margin-bottom: 18px; display: block; }
.f-name { color: #ffffff; font-weight: 700; font-size: 22px; margin-bottom: 10px; text-transform: uppercase; word-wrap: break-word; word-break: break-word; line-height: 1.4; }
.f-text { color: #f1f5f9; font-size: 18px; line-height: 1.6; margin-bottom: 6px; }
.f-privacy { color: #ffffff; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 15px;}        
.f-privacy i { color: #198754; font-size: 16px; }
.f-map-wrapper { border-radius: 12px; overflow: hidden; box-shadow: none; border: 1px solid #eeeeee; margin-bottom: 15px; }
.f-support-btn { background-color: #00d5ff; color: #112255; border: none; border-radius: 50px; padding: 14px 25px; font-weight: 700; width: 100%; display: inline-flex; justify-content: center; align-items: center; text-transform: uppercase; transition: all 0.3s; cursor: pointer; text-decoration: none !important; }
.f-support-btn:hover { background-color: #00bce6; transform: none; box-shadow: none; color: #112255; }
.f-support-btn i { margin-right: 8px; font-size: 18px; }

.activity-container { max-width: 900px; margin: 0 auto; }
.activitySwiper { width: 100%; padding-bottom: 40px !important; }
.activity-slide-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 15px; box-shadow: none; border: 1px solid #eeeeee; }
.activity-slide-text { font-style: italic; text-align: center; margin-top: 15px; color: #333; font-size: 15px; font-weight: 500;}
.activitySwiper .swiper-button-next, .activitySwiper .swiper-button-prev { color: var(--primary-color); }
.activitySwiper .swiper-pagination-bullet-active { background: var(--primary-color); }

/* --- KHỐI GIÁO VIÊN HOÀN CHỈNH DẠNG HÌNH BO GÓC MỚI --- */
.teacherSwiper { 
    width: 100%; 
    max-width: 1250px !important; 
    margin: 0 auto !important; 
    padding-bottom: 50px !important; 
    overflow: visible !important; 
    position: relative; 
}
.teacher-card {
    height: auto !important; 
    aspect-ratio: 428 / 530 !important; 
    max-width: 390px !important; 
    margin: 0 auto !important; 
    display: block !important; 
    position: relative !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important; 
    box-shadow: none !important;
    border: 1px solid #eeeeee !important;
    background-color: rgb(255, 255, 255) !important; 
}
/* Khung thông tin giáo viên */
.teacher-info {
    position: absolute !important; 
    bottom: -80px !important; 
    left: 0 !important;
    width: 100% !important;
    padding: 20px 15px !important; 
    opacity: 1 !important; 
    
  background: rgb(16, 64, 178) !important;
    
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important;
    
    z-index: 10 !important;
    text-align: center;
    transition: all 0.3s ease !important;
}

/* HIỂN THỊ KHUNG THÔNG TIN KHI HOVER HOẶC KHI SLIDE ĐANG ACTIVE */
.teacher-card:hover .teacher-info,
.teacherSwiper .swiper-slide-active .teacher-info {
    bottom: 0 !important; 
}

.teacher-role { 
    font-size: 14px !important; 
    margin-bottom: 6px !important; 
    font-weight: 500; 
    text-shadow: none !important; 
    color: rgba(255, 255, 255, 0.85) !important; 
}
.teacher-name { 
    font-size: 22px !important; 
    text-shadow: none !important; 
    font-weight: 800; 
    text-transform: uppercase; 
    margin: 0 !important; 
    color: #ffffff !important; 
}
.teacherSwiper .swiper-button-next, .teacherSwiper .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #333;
    box-shadow: none;
    border: 1px solid #eeeeee;
    transition: 0.3s;
    z-index: 50;
}
.teacherSwiper .swiper-button-next:hover, .teacherSwiper .swiper-button-prev:hover {
    background-color: #fff;
    transform: none;
}
.teacherSwiper .swiper-button-next::after, .teacherSwiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}
.teacherSwiper .swiper-slide { 
    height: auto; 
    display: flex; 
    padding: 20px 10px; 
    align-items: center; 
    justify-content: center;
}
.teacherSwiper .swiper-pagination-bullet { 
    width: 12px !important; 
    height: 12px !important; 
    border-radius: 50% !important; 
    background: #ccc !important; 
    opacity: 1 !important; 
    transition: all 0.3s ease !important; 
    margin: 0 6px !important;
}
.teacherSwiper .swiper-pagination-bullet-active { 
    background: #00d5ff !important; 
    transform: scale(1.3) !important; 
}
.teacherSwiper .swiper-slide .teacher-card {
    transform: scale(1) !important;
    opacity: 1 !important;
}
.teacherSwiper .swiper-slide-active .teacher-card {
    transform: scale(1) !important;
    box-shadow: none !important;
    z-index: 10 !important;
}
.teacherSwiper .swiper-slide .teacher-card:hover {
    transform: none !important;
    box-shadow: none !important;
    z-index: 20 !important;
}
.teacher-badge { position: absolute; top: 0; right: 15px; background: #e31837; color: white; padding: 6px 12px; border-radius: 0 0 10px 10px; text-align: center; z-index: 10; box-shadow: none; border: 1px solid #eeeeee; border-top: none; }
.teacher-badge span { font-size: 20px; display: block; font-weight: 800; line-height: 1; margin-bottom: 2px;}
.teacher-badge small { font-size: 9px; text-transform: lowercase; font-weight: bold; line-height: 1.1; display: block; }
.teacher-img {
    width: 100% !important;
    height: 100% !important; 
    object-fit: cover !important;
    object-position: center !important; 
    display: block !important;
}

/* ÁP DỤNG Ô TRÒN CHO TẤT CẢ CÁC THANH TRƯỢT KHÁC */
.techSwiper, .englishSwiper { width: 100%; padding-bottom: 50px !important; }
.techSwiper .swiper-slide, .englishSwiper .swiper-slide { height: auto; display: flex; padding: 10px; }
.techSwiper .swiper-pagination-bullet, .englishSwiper .swiper-pagination-bullet { 
    width: 12px !important; height: 12px !important; border-radius: 50% !important; background: #ccc !important; opacity: 1 !important; transition: all 0.3s ease !important; margin: 0 6px !important;
}
.techSwiper .swiper-pagination-bullet-active { background: var(--primary-color) !important; transform: scale(1.3) !important; }
.englishSwiper .swiper-pagination-bullet-active { background: #112255 !important; transform: scale(1.3) !important; }

@media (max-width: 720px) {
    .main-header { height: 70px; } .header-logo { width: 50px; height: 50px; } .header-title { font-size: 15px; }
    .header-nav { display: none; }
    .custom-text-box h1, .custom-text-box h2, .custom-text-box h3, .section-heading h2 { font-size: 32px !important; line-height: 1.3 !important; }
    
    .hero-section { flex-direction: column; justify-content: flex-start; min-height: auto; aspect-ratio: 1920 / 800; margin-top: 70px; }
    
    #p_about_title { font-size: 28px !important; }
    .newsSwiper .swiper-slide { width: 250px; }
    #cms_news_title, .news-section .section-heading h2 { font-size: 20px !important; }
    .news-section { padding: 20px 0 0 0 !important; }
    .newsSwiper { padding-bottom: 20px !important; }
    
    .btn-fixed-register { display: none !important; }
    
    .f-support-btn { padding: 10px 15px; font-size: 13px; }
    .f-support-btn i { font-size: 15px; }
    
    #backToTopBtn { bottom: 30px; right: 20px; width: 45px; height: 45px; font-size: 24px; }
    .footer-right { width: 100%; text-align: left;} .footer-container { gap: 20px; }
    .course-card-img { height: 180px; margin-bottom: 20px; }
    .icon-box { top: 160px; left: 20px; width: 45px; height: 45px; font-size: 22px; border-radius: 12px; }
    .course-title { font-size: 18px !important; padding: 0 20px; margin-bottom: 10px; margin-top: 12px; }
    .course-desc { font-size: 14px; padding: 0 20px; line-height: 1.5; }
    .course-card { padding: 0 0 20px 0; border-radius: 15px; }
    .ep-card { padding: 20px; border-radius: 15px; }
    .ep-header { flex-direction: row; margin-bottom: 15px; gap: 10px; align-items: flex-start; }
    .ep-title { font-size: 15px !important; }
    .ep-age-badge { padding: 6px 10px; min-width: 55px; border-radius: 8px; }
    .ep-age-badge span { font-size: 9px; }
    .ep-age-badge strong { font-size: 16px; margin: 2px 0; }
    .ep-img { margin-bottom: 15px; border-radius: 10px; }
    .ep-desc { font-size: 13px; margin-bottom: 15px; }
    .ep-btn { padding: 10px; font-size: 12px; }
    .ep-btn i { width: 22px; height: 22px; font-size: 11px; margin-left: 6px; }
    .teacher-card { padding: 0 !important; }
    .teacherSwiper .swiper-slide, .techSwiper .swiper-slide, .englishSwiper .swiper-slide { padding: 0 5px; }
    #wrap_about { margin-top: -30px !important; padding-top: 0 !important; }
    
    .main-footer { margin: 0 10px 15px 10px !important; padding: 25px 15px !important; border-radius: 15px !important; }
    .footer-container { gap: 15px !important; }
    .footer-right { width: 100% !important; text-align: left !important; }
    
    .f-logo { height: 75px !important; margin-bottom: 12px !important; }
    .f-name { font-size: 15px !important; margin-bottom: 5px !important; line-height: 1.4 !important; } 
    .f-text { font-size: 13px !important; line-height: 1.5 !important; margin-bottom: 5px !important; } 
    .f-privacy { padding-top: 10px !important; margin-top: 10px !important; font-size: 12px !important; } 
    .f-map-wrapper { margin-bottom: 10px !important; }
    .f-map-wrapper iframe { height: 120px !important; } 
    .f-support-btn { padding: 10px 15px !important; font-size: 13px !important; }
} 

/* --- HIỆU ỨNG POPUP CHI TIẾT: MỞ TỪ TRÊN VÀ DƯỚI NHƯ MẬT THƯ (CHẬM RÃI / TỪ TỪ HƠN) --- */
#detailModal.fade .modal-dialog { 
    clip-path: inset(50% 0 50% 0); 
    transform: scale(0.98); 
    transition: clip-path 1.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 1s ease; 
    opacity: 0; 
}
#detailModal.show .modal-dialog { 
    clip-path: inset(-20% -20% -20% -20%); 
    transform: scale(1); 
    opacity: 1; 
}
#registrationModal.fade .modal-dialog { transform: none; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); opacity: 0; }
#registrationModal.show .modal-dialog { transform: none; opacity: 1; }

/* --- STYLE CHO FORM ĐĂNG KÝ FOOTER --- */
@keyframes tiltShaking { 0% { transform: rotate(-3deg); } 10% { transform: rotate(5deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(2deg); } 40% { transform: rotate(-5deg); } 50% { transform: rotate(-3deg); } 100% { transform: rotate(-3deg); } }
.advice-highlight-wrapper { position: relative; display: inline-block; animation: tiltShaking 2s infinite; }
.advice-highlight { background-color: #e31837; color: white; padding: 5px 25px; border-radius: 50px; display: inline-block; font-weight: 800; position: relative; z-index: 2; }
.advice-sparkle { position: absolute; top: -20px; right: -35px; width: 50px; height: 50px; z-index: 1; pointer-events: none; }
.contact-footer-input { padding: 12px 20px !important; background: rgba(255, 255, 255, 0.9) !important; border: 1px solid #eeeeee !important; border-radius: 50px !important; font-size: 14px; transition: 0.3s; }
.contact-footer-input:focus { background: #fff !important; box-shadow: none !important; }
.btn-submit-dark { background-color: #233066 !important; color: white !important; border-radius: 50px !important; padding: 14px !important; font-weight: 700; transition: 0.3s; border: none; }
.btn-submit-dark:hover { background-color: #112255 !important; transform: none; }

/* --- CĂN GIỮA CHỮ VÀ ICON TRONG KHỐI KHÓA HỌC --- */
.course-title, .course-desc { text-align: center !important; }
.icon-box { left: 50% !important; transform: translateX(-50%) !important; }
.ep-title, .ep-desc { text-align: center !important; }
.ep-header { justify-content: center !important; }

/* --- CĂN GIỮA TOÀN BỘ TIÊU ĐỀ CÁC KHỐI --- */
/* --- CĂN GIỮA TOÀN BỘ TIÊU ĐỀ CÁC KHỐI --- */
.section-heading, .section-heading[style] { text-align: center !important; }
.section-heading h2, .section-heading h2[style] { 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    text-align: center !important; 
    width: 100% !important; 
    text-transform: uppercase !important; /* Lệnh ép in hoa toàn bộ chữ */
}
.section-heading h2 i { margin-right: 12px !important; }

/* --- CHO PHÉP CĂN TRÁI NHỮNG KHỐI ĐƯỢC CHỈ ĐỊNH, CÁC KHỐI KHÁC VẪN GIỮA --- */
.section-heading[style*="text-align: left"] { 
    text-align: left !important; 
}
.section-heading[style*="text-align: left"] h2 { 
    justify-content: flex-start !important; 
    text-align: left !important; 
    width: auto !important;
    text-transform: uppercase !important; /* Lệnh ép in hoa toàn bộ chữ cho khối căn trái */
}

/* --- KHẮC PHỤC LỖI MENU CHE TIÊU ĐỀ KHI DÙNG ĐIỂM NEO --- */
.custom-text-box, .mb-5, .english-programs-section, .news-section, .section-master, [id^="wrap_"] { scroll-margin-top: 170px !important; }

/* --- ÉP MÀU CAM MẶC ĐỊNH CHO NÚT TƯ VẤN NGAY --- */
.course-card .mt-auto button:first-child { background-color: #f15a3a !important; color: #ffffff !important; border: none !important; }
.ep-card .ep-btn { background-color: #f15a3a !important; color: #ffffff !important; }
.ep-card .ep-btn i { color: #f15a3a !important; background-color: #ffffff !important; }
.course-card .mt-auto button:first-child:hover, .ep-card .ep-btn:hover { background-color: #d94e30 !important; opacity: 1 !important; }

/* --- SOCIAL FOOTER VIEW TRANG NGƯỜI DÙNG --- */
.footer-social-card { background-color: rgb(255, 255, 255); border-radius: 20px; padding: 25px 40px; text-align: center; box-shadow: none; border: 1px solid #eeeeee; width: 100%; max-width: 650px; }
.footer-social-text { color: #112255; font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.social-icons-wrapper { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.social-icon-btn { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; border: 2px solid #112255; color: #112255; font-size: 20px; text-decoration: none !important; transition: all 0.3s ease; background-color: transparent; }
.social-icon-btn:hover { transform: none; background-color: #f65e18 !important; border-color: #e31837 !important; color: white !important; box-shadow: none !important; }
.social-icon-btn .zalo-text { font-size: 13px; font-weight: 700; line-height: 1; }
@media (max-width: 720px) {
    .footer-social-card { padding: 20px; border-radius: 15px; }
    .footer-social-text { font-size: 15px; margin-bottom: 15px; }
    .social-icon-btn { width: 40px; height: 40px; font-size: 18px; border-width: 2px; }
    .social-icon-btn .zalo-text { font-size: 11px; }
    .social-icons-wrapper { gap: 10px; }
}

/* --- CHO PHÉP CĂN TRÁI NHỮNG KHỐI ĐƯỢC CHỈ ĐỊNH, CÁC KHỐI KHÁC VẪN GIỮA --- */
.section-heading[style*="text-align: left"] { 
    text-align: left !important; 
}
.section-heading[style*="text-align: left"] h2 { 
    justify-content: flex-start !important; 
    text-align: left !important; 
    width: auto !important; /* KHẮC PHỤC LỖI FULL 100% ĐỂ NÚT MORE LÊN CÙNG HÀNG */
}