:root {
    --primary-blue: #114B5F;
    --primary-orange: #E76F51;
    --pastel-blue: #E0F7FA;
    --pastel-orange: #FFF3E0;
    --accent-blue: #2A9D8F;
    --text-dark: #1D1D1D;
    --text-muted: #666666;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-bold: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1,
h2,
h3,
.section-title {
    font-family: 'Playfair Display', serif;
}

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

/* --- Slanted Dividers --- */
.slanted-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    padding-bottom: 150px !important;
}

.slanted-top {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    margin-top: -100px;
    padding-top: 150px !important;
}

/* --- Utility Classes --- */
.bg-pastel-blue {
    background-color: var(--pastel-blue);
}

.bg-pastel-orange {
    background-color: var(--pastel-orange);
}

.text-orange {
    color: var(--primary-orange);
}

.text-blue {
    color: var(--primary-blue);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 75px;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 55px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-orange);
}

.lang-switcher {
    display: flex;
    gap: 10px;
    font-weight: 700;
    font-size: 0.75rem;
}

.lang-switcher button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    opacity: 0.4;
    transition: var(--transition);
}

.lang-switcher button.active {
    opacity: 1;
    color: var(--primary-orange);
}

.menu-toggle {
    display: none;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 180px;
    color: var(--white);
    background: #000 url('img/hero-poster.png') center/cover no-repeat;
    text-align: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('img/hero-poster.png') center/cover no-repeat;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

/* Video optimization for aspect ratio is handled by object-fit: cover above */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

#hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
}

#hero-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 20px 50px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 20px rgba(231, 111, 81, 0.3);
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(231, 111, 81, 0.4);
    background: var(--primary-blue);
}

.scroll-down-icon {
    display: inline-block;
    margin-top: 30px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.arrow-down {
    display: block;
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Feature Cards Overlap */
.feature-overlap {
    margin-top: -100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--white);
    padding: 50px 40px;
    box-shadow: var(--shadow-bold);
    border-top: 5px solid var(--primary-orange);
    transition: var(--transition);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    display: block;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Trusted By */
#trusted {
    padding: 80px 0;
    background: var(--bg-light);
    border-bottom: 1px solid #eee;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    opacity: 0.5;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
}

/* About Section */
#about {
    padding: 150px 0;
    background: var(--white);
    position: relative;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 100px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 0;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-bold);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 80%;
    height: 80%;
    background: var(--pastel-blue);
    z-index: 1;
}

.about-text {
    flex: 1;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    color: var(--primary-blue);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    background: var(--primary-orange);
    margin-top: 15px;
}

/* Products Section */
#products {
    background: var(--bg-light);
    padding: 150px 0;
}

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

.product-card {
    background: var(--white);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-premium);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.btn-order {
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-order:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card.highlight .btn-order {
    background: var(--white);
    color: var(--primary-blue);
}

.product-card.highlight .btn-order:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--pastel-blue);
    position: relative;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.quantity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(231, 111, 81, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-badge i {
    font-size: 0.8rem;
}

.group-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.group-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: var(--primary-orange);
    border-radius: 5px;
}

.badge-left {
    right: auto !important;
    left: 15px !important;
}

.products-grid.solo-card {
    display: flex;
    justify-content: center;
}

.products-grid.solo-card .product-card {
    max-width: 500px;
    width: 100%;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-card.highlight {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
    z-index: 2;
}

.product-card.highlight h5,
.product-card.highlight .price {
    color: var(--white);
}

.b2b-container {
    margin-top: 20px;
}

.b2b-banner {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
}

.b2b-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.b2b-banner:hover img {
    transform: scale(1.1);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.banner-content h3 {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

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

.b2b-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.b2b-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-orange);
}

.b2b-card h5 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.b2b-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-orange);
    margin: 20px 0;
}

/* Gallery Section with Parallax */
#gallery {
    padding: 150px 0;
    background-color: var(--primary-blue);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

#gallery .section-title {
    color: var(--white);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('img/gallery_bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
    transform: translateY(0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.gallery-item:nth-child(1) {
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

/* Contact Section Redesign */
#contact {
    padding: 0;
    background: var(--white);
    overflow: hidden;
}

.contact-split-wrapper {
    display: flex;
    min-height: 800px;
    width: 100%;
}

.contact-form-side {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/contact-bg.png') center/cover no-repeat;
    background-blend-mode: multiply;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 100px 50px;
    position: relative;
}

.contact-form-content {
    max-width: 500px;
    width: 100%;
}

.contact-info-side {
    flex: 1;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 50px;
}

.info-container {
    max-width: 600px;
    width: 100%;
}

.contact-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin-bottom: 30px;
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
    background: #E74C3C;
    /* Red from reference */
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Info Blocks */
.info-block {
    margin-bottom: 40px;
}

.info-block h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.info-block p {
    margin-bottom: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block i {
    color: var(--primary-orange);
}

.info-block a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

/* Map Styles */
.map-wrapper {
    width: 100%;
    height: 200px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    filter: grayscale(1) contrast(1.2) opacity(0.8);
    transition: var(--transition);
}

.map-wrapper:hover {
    filter: grayscale(0) contrast(1) opacity(1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-split-wrapper {
        flex-direction: column;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 80px 25px;
        justify-content: center;
    }

    .contact-title {
        font-size: 3rem;
    }
}


/* Footer */
footer {
    background: linear-gradient(to bottom, var(--primary-blue), #000000);
    color: var(--white);
    padding: 100px 0 50px;
    text-align: center;
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    transition: var(--transition);
    word-break: break-all;
}

.footer-social a:hover {
    color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-left: 20px;
    }

    .menu-toggle .bar {
        width: 25px;
        height: 3px;
        background: var(--text-dark);
        transition: 0.3s;
    }

    #navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-bold);
    }

    #navbar.active {
        max-height: 350px;
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    #hero-title {
        font-size: 3rem;
    }

    .feature-overlap {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .b2b-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slanted-bottom {
        clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
        padding-bottom: 80px !important;
    }

    .slanted-top {
        clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
        margin-top: -50px;
        padding-top: 120px !important;
    }

    .logo-img {
        height: 50px;
    }

    #hero {
        padding-top: 180px;
    }

    #hero-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    #hero-desc {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 50px;
        height: 4px;
    }

    .partner-logos {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-around;
    }

    .partner-name {
        font-size: 0.9rem;
    }

    .about-wrapper {
        gap: 30px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .b2b-banner {
        height: 160px;
    }

    .banner-content {
        padding: 15px;
    }

    .banner-content h3 {
        font-size: 1.2rem;
    }

    .b2b-card {
        padding: 15px;
    }

    .product-card {
        padding: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-overlap {
        margin-top: -30px;
        gap: 15px;
    }

    #contact,
    #about,
    #gallery,
    #products {
        padding-bottom: 80px;
    }

    .footer-social a {
        font-size: 1rem;
    }

    footer {
        padding: 60px 0 30px;
    }
}



/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
}

.floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-btn i {
    font-size: 30px;
    color: white;
}

.zalo-btn {
    background: white;
    border: 1px solid #eee;
}

.messenger-btn {
    background: #0084FF;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Responsive Fixes for Floating Buttons */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn i {
        font-size: 24px;
    }
}

/* FAQ Section */
#faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item.active {
    background: var(--white);
    box-shadow: var(--shadow-premium);
    border-color: var(--pastel-blue);
}

.faq-question {
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin: 0;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary-orange);
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 1200px; /* Large enough for content and image */
    padding: 0 35px 30px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}