:root {
    --primary-color: #F37021;
    --dark-bg: #0f172a;
    --dark-surface: #1a1a1a;
    --light-bg: #ffffff;
    --light-surface: #f5f5f7;
    --text-main: #111111;
    --text-secondary: #666666;
    --text-light: #f0f0f0;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    --container-width: 1200px;
    --header-height: 100px;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.navbar .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 88px;
    max-height: 88px;
    width: auto;
    transform: translateY(-2px);
    transform-origin: left center;
    transition: var(--transition-smooth);
    /* Filter temporarily removed for debugging */
    /* filter: brightness(0) invert(1); */ 
}

/* Show original logo colors on white background */
.navbar.scrolled .logo-img {
    filter: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: white; /* Default white for dark video bg */
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--text-main); /* Dark color on scrolled white bg */
}

.nav-links a:hover {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    background-color: var(--dark-bg);
    color: white !important;
    border-radius: 4px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('assets/intro-warehouse.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transform-origin: center;
    animation: heroSlowZoom 22s ease-in-out infinite alternate;
    z-index: -2;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.7), transparent 55%), rgba(0,0,0,0.7);
    mix-blend-mode: multiply;
    z-index: -1;
}

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

@keyframes heroSlowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: left;
    max-width: var(--container-width);
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-main {
    max-width: 640px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    color: #f9fafb;
    text-shadow: 0 18px 45px rgba(0,0,0,0.9);
}

.hero-title .line {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    color: rgba(255,255,255,0.8);
    transform: translateY(20px);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 999px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary:hover {
    background-color: #ff8534;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 40px rgba(243, 112, 33, 0.4);
}

.btn-secondary-outline {
    display: inline-block;
    padding: 0.95rem 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(248,250,252,0.55);
    color: rgba(249,250,251,0.9);
    font-weight: 500;
    font-size: 1rem;
    backdrop-filter: blur(12px);
    background-color: rgba(15,23,42,0.45);
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    border-color: rgba(255,255,255,0.9);
    background-color: rgba(15,23,42,0.8);
    transform: translateY(-1px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

/* Stats Section */
.stats {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.stats-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 3rem;
    align-items: center;
}

.stats-intro .section-subtitle {
    margin-bottom: 0;
    text-align: left;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: radial-gradient(circle at top left, rgba(243,112,33,0.09), rgba(248,250,252,1));
    border-radius: 16px;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    border: 1px solid rgba(15,23,42,0.04);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 0.3rem;
}

.stat-helper {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Products Section */
.products {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-surface);
}

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

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.2rem;
}

.product-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    padding: 2.1rem 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(148,163,184,0.2);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(15,23,42,0.18);
    border-color: rgba(243, 112, 33, 0.4);
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle at top, rgba(243,112,33,0.35), rgba(243,112,33,0.15));
    border-radius: 999px;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    transition: all 0.3s ease;
}

.product-card:hover .card-icon {
    background: radial-gradient(circle at top, rgba(255,255,255,0.1), rgba(243,112,33,0.9));
    box-shadow: 0 14px 30px rgba(243,112,33,0.6);
}

/* Visual Break Section */
.visual-break {
    height: 55vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Taller for parallax */
    background-image: url('https://images.unsplash.com/photo-1565514020176-85c345f47225?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

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

.visual-content {
    position: relative;
    z-index: 1;
}

.visual-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.visual-content h2 {
    color: white;
    font-size: 3rem;
    text-align: center;
    text-shadow: 0 14px 40px rgba(0,0,0,0.5);
}

.visual-image-wrapper {
    max-width: 420px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.25);
    background: radial-gradient(circle at top, rgba(255,255,255,0.25), transparent 55%);
}

.visual-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.visual-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at top, rgba(15,23,42,0.04), white 55%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: var(--spacing-lg);
    align-items: stretch;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item .label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.map-container {
    height: 100%;
    min-height: 320px;
    background-color: var(--light-surface);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    color: #999;
    font-weight: 600;
}

/* Footer */
.footer {
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(243,112,33,0.25), transparent),
        #020617;
    color: #e5e7eb;
    padding: 2.5rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(226,232,240,0.75);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

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

.copyright {
    margin-top: 1.5rem;
    color: rgba(148,163,184,0.9);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 1.5rem;
    }

    .nav-links a {
        color: var(--text-main);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: white;
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .navbar.scrolled .mobile-menu-btn span,
    .mobile-menu-btn.active span {
        background-color: var(--dark-bg);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-layout {
        justify-content: center;
    }

    .hero-main {
        text-align: left;
    }

    .stats-inner,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .visual-content h2 {
        font-size: 2.5rem;
    }
}

/* Why Us */
.why-us {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem 1.8rem;
    box-shadow: 0 16px 40px rgba(15,23,42,0.08);
    border: 1px solid rgba(148,163,184,0.25);
}

.why-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    margin-bottom: 1rem;
    background: radial-gradient(circle at top, rgba(243,112,33,0.35), transparent 55%);
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .stats-inner {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

/* Global Reach Section - Premium Styles */
.global-reach {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-surface);
    position: relative;
}

.flags-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Larger cards */
    gap: 2rem;
    margin-top: 4rem;
}

.flag-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    opacity: 0; /* Hidden initially for GSAP */
    transform: translateY(30px);
}

.flag-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.flag-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Circular flags for premium look */
    overflow: hidden;
    margin-bottom: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.flag-img-premium {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* No grayscale filter - Vibrant colors */
    transform: scale(1.1); /* Slight zoom to avoid borders */
}

.country-name-premium {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .flags-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .flag-card {
        padding: 1rem;
    }
    
    .flag-wrapper {
        width: 60px;
        height: 60px;
    }
}
