﻿
/* Mobile bottom banner bar */
.mobile-banners {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: none;
    z-index: 2000;
    background: #8B0000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4), 0 -2px 10px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.mobile-banner-link {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 0;
    vertical-align: top;
}

.mobile-banner-img {
    height: 80px;
    width: auto;
    display: block;
}

@media (max-width: 1024px) {
    .mobile-banners {
        display: flex;
        flex-direction: row;
        padding-bottom: 0;
        padding-top: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4), 0 -2px 10px rgba(0, 0, 0, 0.3);
        border-top: 2px solid rgba(255, 255, 255, 0.1);
        bottom: 0;
    }
    
    .mobile-banner-link {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-banner-img {
        width: 100%;
        height: auto;
        max-height: 80px;
        object-fit: contain;
    }
    
    /* Button to top nằm trên mobile banners, cách xa */
    .back-to-top {
        z-index: 10000 !important;
        bottom: 50px !important;
        right: 20px !important;
    }
}
/* Reset and Base Styles */
@font-face {
    font-family: 'UTM Bebas';
    src: url('../Font/UTM-Bebas.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SVN Gilroy';
    src: url('../Font/SVN-Gilroy-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SVN Gilroy';
    src: url('../Font/SVN-Gilroy-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SVN Gilroy';
    src: url('../Font/SVN-Gilroy-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'SVN Gilroy';
    src: url('../Font/SVN-Gilroy-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SVN Gilroy';
    src: url('../Font/SVN-Gilroy-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'SVN Gilroy';
    src: url('../Font/SVN-Gilroy-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
}

body {
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Global heading font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 650;
}

/* Override Bootstrap container if needed */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bootstrap utilities override */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
}

/* Header */
.header {
    background-color: #fff;
    padding: 15px 0 0 0;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    transition: gap 0.3s ease;
    flex-wrap: wrap;
}

/* Bootstrap Navbar Toggler Custom Style */
.navbar-toggler {
    border: none;
    padding: 8px;
    background-color: #8B0000;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: #a00000;
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.3);
    outline: none;
}

.navbar-toggler-icon {
    width: 22px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header.scrolled .header-content {
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: gap 0.3s ease;
}

.header.scrolled .logo {
    gap: 10px;
}

.logo-img {
    height: 75px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .logo-img {
    height: 60px;
}

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1;
}

/* Desktop: Always show menu */
@media (min-width: 768px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
    }
    
    .nav-menu.collapse {
        display: flex !important;
    }
    
    .nav-menu.collapsing {
        display: flex !important;
    }
}

@media (max-width: 767.98px) {
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }
    
    /* Mobile: Use Bootstrap collapse */
    /* Always show menu on mobile (auto open) */
    .nav-menu {
        display: flex !important;
    }
    .nav-menu:not(.show) {
        display: flex !important;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: normal;
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    font-family: 'UTM Bebas', 'Arial', 'Helvetica', sans-serif;
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 5px 2px;
    transition: color 0.3s, font-size 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.header.scrolled .nav-link {
    font-size: 20px;
    padding: 3px 2px;
}

.nav-link:hover {
    color: #8B0000;
}

.nav-link .arrow {
    font-size: 10px;
    margin-left: 5px;
    margin-top: 2px;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu Level 1 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
    border-top: 3px solid #8B0000;
    display: block !important; /* Override Bootstrap */
}

/* Desktop: Show on hover */
@media (min-width: 769px) {
    .nav-item:hover .dropdown-menu,
    .nav-item .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block !important;
    }
}

/* Mobile: Show when has class 'show' */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        margin-top: 0;
        background-color: #f8f8f8;
        display: none !important;
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f8f8;
    color: #8B0000;
    padding-left: 25px;
}

.dropdown-item.has-submenu {
    padding: 0;
}

.dropdown-item.has-submenu > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item.has-submenu:hover > a {
    background-color: #f8f8f8;
    color: #8B0000;
    padding-left: 25px;
}

.arrow-right {
    float: right;
    font-size: 10px;
    transition: transform 0.3s;
    margin-top: 3px;
}

.dropdown-item.has-submenu:hover .arrow-right {
    transform: translateX(3px);
}

/* Submenu Level 2 */
.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-left: 5px;
    border-top: 3px solid #8B0000;
    display: block !important; /* Override Bootstrap */
}

/* Desktop: Show submenu on hover */
@media (min-width: 769px) {
    .dropdown-item.has-submenu:hover .submenu,
    .dropdown-item.has-submenu .submenu.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        display: block !important;
    }
}

/* Mobile: Show submenu when has class 'show' */
@media (max-width: 768px) {
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        margin-left: 0;
        background-color: #f0f0f0;
        display: none !important;
    }
    
    .submenu.show {
        display: block !important;
    }
}

.submenu-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background-color: #f8f8f8;
    color: #8B0000;
    padding-left: 25px;
}

/* Active indicator line */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #8B0000;
}

/* Nav Divider */
.nav-divider {
    width: 1px;
    height: 60px;
    background-color: #d5d5d5;
    margin: 0 5px;
}

/* Search Container */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: scale(1.1);
}

.search-btn svg {
    width: 22px;
    height: 22px;
}

.search-box {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 15px;
    min-width: 300px;
    display: none;
    z-index: 1001;
    margin-top: 10px;
    border-top: 3px solid #8B0000;
}

.search-box.active {
    display: block;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'SVN Gilroy', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #8B0000;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    transition: color 0.3s;
}

.search-close:hover {
    color: #8B0000;
}

/* Hero Section / Slider */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    position: relative;
}

.slider-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.slider-controls {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background-color: rgba(139, 0, 0, 0.85);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.slider-btn:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: normal;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    font-family: 'UTM Bebas', 'Arial', 'Helvetica', sans-serif;
    letter-spacing: 0.1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background-color: #8B0000;
}

/* Why Choose Section */
.why-choose {
    padding: 0;
}

.why-choose-header {
    background-color: #fff;
    padding: 100px 0 50px;
}

.why-choose-title {
    text-align: center;
    font-size: 42px;
    font-weight: normal;
    color: #000;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    padding-bottom: 20px;
    font-family: 'UTM Bebas', 'Arial', 'Helvetica', sans-serif;
    letter-spacing: 0.1px;
}

.why-choose-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background-color: #8B0000;
}

.why-choose-content {
    background-color: #8B0000;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
}

/* Bootstrap grid override for stats - maintain grid layout */
.stats-grid.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    justify-items: center;
}

@media (max-width: 991.98px) {
    .stats-grid.row {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 767.98px) {
    .stats-grid.row {
        grid-template-columns: 1fr;
        display: grid;
        gap: 30px;
    }
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: none;
    border: none;
    border-radius: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: default;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 72px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0;
    line-height: 1;
    font-family: 'Arial Black', 'Arial', sans-serif;
    transition: transform 0.3s ease;
    text-align: center;
    width: 100%;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-divider {
    width: 50px;
    height: 1px;
    background-color: #fff;
    margin: 15px auto;
    transition: width 0.3s ease;
    display: block;
}

.stat-item:hover .stat-divider {
    width: 80px;
}

.stat-text {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.5;
    margin-top: 15px;
    font-family: 'SVN Gilroy', sans-serif;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

.stat-item:hover .stat-text {
    color: #DAA520;
}

/* Training Programs Section */
.training-programs {
    padding: 80px 0;
    background-color: #fff;
}

.programs-carousel-wrapper {
    position: relative;
    padding: 0 70px;
    margin-bottom: 30px;
}

.programs-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 0;
}

.programs-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.program-card {
    flex: 0 0 calc((100% - 60px) / 3);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.carousel-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: rgba(139, 0, 0, 0.85);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
}

.carousel-nav-btn:hover {
    background-color: #8B0000;
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) translateY(0);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* News Section - Card Layout */
.news {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.news-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    position: relative;
    z-index: 10;
}

.news-pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8B0000;
    background-color: #ffffff;
    color: #8B0000;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 11;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.news-pagination-btn:hover:not(:disabled) {
    background-color: #8B0000;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.news-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.news-pagination-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.news-grid-item {
    display: block; /* Show by default, JavaScript will hide extra items */
    width: 100%;
}

.news-card-modern {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.news-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(139, 0, 0, 0.15);
}

/* News Card Image */
.news-card-image-container {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.news-card-image-container.hide_image {
    display: none;
}

.news-card-image-container.show_image {
    display: block;
}

.news-image-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.news-card-modern:hover .news-card-image {
    transform: scale(1.1);
}

.news-image-overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(139, 0, 0, 0) 0%, rgba(139, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.news-card-modern:hover .news-image-overlay-effect {
    opacity: 1;
}

/* News Card Body */
.news-card-body {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.news-card-heading {
    margin: 0 0 14px 0;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.news-card-title-link {
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    line-height: 1.5;
    padding-right: 5px;
}

.news-card-title-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.08) 0%, rgba(160, 0, 0, 0.05) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 3px;
}

.news-card-title-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B0000 0%, #a00000 50%, #8B0000 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

.news-card-title-link:hover {
    color: #8B0000;
    transform: translateX(5px);
    font-weight: 700;
}

.news-card-title-link:hover::before {
    width: calc(100% + 10px);
}

.news-card-title-link:hover::after {
    width: 100%;
    opacity: 1;
}

.news-card-modern:hover .news-card-title-link {
    color: #8B0000;
}

.news-card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex: 1;
    text-align: justify;
    text-align-last: left;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-height: calc(1.5em * 1);
}

/* News Card Footer */
.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #f5f5f5;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: auto;
}

.news-card-modern:hover .news-card-footer {
    border-top-color: #e8e8e8;
}

.news-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #666;
    font-size: 13px;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex-wrap: wrap;
}

.news-author-name,
.news-publish-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
}

.news-author-name:hover,
.news-publish-date:hover {
    color: #8B0000;
    background-color: rgba(139, 0, 0, 0.05);
    transform: translateY(-1px);
}

.news-meta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    vertical-align: middle;
    color: #8B0000;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.news-author-name:hover .news-meta-icon,
.news-publish-date:hover .news-meta-icon {
    opacity: 1;
    transform: scale(1.1);
    color: #8B0000;
}

.news-meta-separator {
    color: #ccc;
    font-weight: 300;
    font-size: 14px;
    opacity: 0.6;
}

.news-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #8B0000 0%, #a00000 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.15);
}

.news-read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.news-read-more-btn:hover {
    background: linear-gradient(135deg, #a00000 0%, #8B0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.35);
    color: #ffffff;
}

.news-read-more-btn:hover::before {
    left: 100%;
}

.news-read-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(139, 0, 0, 0.3);
}

.news-read-more-btn span {
    position: relative;
    z-index: 1;
}

.news-read-more-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.news-read-more-btn:hover svg {
    transform: translateX(5px) scale(1.1);
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.news-pagination-top {
    margin: 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: #8B0000;
    transform: scale(1.2);
}

/* Events Section */
.events {
    padding: 80px 0;
    background-color: #fff;
}

.events .container {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.events-carousel-wrapper {
    position: relative;
    padding: 0;
    margin-top: 40px;
    width: 100%;
}

.events-carousel {
    display: flex;
    gap: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    scroll-snap-type: x mandatory;
}

.events-carousel::-webkit-scrollbar {
    display: none;
}

.event-banner {
    flex: 0 0 100%;
    position: relative;
    border-radius: 0;
    overflow: visible;
    min-height: 500px;
    height: auto;
    scroll-snap-align: start;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.event-overlay {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(139, 0, 0, 0.95);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.event-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #fff;
    font-family: 'SVN Gilroy', 'Arial', sans-serif;
}

.event-details {
    margin-bottom: 25px;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    font-family: 'SVN Gilroy', 'Arial', sans-serif;
}

.event-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.read-more-btn {
    background-color: #fff;
    color: #8B0000;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
    font-family: 'SVN Gilroy', 'Arial', sans-serif;
}

.read-more-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.countdown {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.countdown-item {
    background-color: rgba(139, 0, 0, 0.8);
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    display: block !important;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff !important;
    font-family: 'SVN Gilroy', 'Arial', sans-serif;
    visibility: visible !important;
    opacity: 1 !important;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-family: 'SVN Gilroy', 'Arial', sans-serif;
}

.events-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: rgba(139, 0, 0, 0.85);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
}

.events-nav-btn:hover {
    background-color: #8B0000;
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.events-nav-btn:active {
    transform: translateY(-50%) translateY(0);
}

.events-prev {
    left: 10px;
}

.events-next {
    right: 10px;
}

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.leadership .container {
    padding: 0;
    max-width: 100%;
}

.leadership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(218, 165, 32, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.leadership-slider-wrapper {
    position: relative;
    padding: 0;
    margin-bottom: 30px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.leadership-slider {
    position: relative;
    width: 100vw;
    min-height: 600px;
    height: auto;
    overflow: visible;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin-left: calc(-50vw + 50%);
}

.leadership-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 600px;
    height: auto;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-slide.active {
    opacity: 1;
    z-index: 1;
}

.leadership-image-wrapper {
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: visible;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-image {
    width: 100vw;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


.leadership-slider {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: auto;
    overflow: visible;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.leadership-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 600px;
    height: auto;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-slide.active {
    opacity: 1;
    z-index: 1;
}

.leadership-image-wrapper {
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: visible;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-image {
    width: 100vw;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}



.leadership-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: rgba(139, 0, 0, 0.85);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
}

.leadership-nav-btn:hover {
    background-color: #8B0000;
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.leadership-nav-btn:active {
    transform: translateY(-50%) translateY(0);
}

.leadership-prev {
    left: 10px;
}

.leadership-next {
    right: 10px;
}

.leadership-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.leadership-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.leadership-dot:hover {
    background-color: #8B0000;
    transform: scale(1.2);
}

.leadership-dot.active {
    background-color: #8B0000;
    width: 30px;
    border-radius: 6px;
    border-color: #8B0000;
}

.quote-box {
    position: relative;
    padding: 50px;
    background-color: #fff;
    border-left: 5px solid #8B0000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quote-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><path d="M50 50 L150 50 L150 150 L50 150 Z" fill="none" stroke="rgba(139,0,0,0.05)" stroke-width="2"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.quote {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.quote::before {
    content: '"';
    font-size: 80px;
    position: absolute;
    top: -20px;
    left: -20px;
    color: rgba(139, 0, 0, 0.2);
    font-family: serif;
    line-height: 1;
}

.author-info {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.author-name {
    font-size: 20px;
    font-weight: bold;
    color: #8B0000;
    margin-bottom: 5px;
}

.author-title {
    font-size: 14px;
    color: #666;
}

.author-photo {
    text-align: center;
}

.leader-image {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
}

/* Footer */
.footer {
    background-color: #8B0000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px 50px;
    margin-bottom: 40px;
}

.footer-content .footer-section:nth-child(2) {
    margin-right: -20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #DAA520;
}

.footer-logos {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    max-height: 120px;
    max-width: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    background-color: transparent;
    border: none;
    padding: 0;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Footer links: white text, no underline */
.footer a,
.footer a:visited,
.footer a:hover,
.footer a:active {
    color: #fff;
    text-decoration: none;
}

.partner-logos {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.partner-logo-footer {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    background-color: transparent;
    border: none;
    padding: 0;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.location-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Footer icons (image versions) - keep same size as original emoji */
.location-icon img,
.phone-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    filter: none;
}

.hotline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hotline strong {
    margin-right: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 12px;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-icon:hover {
    color: #DAA520;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #8B0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #a00000;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.read-more-btn {
    background-color: #8B0000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #A52A2A;
}

/* Responsive Design - Bootstrap Breakpoints */
/* Extra Large devices (large desktops, 1200px and up) - Default styles */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    .header-content {
        gap: 40px;
    }
    
    .nav-link {
        font-size: 20px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        max-width: 100%;
    }
    
    .stats-grid.row {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .stat-item {
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 56px;
    }
    
    .program-card {
        min-width: 300px;
    }
    
    .programs-carousel-wrapper {
        padding: 0 50px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-pagination-wrapper {
        gap: 15px;
    }
    
    .news-pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .news-card-image-container {
        height: 200px;
    }
    
    .news-card-body {
        padding: 22px;
    }
    
    .news-card-heading {
        font-size: 15px;
    }
    
    .news-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-top: 18px;
    }
    
    .news-meta-info {
        justify-content: flex-start;
        gap: 12px;
    }
    
    .news-read-more-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 24px;
    }
    
    .leadership-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .slider-container {
        min-height: 500px;
    }
    
    .slider-image {
        min-height: 500px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {

@media (max-width: 767.98px) {
    /* Header Mobile */
    .header {
        padding: 8px 0 0 0;
        margin: 0;
    }
    
    .header-content {
        flex-direction: row;
        gap: 15px;
        justify-content: space-between;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .header.scrolled .logo-img {
        height: 50px;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 6px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #eee;
        display: none;
    }

    .nav-menu.show {
        display: flex !important;
    }

    .nav-menu:not(.show) {
        display: none !important;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 4px;
        justify-content: space-between;
        font-size: 18px;
    }
    
    .header.scrolled .nav-link {
        font-size: 18px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        display: none;
        margin-top: 0;
        background-color: #f8f8f8;
        width: 100%;
    }
    
    .dropdown-item {
        padding-left: 30px;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        display: none;
        margin-left: 0;
        background-color: #f0f0f0;
        width: 100%;
    }
    
    .submenu-item {
        padding-left: 40px;
    }
    
    .nav-divider {
        display: none;
    }
    
    .search-container {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    
    .search-box {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }
    
    /* Slider Mobile */
    .slider-container {
        min-height: auto;
        height: auto;
        margin: 0;
        padding: 0;
    }
    
    .slider-image {
        min-height: auto;
        height: auto;
    }
    
    .hero {
        margin: 0;
        padding: 0;
    }
    
    .slider-image {
        min-height: auto;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Tighten vertical spacing on mobile */
    .why-choose-header {
        padding: 20px 0 20px;
    }
    .why-choose-content {
        padding: 40px 0;
    }
    .training-programs,
    .news,
    .events,
    .video-section,
    .leadership {
        padding: 20px 0;
    }
    .footer {
        padding: 40px 0 15px;
        margin-bottom: 0;
        padding-bottom: 90px;
    }
    .stats-grid,
    .stats-grid.row {
        gap: 20px;
    }
    .section-title,
    .why-choose-title {
        margin-bottom: 25px;
    }
    .events-carousel-wrapper {
        margin-top: 20px;
    }
    .event-overlay {
        margin-top: 12px;
        padding: 16px 12px;
    }
    .container {
        padding: 0 12px;
    }

    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .stats-grid.row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-item {
        padding: 25px 15px;
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-text {
        font-size: 12px;
    }
    
    /* Programs Mobile */
    .programs-carousel-wrapper {
        padding: 0;
    }
    
    .programs-carousel {
        overflow-y: visible;
    }

    .program-card {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
        overflow: visible;
    }

    .programs-carousel {
        gap: 0;
        padding: 0;
        scroll-snap-type: x mandatory;
        scroll-padding: 0;
    }
    
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }
    
    .program-image {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .program-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    /* News Mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-pagination-wrapper {
        gap: 12px;
        margin: 20px 0;
    }
    
    .news-pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .news-grid-item {
        margin-bottom: 0;
    }
    
    .news-card-image-container {
        height: 180px;
    }
    
    .news-card-body {
        padding: 20px;
    }
    
    .news-card-heading {
        font-size: 15px;
    }
    
    .news-card-description {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .news-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 16px;
    }
    
    .news-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 12px;
    }
    
    .news-author-name,
    .news-publish-date {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .news-meta-icon {
        width: 14px;
        height: 14px;
    }
    
    .news-read-more-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 12.5px;
    }
    
    .news-pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Events Mobile */
    .events-carousel-wrapper {
        padding: 0;
    }
    
    .events-carousel {
        align-items: flex-start;
    }

    .event-banner {
        min-height: unset !important;
        height: auto !important;
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
        background-color: #8B0000;
    }
    
    .event-image {
        height: 240px;
        max-height: none;
        object-fit: cover;
    }
    
    .event-overlay {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 0;
        padding: 14px 14px 12px;
        border-radius: 0;
        box-shadow: none;
        background-color: transparent;
        flex: 0 0 auto;
    }
    
    .event-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .event-detail-item {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .event-details {
        margin-bottom: 12px;
    }

    .read-more-btn {
        border-radius: 10px;
        margin-bottom: 0;
        padding: 10px 16px;
        letter-spacing: 0.3px;
    }

    .events-nav-btn {
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    }

    .events-prev {
        left: 8px;
    }

    .events-next {
        right: 8px;
    }
    
    /* Leadership Mobile */
    .leadership-slider-wrapper {
        margin-bottom: 18px;
    }

    .leadership-slider {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        margin-left: 0 !important;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    }

    .leadership-slide {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        min-height: 0 !important;
        height: auto !important;
        opacity: 0;
        display: none;
    }

    .leadership-slide.active {
        opacity: 1;
        display: block;
    }

    .leadership-image-wrapper {
        width: 100% !important;
        height: auto !important;
        overflow: hidden;
        background: #fff;
    }

    .leadership-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain;
        display: block;
    }
    
    .leadership-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Video Mobile */
    .video-container {
        /* keep aspect ratio container; make it a bit taller on mobile */
        padding-bottom: 62.5%;
        height: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: left;
    }
    
    .footer-logo {
        max-height: 72px;
        max-width: 240px;
        margin: 0 auto;
    }
    
    .partner-logos {
        justify-content: center;
        gap: 12px;
    }
    
    .partner-logo-footer {
        max-height: 60px;
        max-width: 150px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 12px;
    }

    .footer {
        padding: 34px 0 12px;
        background: linear-gradient(180deg, #8B0000 0%, #6f0000 100%);
    }

    .footer-section {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 12px;
        padding: 14px 14px;
    }

    .footer-section h4 {
        margin-bottom: 10px;
        font-size: 16px;
        letter-spacing: 0.2px;
    }

    .address, .hotline {
        gap: 10px;
        margin-bottom: 12px;
        line-height: 1.55;
    }

    /* Footer contact block: cleaner, more "card" like */
    .address {
        display: grid;
        grid-template-columns: 32px 1fr;
        gap: 10px;
        align-items: start;
        margin-bottom: 14px;
    }

    .location-icon,
    .phone-icon {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.12);
        flex-shrink: 0;
    }

    .location-icon img,
    .phone-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        display: block;
        filter: none;
    }

    .hotline {
        display: grid;
        grid-template-columns: 32px 1fr;
        gap: 10px;
        align-items: start;
        margin-bottom: 0;
    }

    .hotline-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }

    .hotline-content strong {
        display: block;
        margin: 0 0 6px 0;
        font-size: 13px;
        letter-spacing: 0.3px;
    }

    .hotline-number {
        display: inline-flex;
        width: fit-content;
        font-weight: 700;
        letter-spacing: 0.3px;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: #fff;
        text-decoration: none;
    }

    .hotline-number:active {
        transform: scale(0.98);
    }

    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.14);
    }

    .social-icon:hover {
        background: rgba(255,255,255,0.16);
    }
    
    /* Back to Top Mobile */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 50px;
        right: 20px;
        z-index: 10000 !important;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 24px;
        padding: 30px 15px 20px;
    }
    
    .why-choose-title {
        font-size: 24px;
        padding: 30px 15px 20px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
    
    .slider-container {
        min-height: auto;
    }
    
    .slider-image {
        min-height: auto;
    }
    
    .program-card {
        min-width: 100%;
        flex: 0 0 100%;
        overflow: visible;
    }
    
    .programs-carousel {
        overflow-y: visible;
    }
    
    .program-image {
        height: auto;
        min-height: 0;
        overflow: visible;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-text {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .why-choose-title {
        font-size: 20px;
    }
    
    .event-banner {
        min-height: unset !important;
        height: auto !important;
    }
    
    .event-image {
        height: 220px;
        max-height: none;
    }
    
    .leadership-slider {
        min-height: auto !important;
        height: auto !important;
    }
    
    .video-container {
        padding-bottom: 75%;
        height: 0;
    }
}

/* Article List Page - Beautiful Professional Design */
.article-list-wrapper {
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

/* Page Header - Elegant */
.article-page-header {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #8B0000 0%, #6f0000 50%, #8B0000 100%);
    padding: 60px 0 45px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #DAA520 50%, transparent 100%);
}

.article-page-header .container {
    position: relative;
    z-index: 2;
}

.article-page-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-family: 'UTM Bebas', 'Arial', 'Helvetica', sans-serif;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.article-page-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    margin: 0 0 18px 0;
    letter-spacing: 0.8px;
    font-weight: 400;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.article-page-divider {
    width: 80px;
    height: 3px;
    background-color: #DAA520;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(218, 165, 32, 0.3);
}

/* Article List Content */
.article-list-content {
    padding: 20px 0 80px;
    background-color: #ffffff;
}

.article-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 70px;
}

/* Article Card - Beautiful Design */
.article-grid-item {
    width: 100%;
}

.article-card-modern {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.article-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(139, 0, 0, 0.15);
}

/* Article Card Image */
.article-card-image-container {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.article-card-image-container.hide_image {
    display: none;
}

.article-card-image-container.show_image {
    display: block;
}

.article-image-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.article-card-modern:hover .article-card-image {
    transform: scale(1.1);
}

.article-image-overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(139, 0, 0, 0) 0%, rgba(139, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.article-card-modern:hover .article-image-overlay-effect {
    opacity: 1;
}

/* Article Card Body */
.article-card-body {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.article-card-heading {
    margin: 0 0 14px 0;
    font-size: 19.5px;
    font-weight: 650;
    line-height: 1.45;
    min-height: 56px;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.article-card-title-link {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-card-title-link:hover {
    color: #8B0000;
}

.article-card-description {
    color: #555;
    font-size: 14.5px;
    line-height: 1.75;
    margin: 0 0 20px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
}

/* Article Card Footer */
.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 14px;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #777;
    font-size: 12.5px;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex-wrap: wrap;
}

.article-meta-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    vertical-align: middle;
    opacity: 0.65;
    color: #999;
}

.article-author-name,
.article-publish-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #777;
    font-weight: 500;
}

.article-meta-separator {
    color: #ddd;
    font-weight: 300;
}

.article-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background-color: #8B0000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'SVN Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: none;
    cursor: pointer;
}

.article-read-more-btn:hover {
    background-color: #a00000;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(139, 0, 0, 0.3);
    color: #ffffff;
}

.article-read-more-btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.article-read-more-btn:hover svg {
    transform: translateX(3px);
}

/* Pagination Container */
.article-pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .article-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }
    
    .article-page-header {
        min-height: 170px;
        padding: 55px 0 40px;
        margin-bottom: 50px;
    }
    
    .article-page-title {
        font-size: 32px;
    }
    
    .article-list-content {
        padding: 10px 0 70px;
    }
}

@media (max-width: 767.98px) {
    .article-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    .article-page-header {
        min-height: 160px;
        padding: 45px 0 35px;
        margin-bottom: 40px;
    }
    
    .article-page-title {
        font-size: 26px;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }
    
    .article-page-subtitle {
        font-size: 13px;
        margin-bottom: 14px;
    }
    
    .article-page-divider {
        width: 70px;
        height: 2.5px;
    }
    
    .article-list-content {
        padding: 0 0 60px;
    }
    
    .article-card-image-container {
        height: 200px;
    }
    
    .article-card-body {
        padding: 22px;
    }
    
    .article-card-heading {
        font-size: 17.5px;
        min-height: 50px;
        margin-bottom: 12px;
    }
    
    .article-card-description {
        font-size: 14px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        line-height: 1.7;
        margin-bottom: 18px;
    }
    
    .article-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 16px;
    }
    
    .article-read-more-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .article-page-header {
        min-height: 150px;
        padding: 40px 0 30px;
        margin-bottom: 35px;
    }
    
    .article-page-title {
        font-size: 22px;
        letter-spacing: 0.8px;
    }
    
    .article-grid-wrapper {
        gap: 20px;
    }
    
    .article-card-image-container {
        height: 180px;
    }
    
    .article-card-body {
        padding: 20px;
    }
    
    .article-card-heading {
        font-size: 16.5px;
        min-height: 46px;
    }
    
    .article-meta-info {
        font-size: 12px;
        gap: 7px;
    }
    
    .article-read-more-btn {
        padding: 8px 18px;
        font-size: 12.5px;
    }
}

/* Right Side Banners - moved to inline styles in HTML */

