/*
Theme Name: wp-gae
Theme URI: 
Author: 
Author URI: 
Description: Theme WordPress giống alpec.com.vn
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-gae
Tags: 
*/

/* Reset và styles cơ bản */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: #2a2a2a;
    padding: 10px 0;
    color: var(--white);
    width: 100%;
}

.top-bar .container {
    max-width: 100%;
    padding: 0 20px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left .hotline-text {
    color: #d4af37;
    font-size: 14px;
}

.top-bar-left .hotline-text strong {
    font-weight: 700;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-text {
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

.search-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.search-toggle svg {
    width: 20px;
    height: 20px;
}

.search-form-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 300px;
    margin-top: 10px;
}

.search-form-wrapper form {
    display: flex;
    gap: 10px;
}

.search-form-wrapper input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.search-form-wrapper input[type="submit"] {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.search-form-wrapper input[type="submit"]:hover {
    background: var(--secondary-color);
}

/* Main Navigation Bar */
.main-nav-bar {
    background: #c41e3a;
    padding: 0;
    width: 100%;
    position: relative;
    overflow: visible;
}

.main-nav-bar .container {
    max-width: 100%;
    padding: 0 20px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.nav-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    flex-wrap: nowrap;
    width: 100%;
    overflow: visible;
}

.site-logo {
    flex-shrink: 0;
    flex: 0 0 auto;
    overflow: visible;
    padding: 15px 20px;
    margin: -15px -20px;
    position: relative;
    z-index: 1;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-logo .site-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1.5px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: color 0.3s, transform 0.3s ease;
    transform-origin: center center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.site-logo .site-title:hover {
    color: #FFD700;
    transform: scale(1.1);
}

.site-logo .logo-line-1,
.site-logo .logo-line-2 {
    display: block;
    white-space: nowrap;
    font-size: 32px;
    transition: color 0.3s;
}

.site-logo .site-title:hover .logo-line-1,
.site-logo .site-title:hover .logo-line-2 {
    color: #FFD700;
}

.site-logo .logo-line-1 {
    margin-bottom: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.anniversary-badge {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 3px;
    font-family: 'Arial', sans-serif;
}

/* Elementor Container Styles */
.elementor-widget-container {
    width: 100%;
}

.elementor-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.elementor-column-gap-default {
    gap: 0;
}

.main-navigation .elementor-widget-container {
    width: 100%;
    overflow: visible;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    margin: 0 20px;
    overflow: hidden;
}

.main-navigation .elementor-widget-container {
    width: 100%;
    overflow: visible;
}

.main-navigation .elementor-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: visible;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: visible;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    font-family: 'Arial', sans-serif;
    position: relative;
    display: inline-block;
    padding: 5px 0;
    white-space: nowrap;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--white);
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation .elementor-item {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.3s ease;
    font-family: 'Arial', sans-serif;
    position: relative;
    display: inline-block;
    padding: 5px 0;
    transform-origin: center;
    overflow: visible;
}

.main-navigation .elementor-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.main-navigation .elementor-item:hover {
    color: #FFD700;
    transform: scale(1.1);
}

.main-navigation .elementor-item:hover::after {
    width: 100%;
    background-color: #FFD700;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/mock-hero.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider-section .elementor-container {
    height: 100%;
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider-section .elementor-column {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider-section .elementor-widget-wrap {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider-section .elementor-widget-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider-section .elementor-swiper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-swiper {
    width: 100%;
    height: 600px;
    position: relative;
    margin: 0 auto;
}

.hero-main-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-main-swiper .swiper-slide > * {
    pointer-events: none;
}

.swiper-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.swiper-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.8;
}

.swiper-slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.elementor-slide-heading {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Navigation Buttons - Copy y nguyên từ alpec */
.hero-main-swiper .elementor-swiper-button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    min-width: 50px !important;
    min-height: 50px !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Đảm bảo buttons luôn có thể click được trong loop mode */
.hero-main-swiper .elementor-swiper-button.swiper-button-disabled {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.hero-main-swiper .elementor-swiper-button:hover {
    opacity: 0.8;
}

.hero-main-swiper .elementor-swiper-button-prev {
    left: 10px;
}

.hero-main-swiper .elementor-swiper-button-next {
    right: 10px;
}

.hero-main-swiper .elementor-swiper-button .swiper-button-icon,
.hero-main-swiper .elementor-swiper-button i {
    color: var(--white) !important;
    font-size: 40px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    line-height: 1 !important;
    font-style: normal !important;
    font-weight: bold !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-align: center !important;
    vertical-align: middle !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: Arial, sans-serif !important;
}

/* Pagination (3 dots, click → slide tương ứng, giống alpec) */
.hero-main-swiper .swiper-pagination,
.hero-main-swiper .hero-swiper-pagination {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    width: auto !important;
    margin: 0 !important;
    pointer-events: auto !important;
}

.hero-main-swiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.hero-main-swiper .swiper-pagination-bullet-active {
    background: var(--white) !important;
    width: 30px !important;
    height: 12px !important;
    border-radius: 6px !important;
    opacity: 1 !important;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swiper-slide-content.animated.fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider-section,
    .hero-main-swiper {
        height: 400px;
    }
    
    .elementor-slide-heading {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .hero-main-swiper .elementor-swiper-button {
        width: 45px !important;
        height: 45px !important;
        padding: 0;
    }
    
    .hero-main-swiper .elementor-swiper-button .swiper-button-icon,
    .hero-main-swiper .elementor-swiper-button i {
        font-size: 30px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .hero-main-swiper .elementor-swiper-button-prev {
        left: 10px;
    }
    
    .hero-main-swiper .elementor-swiper-button-next {
        right: 10px;
    }
    
    .hero-main-swiper .swiper-pagination {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-slider-section,
    .hero-main-swiper {
        height: 350px;
    }
    
    .elementor-slide-heading {
        font-size: 24px;
    }
    
    .hero-main-swiper .swiper-pagination {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 15px !important;
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

/* Products Section */
.section.elementor-section {
    padding: 80px 0;
}

.section .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section .elementor-column {
    width: 100%;
}

.section .elementor-widget-wrap {
    width: 100%;
}

.section .elementor-widget-container {
    width: 100%;
}

.e-swiper-container {
    width: 100%;
}

.products-description {
    max-width: 900px;
    margin: 30px auto 50px;
    text-align: center;
    padding: 0 20px;
}

.products-description p {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.products-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    color: var(--secondary-color);
    text-decoration: none;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Projects Section - Giống alpec.com.vn */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 0;
}

/* Partners Section - Chỉ tên công ty đối tác (không hiển thị dự án) */
.partners-section .section-title {
    margin-bottom: 32px;
}
.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.partner-name {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color, #333);
    background: var(--bg-light, #f5f5f5);
    border-radius: 6px;
    white-space: nowrap;
}
.partner-name:hover {
    background: var(--primary-color, #0066b3);
    color: #fff;
}

/* Elementor Projects - Cấu trúc giống alpec */
.elementor-element-5832145 {
    padding: 50px 0 60px !important;
    display: block !important;
}

.elementor-element-5832145 .elementor-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.elementor-element-5832145 .elementor-element-c961bc5 {
    width: 100%;
}

.elementor-element-5832145 .elementor-widget-wrap {
    width: 100%;
}

.elementor-projects-wrap {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Grid 3 cột, 2 hàng - giống alpec */
.elementor-projects-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-top: 32px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.elementor-element-5832145 .projects-section-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    width: 100% !important;
}

/* Card dự án - tỷ lệ gọn giống alpec (cao ~250px) */
.elementor-element-5832145 .project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

/* Overlay chỉ tên dự án - giống alpec */
.elementor-element-5832145 .project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4), transparent);
    padding: 20px 16px 16px;
    color: #fff;
}

.elementor-element-5832145 .project-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.elementor-element-5832145 .project-overlay p {
    font-size: 13px;
    margin: 6px 0 0;
    opacity: 0.9;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4), transparent);
    padding: 20px 16px 16px;
    color: #fff;
}

.project-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.project-overlay p {
    font-size: 13px;
    margin: 6px 0 0;
    opacity: 0.9;
}

/* Sự kiện - Hoạt động: chiều rộng giống .section, đẩy xuống chút, đáy gọn */
.elementor-element-44c0f5b {
    margin-top: 24px !important;
    padding: 60px 0 48px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.elementor-element-44c0f5b .elementor-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
}
@media (min-width: 1200px) {
    .elementor-element-44c0f5b .elementor-container {
        width: 1200px !important;
    }
}

.elementor-element-44c0f5b .elementor-widget-wrap.e-swiper-container,
.elementor-element-44c0f5b .elementor-widget-slides .elementor-widget-container {
    overflow: visible !important;
    width: 100% !important;
}

.elementor-element-44c0f5b .elementor-widget-wrap.e-swiper-container {
    min-height: 420px;
}

.elementor-element-44c0f5b .events-section-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin: 0 0 28px !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.swiper-events {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    padding: 28px 0 24px;
    height: auto !important;
    min-height: 420px;
    overflow: visible !important;
}

.swiper-events .swiper-wrapper {
    align-items: stretch;
}

/* Swiper điều khiển width khi slidesPerView: 3; overflow visible để slide active scale không bị cắt góc */
.swiper-events .swiper-slide {
    height: auto;
    box-sizing: border-box;
    overflow: visible;
}

/* Scale đặt trên card bên trong */
.swiper-events .swiper-slide .events-slide-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform: scale(0.88);
}

/* Slide ở giữa (active): to hơn, bo tròn đủ 4 góc; scale vừa để không bị cắt trên */
.swiper-events .swiper-slide-active .events-slide-card {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.events-slide-card {
    display: block;
    height: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.events-slide-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Cả slide là link, ấn vào mở tab mới (giống alpec) */
.events-slide-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.events-slide-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 58%;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.events-slide-image img,
.events-slide-image .events-slide-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Chữ tối giản trong ảnh (overlay giống alpec) */
.events-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4), transparent);
}

.events-slide-overlay-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swiper-events .swiper-pagination-events {
    position: relative !important;
    margin-top: 24px !important;
    bottom: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    pointer-events: auto !important;
}
.swiper-events .swiper-pagination-bullet {
    cursor: pointer;
}

/* Nút trái/phải đặt trong vùng slider (giống các section khác, không cần padding 180px) */
/* Nút prev/next đã bỏ — ẩn nếu còn trong DOM */
.swiper-events .swiper-button-events-prev,
.swiper-events .swiper-button-events-next {
    display: none !important;
}

@media (max-width: 1024px) {
    .elementor-element-44c0f5b {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

@media (max-width: 768px) {
    .elementor-element-44c0f5b {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .elementor-element-44c0f5b .events-section-title {
        font-size: 26px !important;
    }
    .swiper-events {
        min-height: 400px;
    }
}

/* Tablet/desktop: Swiper dùng slidesPerView 2/3, không set width slide */

/* Lightbox ảnh sự kiện (giống alpec: ấn vào ảnh = zoom giữa màn hình) */
.events-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.events-lightbox.is-open {
    display: flex !important;
}

.events-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.events-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: events-lightbox-zoom 0.3s ease forwards;
    object-fit: contain;
}

@keyframes events-lightbox-zoom {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.events-lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.events-lightbox-close:hover {
    background: #fff;
    color: #000;
}

.events-lightbox-trigger {
    cursor: pointer;
}

/* News Section */
/* News Section - Elementor Style */
.elementor-element-a37f6c3 {
    padding: 80px 0;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.elementor-element-a37f6c3 .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.elementor-element-a37f6c3 .elementor-widget-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.elementor-element-a37f6c3 .news-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.elementor-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.elementor-news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.elementor-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.elementor-news-card .news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.elementor-news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.elementor-news-card:hover .news-image img {
    transform: scale(1.05);
}

.elementor-news-card .news-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.elementor-news-card .placeholder-content {
    font-size: 60px;
    opacity: 0.7;
}

.elementor-news-card .news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.elementor-news-card .news-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.elementor-news-card .news-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.4;
    flex: 1;
}

.elementor-news-card .news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.elementor-news-card .news-title a:hover {
    color: var(--secondary-color);
}

.elementor-news-card .news-excerpt {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.elementor-news-card .news-read-more {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: auto;
}

.elementor-news-card .news-read-more:hover {
    color: var(--primary-color);
}

/* Legacy News Styles (for backward compatibility) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f0f0f0;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: var(--secondary-color);
}

/* Responsive News Grid */
@media (max-width: 1024px) {
    .elementor-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .elementor-projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .elementor-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .elementor-element-a37f6c3 {
        padding: 60px 0;
    }
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background-color: #e0e0e0;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cta-section .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-section .elementor-widget-container {
    width: 100%;
}

/* Video Background */
.cta-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.cta-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.cta-video-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Nếu có video, overlay sẽ mờ hơn */
.cta-video-background:has(video) .cta-video-overlay {
    opacity: 0.7;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--white);
}

/* Slider Section */
.slider-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.slider-section .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider-section .elementor-column {
    width: 100%;
}

.slider-section .elementor-widget-wrap {
    width: 100%;
}

.slider-section .elementor-widget-container {
    width: 100%;
    overflow: visible;
}

/* Container cho slider trong Products section */
.section .elementor-widget-container {
    overflow: visible;
    width: 100%;
}

.swiper-tango {
    width: 100%;
    padding: 60px 0 100px;
    overflow: visible !important;
    position: relative;
    min-height: 500px;
}

.swiper-tango.swiper-3d {
    perspective: 1200px;
    -webkit-perspective: 1200px;
}

.swiper-tango .swiper-wrapper {
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* Fallback khi Swiper chưa init */
.swiper-tango:not(.swiper-initialized) .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: center;
    gap: 30px;
}

.swiper-tango .swiper-slide {
    width: 320px !important;
    height: auto;
    flex-shrink: 0;
    transition-property: transform;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    opacity: 0.6;
    transition: opacity 0.3s;
    display: block !important;
    visibility: visible !important;
    position: relative;
}

/* Hiển thị slides ngay cả khi Swiper chưa init */
.swiper-tango:not(.swiper-initialized) .swiper-slide {
    display: inline-block !important;
    margin: 0 15px;
    vertical-align: top;
}

/* Slide trung tâm (active) nổi bật: scale lớn hơn, z-index cao */
.swiper-tango .swiper-slide-active {
    opacity: 1;
    z-index: 3;
}

.swiper-tango .swiper-slide-active .slider-item {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: scale(1.08);
    z-index: 2;
}

.swiper-tango .swiper-slide-prev,
.swiper-tango .swiper-slide-next {
    opacity: 0.85;
    z-index: 1;
}

.swiper-tango .swiper-slide-shadow-left,
.swiper-tango .swiper-slide-shadow-right {
    background-image: linear-gradient(to left, rgba(0,0,0,0.3), rgba(0,0,0,0));
}

.slider-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Scale active đã đặt ở block .swiper-slide-active phía trên */

.slider-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.slider-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.slider-content {
    padding: 25px;
    text-align: center;
}

.slider-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.slider-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* Swiper Navigation */
.swiper-tango .swiper-button-next,
.swiper-tango .swiper-button-prev {
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-tango .swiper-button-next:after,
.swiper-tango .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-tango .swiper-button-next:hover,
.swiper-tango .swiper-button-prev:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Swiper Pagination (dots click → slide tương ứng, đặt dưới slider không đè) */
.swiper-tango .swiper-pagination,
.swiper-tango .swiper-pagination-tango {
    bottom: 0;
    position: relative;
    margin-top: 50px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
    z-index: 10;
}

.swiper-tango .swiper-pagination-bullet {
    background: var(--secondary-color);
    opacity: 0.5;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    transition: all 0.3s;
    cursor: pointer;
}

.swiper-tango .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    width: 24px;
    border-radius: 6px;
}

/* Elementor Button Styles */
.elementor-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.elementor-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elementor-button:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    color: var(--white);
}

.elementor-button-text {
    display: inline-block;
}

.elementor-size-sm {
    font-size: 14px;
    padding: 10px 25px;
}

.elementor-align-center {
    text-align: center;
}

/* Đảm bảo slider hiển thị */
.swiper-tango .swiper-wrapper {
    display: flex !important;
    align-items: center;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.swiper-tango .swiper-slide {
    display: block !important;
    visibility: visible !important;
}

/* Responsive cho slider */
@media (max-width: 768px) {
    .swiper-tango .swiper-slide {
        width: 250px !important;
    }
    
    .swiper-tango {
        padding: 30px 0 60px;
    }
    
    .elementor-button {
        font-size: 12px;
        padding: 10px 20px;
    }
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-widget p,
.footer-widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
    font-size: 14px;
}

.footer-widget a:hover {
    color: var(--secondary-color);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Content Styles */
.site-content {
    padding: 60px 0;
    min-height: 60vh;
}

.posts-container {
    display: grid;
    gap: 40px;
}

.post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-thumbnail {
    overflow: hidden;
    border-radius: 10px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    display: flex;
    flex-direction: column;
}

.entry-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.entry-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: var(--secondary-color);
}

.entry-meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.entry-summary {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.entry-footer {
    margin-top: auto;
}

.entry-content {
    line-height: 1.8;
    font-size: 18px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    color: var(--primary-color);
}

.entry-content h3 {
    font-size: 24px;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 40px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Post Navigation */
.post-navigation {
    margin: 50px 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    padding: 20px;
    background: var(--white);
    border-radius: 5px;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.post-navigation .nav-title {
    font-weight: 600;
    color: var(--primary-color);
}

.post-navigation a {
    text-decoration: none;
}

.post-navigation a:hover .nav-title {
    color: var(--secondary-color);
}

/* Tags Links */
.tags-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tags-links a {
    display: inline-block;
    padding: 5px 15px;
    background: var(--bg-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.tags-links a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Single Post & Page Wrapper */
.single-post-wrapper,
.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.single-post-wrapper .entry-header,
.page-wrapper .entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.single-post-wrapper .entry-title,
.page-wrapper .entry-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.single-post-wrapper .entry-meta,
.page-wrapper .entry-meta {
    text-align: center;
    margin-bottom: 30px;
}

.single-post-wrapper .post-thumbnail,
.page-wrapper .post-thumbnail {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.single-post-wrapper .post-thumbnail img,
.page-wrapper .post-thumbnail img {
    width: 100%;
    height: auto;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.archive-description {
    color: var(--text-light);
    font-size: 18px;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* No Content */
.no-content {
    text-align: center;
    padding: 60px 20px;
}

.no-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.no-content p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
}

/* Responsive Design - Menu 2 hàng khi màn hình nhỏ hơn 1025px */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Giữ nguyên layout header 3 phần ngang */
    .nav-bar-content {
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .site-logo {
        flex: 0 0 auto !important;
        order: 1;
        margin-right: auto;
        display: flex;
        align-items: center;
    }
    
    .site-logo .site-title {
        align-items: center;
    }
    
    .site-logo .logo-line-1,
    .site-logo .logo-line-2 {
        font-size: 24px;
    }
    
    /* Menu ở giữa nhưng lệch phải sát "20 NĂM" */
    .main-navigation {
        flex: 0 1 auto;
        min-width: 0;
        order: 2;
        margin-left: auto;
        margin-right: 20px;
        max-width: none;
    }
    
    /* Chỉ menu items chia thành 2 hàng */
    .main-navigation .elementor-widget-container {
        width: 100%;
        max-width: 100%;
    }
    
    .main-navigation .elementor-container {
        width: 100%;
        max-width: 100%;
        justify-content: flex-end;
        display: flex;
    }
    
    /* "20 NĂM" ở phần 3 - bên phải */
    .nav-right {
        order: 3;
        margin-left: 0;
        margin-right: 0;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center;
    }
    
    .nav-right .anniversary-badge {
        display: block !important;
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .main-navigation ul {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px 15px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        align-items: center;
    }
    
    .main-navigation li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .main-navigation a,
    .main-navigation .elementor-item {
        font-size: 13px;
        white-space: nowrap;
        padding: 4px 0;
        width: 100%;
        text-align: center;
        display: inline-block;
    }
    
    .site-logo .site-title {
        font-size: 32px;
        letter-spacing: 1.5px;
        align-items: center;
    }
    
    .site-logo .logo-line-1,
    .site-logo .logo-line-2 {
        font-size: 32px;
    }
    
    .main-navigation a,
    .main-navigation .elementor-item {
        font-size: 15px;
    }
    
    .nav-right .anniversary-badge {
        font-size: 32px;
    }
}

/* Responsive Design - Menu 2 hàng nhưng giữ nguyên cỡ chữ (1025px - 1400px) */
@media (max-width: 1400px) and (min-width: 1025px) {
    /* Giữ nguyên layout header 3 phần ngang */
    .nav-bar-content {
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .site-logo {
        flex: 0 0 auto !important;
        order: 1;
        margin-right: auto;
        display: flex;
        align-items: center;
    }
    
    .site-logo .site-title {
        align-items: center;
    }
    
    .site-logo .logo-line-1,
    .site-logo .logo-line-2 {
        font-size: 32px;
    }
    
    /* Menu ở giữa nhưng lệch phải sát "20 NĂM" */
    .main-navigation {
        flex: 0 1 auto;
        min-width: 0;
        order: 2;
        margin-left: auto;
        margin-right: 20px;
        max-width: none;
    }
    
    /* Chỉ menu items chia thành 2 hàng */
    .main-navigation .elementor-widget-container {
        width: 100%;
        max-width: 100%;
    }
    
    .main-navigation .elementor-container {
        width: 100%;
        max-width: 100%;
        justify-content: flex-end;
        display: flex;
    }
    
    .main-navigation ul {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px 15px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        align-items: center;
    }
    
    .main-navigation li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .main-navigation a,
    .main-navigation .elementor-item {
        font-size: 15px;
        white-space: nowrap;
        padding: 4px 0;
        width: 100%;
        text-align: center;
        display: inline-block;
    }
    
    /* "20 NĂM" ở phần 3 - bên phải */
    .nav-right {
        order: 3;
        margin-left: 0;
        margin-right: 0;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center;
    }
    
    .nav-right .anniversary-badge {
        display: block !important;
        font-size: 32px;
        letter-spacing: 3px;
    }
}

/* Responsive Design - Tablet (đã được xử lý ở breakpoint trên) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 15px;
    }
    
    .main-nav-bar .container {
        padding: 0 15px;
    }
    
    .top-bar .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section .elementor-container {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Layout mobile: Phần 1 (Logo) | Phần 2 (20 NĂM) | Phần 3 (Hamburger) */
    .nav-bar-content {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Header container để menu mở rộng */
    .main-nav-bar {
        position: relative;
    }
    
    /* Menu mobile sẽ mở rộng và đẩy content xuống */
    .main-navigation {
        position: relative;
        width: 100%;
        background: #c41e3a;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        order: 4;
        flex: 1 1 100%;
        min-width: 100%;
        margin-top: 0;
        z-index: 10;
        display: block;
    }
    
    /* Khi menu mở, đảm bảo nó đẩy content xuống */
    .main-nav-bar .container {
        display: flex;
        flex-direction: column;
    }
    
    .nav-bar-content {
        width: 100%;
        padding: 0 20px;
    }
    
    .main-navigation {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .main-navigation.mobile-menu-active {
        max-height: 600px;
        overflow-y: auto;
    }
    
    .main-navigation .elementor-container {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
        width: 100%;
        flex-wrap: nowrap;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
    }
    
    .site-logo {
        order: 1;
        flex: 0 0 auto;
        margin-right: auto;
    }
    
    /* Phần 2: "20 NĂM" ở giữa */
    .nav-right {
        order: 2;
        flex: 0 0 auto;
        display: flex !important;
        align-items: center;
        margin: 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-right .anniversary-badge {
        display: block !important;
        font-size: 32px;
        letter-spacing: 3px;
    }
    
    /* Phần 3: Hamburger menu ở bên phải */
    .mobile-menu-toggle {
        order: 3;
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    .main-navigation a,
    .main-navigation .elementor-item {
        display: block;
        padding: 15px 0;
        white-space: normal;
        text-align: left;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .products-grid,
    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Elementor Projects Grid - Responsive */
    .elementor-projects-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .post-item {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .main-nav-bar .container {
        padding: 0 15px;
    }
    
    .top-bar .container {
        padding: 0 15px;
    }
    
    .site-logo .site-title {
        font-size: 18px;
        letter-spacing: 0.5px;
        align-items: center;
    }
    
    .site-logo .logo-line-1,
    .site-logo .logo-line-2 {
        font-size: 18px;
    }
    
    .nav-bar-content {
        padding: 10px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .swiper-tango {
        padding: 30px 0 60px;
    }
    
    .swiper-tango .swiper-slide {
        width: 250px !important;
    }
    
    .elementor-element-6521d68 {
        padding: 50px 0;
    }
    
    .elementor-element-6521d68 .youtube-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .elementor-element-6521d68 .youtube-video-wrapper {
        padding: 0 15px;
    }
}

/* Responsive Design - Small Mobile (< 600px) */
@media (max-width: 599px) {
    .nav-right .anniversary-badge {
        font-size: 20px !important;
        letter-spacing: 2px;
    }
    
    .nav-right {
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
}

/* Responsive Design - Very Small Mobile (< 300px) */
@media (max-width: 299px) {
    .nav-right {
        display: none !important;
    }
    
    .nav-right .anniversary-badge {
        display: none !important;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .main-nav-bar .container {
        padding: 0 10px;
    }
    
    .top-bar .container {
        padding: 0 10px;
    }
    
    .site-logo .site-title {
        font-size: 16px;
        align-items: center;
    }
    
    .site-logo .logo-line-1,
    .site-logo .logo-line-2 {
        font-size: 16px;
    }
    
    .top-bar-left .hotline-text {
        font-size: 12px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .swiper-tango .swiper-slide {
        width: 200px !important;
    }
    
    .elementor-element-6521d68 .youtube-section-title {
        font-size: 24px;
    }
}

/* Prevent horizontal overflow */
* {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Fix for any element causing overflow */
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap,
.elementor-widget-container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for hero slide background image */
.hero-slide-bg-image {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    position: absolute !important;
}

/* Ensure all sections fit viewport */
.elementor-section,
.section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Ngoại lệ: section Sự kiện - Hoạt động cần overflow visible để slide trái/phải không bị cắt */
.elementor-element-44c0f5b.elementor-section {
    overflow-x: visible !important;
}

/* Fix for any inline styles causing overflow */
[style*="width"] {
    max-width: 100vw !important;
}

/* Ensure main content area fits */
#main,
.site-content,
.site-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ngoại lệ: trang có section Sự kiện - Hoạt động cho phép overflow để slide trái/phải hiện đủ */
main#main:has(.elementor-element-44c0f5b) {
    overflow-x: visible !important;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Menu Open Body */
body.menu-open {
    /* Không block scroll để menu có thể đẩy content xuống */
    /* overflow: hidden; */
}

/* Section After Products - YouTube Video Section */
.elementor-element-6521d68 {
    padding: 80px 0;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.elementor-element-6521d68 .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.elementor-element-6521d68 .elementor-column {
    width: 100%;
    display: flex;
    justify-content: center;
}

.elementor-element-6521d68 .elementor-widget-wrap {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.elementor-element-6521d68 .youtube-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.elementor-element-6521d68 .youtube-video-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.elementor-element-6521d68 .youtube-video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    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);
    background: #000;
    margin: 0 auto;
}

.elementor-element-6521d68 .youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.elementor-element-6521d68 .youtube-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.elementor-element-6521d68 .youtube-placeholder-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.elementor-element-6521d68 .youtube-play-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.elementor-element-6521d68 .youtube-placeholder-content p {
    font-size: 18px;
    margin-bottom: 10px;
}

.elementor-element-6521d68 .youtube-placeholder-note {
    font-size: 14px;
    opacity: 0.8;
}

.elementor-element-6521d68 .youtube-section-description {
    text-align: center;
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0 20px;
    width: 100%;
}

/* Đảm bảo tất cả widgets trong section được căn giữa */
.elementor-element-6521d68 .elementor-element {
    width: 100%;
    display: flex;
    justify-content: center;
}

.elementor-element-6521d68 .elementor-widget {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.elementor-element-6521d68 .youtube-section-description p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

