/* ============================================
   FACTORY THEME - HTX ĐẠI NGÀN
   Based on: https://xtratheme.com/elementor/factory/
   ============================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', 'Segoe UI', 'Roboto', Arial, sans-serif;
    color: #AD1E26;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* === HEADER === */
.factory-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Top Bar */
.factory-top-bar {
    background: #4ace88;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

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

.top-bar-right {
    display: flex;
    gap: 30px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    transition: color 0.3s;
}

.top-contact:hover {
    color: #ddd;
}

.top-contact .icon {
    font-size: 16px;
}

/* Main Navigation */
.factory-main-nav {
    background: #AD1E26;
    position: relative;
    padding: 0;
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0;
    position: relative;
    z-index: 2;
    gap: 60px;
}

.factory-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    width: 320px;
    margin-right: auto;
}

.factory-logo img {
    height: 65px;
    width: 65px;
    border-radius: 8px;
    object-fit: cover;
}

.htx-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.htx-line1 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.htx-line2 {
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.2;
    opacity: 0.95;
}

.factory-nav {
    display: flex;
    justify-content: center;
    flex-grow: 0;
    margin: 0 auto;
}

.factory-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.factory-menu li a {
    display: block;
    color: #fff;
    padding: 10px 12px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

.factory-menu li a:hover {
    background: RED;
}

.factory-menu li.dropdown a span {
    font-size: 10px;
    margin-left: 5px;
}

.factory-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.factory-search-btn,
.factory-menu-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20 px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s;
}

.factory-search-btn:hover,
.factory-menu-toggle:hover {
    opacity: 0.8;
}

/* Red Triangle Shape */
.nav-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 120px 350px;
    border-color: transparent transparent #AD1E26 transparent;
    z-index: 1;
    pointer-events: none;
}

/* === HERO SECTION === */
.factory-hero {
    position: relative;
    height:  90vh;
    min-height: 300px;
    overflow: hidden;
    margin-top: 115px; /* Top bar + nav height */
}

.factory-hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95%;
}

.factory-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.factory-hero-slide.active {
    opacity: 1;
}

.factory-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hero Navigation Buttons */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #AD1E26;
    color: #fff;
    border: none;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
}

.hero-nav-btn:hover {
    background: #8B1820;
}

.hero-prev {
    left: 0;
}

.hero-next {
    right: 0;
}

/* About Us Label */
.hero-about-label {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%) rotate(90deg);
    z-index: 3;
}

.hero-about-label span {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.factory-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.factory-hero-text {
    max-width: 700px;
}

.factory-hero-title {
    color: #fff;
    font-size: 60px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-line {
    display: block;
}

.factory-hero-subtitle {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
}

.factory-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.hero-btn-primary {
    background: #AD1E26;
    color: #fff;
    border: 2px solid #AD1E26;
}

.hero-btn-primary:hover {
    background: transparent;
    color: #fff;
}

.hero-btn-secondary {
    background: #fff;
    color: #333;
    border: 2px solid #fff;
}

.hero-btn-secondary:hover {
    background: transparent;
    color: #fff;
}

.factory-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}

.factory-hero-scroll span {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: #fff;
    margin: 0 auto;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* === ABOUT SECTION === */
.factory-about {
    padding: 100px 0;
    background: #fff;
}

.factory-about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.factory-about-images {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 0;
}

.about-image-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border: 10px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-experience-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    background: #AD1E26;
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.badge-years {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-subtitle {
    color: #AD1E26;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    color: #333;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features-list {
    list-style: none;
    margin-bottom: 30px;
}

.about-features-list li {
    color: #666;
    font-size: 15px;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.about-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #AD1E26;
    font-weight: 900;
    font-size: 18px;
}

.factory-btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.factory-btn-primary {
    background: #AD1E26;
    color: #fff;
    border: 2px solid #AD1E26;
}

.factory-btn-primary:hover {
    background: transparent;
    color: #AD1E26;
}

/* === SERVICES SECTION === */
.factory-services {
    padding: 100px 0;
    background: #f8f8f8;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-box {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.service-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #AD1E26 0%, #8B1820 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.service-box:hover:before {
    opacity: 0.95;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box:hover * {
    color: #fff !important;
}

.service-icon-wrapper {
    font-size: 50px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-box h3 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.service-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* === STATS SECTION === */
.factory-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #06532A 0%, #83A656 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* === PORTFOLIO SECTION === */
.factory-portfolio {
    padding: 100px 0;
    background: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.5s;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1) rotate(2deg);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 6, 19, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    padding: 30px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.portfolio-overlay p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}

/* === TEAM SECTION === */
.factory-team {
    padding: 100px 0;
    background: #f8f8f8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
}

.team-image-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.3s;
}

.team-member:hover .team-image-wrapper img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(227, 6, 19, 0.9);
    transition: all 0.3s;
}

.team-member:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: #fff;
    font-size: 18px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.team-social a:hover {
    background: #fff;
    color: #AD1E26;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.team-info p {
    color: #AD1E26;
    font-size: 14px;
    font-weight: 600;
}

/* === CONTACT SECTION === */
.factory-contact {
    padding: 100px 0;
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 32px;
    color: #AD1E26;
    width: 60px;
    height: 60px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #AD1E26;
}

.contact-form textarea {
    resize: vertical;
}

/* === FOOTER === */
.factory-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo span {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer-desc {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: #AD1E26;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .factory-hero-title {
        font-size: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .factory-menu {
        display: none;
    }
    
    .factory-menu-toggle {
        display: block;
    }
    
    .factory-hero {
        margin-top: 95px;
    }
    
    .factory-hero-title {
        font-size: 36px;
    }
    
    .factory-about-wrapper {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-about-label {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ==================== Investment/Fundraising Section ==================== */
.factory-investment {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.investment-wrapper {
    margin-top: 60px;
}

.investment-intro {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.investment-intro h3 {
    font-size: 32px;
    font-weight: 700;
    color: #AD1E26;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.investment-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.investment-benefits {
    list-style: none;
    padding: 0;
}

.investment-benefits li {
    font-size: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
    font-weight: 500;
}

.investment-benefits li:last-child {
    border-bottom: none;
}

.investment-packages {
    margin-bottom: 60px;
}

.investment-packages h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(173,30,38,0.2);
    border-color: #AD1E26;
}

.package-card.featured {
    background: linear-gradient(135deg, #AD1E26 0%, #8B1820 100%);
    color: white;
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFD54E;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.package-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.package-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-card.featured h4 {
    color: white;
}

.package-amount {
    font-size: 28px;
    font-weight: 900;
    color: #AD1E26;
    margin-bottom: 25px;
}

.package-card.featured .package-amount {
    color: #FFD54E;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #555;
}

.package-card.featured .package-features li {
    border-bottom-color: rgba(255,255,255,0.2);
    color: white;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #AD1E26;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.package-btn:hover {
    background: #8B1820;
    transform: scale(1.05);
}

.package-card.featured .package-btn {
    background: white;
    color: #AD1E26;
}

.package-card.featured .package-btn:hover {
    background: #FFD54E;
    color: #333;
}

.investment-credentials {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.investment-credentials h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.credential-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #AD1E26 0%, #8B1820 100%);
    border-radius: 10px;
    color: white;
}

.credential-number {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #FFD54E;
}

.credential-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.credentials-documents {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid #AD1E26;
}

.credentials-documents p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.credentials-documents ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.credentials-documents li {
    padding: 12px 0;
    font-size: 16px;
    color: #555;
    border-bottom: 1px solid #e5e5e5;
}

.credentials-documents li:last-child {
    border-bottom: none;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #AD1E26;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #8B1820;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(173,30,38,0.3);
}

/* Responsive Investment Section */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .investment-intro,
    .investment-credentials {
        padding: 30px 20px;
    }
    
    .investment-intro h3,
    .investment-packages h3,
    .investment-credentials h3 {
        font-size: 24px;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .package-amount {
        font-size: 24px;
    }
}

/* ===== PRODUCT GRID STYLES ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 2rem;
}

.product-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #06532A;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  overflow: hidden;
  padding: 20px;
}

.product-item img.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-supplier {
  color: #999;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.product-item h4 {
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  min-height: 40px;
}

.price { 
  color: #333; 
  font-weight: 700;
  font-size: 1.1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #666;
  margin: 4px 0;
}

.stars {
  color: #ffd700;
  font-size: 0.9rem;
}

.product-meta {
  color: #999;
  font-size: 0.8rem;
  margin: 4px 0;
}

.product-footer {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  margin-top: auto;
}

.add-btn { 
  flex: 1;
  background: #FFD700; 
  color: #333; 
  border: none; 
  padding: 10px 16px; 
  border-radius: 8px; 
  cursor: pointer; 
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-btn:hover {
  background: #FFC700;
  transform: translateY(-1px);
}

.quick-view-btn {
  width: 44px;
  height: 44px;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background: #e0e0e0;
}

.view-detail-btn {
  width: 90%;
  margin: 0.5rem auto;
  padding: 0.6rem;
  background: #06532A;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: block;
}

.view-detail-btn:hover {
  background: #83A656;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 83, 42, 0.3);
}

.product-category {
  font-size: 1.8rem;
  color: #06532A;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #83A656;
}

/* Responsive Product Grid */
@media (max-width: 1024px) {
  .products-grid { 
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .products-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .product-item h4 {
    font-size: 0.85rem;
    min-height: 36px;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .add-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.language-switcher {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: #AD1E26;
    box-shadow: 0 2px 8px rgba(173, 30, 38, 0.3);
}

.lang-btn .flag-icon {
    font-size: 16px;
}

/* ============================================
   PARTNERS & MEMBERS SECTION
   ============================================ */
.factory-partners {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.partners-category {
    margin-top: 60px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #AD1E26;
    margin-bottom: 30px;
    text-align: center;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.partner-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(173, 30, 38, 0.2);
}

.partner-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-placeholder {
    font-size: 2rem;
    color: #ccc;
    font-weight: bold;
}

.partner-card h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.partner-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Members Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stat-icon {
    font-size: 3rem;
}

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

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: #AD1E26;
    line-height: 1;
}

.stat-text {
    font-size: 0.95rem;
    color: #666;
    margin-top: 5px;
}

/* Members Benefits */
.members-benefits {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.members-benefits h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.factory-news {
    padding: 80px 0;
    background: #fff;
}

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

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #AD1E26;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #999;
}

.news-category {
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 12px;
    color: #666;
}

.news-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: #AD1E26;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.news-link:hover {
    color: #8B1820;
    transform: translateX(5px);
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: #AD1E26;
    border-color: #AD1E26;
    color: #fff;
}

/* ============================================
   RESPONSIVE - PARTNERS & NEWS
   ============================================ */
@media (max-width: 768px) {
    .language-switcher {
        gap: 3px;
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .lang-btn .flag-icon {
        font-size: 14px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .members-benefits {
        padding: 25px;
    }
    
    .news-card.featured {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   TICKER BANNER - Running Text
   ============================================ */
.ticker-wrapper {
    background: #fff;
    border-bottom: 2px solid #AD1E26;
    overflow: hidden;
    padding: 6 px ;
    position: relative;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.ticker-text {
    display: inline-block;
    padding-right: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #7e141a;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   LANGUAGE SWITCHER ON NAV - Icon Style
   ============================================ */
.lang-switcher-nav {
    display: flex;
    gap: 5px;
    align-items: left;
    margin-left: auto;
    flex-shrink: 10 PX;
    padding-left:  10 px;
}

.lang-btn-icon {
    background: #83A656;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.lang-btn-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.lang-btn-icon.active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.15);
}

/* ============================================
   CAPACITY CREDENTIALS IN CAPACITY SECTION
   ============================================ */
.capacity-credentials {
    margin-top: 60px;
    background: linear-gradient(135deg, #AD1E26 0%, #8B1820 100%);
    padding: 50px 40px;
    border-radius: 15px;
    color: #fff;
}

.capacity-credentials h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.capacity-credentials .credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.capacity-credentials .credential-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.capacity-credentials .credential-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.capacity-credentials .credential-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.capacity-credentials .credentials-documents {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.capacity-credentials .credentials-documents p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.capacity-credentials .credentials-documents ul {
    list-style: none;
    margin-bottom: 25px;
}

.capacity-credentials .credentials-documents li {
    padding: 10px 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.capacity-credentials .credentials-documents li:last-child {
    border-bottom: none;
}

.capacity-credentials .download-btn {
    background: #fff;
    color: #AD1E26;
    margin-top: 20px;
}

.capacity-credentials .download-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ============================================
   IMPROVED FOOTER - Professional Style
   ============================================ */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #fff;
    padding: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-col h3,
.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.footer-about .footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.footer-about .footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}

.footer-social .social-link:hover {
    background: #AD1E26;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.8;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   FLOATING SOCIAL ICONS - Shake Animation
   ============================================ */
.floating-social {
    position: fixed;
    left: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon.shake {
    animation: shake 2s ease-in-out infinite;
}

.social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.zalo-icon {
    background: #0068FF;
    padding: 8px;
}

.zalo-icon img {
    width: 100%;
    height: 100%;
}

.facebook-icon {
    background: #1877F2;
}

.tiktok-icon {
    background: #000;
}

.phone-icon {
    background: #25D366;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* ============================================
   RESPONSIVE - Updated
   ============================================ */
@media (max-width: 768px) {
    .ticker-wrapper {
        padding: 8px 0;
    }
    
    .ticker-text {
        font-size: 0.85rem;
        padding-right: 50px;
    }
    
    .nav-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .factory-logo {
        gap: 10px;
        width: auto;
        margin-right: 0;
        flex: 1;
    }
    
    .factory-logo img {
        height: 50px;
    }
    
    .htx-line1 {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
    
    .htx-line2 {
        font-size: 9px;
        letter-spacing: 0.2px;
    }
    
    .factory-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .factory-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .factory-menu li a {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .lang-switcher-nav {
        margin-left: auto;
    }
    
    .lang-btn-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .capacity-credentials {
        padding: 30px 20px;
    }
    
    .capacity-credentials h3 {
        font-size: 1.5rem;
    }
    
    .capacity-credentials .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .capacity-credentials .credential-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }
    
    .floating-social {
        left: 10px;
        bottom: 80px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
}
