:root {
    --primary-color: #002749;
    --secondary-color: #FFBF00;
    --text-dark: #333333;
    --text-normal: #000;
    --text-blue: #004AAD;
    --bg-light: #f8f8f8;
    --bs-border-radius: 12px !important;
    font-family: "Gilroy", sans-serif;
    font-size: 16px;
}

body {
    font-family: "Gilroy", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: 16px;
    color: var(--text-dark, #333);
}

strong {
    font-weight: 600;
}

.testimonials-section .section-title-desc,
.team-section .section-title-desc,
.contact-section .section-title-desc,
#offerings-section .section-title-desc {
    margin-top: 16px;
}

#offerings-section {
    padding: 150px 0;
}

/* Header */
.top-bar {

    background: var(--primary-color);
}

.main-menu .nav>li>a {
    color: var(--primary-color);
    font-weight: 600;
}

.main-menu .nav>li>a:hover {
    color: #f1c232;
}

.site-header .form-control {
    background: #f7f7f7;
}

.badge {
    font-size: 12px;
    padding: 3px 6px;
}

.top-bar .find-us,
.top-bar .open-time {
    gap: 32px;
}

.top-bar .find-us strong,
.top-bar .open-time strong {
    font-size: 14px;
    color: var(--secondary-color);
}

.top-bar .find-us .small,
.top-bar .open-time .small {
    color: #fff;
    position: relative;
    font-size: 12px;
}

.top-bar .find-us .small::before,
.top-bar .open-time .small::before {
    content: '';
    top: 15%;
    left: -16px;
    position: absolute;
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.50);
}

.main-menu ul li a {
    text-decoration: unset;
}

.search-box input {
    padding-right: 40px;
    border: unset !important;
    background: transparent !important;
}

.search-box input:focus {
    box-shadow: unset;
}

.nav-section .search-box button svg {
    width: 18px;
    height: 18px;
}

.nav-section .search-box {
    position: relative;
    border-radius: 10px;
    padding: 4px;
    border: 1px solid rgba(0, 39, 73, 0.24);
    background: #F3F3F3;
}

.gap-32 {
    gap: 32px;
}

.menu-primary {
    padding: 8px 0;
}

.flex-1 {
    flex: 1;
}

.nav-section .search-box button {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--M2, #FFBF00);
}

#hero-section {
    position: relative;
    max-height: 750px;
}

#hero-section .video-swiper .swiper-slide::before {
    z-index: 998;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.24) 100%);
}

.hero-title-dev {
    padding-top: 104px;
}

.hero-cta-buttons {
    margin-top: 130px;
}

.video-swiper,
.video-swiper .swiper-wrapper,
.video-swiper .swiper-slide {
    height: 750px !important;
}

.course-item1 {
    border-radius: 5px;
    background: linear-gradient(94deg, rgba(0, 74, 173, 0.90) 69.26%, rgba(0, 74, 173, 0.80) 80.39%, rgba(0, 74, 173, 0.80) 95.95%);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
}

.course-item2 {
    border-radius: 5px;
    background: linear-gradient(94deg, rgba(255, 191, 0, 0.90) 69.26%, rgba(255, 191, 0, 0.80) 80.39%, rgba(255, 191, 0, 0.80) 95.95%);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
}

.course-item {
    gap: 12px;
    padding: 16px 32px;
}

.hero-courses {
    margin-bottom: 50px;
    gap: 40px;
}

.course-item h4 {
    margin-bottom: 0;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.gap-30 {
    gap: 30px;
}

.btn.btn-primary {
    border-radius: 5px;
    background: linear-gradient(94deg, rgba(0, 74, 173, 0.90) 69.26%, rgba(0, 74, 173, 0.80) 80.39%, rgba(0, 74, 173, 0.80) 95.95%);
    color: #FFF;
    text-align: center;
    font-size: 14px;
    border: unset;
    padding: 16px 32px !important;
    font-weight: 500;
    line-height: 1;
}

.course-item a {
    text-decoration: none;
}

.course-item p {
    margin-bottom: 0;
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.video-swiper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* QUAN TRỌNG */
    display: block;
}

.title_banner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
}

.hero-desc {
    margin-bottom: 36px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.24);
}

.btn-video-watch {
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* --- CSS cho Section Testimonials --- */

.testimonials-section {
    padding: 70px 0;
    text-align: center;
}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonials-section .section-title {
    color: #007bff;
    /* Màu xanh nổi bật */
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonials-section .section-description {
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Tiêu đề phụ/Mô tả Section */
.section-description {
    font-size: 1rem;
    color: #666;
    /* Màu xám nhẹ */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    /* Căn giữa khối mô tả */
}

/* Trong trường hợp header có nút "Xem tất cả" (Videos, Sự kiện) */
.events-classes-section .section-header,
.videos-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Căn chỉnh theo đáy của tiêu đề */
    margin-bottom: 30px;
}

/* ============================================ Section Giá trị mang lại ============================== */
.value-section {
    padding: 70px 0;
    background-color: white;
    /* Nền trắng */
    text-align: center;
}

.value-section .value-list svg {
    max-width: 32px;
    min-width: 32px;
}

.value-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.value-section .value-content-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.value-section .value-list li:last-child {
    margin-bottom: 0;
}

.value-section .image-column {
    flex: 1.2;
    position: relative;
    padding: 16px;
}

.value-section .image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1.252;
    margin-left: auto;
}

.value-section .value-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    position: relative;
    z-index: 5;
}

/* Các khối trang trí (Blobs/Blocks) */
.value-section .decoration {
    position: absolute;
    z-index: 1;
    border-radius: 8px;
}

.training-methods-section .image-logo-column .image-box img {
    border-radius: 12px;
    aspect-ratio: 541 / 432;
    padding: 14px;
}

.value-section .image-column::after,
.training-methods-section .image-logo-column .image-box::after,
.diamond-academy-section .image-column::after {
    content: "";
    position: absolute;
    background-color: var(--text-blue);
    width: 50%;
    height: 60%;
    top: 0px;
    left: 0px;
    border-radius: 12px;
}

.value-section .image-column::before,
.training-methods-section .image-logo-column .image-box::before,
.diamond-academy-section .image-column::before {
    content: "";
    position: absolute;
    background-color: var(--secondary-color);
    width: 50%;
    height: 60%;
    bottom: 0px;
    right: 0px;
    border-radius: 12px;
}

.value-section .list-column {
    flex: 1;
    padding-left: 20px;
}

.value-section .value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-section .value-list li p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 0;
}

.value-section .value-list li {
    display: flex;
    align-items: center;
    margin-bottom: 43px;
    gap: 24px;
}

.value-section .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-color: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.value-section .icon::before {
    content: '✔';
    color: white;
}

.value-section .check-blue {
    background-color: #007bff;
}

.value-section .check-yellow {
    background-color: #ffc107;
}

/* ====================== Đội ngũ nhân viên ==================================== */
.team-section {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(0deg, rgba(255, 191, 0, 0.12) 0%, rgba(255, 191, 0, 0.12) 100%), #FFF;
}

.team-section .team-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-bottom: 20px;
    height: fit-content;
    border-radius: 200px 200px 40px 40px;
    background: #FFF;
}

.team-section .team-card:nth-child(2),
.team-section .team-card:nth-child(3) {
    margin-top: 92px;
}

.team-section .bg_team_top_left {
    position: absolute;
    top: 0;
    left: 0;
}

.team-section .bg_team_top_right {
    position: absolute;
    top: 0;
    right: 0;
}

.team-section .avatar-wrapper {
    margin-bottom: 24px;
}

.team-section .bg_team_bottom_right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.team-section .team-card h4 {
    color: var(--text-blue);
    height: 48px;
    margin-bottom: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
}

.team-section .tutor-description {
    color: #000;
    margin-bottom: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* ================================= Định dạng Card Testimonial ========================== */

.testimonials-section .testimonial-card {
    border-radius: 8px;
    border: 1px solid #E1E1E1;
    background: #FFF;
    padding: 16px;
    text-align: left;
    height: auto;
}

.testimonials-section .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.testimonials-section .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonials-section .card-header h4 {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.testimonials-section .card-header p {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

.testimonials-section .rating {
    margin-bottom: 15px;
}

.testimonial-swiper {
    margin-top: 50px;
}

.testimonials-section .review-text {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 150%;
}

.testimonials-section .testimonial-card .info h4 {
    color: var(--text-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
}

.testimonials-section .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.testimonials-section .swiper-pagination-bullet-active {
    background: #007bff;
}

.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
    color: #007bff;
    top: auto;
    bottom: 0;
}

.testimonials-section .swiper-button-next::after {
    content: '→';
    font-size: 24px;
}

.testimonials-section .swiper-pagination {
    bottom: 0px;
    text-align: right;
    width: auto;
    left: auto;
    right: 50px;
}

.testimonials-section .swiper-button-prev {
    display: none;
}

/* ====================================== Section Videos ================================== */
.videos-section {
    padding: 35px 0;
    background-color: #f7f7f7;
}

.videos-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.videos-section .section-title {
    font-size: 1.8rem;
    color: #333;
    border-bottom: 4px solid #ffc107;
    padding-bottom: 5px;
}

.videos-section .view-all {
    text-decoration: none;
    color: var(--text-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.videos-section .video-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cột bằng nhau */
    gap: 20px;
}

.videos-section .video-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.videos-section .video-thumbnail-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    cursor: pointer;
}

.videos-section .video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.videos-section .play-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent white;
}

.videos-section .video-thumbnail-wrapper:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.videos-section .video-content {
    padding: 18px;
    flex-grow: 1;
    text-align: left;
}

.videos-section .video-content h4 {
    color: var(--text-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 0;
}

.videos-section .video-location {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* ====================================== Section Sự kiện / Lớp học ===================================== */
.events-classes-section {
    padding: 35px 0;
    background-color: #f7f7f7;
    /* Nền nhẹ */
}

/* Tiêu đề và Xem tất cả */
.events-classes-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.events-classes-section .view-all {
    color: var(--text-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: normal;
}

/* Lưới 4 cột */
.events-classes-section .event-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cột bằng nhau */
    gap: 20px;
}

/* --- Định dạng Card Sự kiện/Lớp học --- */
.events-classes-section .event-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.events-classes-section .card-image-wrapper {
    position: relative;
    height: 180px;
    /* Chiều cao cố định cho phần hình ảnh */
    overflow: hidden;
}

.events-classes-section .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.events-classes-section .decorative-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #ffc107;
    clip-path: ellipse(150% 100% at 0% 100%);
    transform: rotate(180deg) scaleX(-1);
    transform-origin: top left;
}

.events-classes-section .decorative-curve {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background-color: #ffc107;
    border-radius: 0 0 100% 0;
    transform: rotate(90deg);
    transform-origin: 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.events-classes-section .card-image-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: #ffc107;
    border-radius: 0 100% 0 0;
    transform: rotate(-90deg) translate(-100px, 0);
    transform-origin: 0% 100%;
}

.events-classes-section .card-content {
    padding: 18px;
    flex-grow: 1;
    text-align: left;
}

.events-classes-section .card-content h4 {
    color: var(--text-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 0;
}

.events-classes-section .card-content p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0;
}

.events-classes-section .card-content .read-more a {
    color: var(--text-blue);
    font-size: 14px;
    text-decoration: none;
    text-align: right;
    display: inline-block;
    font-weight: 600;
    margin-top: 22px;
    line-height: normal;
}

/* ====================== Section Featured =============================*/
.filter-tabs {
    gap: 20px;
}

#courses-filter-section {
    padding: 50px 0;
    background: #F4F4F4;
}

.filter-controls .nav-link {
    border-radius: 12px;
    border: 1px solid #E1E1E1;
    background: #FFF;
    display: flex;
    height: 56px;
    padding: 0 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.filter-controls .nav-link.active {
    background: var(--text-blue);
}

.filter-controls .nav-link {
    color: #696984;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.featured-posts-section {
    padding: 35px 0;
    background-color: #f7f7f7;
}

.overflow-line-camp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.overflow-line-camp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.overflow-line-camp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-posts-section h2 {
    color: #007bff;
    margin-bottom: 30px;
}

/* Bố cục chính 2 cột */
.featured-posts-section .posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.small-post-content a {
    text-decoration: none;

}

.featured-posts-section .main-post {
    display: flex;
    flex-direction: column;
}

.featured-posts-section .post-image-large {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-posts-section .post-img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-posts-section .post-content-large h3 {
    color: var(--text-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 150%;
}

.featured-posts-section .post-content-large p {
    overflow: hidden;
    color: #000;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 24px;
}

.featured-posts-section .read-more {
    color: var(--text-blue);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.featured-posts-section .related-posts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-posts-section .small-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.featured-posts-section .small-post-image {
    width: 280px;
    min-width: 280px;
    height: 200px;
    border-radius: 4px;
    aspect-ratio: 1.4;
    overflow: hidden;
    position: relative;
}

.featured-posts-section .small-post-image .post-img {
    object-fit: cover;
    width: 280px;
    min-width: 280px;
    height: 200px;
}

.featured-posts-section .small-post-content h4 {
    color: var(--text-blue);
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 150%;
}

.featured-posts-section .small-post-content p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 150%;
}

.featured-posts-section .post-tag {
    display: inline-flex;
    padding: 5px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: var(--secondary-color);
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.28px;
}

.featured-posts-section .news-tag {
    display: flex;
    padding: 5px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border-radius: 100px;
    background: var(--secondary-color);
    color: #FFF;
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.4px;
}

.border-line {
    padding-bottom: 5px;
    position: relative;
}

.border-line::before {
    content: "";
    background: var(--secondary-color);
    position: absolute;
    width: 94px;
    height: 5px;
    bottom: 0;
    left: 0;
}

.featured-posts-section .yellow-tag {
    background-color: var(--secondary-color);
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.28px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    margin-bottom: 0;
    padding: 5px 24px;
    border-radius: 100px;
}

/* =============================== Section Contact =============================== */
.contact-section {
    padding: 70px 0;
    text-align: center;
}

.contact-section .section-description {
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-section .content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
}

.contact-section .contact-form {
    flex: 0 40%
}

.contact-form .form-group p {
    margin-bottom: 0;
}

.contact-section .map-placeholder iframe {
    width: 100%;
}

.contact-section .map-placeholder {
    flex: 0 60%
}

.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 18px;
    border: 1px solid #E1E1E1;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: white;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.color-yeelow {
    color: #DDA500;
    font-size: 24px;
    line-height: normal;
}

.contact-section .form-group textarea {
    resize: vertical;
}

.contact-section .submit-button {
    display: flex;
    padding: 16px 50px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border: unset !important;
    border-radius: 5px;
    background: var(--text-blue);
    line-height: normal;
}

.contact-section .submit-button:hover {
    background-color: #0056b3;
}

.contact-section .map-placeholder {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 450px;
}

.contact-section .map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */

.custom-footer {
    background: #003a81;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: end;
}

.footer-social a {
    color: #fff;
    font-size: 20px;
    margin-right: 10px;
}

.site-footer .footer-col p {
    margin-bottom: 0;
}

.copyright {
    padding-top: 24px;
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.8;
    border-top: 1px solid var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Định nghĩa màu phụ cho các thành phần đặc trưng */
.text-warning {
    color: var(--secondary-color) !important;
}

.bg-warning-custom {
    background-color: var(--secondary-color) !important;
}

.btn-secondary-custom {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}


/* --- 2. Styling cho Hero Section --- */
.main-header {
    /* Đặt chiều cao tối thiểu cho phép nội dung căn giữa */
    min-height: 450px;
}

.img-absolute {
    width: 177px;
    max-width: 177px;
    min-width: 177px;
    height: 168px;
    top: 30%;
    margin-bottom: 0;
    right: -120px;
    position: absolute;
}

.section-title p {
    margin-bottom: 0;
}

.about-body .main-content {
    color: #000;
}

.about-body .main-content:first-child {
    position: relative;
}

.about-body .stat-item {
    padding: 32px 53px;
}

.about-body {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    column-gap: 60px;
    row-gap: 38px;
    position: relative;
}

.about-body>*:nth-child(1) {
    grid-column: 1/6;
    grid-row: 1/5;
}

.about-body>*:nth-child(2) {
    grid-column: 6/10;
    grid-row: 1/5;
}

.about-body>*:nth-child(3) {
    grid-column: 10/13;
    grid-row: 1/2;
}

.about-body>*:nth-child(4) {
    grid-column: 10/13;
    grid-row: 2/3;
}

.about-body>*:nth-child(5) {
    grid-column: 10/13;
    grid-row: 3/4;
}

.about-body>*:nth-child(6) {
    grid-column: 10/13;
    grid-row: 4/5;
}

.about-body>.primary-stat,
.about-body>.primary-stat {
    background: var(--text-blue);
    border-radius: 12px;
}

.about-body>.primary-stat .stat-number,
.about-body>.primary-stat .stat-number {
    color: #FFF;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0;
}

.about-body>.secondary-stat,
.about-body>.secondary-stat {
    background: var(--secondary-color);
    border-radius: 12px;
}

.about-body>.secondary-stat .stat-number,
.about-body>.secondary-stat .stat-number {
    color: var(--text-blue);
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 0;
    line-height: normal;
}

#about-stats-section {
    padding-top: 50px;
}

.text-right {
    text-align: right;
}

.title-header .section-title {
    color: var(--M1, #004AAD);
    font-size: 24px;
    font-style: normal;
    margin-bottom: 0;
    font-weight: 500;
    line-height: normal;
}

.title-header {
    margin-bottom: 24px;
}

.title-header .section-subtitle p {
    margin-bottom: 0;
}

.title-header .section-subtitle {
    margin-top: 12px;
    color: #004AAD;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0;
}

.pre-line {
    white-space: pre-line;
}

.section-title-desc {
    color: var(--text-normal);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 24px;
    text-transform: capitalize;
}

.hero-title {
    color: #FFF;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.40);
    font-size: 40px;
    line-height: 150%;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
}

/* Điều chỉnh màu cho nút Đăng ký (vì nút primary trong HTML là màu xanh) */
.hero-cta-buttons .btn-secondary-custom {
    color: var(--primary-color) !important;
}


/* --- 3. Styling cho Stats Section (Thống kê) --- */
.academic-excellence-section {
    background-color: white;
}

.stats-block-wrapper .stat-item {
    text-align: center;
    padding: 20px;
}

.stat-label {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}

.stats-block-wrapper .stat-number {
    font-size: 2.5rem;
    line-height: 1;
}

/* Áp dụng màu vàng cho Secondary Stat */
.stats-block-wrapper .secondary-stat {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}


/* --- 4. Styling cho Offerings Section (Dịch vụ) --- */
.offering-item p {
    color: #FFF;
    font-size: 14px;
    text-align: left;
    margin-bottom: 0;
    font-weight: 500;
}

.offering-item {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    padding: 42px 32px;
}

.offering-item.primary-box {
    border-radius: 12px;
    background: var(--text-blue);
}

.offering-item.second-box {
    border-radius: 12px;
    background: var(--secondary-color);
}

.tab-content .tab-pane {
    color: #000;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.top-choice-section .section-title-desc,
.value-section .section-title-desc,
.target-goals-section .section-title-desc,
#courses-filter-section .section-title-desc {
    margin-top: 16px;
}

.offering-item .offering-label {
    color: #FFF;
    font-size: 18px;
    margin-bottom: 12px;
    text-align: left;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.offering-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Áp dụng màu vàng cho Secondary Box */
.secondary-box {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}


/* --- 5. Styling cho Course/Article Sections (Thẻ bài viết/khóa học) --- */
.course-listing-section,
.article-listing-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.card-img-top {
    height: 180px;
    /* Chiều cao cố định cho hình ảnh thẻ */
    object-fit: cover;
}

.card-title {
    font-weight: 600;
}

/* Định dạng đặc trưng cho link "Xem thêm" */
.card-link {
    text-decoration: none;
    font-weight: bold;
}

/* ---------------------------------------------------- */
/* 1. CSS Dành cho Mục tiêu Hướng tới (Override Bootstrap) */
/* ---------------------------------------------------- */

.target-goals-section {
    padding: 60px 0;
    text-align: center;
    background: #F4F4F4;
}


.target-goals-section .section-description {
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.goals-tabs-container {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--text-blue) !important;
    background: rgba(255, 255, 255, 0.00);
    box-shadow: 0 2px 24px 0 rgba(0, 74, 173, 0.12);
}

.goals-tabs-container .nav-link {
    color: var(--text-blue);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* Header/Navigation Tabs (Sử dụng Flex để chia 3 cột) */
.target-goals-section .tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    /* Đảm bảo tab chiếm toàn bộ chiều rộng (ghi đè nav-pills) */
    width: 100%;
    padding: 0;
    margin: 0;
}

.tab-content {
    padding: 56px 93px;
}

.top-choice-section {
    background: #004AAD;
}

.target-goals-section .tab-button {
    flex-grow: 1;
    border-radius: 0;
    /* Xóa border-radius của nav-pills */
    margin: 0;
    /* Xóa margin giữa các tab của nav-pills */
    padding: 20px 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    min-height: 100px;
    border-right: 1px solid #eee;
    border-bottom: none;
    transition: background-color 0.3s, color 0.3s;
}

/* Loại bỏ border cuối */
.target-goals-section .tabs-header .tab-button:last-child {
    border-right: none;
}

/* Style cho Tab Active */
.target-goals-section .tab-button.active {
    background-color: var(--text-blue) !important;
    /* Màu nền xanh đậm */
    color: #fff !important;
    /* Chữ màu trắng */
    border-right: none;
}

/* Style icon chung */
.target-goals-section .icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

/* Icon Active (Màu vàng cam) */
.target-goals-section .tab-button.active .icon svg path {
    fill: var(--secondary-color) !important;
}

.target-goals-section .tab-button .icon svg path {
    fill: var(--text-blue) !important;
}

/* Nội dung của các tab (sử dụng padding của Bootstrap p-4) */
.target-goals-section .tab-content {
    line-height: 1.8;
    color: #555;
    font-size: 15px;
    background: #fff;
}

/* ----------------------------- */
/* Styles cho phần TOP 1 - Lựa Chọn Hàng Đầu */
/* ----------------------------- */

.top-choice-section {
    padding: 67px 0;
    color: #fff;
    text-align: center;
}

/* Header */
.top-choice-section .section-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.top-choice-section .section-title {
    color: #fff;
}

.top-choice-section .section-description {
    color: var(--light-color);
    opacity: 0.85;
    line-height: 1.6;
}

/* Bố cục Grid cho 6 mục */
.top-choice-section .features-grid {
    display: grid;
    /* 3 cột bằng nhau trên desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    /* Khoảng cách giữa các ô */
}

/* Mục Nội dung */
.top-choice-section .feature-item>div {
    max-width: 260px
}

.top-choice-section .feature-item {
    text-align: center;
    color: var(--light-color);
}

.top-choice-section .feature-item:nth-child(3) {
    display: flex;
    justify-content: end;
}

.top-choice-section .feature-item:nth-child(6) {
    display: flex;
    justify-content: end;
}

.top-choice-section .feature-item:nth-child(2) {
    display: flex;
    justify-content: center;
}

.top-choice-section .feature-item:nth-child(5) {
    display: flex;
    justify-content: center;
}

/* Icon */
.top-choice-section .icon-box {
    margin-bottom: 12px;
    display: inline-flex;
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
}

.top-choice-section .icon-box svg {
    width: 36px;
    height: 36px;
    color: var(--icon-color);
    stroke: var(--icon-color);
    stroke-width: 2;
}

.top-choice-section .section-title-desc {
    color: #fff;
}

/* Tiêu đề mục */
.top-choice-section .feature-title {
    color: var(--secondary-color);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

/* Mô tả mục */
.top-choice-section .feature-text {
    color: #FFF;
    text-align: center;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 24px;
}

.value-section-about .list-column {
    flex: 1.2;
    padding: 0;
}

.value-section-about .image-column {
    flex: 1;
}

.diamond-academy-section {
    padding-bottom: 50px;
    padding-top: 40px;
    background-color: #ffffff;
}

.diamond-academy-section .title-header .section-title {
    font-weight: 600;
}

.bg-gray {
    background: #F5F5F5;
}

#breadcrumbs span,
#breadcrumbs a {
    text-decoration: none;
    color: var(--text-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

#breadcrumbs {
    padding: 16px 0;
    margin-bottom: 0;
}

/* Header Info */
.diamond-academy-section .header-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Căn chỉnh thông tin tổ chức xuống cuối */
    margin-bottom: 30px;
}

.diamond-academy-section .academy-title {
    color: var(--primary-blue-dark);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.diamond-academy-section .academy-subtitle {
    color: var(--primary-blue-dark);
    font-size: 18px;
    font-weight: 500;
    margin: 5px 0 0;
}

.diamond-academy-section .organization-info {
    color: var(--light-text-color);
    font-size: 14px;
    text-align: right;
    margin: 0;
}

/* Main Content Wrapper (Flexbox 2 cột) */
.diamond-academy-section .content-wrapper {
    display: flex;
    gap: 40px;
}

/* Cột Văn bản */
.diamond-academy-section .text-column {
    flex: 1;
    /* Chiếm khoảng 60% */
    max-width: 50%;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.7;
    padding-right: 20px;
}

.diamond-academy-section .text-column p {
    margin-bottom: 20px;
}

/* Cột Hình ảnh */
.diamond-academy-section .image-column {
    flex: 1;
    /* Chiếm khoảng 40% */
    max-width: 50%;
    position: relative;
    padding: 16px;
}

.diamond-academy-section .image-box img {
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.diamond-academy-section .image-box {
    position: relative;
    border-radius: 12px;
    z-index: 999;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 74, 173, 0.12) 0%, rgba(0, 74, 173, 0.12) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
}


/* --- Decoration Styles --- */

/* Khối vuông/chữ nhật nhỏ góc dưới */
.diamond-academy-section .decoration-square {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 2;
}

.diamond-academy-section .bottom-left-yellow {
    background-color: var(--secondary-yellow);
    bottom: -15px;
    /* Dịch xuống dưới */
    left: -15px;
    /* Dịch sang trái */
    z-index: 3;
}

.diamond-academy-section .bottom-right-blue {
    background-color: var(--primary-blue-dark);
    bottom: -15px;
    right: -15px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    /* Hình vuông */
    /* Tạo hiệu ứng góc cắt nếu cần, nhưng trong ảnh là hình vuông */
    z-index: 3;
}

/* Thanh trang trí dài bên phải ảnh */
.diamond-academy-section .decoration-strip.right-yellow {
    position: absolute;
    background-color: var(--secondary-yellow);
    width: 20px;
    /* Chiều rộng thanh */
    height: 90%;
    /* Chiều cao gần bằng ảnh */
    top: 5%;
    right: -30px;
    /* Dịch ra ngoài cùng bên phải */
    z-index: 0;
    /* Đặt dưới ảnh */
}

.training-methods-section {
    background-color: var(--primary-blue-dark);
    color: var(--text-color);
    position: relative;
}

/* Main Content Wrapper (Flexbox 2 cột) */
.training-methods-section .method-content-wrapper {
    display: flex;
    align-items: center;
}

.method-content-wrapper .text-column {
    padding: 70px 80px;
    background: #004AAD;
}

.training-methods-section .method-list li p {
    margin-bottom: 0;
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

/* Cột Văn bản/Phương pháp (Trái) */
.training-methods-section .text-column {
    flex: 1;
    /* Chiếm khoảng 60% */
    max-width: 50%;
}

.training-methods-section .section-title {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.training-methods-section .method-list li svg {
    width: 32px;
    min-width: 32px;
}

.method-content-wrapper .text-column {
    padding-right: 164px;
}

/* Danh sách kiểm tra */
.training-methods-section .method-list {
    list-style: none;
    padding: 0;
}

.training-methods-section .method-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.training-methods-section .checkbox-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 25px;
    /* Đảm bảo khoảng cách */
    margin-right: 15px;
    padding: 5px;
    border-radius: 4px;
}

/* Màu cho các dấu kiểm */
.training-methods-section .check-blue {
    background-color: var(--primary-blue-dark);
    border: 1px solid var(--text-color);
    stroke: var(--text-color);
}

.training-methods-section .check-yellow {
    background-color: var(--secondary-yellow);
    border: 1px solid var(--secondary-yellow);
    stroke: var(--primary-blue-dark);
    /* Màu dấu kiểm bên trong màu vàng */
}

/* Cột Hình ảnh/Logo (Phải) */
.training-methods-section .image-logo-column {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 400px;
    /* Chiều cao cố định cho khối này */
}

.training-methods-section .text-column,
.training-methods-section .image-logo-column {
    position: relative;
}

/* Văn bản dọc */
.training-methods-section .image-logo-column .vertical-text {
    position: absolute;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    left: 0;
    color: var(--text-blue);
    font-size: 64px;
    font-weight: 800;
    display: flex;
    align-items: end;
    top: 20px;
    width: fit-content;
    justify-content: end;
    font-style: normal;
    line-height: 1;
    z-index: 999;
    text-transform: uppercase;
}

.training-methods-section .text-column .vertical-text {
    position: absolute;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    right: 0;
    color: #FFF;
    display: flex;
    align-items: end;
    top: 20px;
    width: fit-content;
    justify-content: end;
    font-size: 88px;
    font-style: normal;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.training-methods-section .text-column .vertical-text svg {
    transform: rotate(180deg);
}

.training-methods-section .diamond-icon {
    margin-top: 10px;
}

.training-methods-section .method-list li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 24px;
}

.training-methods-section::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 50%;
    top: 0;
    left: 0;
    background: var(--text-blue);
}

/* Khung ảnh */
.training-methods-section .image-box {
    position: relative;
    /* Dùng flex để canh giữa ảnh trong cột */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: 140px;
    height: 100%;
    padding: 30px;
    /* Khoảng trống cho các góc vàng/xanh */
}

.training-methods-section .main-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    z-index: 2;
    /* Thêm các khối màu trang trí: Dùng pseudo-elements cho đơn giản */
    box-shadow: 15px 15px 0 0 var(--secondary-yellow),
        -15px -15px 0 0 var(--primary-blue-dark);
    /* Thay đổi box-shadow để mô phỏng các góc màu trong hình */
}

.news-list-section .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.news-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.news-body h3 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
}

.news-body p {
    margin: 10px 0;
    color: #555;
}

.pagination-wrapper {
    margin-top: 32px;
    text-align: center;
}

.pagination-wrapper a,
.pagination-wrapper span {
    margin: 0 6px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f2f2f2;
}

.pagination-wrapper .current {
    background: #007bff;
    color: #fff;
}

/* =====================Page Contact==================== */
/* WRAPPER LAYOUT */
.page-contact-wrapper {
    display: flex;
    gap: 70px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-contact-sub {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 24px;
}

/* TITLES */
.page-contact-info {
    flex: 0 40%;
}

.page-contact-row p {
    margin-bottom: 24px;
}

.page-contact-map {
    flex: 1;
}

.page-contact-map iframe {
    border-radius: 5px;
    border: 1px solid #E1E1E1;
    box-shadow: 0 4px 12px 0 rgba(38, 45, 118, 0.25);
}

.page-contact-title p {
    margin-bottom: 0;
}

.page-contact-info-list label {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.page-contact-info-list .value {
    color: var(--text-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.page-contact-title {
    color: var(--text-blue);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: normal;
}

.page-contact-info-list a {
    text-decoration: none;
    color: var(--text-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.page-contact-desc {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 24px;
}

/* INFO LIST */
.page-contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-contact-info-list li {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.page-contact-info-list .icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MAP */
.page-contact-map iframe {
    width: 100%;
    height: 350px;
    border-radius: 16px !important;
}

/* FORM INPUTS */
.page-contact-form .page-contact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.page-contact-form input::placeholder,
.page-contact-form textarea::placeholder
{
    font-size: 16px;
    color: var(--text-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.page-contact-form .btn-primary
{
    width: fit-content;
    padding: 16px 50px !important;
}
.page-contact-form input:focus,
.page-contact-form textarea:focus 
{
    border: 1px solid #E1E1E1;
}
.page-contact-form input,
.page-contact-form textarea {
    width: 100%;
    outline: unset;
    border: 1px solid #E1E1E1;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* SUBMIT BUTTON */
.page-contact-submit {
    margin-top: 20px;
    padding: 12px 28px;
    font-size: 16px;
    background: #003366;
    color: white;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: .2s;
}

.page-contact-submit:hover {
    background: #001f4d;
}

.page-contact-section {
    padding-top: 40px;
}

.page-contact-form-section {
    padding-top: 60px;
    padding-bottom: 70px;
}

/* ------------------------------------------- */
/* A. Event Detail Header (Ảnh nền và Thanh ngày) */
/* ------------------------------------------- */

.event-detail-header {
    /* Đặt ảnh nền sự kiện ở đây */
    background: url('path/to/event_background_image.jpg') no-repeat center center;
    background-size: cover;
    height: 500px; /* Chiều cao cố định */
    position: relative;
}

.event-detail-header .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Lớp phủ đen mờ */
}

.event-detail-header .event-main-title {
    color: var(--text-light);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 50px;
}

.event-detail-header .event-stats-bar {
    display: flex;
    background-color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: -50px; /* Đẩy thanh stats lên trên ảnh nền */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-detail-header .event-date-box {
    background-color: var(--secondary-yellow);
    color: var(--primary-blue-dark);
    padding: 15px 30px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.event-detail-header .event-date-box .day {
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.event-detail-header .event-date-box .month {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.event-detail-header .event-location {
    flex-grow: 1;
    padding: 15px 25px;
    text-align: left;
}

.event-detail-header .event-location .label {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.event-detail-header .event-location .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 5px 0 0;
}

.event-detail-header .event-register {
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.event-detail-header .register-btn {
    background-color: var(--primary-blue-dark);
    color: var(--text-light);
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

/* ------------------------------------------- */
/* B. Event Detail Body (Nội dung và Checklist) */
/* ------------------------------------------- */

.event-detail-body {
    padding: 80px 0 60px;
    background-color: #f8f8f8;
}

.event-detail-body .detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.event-detail-body .event-body-wrapper {
    display: flex;
    gap: 40px;
}

.event-detail-body .event-image-column {
    flex: 1;
}

.event-detail-body .main-event-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-detail-body .event-content-column {
    flex: 1;
    text-align: left;
}

.event-detail-body .content-header {
    color: var(--primary-blue-dark);
    font-size: 24px;
    margin-bottom: 15px;
}

.event-detail-body .event-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.event-detail-body .info-checklist {
    margin-top: 20px;
}

.event-detail-body .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.event-detail-body .info-item .icon-check {
    color: var(--secondary-yellow);
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
    line-height: 1.5;
}

.event-detail-body .info-item p {
    color: var(--text-dark);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.event-detail-body .read-more-btn {
    background-color: var(--primary-blue-dark);
    color: var(--text-light);
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

/* ------------------------------------------- */
/* C. Past Events Grid (Sự kiện đã diễn ra) */
/* ------------------------------------------- */

.past-events-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.past-events-section .section-heading,
.community-activities-section .section-heading,
.reading-program-section .section-heading {
    color: var(--primary-blue-dark);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.past-events-section .events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.past-events-section .event-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.past-events-section .event-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.past-events-section .card-body {
    padding: 15px;
}

.past-events-section .card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    height: 3em; /* Giới hạn chiều cao cho tiêu đề */
    overflow: hidden;
    text-overflow: ellipsis;
}

.past-events-section .card-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
}

.past-events-section .card-info .icon-star,
.past-events-section .card-info .icon-money {
    color: var(--secondary-yellow);
    margin-right: 5px;
}

/* ------------------------------------------- */
/* D. Hoạt động Cộng đồng & Chương trình Độc lập */
/* ------------------------------------------- */

.community-activities-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.community-activities-section .activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.community-activities-section .activity-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.community-activities-section .activity-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.community-activities-section .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-yellow);
    color: var(--primary-blue-dark);
    padding: 15px 10px;
    font-weight: 700;
    font-size: 18px;
}

.community-activities-section .view-all-btn {
    background-color: var(--primary-blue-dark);
    color: var(--text-light);
    border: none;
    padding: 10px 40px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 40px;
}

/* --- Chương trình Độc lập --- */
.reading-program-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.reading-program-section .program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reading-program-section .program-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.reading-program-section .program-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.reading-program-section .card-content {
    padding: 15px;
}

.reading-program-section .card-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.reading-program-section .card-description {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    min-height: 4em;
    overflow: hidden;
}

.reading-program-section .card-link {
    color: var(--primary-blue-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}