/*
Theme Name: Viet An ePacket
Theme URI: https://vietanexpress.com
Author: Antigravity
Author URI: https://vietanexpress.com
Description: Custom lightweight landing page theme for Viet An Express ePacket service (2026 Design).
Version: 1.0.0
Text Domain: vietan-epacket
*/

:root {
    --primary-green: #0d7c66;
    --dark-green: #064e3b;
    --light-green: #10b981;
    --cyan: #06b6d4;
    --orange: #f97316;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #064e3b 0%, #0d7c66 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Animated Background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Fixed z-index to be behind content */
    overflow: hidden;
}

.bg-animated::before,
.bg-animated::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.bg-animated::before {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    top: -200px;
    left: -200px;
}

.bg-animated::after {
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    bottom: -200px;
    right: -200px;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
    }

    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.header-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.logo:hover .header-logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.logo-text span {
    color: var(--primary-green);
}

/* Main Navigation Dynamic */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu,
.main-navigation>div>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-menu li,
.main-navigation>div>ul>li {
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a,
.main-navigation>div>ul>li>a {
    text-decoration: none;
    color: #1e293b !important;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: none;
    transition: color 0.3s ease;
    display: block;
}

.nav-menu li:hover>a,
.main-navigation>div>ul>li:hover>a {
    color: #0d7c66 !important;
}

/* Submenu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1000;
}

.nav-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    padding: 0;
}

.nav-menu .sub-menu li a {
    padding: 0.75rem 1.5rem;
    text-transform: none;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-dark);
    display: block;
}

.nav-menu .sub-menu li a:hover {
    background: #f8fafc;
    color: var(--primary-green);
}

/* Indicators for submenus */
.nav-menu .menu-item-has-children>a::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-menu li:hover>a::after {
    transform: rotate(180deg);
}

.cta-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(13, 124, 102, 0.3);
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(13, 124, 102, 0.4);
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

/* Hero Section */
.hero-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Contact Form Card */
.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--cyan), var(--light-green));
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.contact-details p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-green);
}

/* Scrollytelling Section */
.scrollytelling-section {
    position: relative;
    height: 400vh;
    scroll-snap-type: y proximity;
}

.scrollytelling-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.scrollytelling-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scrollytelling-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.scrollytelling-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
}

.scrollytelling-content h2 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.scrollytelling-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: bounce 2s infinite;
}

.scroll-indicator-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-indicator-arrow {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    position: relative;
}

.scroll-indicator-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 0.8);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

.scroll-progress {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-progress-bar {
    width: 3px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.scroll-progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--orange), var(--light-green));
    transition: height 0.1s ease-out;
}

.scroll-progress-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Pricing Section */
.pricing-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(13, 124, 102, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    transform: scale(1.05);
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--orange);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.pricing-card.featured .pricing-badge {
    background: rgba(255, 255, 255, 0.2);
}

.pricing-destination {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing-time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.pricing-card.featured .pricing-time {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    text-align: center;
    margin: 2rem 0;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
}

.pricing-unit {
    font-size: 0.875rem;
    color: var(--text-light);
}

.pricing-card.featured .pricing-unit {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.pricing-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--light-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before {
    background: rgba(255, 255, 255, 0.2);
}

.pricing-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.pricing-card.featured .pricing-button {
    background: white;
    color: var(--primary-green);
}

.pricing-card.featured .pricing-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Gallery Section */
.gallery-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.gallery-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 124, 102, 0.8), rgba(16, 185, 129, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-card:hover::before {
    opacity: 1;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Features Section */
.features-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--light-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(13, 124, 102, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Lead Form Bottom */
.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.benefit-check {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
    font-size: 0.875rem;
}

/* Redesigned Footer matching image */
.site-footer {
    background: #fff;
    color: #1e293b;
    padding: 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid #e2e8f0;
}

.site-footer .footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 0;
}

.site-footer h3 {
    color: #0d7c66;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.footer-column .footer-building-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.footer-mission {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
    font-weight: 500;
    text-align: center;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0d7c66;
}

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

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.5;
}

.footer-contact-list .icon {
    color: #10b981;
    font-size: 1.2rem;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0d7c66;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: #0d7c66;
    color: white;
    transform: translateY(-3px);
}

.strategic-partner-text {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.dmca-badge {
    height: 40px;
    opacity: 0.8;
}

.footer-bottom {
    background: #064e3b;
    padding: 1.5rem 0;
    color: white;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.zalo-float {
    position: absolute;
    right: 2rem;
    bottom: 0;
}

.zalo-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zalo-icon:hover {
    transform: scale(1.1);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    nav {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .scrollytelling-content h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .lead-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .gallery-card {
        height: 300px;
    }

    .scrollytelling-content h2 {
        font-size: 2rem;
    }

    .scroll-progress {
        right: 1rem;
    }

    .scroll-progress-bar {
        height: 150px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   B2B FORWARDER SECTIONS STYLES
   ========================================================================== */

/* Common B2B Section Style */
.b2b-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.b2b-headline {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
}

.b2b-subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* 1. Solution Showcase */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--light-green);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.solution-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--cyan));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(13, 124, 102, 0.2);
}

.solution-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.5;
}

.solution-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: 900;
}

/* 2. Pricing Comparison (B2B Table) */
.pricing-tabs-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn.active {
    background: var(--orange);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.b2b-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.b2b-price-table th {
    padding: 1.5rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.b2b-price-table td {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.b2b-price-table tr td:first-child {
    border-radius: 20px 0 0 20px;
    font-weight: 800;
    font-size: 1.1rem;
}

.b2b-price-table tr td:last-child {
    border-radius: 0 20px 20px 0;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--light-green);
}

.price-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 0.25rem;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.badge-dhl {
    background: #ffcc00;
    color: #d40511;
}

.badge-fedex {
    background: #4d148c;
    color: #ff6600;
}

.badge-ups {
    background: #333;
    color: #ffcc00;
}

.cta-b2b-wrapper {
    margin-top: 4rem;
    text-align: center;
}

.btn-excel {
    padding: 1.25rem 3rem;
    background: #107c10;
    /* Excel Green */
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-excel:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(16, 124, 16, 0.4);
}

/* 3. Terms & Risk Control (Accordion) */
.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.accordion-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-header .toggle-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.accordion-item.active {
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.08);
}

.accordion-item.active .toggle-icon {
    transform: rotate(180deg);
    background: var(--orange);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.1);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.accordion-body {
    padding: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.accordion-body ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

.fee-highlight {
    color: var(--orange);
    font-weight: 700;
}

/* B2B Footer Form Override */
.b2b-form-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(13, 124, 102, 0.3));
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .b2b-headline {
        font-size: 2rem;
    }

    .solution-card {
        padding: 2rem;
    }

    .pricing-tabs-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .b2b-price-table th {
        display: none;
    }

    .b2b-price-table td {
        display: block;
        width: 100%;
        border-radius: 0 !important;
        text-align: center;
        padding: 1rem;
    }

    .b2b-price-table tr {
        display: block;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 20px;
        margin-bottom: 2rem;
        overflow: hidden;
    }
}

/* =========================================
   AGENT PRICING PROMO STYLES
   ========================================= */

/* Promo Table specific */
.promo-table th,
.promo-table td {
    white-space: nowrap;
    /* Prevent wrapping for price list look */
    text-align: center;
}

.promo-table .weight-col {
    font-weight: 800;
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.05);
}

/* Blurred Price Effect */
.blur-price {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-style: italic;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: blur(0px);
    /* Start clear but dim */
}

.blur-price:hover {
    background: var(--orange);
    color: white;
    box-shadow: 0 0 15px var(--orange);
    text-shadow: 0 0 5px white;
}

/* Responsive Table Scroll */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Zalo Button Animation */
.btn-zalo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 104, 255, 0.3);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Mobile Adjustments for Promo Table */
@media (max-width: 768px) {
    .promo-table {
        min-width: 600px;
        /* Force horizontal scroll */
    }

    /* Reset the stack layout for this specific promo table so it scrolls instead */
    .b2b-price-table.promo-table th {
        display: table-cell;
    }

    .b2b-price-table.promo-table td {
        display: table-cell;
        width: auto;
        text-align: center;
    }

    .b2b-price-table.promo-table tr {
        display: table-row;
        background: transparent;
        margin-bottom: 0;
    }
}

/* YouTube Shorts Section */
.shorts-section {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.shorts-grid-container {
    overflow: hidden;
    padding: 2rem 0;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.short-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.short-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.short-card:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(2deg);
    border-color: var(--cyan);
    box-shadow: 0 30px 60px rgba(6, 182, 212, 0.2);
    background: rgba(15, 23, 42, 0.6);
}

.short-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 32px;
    background: black;
}

/* Fallback for older browsers */
@supports not (aspect-ratio: 9 / 16) {
    .short-video-wrapper {
        padding-bottom: 177.77%;
        height: 0;
    }
}

.short-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
}

.short-info {
    padding: 1.5rem 1rem 1rem;
    text-align: center;
}

.short-info h3 {
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-shorts-wrapper {
    margin-top: 5rem;
    text-align: center;
}

.btn-youtube {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #ff0000, #b91c1c);
    color: white;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
    font-size: 1.125rem;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-youtube:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.5);
}

@media (max-width: 1280px) {
    .shorts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 991px) {
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .shorts-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .shorts-headline {
        font-size: 2.5rem;
    }

    .shorts-section {
        margin: 4rem auto;
    }
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-container {
    padding-top: 100px;
    /* Header height offset */
    min-height: 80vh;
    background: transparent;
}

/* Single Post & Page Normalization */
.site-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    margin: 2rem 0 6rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

.site-main h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.site-main p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Table Normalization for subpages */
.site-main table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.site-main th,
.site-main td {
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.site-main th {
    background: var(--primary-green);
    color: white;
}

.site-main tr:nth-child(even) {
    background: #f8fafc;
}

/* Two-Column Layout */
.page-layout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.sidebar-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0 6rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 120px;
}

.widget {
    margin-bottom: 2.5rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: var(--primary-green);
}

@media (max-width: 1100px) {
    .page-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar-area {
        margin-top: 0;
        margin-bottom: 4rem;
        position: static;
    }
}

/* Logistics Toolbox Styling */
.logistics-toolbox .toolbox-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-links li {
    margin-bottom: 0.75rem;
}

.tool-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(var(--primary-green-rgb), 0.05);
    border: 1px solid rgba(var(--primary-green-rgb), 0.1);
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-links a i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.tool-links a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(5px);
}

.tool-links a:hover i {
    color: white;
}

.volumetric-calculator {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.tool-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.calc-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.calc-inputs input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.calc-inputs input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.calc-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-green-rgb), 0.3);
}

.calc-result-box {
    margin-top: 1rem;
    padding: 0.75rem;
    background: white;
    border-left: 4px solid var(--primary-green);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#vol-value {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 800;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Header Fixing */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

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

@media (max-width: 1024px) {
    .header-logo-img {
        height: 45px;
    }

    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    .main-navigation.nav-active {
        right: 0;
    }

    .nav-menu,
    .main-navigation>div>ul {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-menu li,
    .main-navigation>div>ul>li {
        width: 100%;
        padding: 0;
    }

    .nav-menu li a,
    .main-navigation>div>ul>li>a {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid #f1f5f9;
        color: var(--text-dark) !important;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
        margin-top: 0.5rem;
    }

    .nav-menu li.menu-item-has-children.active>.sub-menu {
        display: block;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }

    .header-logo-img {
        height: 35px;
    }

    .cta-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
}