/* =============================================
   HOME PAGE STYLES
   ============================================= */

/* TIN TỨC & SỰ KIỆN MỚI NHẤT */
.news-events-section {
    background: #e5e9ff;
    position: relative;
    overflow: visible;
    padding: 40px 0;
}

.news-events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-all-btn {
    background: #264596;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 7px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-btn:hover {
    background: #dc3545;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 69, 150, 0.3);
}

.news-swiper-parent .swiper-wrapper {
    display: flex;
    transition-timing-function: ease;
}

.news-swiper-parent .swiper-slide {
    height: auto;
    display: flex;
}

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    border: 1px solid #264596;
}

.news-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-content {
    padding: 23px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: #264596;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-title a {
    color: #264596;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #dc3545;
    text-decoration: none;
}

.news-description {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 8px 0 0 0;
    flex: 1;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* CHƯƠNG TRÌNH XÚC TIẾN ĐẦU TƯ */
.programs-section {
    background-color: #ffffff;
    position: relative;
    overflow: visible;
    padding: 40px 0;
}

.programs-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.programs-card:hover {
    border: 1px solid #264596;
}

.programs-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.programs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.programs-content {
    padding: 23px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.programs-title-card {
    font-size: 16px;
    font-weight: 600;
    color: #264596;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.programs-title-card a {
    color: #264596;
    text-decoration: none;
    transition: color 0.3s ease;
}

.programs-title-card a:hover {
    color: #1a2f6b;
}

.programs-description {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 8px 0 0 0;
    flex: 1;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* CÁC CHƯƠNG TRÌNH HỖ TRỢ DNNVV */
.support-programs-section {
    background: #e5e9ff;
    position: relative;
    overflow: visible;
    padding: 40px 0;
}

.support-programs-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.support-programs-card:hover {
    border: 1px solid #264596;
}

.support-programs-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.support-programs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.support-programs-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.support-programs-title-card {
    font-size: 18px;
    font-weight: 700;
    color: #264596;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-programs-title-card a {
    color: #264596;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-programs-title-card a:hover {
    color: #dc3545;
    text-decoration: none;
}

.support-programs-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* KẾT QUẢ ĐẠT ĐƯỢC */
.results-section {
    background: #fff;
    position: relative;
    overflow: visible;
    padding: 40px 0;
}

.results-card {
    background: #e5e9ff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    padding: 30px 25px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.results-card:hover {
    border: 1px solid #264596;
}

.results-number {
    font-size: 48px;
    font-weight: 900;
    color: #264596;
    margin-bottom: 12px;
    line-height: 1.1;
}

.results-description {
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.results-number .counter {
    font-weight: 900 !important;
    font-size: 40px !important;
}

.results-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.results-detail-item {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    text-align: left;
}

.results-detail-item .counter {
    font-weight: 700;
    color: #264596;
    font-size: 16px;
}


/* ĐÁNH GIÁ DOANH NGHIỆP */
.reviews-section {
    background: #e5e9ff;
    position: relative;
    overflow: visible;
    padding: 40px 0;
}

.reviews-slider-container.swiper_wrapper {
    height: 400px !important;
}

.reviews-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    padding: 30px 25px;
    text-align: left;
    position: relative;
}

.reviews-card:hover {
    border: 1px solid #264596;
}

.reviews-image {
    width: 100%;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #264596;
}

.reviews-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviews-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
    display: block;
    overflow: visible;
}

.reviews-meta {
    margin-top: auto;
}

.reviews-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.reviews-company {
    font-size: 14px;
    color: #264596;
    font-weight: 500;
}

.reviews-quote-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.reviews-quote-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* THƯ VIỆN ẢNH SỰ KIỆN */
.gallery-section {
    background: #ffffff;
    position: relative;
    overflow: visible;
    padding: 40px 0;
}

.gallery-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover {
    border: 1px solid #264596;
}

.gallery-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    flex: 1;
    font-weight: 600;
    color: #264596;
}

.gallery-view-all {
    margin-top: 30px;
}

.gallery-view-all .btn {
    background: #264596;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.gallery-view-all .btn:hover {
    background: #1e3a7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 69, 150, 0.3);
}

/* Swiper wrapper helper */
.swiper_wrapper {
    width: 100%;
    height: 500px !important;
    overflow: hidden;
}

/* Helper classes */
.max-width-1400 {
    max-width: 1400px !important;
}
