/* ==========================================
   HUY ANH RUBBER - PREMIUM DESIGN SYSTEM
   ========================================== */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* MODERN RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* DESIGN TOKENS */
:root {
    /* Primary Blue - Brand (kept) */
    --primary: #2073BA;
    --primary-dark: #154A7A;
    --primary-darker: #0D3656;
    --primary-light: #4A9FD8;
    --primary-lightest: #E8F4FC;

    /* Accent Gold - Premium, Trust */
    --accent-warm: #C8912E;
    --accent-warm-light: #E5B85A;
    --accent-warm-dark: #A07424;
    --accent-warm-bg: #FEF7E8;

    /* Nature Green - Sustainability, EUDR */
    --green: #2E7D4F;
    --green-light: #4CAF6E;
    --green-dark: #1B5E38;
    --green-bg: #EDF7F0;

    /* Industrial Dark */
    --dark: #0C1B2A;
    --dark-warm: #1A2D3D;
    --slate: #334155;

    /* Warm Grays */
    --white: #FFFFFF;
    --gray-warm-50: #FAFAF8;
    --gray-warm-100: #F5F4F0;
    --gray-warm-200: #E8E6E0;
    --gray-warm-300: #D4D0C8;
    --gray-warm-600: #6B6560;
    --gray-warm-800: #2D2A26;

    /* Backward-compat aliases */
    --accent: #C8912E;
    --gray-900: #1A2D3D;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;

    /* Semantic */
    --text-primary: #1A2D3D;
    --text-secondary: #5A6B7A;
    --text-muted: #8A9AAA;
    --surface: #FFFFFF;
    --surface-alt: #F7F6F3;
    --border-subtle: #E8E6E0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2073BA 0%, #154A7A 100%);
    --gradient-accent: linear-gradient(135deg, #4a9fd8 0%, #2073BA 100%);
    --gradient-warm: linear-gradient(135deg, #2073BA 0%, #C8912E 100%);
    --gradient-dark: linear-gradient(160deg, #0C1B2A 0%, #1A2D3D 100%);
    --gradient-hero: linear-gradient(160deg, #0D3656 0%, #2073BA 50%, #154A7A 100%);
    --gradient-overlay: linear-gradient(105deg, rgba(12,27,42,0.92) 0%, rgba(12,27,42,0.85) 45%, rgba(32,115,186,0.6) 70%, rgba(32,115,186,0.3) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-2xl: 0 25px 60px rgba(0,0,0,0.2);
    --shadow-primary: 0 4px 16px rgba(32, 115, 186, 0.25);
    --shadow-warm: 0 8px 24px rgba(200,145,46,0.3);

    /* Typography */
    --font-heading: 'Montserrat', -apple-system, system-ui, sans-serif;
    --font-primary: 'Open Sans', -apple-system, system-ui, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease-in-out);
    --transition-base: 300ms var(--ease-in-out);
    --transition-slow: 500ms var(--ease-out);

    /* Compat aliases */
    --color-primary: #2073BA;
    --color-text-primary: #1A2D3D;
    --color-text-secondary: #5A6B7A;
    --color-border: #E8E6E0;
    --color-background: #FFFFFF;
    --color-background-alt: #F7F6F3;
}

/* BASE STYLES */
body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.01em;
}

h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ==========================================
   GLASSMORPHISM UTILITIES
   ========================================== */
.glass {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
}

@supports not (backdrop-filter: blur(10px)) {
    .glass { background: rgba(12,27,42,0.85); }
}

/* ==========================================
   SECTION HEADER - REDESIGNED
   ========================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--accent-warm);
    padding: 0;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 0;
    margin-bottom: var(--space-sm);
}

.section-badge::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--accent-warm);
    flex-shrink: 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .section-badge {
    justify-content: center;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-description {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo-full {
    height: 55px;
    width: auto;
    transition: var(--transition-base);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.lang-switcher {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.lang-switcher:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================
   HERO - SPLIT PANEL WITH PARALLAX
   ========================================== */
.hero-modern {
    margin-top: 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(12,27,42,0.93) 0%,
        rgba(12,27,42,0.87) 40%,
        rgba(32,115,186,0.55) 70%,
        rgba(32,115,186,0.25) 100%);
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem var(--space-lg) 5rem;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes highlightReveal {
    to { transform: scaleX(1); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(46,125,79,0.2);
    border: 1px solid rgba(76,175,110,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
    width: fit-content;
}

.hero-badge span {
    color: var(--green-light);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-content-modern h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    max-width: 800px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--space-xl);
    font-weight: 400;
    max-width: 600px;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 0.9rem 2.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary {
    background: var(--accent-warm);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(200,145,46,0.35);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--accent-warm-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 1.5rem;
    animation: bounce 2.5s ease infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================
   STATS - DARK IMPACT BAR
   ========================================== */
.stats-section {
    padding: 0;
    background: var(--gradient-dark);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 3.5rem 2rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    transition: none;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.12);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item:nth-child(2) .stat-number {
    color: var(--accent-warm-light);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Section header/badge - see foundation above */

/* ==========================================
   FEATURES - BENTO GRID + COLOR-CODED
   ========================================== */
.features-modern {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* All 6 cards equal size -> 3 cols × 2 rows */

.feature-card-modern {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* Left accent bar - animated on hover */
.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out);
}

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

/* Color-code accent bars */
.feature-card-modern:nth-child(1)::before { background: var(--accent-warm); }
.feature-card-modern:nth-child(2)::before { background: var(--green); }
.feature-card-modern:nth-child(3)::before { background: var(--primary); }
.feature-card-modern:nth-child(4)::before { background: var(--green-light); }
.feature-card-modern:nth-child(5)::before { background: var(--accent-warm-light); }
.feature-card-modern:nth-child(6)::before { background: var(--primary-light); }

.feature-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Icon containers - rounded square with color backgrounds */
.feature-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    transition: transform 0.3s var(--ease-out);
}

.feature-icon-modern i {
    font-size: inherit;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.08);
}

/* Color-coded icon backgrounds */
.feature-card-modern:nth-child(1) .feature-icon-modern { background: var(--accent-warm-bg); color: var(--accent-warm); }
.feature-card-modern:nth-child(2) .feature-icon-modern { background: var(--green-bg); color: var(--green); }
.feature-card-modern:nth-child(3) .feature-icon-modern { background: var(--primary-lightest); color: var(--primary); }
.feature-card-modern:nth-child(4) .feature-icon-modern { background: var(--green-bg); color: var(--green-light); }
.feature-card-modern:nth-child(5) .feature-icon-modern { background: var(--accent-warm-bg); color: var(--accent-warm-light); }
.feature-card-modern:nth-child(6) .feature-icon-modern { background: var(--primary-lightest); color: var(--primary-light); }

.feature-card-modern h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card-modern > p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ==========================================
   ABOUT PREVIEW - LAYERED DESIGN
   ========================================== */
.about-preview {
    padding: var(--space-3xl) 0;
    background: var(--surface-alt);
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border-subtle) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
}

.about-preview-image {
    position: relative;
}

/* Decorative offset frame */
.about-preview-image::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: -1.5rem;
    bottom: -1.5rem;
    border: 2px solid var(--accent-warm);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.4;
}

.about-preview-image img {
    position: relative;
    z-index: 1;
}

.image-placeholder-large {
    width: 100%;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-2xl);
}

.image-badge-float {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.about-preview-content h2 {
    margin-bottom: var(--space-md);
}

.about-preview-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.check-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* PRODUCTS SHOWCASE */
/* ==========================================
   PRODUCTS - REAL IMAGES
   ========================================== */
.products-showcase {
    padding: var(--space-3xl) 0;
    background: var(--surface-alt);
}

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

.product-card-showcase {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
    text-align: left;
}

.product-card-showcase.featured {
    border: 2px solid var(--accent-warm);
}

.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-warm);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.product-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.product-card-showcase:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-body {
    padding: 1.75rem;
}

.product-card-showcase:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-showcase h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-card-showcase p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.link-arrow {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s var(--ease-out);
}

.link-arrow i {
    font-size: 0.75rem;
    transition: transform 0.3s var(--ease-out);
}

.link-arrow:hover {
    color: var(--primary-dark);
}

.link-arrow:hover i {
    transform: translateX(4px);
}

/* PROCESS SECTION */
.process-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-100);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.process-item {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.process-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.process-item p {
    color: var(--gray-600);
}

/* CTA MODERN */
/* ==========================================
   CTA - PREMIUM DARK PANEL
   ========================================== */
.cta-modern {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(32,115,186,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 0.9rem 2.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-primary {
    background: var(--accent-warm);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 16px rgba(200,145,46,0.3);
}

.btn-cta-primary:hover {
    background: var(--accent-warm-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.btn-cta-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

/* ==========================================
   FOOTER - DARK GRADIENT
   ========================================== */
footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto var(--space-2xl);
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin: var(--space-xs) 0;
    transition: var(--transition-base);
}

.footer-section a:hover {
    color: var(--white);
    padding-left: var(--space-xs);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-links a.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a.social-icon:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

/* Individual icon colors on hover */
.social-links a.social-icon:hover i.fa-facebook-f {
    color: #1877F2;
}

.social-links a.social-icon:hover i.fa-linkedin-in {
    color: #0A66C2;
}

.social-links a.social-icon:hover i.fa-envelope {
    color: #EA4335;
}

.social-links a.social-icon:hover i.fa-whatsapp {
    color: #25D366;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   MISSION / VISION / CORE VALUES
======================================== */
/* ==========================================
   MISSION / VISION - ASYMMETRIC LAYOUT
   ========================================== */
.mission-vision-section {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: var(--space-2xl);
    align-items: stretch;
}

.mv-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    border: 1px solid var(--border-subtle);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

/* Mission card - dark background as accent, same size as others */
.mv-card:first-child {
    background: var(--gradient-dark);
    color: var(--white);
    border: none;
}

.mv-card:first-child h3 {
    color: var(--accent-warm-light);
}

.mv-card:first-child p {
    color: rgba(255,255,255,0.75);
}

.mv-card:first-child .mv-icon {
    background: rgba(200,145,46,0.2);
    color: var(--accent-warm-light);
}

/* Vision card - blue accent */
.mv-card:nth-child(2) {
    border-top: 4px solid var(--primary);
}

/* Core Values card - green accent */
.mv-card:nth-child(3) {
    border-top: 4px solid var(--green);
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    background: var(--primary-lightest);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
}

.mv-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.mv-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========================================
   CERTIFICATIONS SLIDER
======================================== */
.certifications-slider-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
    overflow: hidden;
}

.cert-slider-container {
    overflow: hidden;
    margin-top: var(--space-2xl);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cert-slider {
    display: flex;
    gap: var(--space-lg);
    animation: cert-scroll 30s linear infinite;
    width: max-content;
}

.cert-slide {
    flex-shrink: 0;
    background: var(--color-background-alt, #F9FAFB);
    border: 2px solid var(--color-border, #E5E7EB);
    border-radius: 12px;
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    min-width: 180px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cert-slide:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.cert-badge {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.cert-slide h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary, #1F2937);
    margin-bottom: 4px;
}

.cert-slide p {
    font-size: 0.8rem;
    color: var(--color-text-secondary, #6B7280);
}

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

/* Footer contact icons */
footer .footer-section p i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   RESPONSIVE - REDESIGNED
   ========================================== */
@media (max-width: 1024px) {
    .about-preview-grid {
        gap: var(--space-2xl);
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    /* Features: all cards full width on tablet */
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card-modern:nth-child(1),
    .feature-card-modern:nth-child(2),
    .feature-card-modern:nth-child(n+3) {
        grid-column: span 1;
    }

    /* Markets: 3 per row */
    .markets-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Mission/Vision: stack on tablet */
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    nav {
        min-height: 70px;
    }

    .logo-full {
        height: 50px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-xl);
        gap: var(--space-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-modern {
        margin-top: 70px;
        min-height: 85vh;
    }

    .hero-content-modern {
        padding: 5rem var(--space-lg) 4rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    /* Features: single column */
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    .feature-card-modern:nth-child(1),
    .feature-card-modern:nth-child(2),
    .feature-card-modern:nth-child(n+3) {
        grid-column: span 1;
    }

    /* Stats: 2x2 grid */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-item {
        padding: 2rem 1rem;
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }

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

    .about-preview-image::before {
        display: none;
    }

    /* Markets: 2 per row */
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .cert-slide {
        min-width: 150px;
        padding: var(--space-md) var(--space-lg);
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
    
    .image-placeholder-large {
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .cert-slide {
        min-width: 150px;
        padding: var(--space-md) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

/* ==========================================
   PAGES STYLES (About, Products, EUDR, etc)
   ========================================== */

/* PAGE HEADER */
.page-header {
    margin-top: 80px;
    padding: var(--space-3xl) 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(74, 159, 216, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(22, 90, 143, 0.2) 0%, transparent 50%);
}

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

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* CONTENT SECTION */
.content-section {
    padding: var(--space-3xl) 0;
}

.content-section.bg-gray {
    background: var(--gray-100);
}

/* TWO COLUMN LAYOUT */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

/* IMAGE PLACEHOLDER */
.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: 'Image Placeholder';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.image-placeholder-small {
    width: 100%;
    height: 250px;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-lg);
}

/* MISSION VISION CARDS - styles moved to .mission-vision-grid block above */
/* (legacy .mv-grid kept for compat if used elsewhere) */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

/* VALUES GRID */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Responsive for values-grid */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* PRODUCTS PAGE */
.product-card-large {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-xl);
    align-items: center;
    transition: var(--transition-base);
}

.product-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image-large {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: var(--shadow-md);
}

.product-content h3 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.product-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.product-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--gray-700);
}

.product-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* EUDR PAGE */
.eudr-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.eudr-icon-box {
    text-align: center;
    padding: var(--space-3xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    color: var(--white);
    box-shadow: var(--shadow-2xl);
}

.eudr-icon-box .icon {
    font-size: 10rem;
}

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

.requirement-card {
    background: var(--white);
    padding: 1.8rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.requirement-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.requirement-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}

.requirement-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Responsive for requirements and EUDR grids */
@media (max-width: 1024px) {
    .requirements-grid,
    .eudr-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .requirements-grid,
    .eudr-products-grid {
        grid-template-columns: 1fr;
    }
}

/* BENEFITS GRID */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.benefit-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    color: var(--gray-600);
}

/* CAREERS PAGE */
.job-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
    border-left: 4px solid var(--primary);
    transition: var(--transition-base);
}

.job-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.job-title {
    flex: 1;
}

.job-title h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.job-meta {
    display: flex;
    gap: var(--space-lg);
    color: var(--gray-600);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.job-description {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.job-requirements {
    margin-bottom: var(--space-lg);
}

.job-requirements h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: var(--space-xs) 0;
    color: var(--gray-700);
    display: flex;
    align-items: start;
    gap: var(--space-sm);
}

.job-requirements li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}



/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-xl);
}

.info-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.info-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* CONTACT FORM */
.contact-form {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-xl);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 115, 186, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 3rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* MAP SECTION */
.map-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-100);
}

.map-container {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* RESPONSIVE FOR PAGES */
@media (max-width: 1024px) {
    .two-column,
    .eudr-intro,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card-large {
        grid-template-columns: 1fr;
    }
    
    .product-image-large {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 70px;
        padding: var(--space-2xl) 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    .job-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .image-placeholder {
        height: 300px;
        font-size: 4rem;
    }
    
    .product-image-large {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }
    
    .eudr-icon-box .icon {
        font-size: 6rem;
    }
}

/* Enhanced Page Header with Background Images */
.page-header {
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(32, 115, 186, 0.85), rgba(59, 130, 246, 0.85));
    z-index: 1;
}

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

/* Hero with background image */
.hero-modern {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-modern .hero-overlay {
    background: linear-gradient(135deg, rgba(32, 115, 186, 0.9), rgba(59, 130, 246, 0.85));
}

/* ========================================
   FLOATING ACTION BUTTONS (FAB)
======================================== */

/* Container for all floating buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual floating button */
.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 28px;
    animation: fadeInUp 0.5s ease;
}

.fab-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Tooltip on hover */
.fab-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.fab-btn:hover::before {
    opacity: 1;
}

/* WhatsApp Button */
.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.fab-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Line Button */
.fab-line {
    background: linear-gradient(135deg, #00B900, #00C300);
}

.fab-line:hover {
    background: linear-gradient(135deg, #00A300, #00B900);
}

/* Facebook Messenger */
.fab-messenger {
    background: linear-gradient(135deg, #0084FF, #0068D1);
}

.fab-messenger:hover {
    background: linear-gradient(135deg, #0068D1, #0053AB);
}

/* Email Button */
.fab-email {
    background: linear-gradient(135deg, #EA4335, #C5221F);
}

.fab-email:hover {
    background: linear-gradient(135deg, #C5221F, #A50E0E);
}

/* Scroll to Top Button */
.fab-scroll-top {
    background: linear-gradient(135deg, #2073BA, #1A5C99);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fab-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.fab-scroll-top:hover {
    background: linear-gradient(135deg, #1A5C99, #154A7A);
}

/* Scroll to Bottom Button */
.fab-scroll-bottom {
    background: linear-gradient(135deg, #059669, #047857);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fab-scroll-bottom.visible {
    opacity: 1;
    visibility: visible;
}

.fab-scroll-bottom:hover {
    background: linear-gradient(135deg, #047857, #065f46);
}

/* Pulse animation for attention */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fab-btn.pulse {
    animation: pulse 2s infinite;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .fab-btn::before {
        display: none; /* Hide tooltips on mobile */
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .floating-buttons {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }
    
    .fab-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Hide when printing */
@media print {
    .floating-buttons {
        display: none !important;
    }
}
/* ========================================
   FLOATING ACTION BUTTONS V2 - CLEAN DESIGN
======================================== */

/* Container for floating buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Base button style */
.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    color: white;
    font-size: 24px;
    font-weight: 300;
    background: #2073BA;
}

.fab-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(32, 115, 186, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fab-btn:active {
    transform: translateY(-2px);
}

/* Primary buttons (scroll) */
.fab-scroll-top,
.fab-scroll-bottom {
    background: linear-gradient(135deg, #2073BA 0%, #1A5C99 100%);
}

.fab-scroll-top:hover,
.fab-scroll-bottom:hover {
    background: linear-gradient(135deg, #1A5C99 0%, #154A7A 100%);
}

/* Contact menu button */
.fab-contact-menu {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    font-size: 28px;
    font-weight: 400;
}

.fab-contact-menu:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

.fab-contact-menu.active {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Submenu container */
.fab-submenu {
    position: absolute;
    right: 0;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fab-submenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

/* Submenu buttons */
.fab-submenu-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: white;
    font-size: 22px;
    text-decoration: none;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fab-submenu-btn:nth-child(1) { animation-delay: 0.05s; }
.fab-submenu-btn:nth-child(2) { animation-delay: 0.1s; }
.fab-submenu-btn:nth-child(3) { animation-delay: 0.15s; }
.fab-submenu-btn:nth-child(4) { animation-delay: 0.2s; }

.fab-submenu-btn:hover {
    transform: translateX(-5px) scale(1.05);
}

/* WhatsApp */
.fab-whatsapp {
    background: #25D366;
}

.fab-whatsapp:hover {
    background: #1DA851;
}

/* Line */
.fab-line {
    background: #00B900;
}

.fab-line:hover {
    background: #00A000;
}

/* Messenger */
.fab-messenger {
    background: #0084FF;
}

.fab-messenger:hover {
    background: #0073E6;
}

/* Email */
.fab-email {
    background: #EA4335;
}

.fab-email:hover {
    background: #D93025;
}

/* Tooltip */
.fab-tooltip {
    position: absolute;
    right: 65px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Inter', -apple-system, sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.fab-btn:hover .fab-tooltip,
.fab-submenu-btn:hover .fab-tooltip {
    opacity: 1;
}

/* Visibility control */
.fab-scroll-top,
.fab-scroll-bottom {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fab-scroll-top.visible,
.fab-scroll-bottom.visible {
    opacity: 1;
    visibility: visible;
}

/* Icons using Unicode symbols */
.icon-arrow-up::before {
    content: "↑";
}

.icon-arrow-down::before {
    content: "↓";
}

.icon-plus::before {
    content: "+";
}

.icon-whatsapp::before {
    content: "⬤";
    color: white;
}

.icon-line::before {
    content: "⬤";
    color: white;
}

.icon-messenger::before {
    content: "⬤";
    color: white;
}

.icon-email::before {
    content: "✉";
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .fab-submenu-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .fab-tooltip {
        display: none;
    }
    
    .fab-submenu {
        bottom: 60px;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }
    
    .fab-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .fab-submenu-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* Accessibility */
.fab-btn:focus,
.fab-submenu-btn:focus {
    outline: 2px solid #2073BA;
    outline-offset: 2px;
}

/* Print hide */
@media print {
    .floating-buttons {
        display: none !important;
    }
}
/* ========================================
   FONT AWESOME ICON INTEGRATION
======================================== */

/* Font Awesome CDN will be loaded in HTML */

/* Icon styles */
.fab-btn i,
.fab-submenu-btn i {
    font-size: 24px;
    line-height: 1;
}

.fab-submenu-btn i {
    font-size: 20px;
}

/* WhatsApp icon - Green */
.fab-whatsapp i {
    color: #FFFFFF;
}

/* Line icon - Green */
.fab-line i {
    color: #FFFFFF;
}

/* Messenger icon - Blue */
.fab-messenger i {
    color: #FFFFFF;
}

/* Email icon - Red */
.fab-email i {
    color: #FFFFFF;
}

/* Main button icons */
.fab-scroll-top i,
.fab-scroll-bottom i {
    font-size: 20px;
}

.fab-contact-menu i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.fab-contact-menu.active i {
    transform: rotate(45deg);
}

/* Remove old icon classes */
.icon-arrow-up::before,
.icon-arrow-down::before,
.icon-plus::before,
.icon-whatsapp::before,
.icon-line::before,
.icon-messenger::before,
.icon-email::before {
    content: none;
}

/* Mobile icon sizing */
@media (max-width: 768px) {
    .fab-btn i {
        font-size: 20px;
    }
    
    .fab-submenu-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .fab-btn i {
        font-size: 18px;
    }
    
    .fab-submenu-btn i {
        font-size: 16px;
    }
}
/* ========================================
   PROFESSIONAL LANGUAGE SWITCHER V2
======================================== */

/* Container for language switcher */
.lang-switcher-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Individual language button */
.lang-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Active state */
.lang-btn.active {
    background: white;
    color: #2073BA;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hover state (only for inactive) */
.lang-btn:not(.active):hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

/* Flag icons (optional) */
.lang-btn::before {
    content: attr(data-flag);
    font-size: 16px;
    margin-right: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lang-switcher-container {
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 12px;
        font-size: 13px;
    }
}

/* Alternative: Toggle Switch Design */
.lang-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-toggle-track {
    position: relative;
    display: flex;
    gap: 0;
}

.lang-toggle-option {
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.lang-toggle-option.active {
    color: #2073BA;
}

/* Sliding background indicator */
.lang-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.lang-toggle-slider.right {
    transform: translateX(100%);
}

/* Modern Pill Design */
.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lang-pill-btn {
    padding: 8px 18px;
    border-radius: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
}

.lang-pill-btn.active {
    background: linear-gradient(135deg, #2073BA 0%, #1A5C99 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(32, 115, 186, 0.3);
    transform: scale(1.02);
}

.lang-pill-btn:not(.active):hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
}

/* Globe icon (optional) */
.lang-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

/* Separator line (for dual button) */
.lang-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 2px;
}

/* Animation for switching */
@keyframes langSwitchPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.lang-btn.switching,
.lang-pill-btn.switching {
    animation: langSwitchPulse 0.3s ease;
}

/* Accessibility */
.lang-btn:focus,
.lang-toggle-option:focus,
.lang-pill-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Print hide */
@media print {
    .lang-switcher-container,
    .lang-toggle,
    .lang-pill {
        display: none !important;
    }
}

/* Dark theme variant */
.nav.scrolled .lang-switcher-container,
.nav.scrolled .lang-toggle,
.nav.scrolled .lang-pill {
    background: rgba(32, 115, 186, 0.1);
    border-color: rgba(32, 115, 186, 0.2);
}

.nav.scrolled .lang-btn {
    color: rgba(31, 41, 55, 0.7);
}

.nav.scrolled .lang-btn.active {
    background: #2073BA;
    color: white;
}

.nav.scrolled .lang-toggle-option {
    color: rgba(31, 41, 55, 0.7);
}

.nav.scrolled .lang-toggle-option.active {
    color: #2073BA;
}

.nav.scrolled .lang-pill-btn {
    color: rgba(31, 41, 55, 0.6);
}

/* ========================================
   FLAG ICONS FOR LANGUAGE SWITCHER
======================================== */

.flag-icon {
    display: inline-flex;
    font-size: 18px;
    line-height: 1;
    margin-right: 4px;
    vertical-align: middle;
}

/* Adjust lang-pill-btn to accommodate flags */
.lang-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
}

/* Flag size adjustments for different screens */
@media (max-width: 768px) {
    .flag-icon {
        font-size: 16px;
        margin-right: 3px;
    }
    
    .lang-pill-btn {
        padding: 5px 12px;
        gap: 3px;
    }
}

@media (max-width: 480px) {
    .flag-icon {
        font-size: 14px;
        margin-right: 2px;
    }
    
    .lang-pill-btn {
        padding: 4px 10px;
        gap: 2px;
        font-size: 12px;
    }
}

/* Ensure flags don't break layout */
.lang-pill-btn span {
    display: inline-flex;
    align-items: center;
}

/* Optional: Add slight shadow to flags for depth */
.flag-icon {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

/* Hover effect on flags */
.lang-pill-btn:hover .flag-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Active state flag emphasis */
.lang-pill-btn.active .flag-icon {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15));
}

/* ========================================
   SINGLE FLAG TOGGLE - CLEAN DESIGN
======================================== */

.lang-flag-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-flag-toggle:active {
    transform: translateY(0) scale(1);
}

/* Scrolled navigation */
.nav.scrolled .lang-flag-toggle {
    background: rgba(32, 115, 186, 0.1);
    border-color: rgba(32, 115, 186, 0.3);
}

.nav.scrolled .lang-flag-toggle:hover {
    background: rgba(32, 115, 186, 0.2);
    border-color: rgba(32, 115, 186, 0.5);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .lang-flag-toggle {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .lang-flag-toggle {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}

/* Pulse animation on page load (optional) */
@keyframes flagPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.lang-flag-toggle.pulse {
    animation: flagPulse 2s ease-in-out 3;
}

/* Accessibility */
.lang-flag-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Print hide */
@media print {
    .lang-flag-toggle {
        display: none !important;
    }
}

/* ============================================
   CAREERS PAGE STYLES
   ============================================ */

/* Job Listings */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.job-title-section h3 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #666;
    padding: 0.3rem 0.8rem;
    background: white;
    border-radius: 20px;
}

.job-location {
    border: 1px solid #e0e0e0;
}

.job-type {
    border: 1px solid #e0e0e0;
}

.job-highlight {
    background: #fff3e0 !important;
    color: #f57c00 !important;
    border: 1px solid #ffb74d;
}

.job-level {
    background: #e3f2fd !important;
    color: #1976d2 !important;
    border: 1px solid #64b5f6;
}

.job-requirement {
    background: #f3e5f5 !important;
    color: #7b1fa2 !important;
    border: 1px solid #ba68c8;
}

.job-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.job-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.job-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
}

.job-card.active .job-details {
    border-top: 2px solid #f0f0f0;
}

.job-location-detail {
    padding: 1.5rem 2rem;
    background: #fffbf0;
    border-left: 4px solid #ffa726;
    margin: 0 2rem;
    margin-top: 1.5rem;
    border-radius: 8px;
}

.job-location-detail p {
    margin: 0;
    color: #5d4037;
}

.job-section {
    padding: 2rem;
}

.job-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-section h4:before {
    content: '▸';
    color: var(--accent-color);
    font-size: 1.5rem;
}









.job-apply {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.apply-btn {
    display: inline-block !important;
    padding: 1rem 3rem !important;
    background: #4CAF50 !important;
    background-color: #4CAF50 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3) !important;
    cursor: pointer !important;
}

.apply-btn:hover {
    background: #388E3C !important;
    background-color: #388E3C !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(76,175,80,0.4) !important;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 5rem 0;
    margin-top: 5rem;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.benefit-card:nth-child(1) .benefit-icon { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-icon { animation-delay: 0.2s; }
.benefit-card:nth-child(3) .benefit-icon { animation-delay: 0.4s; }
.benefit-card:nth-child(4) .benefit-icon { animation-delay: 0.6s; }
.benefit-card:nth-child(5) .benefit-icon { animation-delay: 0.8s; }
.benefit-card:nth-child(6) .benefit-icon { animation-delay: 1s; }

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Application Section */
.application-section {
    padding: 5rem 0;
    background: white;
}

.application-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.application-methods h3,
.quick-apply-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}









.note {
    color: #ff6b6b;
    font-style: italic;
    margin-top: 1rem;
}

.contact-methods {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 40px;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Quick Apply Form */
.quick-apply-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.quick-apply-form .form-group {
    margin-bottom: 1.5rem;
}

.quick-apply-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.quick-apply-form input[type="text"],
.quick-apply-form input[type="email"],
.quick-apply-form input[type="tel"],
.quick-apply-form input[type="file"],
.quick-apply-form select,
.quick-apply-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quick-apply-form input:focus,
.quick-apply-form select:focus,
.quick-apply-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

.quick-apply-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quick-apply-form .submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.quick-apply-form .submit-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,107,107,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .job-toggle {
        width: 100%;
        justify-content: center;
    }

    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

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

    .job-section {
        padding: 1.5rem;
    }

    .job-location-detail {
        margin: 0 1rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .job-title-section h3 {
        font-size: 1.2rem;
    }

    .job-section h4 {
        font-size: 1.1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .quick-apply-form {
        padding: 1.5rem;
    }
}


/* Job Preview Section (Summary visible without clicking) */
.job-preview {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #f0f0f0;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.preview-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    line-height: 1.5;
    color: #444;
}

.preview-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.preview-list li:before {
    content: '▸';
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.preview-list li:nth-child(1) {
    border-left-color: var(--primary-color);
}

.preview-list li:nth-child(2) {
    border-left-color: var(--accent-color);
}

.preview-list li:nth-child(3) {
    border-left-color: var(--secondary-color);
}

/* Adjust job-details to appear after preview */
.job-card .job-details {
    border-top: none;
}

/* Add visual separator */
.job-preview + .job-details {
    border-top: 2px solid #f0f0f0;
}

/* Mobile responsive for preview */
@media (max-width: 768px) {
    .job-preview {
        padding: 1rem;
    }
    
    .preview-list li {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}


/* Expanded by Default - All jobs visible */
.job-card.active .job-details {
    max-height: none !important;
    overflow: visible;
}

/* Make job cards have more spacing when expanded */
.job-card.active {
    margin-bottom: 2.5rem;
}

/* Smooth animation for collapse */
.job-card .job-details {
    transition: max-height 0.5s ease;
}

/* When collapsed (user clicks "Thu gọn") */
.job-card:not(.active) .job-details {
    max-height: 0;
    overflow: hidden;
}


/* Additional fixes for document list */


/* ============================================
   DOCUMENT LIST STYLING - FINAL VERSION
   ============================================ */

ul.document-list {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 2rem 0 !important;
}

ul.document-list > li {
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
    padding: 1.2rem 1rem !important;
    margin-bottom: 1rem !important;
    background-color: #ffffff !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

ul.document-list > li:hover {
    transform: translateX(10px) !important;
    border-color: #4CAF50 !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25) !important;
}

span.doc-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    background-color: #4CAF50 !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.5) !important;
}

ul.document-list > li > span:not(.doc-number) {
    flex: 1 !important;
    color: #2c2c2c !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
}

/* Remove text selection highlight */
ul.document-list > li > span {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

ul.document-list > li > span::selection,
ul.document-list > li > span::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}

/* ============================================
   JOB SECTION CHECKMARKS - FINAL VERSION
   ============================================ */

div.job-section > ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 1.5rem 0 !important;
}

div.job-section > ul > li {
    position: relative !important;
    padding-left: 3rem !important;
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.7 !important;
    color: #3a3a3a !important;
    font-size: 1rem !important;
}

div.job-section > ul > li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0.8rem !important;
    top: 0.3rem !important;
    color: #4CAF50 !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
}

div.job-section > ul > li > strong {
    color: #388E3C !important;
    font-weight: 700 !important;
}


/* ============================================
   HOMEPAGE UPDATES - TUẦN 1
   ============================================ */

/* Stats description */
.stat-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
}

/* Feature lists in cards */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.feature-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Export Markets Section */
/* ==========================================
   EXPORT MARKETS - DARK GLASSMORPHISM
   ========================================== */
.export-markets {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.export-markets .section-badge {
    color: var(--accent-warm-light);
}

.export-markets .section-badge::before {
    background: var(--accent-warm-light);
}

.export-markets .section-header h2 {
    color: var(--white);
}

.export-markets .section-description {
    color: rgba(255,255,255,0.6);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.market-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 1rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.market-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-warm-light);
    transform: translateY(-4px);
}

.market-flag {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    overflow: hidden;
    padding: 0;
    transition: all 0.3s ease;
}

.market-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.market-card:hover .market-flag {
    border-color: var(--accent-warm-light);
    transform: scale(1.05);
}

.market-card h3 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.market-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .markets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .market-flag {
        width: 85px;
        height: 85px;
        padding: 7px;
    }
}

@media (max-width: 768px) {
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .market-card {
        padding: 2rem 1rem;
    }
    
    .market-flag {
        width: 75px;
        height: 75px;
        padding: 6px;
    }
    
    .market-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .market-flag {
        width: 65px;
        height: 65px;
        padding: 5px;
    }
    
    .market-card {
        padding: 1.5rem 0.8rem;
    }
}


/* ============================================
   ABOUT PAGE UPDATES - TUẦN 1
   ============================================ */

/* Stats Sidebar */
.stats-sidebar {
    display: grid;
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76,175,80,0.2);
}

.stat-number-large {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-label-large {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-box .stat-desc {
    font-size: 0.9rem;
    color: #666;
}

/* Timeline */
.timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 120px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-year {
    margin-right: -60px;
}

.timeline-item:nth-child(even) .timeline-year {
    margin-left: -60px;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 80px;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 80px;
    text-align: right;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* Facilities Grid - Fixed to show 4 cards in one row */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsive for tablets - 2 cards per row */
@media (max-width: 1200px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Responsive for mobile - 1 card per row */
@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.facility-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.facility-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76,175,80,0.2);
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.facility-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.facility-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-details li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}

.facility-details li:last-child {
    border-bottom: none;
}

.facility-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive - Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-year {
        flex: 0 0 60px;
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        margin-right: 0;
        margin-left: 0;
    }
    
    .timeline-content {
        margin-left: 20px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    .stats-sidebar {
        grid-template-columns: 1fr 1fr;
    }
}

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


/* ============================================
   CONTACT PAGE UPDATES - TUẦN 1
   ============================================ */

/* Key Contacts Grid */
.contacts-key-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-key-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.contact-key-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(76,175,80,0.2);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.contact-key-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.contact-title {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    text-align: left;
}

.contact-details p {
    margin: 0.8rem 0;
    font-size: 0.95rem;
    color: #555;
}

.contact-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-contact {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76,175,80,0.3);
}

/* Logistics Section */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.logistics-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

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

.logistics-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.logistics-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.logistics-details {
    text-align: left;
}

.logistics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.logistics-item:last-child {
    border-bottom: none;
}

.logistics-item strong {
    color: #333;
    font-weight: 600;
}

.logistics-item span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .contacts-key-grid {
        grid-template-columns: 1fr;
    }
    
    .logistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


/* ============================================
   EUDR PAGE UPDATES - TUẦN 1
   ============================================ */

/* EUDR Products Grid */
.bg-light-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

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

.eudr-product-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.eudr-product-card.compliant {
    border-color: #4CAF50;
}

.eudr-product-card.non-compliant {
    border-color: #FF9800;
}

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

.eudr-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.eudr-badge.non {
    background: #FF9800;
}

.eudr-product-card h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.eudr-product-card p {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.eudr-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eudr-features li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.eudr-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

.eudr-product-card.non-compliant .eudr-features li:before {
    content: "○";
    color: #FF9800;
}

/* Traceability Features */
.traceability-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.trace-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.trace-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.trace-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trace-feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.trace-feature p {
    color: #666;
    margin: 0;
}

/* EUDR Timeline Progress */
.eudr-timeline {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.timeline-bar {
    background: #e0e0e0;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.timeline-progress {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
    position: relative;
}

.timeline-progress span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .eudr-products-grid {
        grid-template-columns: 1fr;
    }
    
    .traceability-features {
        grid-template-columns: 1fr;
    }
    
    .eudr-timeline {
        padding: 2rem 1.5rem;
    }
}


/* ============================================
   CUSTOMERS SLIDER - INFINITE AUTO-SCROLL
   ============================================ */

.customers-slider-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f8f0 0%, #ffffff 100%);
    border-top: 1px solid #e8f4e8;
    overflow: hidden;
}

.customers-slider-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.customers-slider-section .section-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.customers-slider-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.customers-slider-section .section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Slider Container */
.slider-container {
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Logos Track - Infinite Animation */
.logos-slider {
    display: flex;
    gap: 3rem;
    animation: scroll-left 40s linear infinite;
    width: fit-content;
}

/* Pause animation on hover */
.slider-container:hover .logos-slider {
    animation-play-state: paused;
}

/* Each Logo Card */
.logo-slide {
    flex: 0 0 220px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.logo-slide:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76,175,80,0.2);
    border-color: var(--primary-color);
    z-index: 10;
}

.logo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.logo-slide:hover img {
    filter: grayscale(0%) brightness(1.1);
}

/* Keyframe Animation - Scroll Left */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Slider Hint Text */
.slider-hint {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.slider-hint strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ============================================
   RESPONSIVE - CUSTOMERS SLIDER
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .logo-slide {
        flex: 0 0 180px;
        height: 100px;
        padding: 1rem;
    }
    
    .logos-slider {
        gap: 2rem;
        animation-duration: 35s;
    }
    
    .customers-slider-section h2 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .customers-slider-section {
        padding: 3rem 0;
    }
    
    .logo-slide {
        flex: 0 0 150px;
        height: 90px;
        padding: 0.8rem;
    }
    
    .logos-slider {
        gap: 1.5rem;
        animation-duration: 30s;
    }
    
    .customers-slider-section h2 {
        font-size: 1.8rem;
    }
    
    .customers-slider-section .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-slide {
        flex: 0 0 130px;
        height: 80px;
        padding: 0.6rem;
    }
    
    .logos-slider {
        gap: 1rem;
        animation-duration: 25s;
    }
    
    .customers-slider-section h2 {
        font-size: 1.5rem;
    }
    
    .slider-hint {
        font-size: 0.85rem;
    }
}


/* ============================================
   SIMPLE LANGUAGE SWITCHER - DIRECT FLAG LINK
   ============================================ */

.language-switcher-simple {
    display: flex;
    align-items: center;
}

.lang-flag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-flag-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag-link .flag-icon {
    width: 28px;
    height: 19px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.lang-flag-link:hover .flag-icon {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lang-flag-link {
        padding: 6px 10px;
    }

    .lang-flag-link .flag-icon {
        width: 24px;
        height: 16px;
    }
}

/* ==========================================
   MOBILE LANGUAGE FLOATING BUTTON
   ========================================== */
.mobile-lang-btn {
    display: none;
    position: fixed;
    top: 85px;
    right: 16px;
    z-index: 999;
    background: var(--white);
    border: 2px solid var(--border-subtle);
    border-radius: 50px;
    padding: 8px 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    text-decoration: none;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.mobile-lang-btn img {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.mobile-lang-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* Header scrolled state - adjust position */
header.scrolled ~ .mobile-lang-btn {
    top: 78px;
}

@media (max-width: 768px) {
    .mobile-lang-btn {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .mobile-lang-btn {
        top: 78px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
}


/* ============================================
   FACILITY GALLERY STYLES
   ============================================ */

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.gallery-caption p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .facility-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .gallery-caption {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.3));
    }
}

@media (max-width: 480px) {
    .facility-gallery {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   Modern Processing Section - Compact
   =================================== */
.modern-processing-compact {
    padding: 60px 0;
    background: #fff;
}

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

.processing-title {
    font-size: 2rem;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 700;
}

.processing-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.processing-features {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
}

.feature-desc {
    font-size: 0.9rem;
    color: #888;
}

.processing-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.processing-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.processing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.processing-badge .badge-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 5px;
}

.processing-badge .badge-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 968px) {
    .processing-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .processing-image {
        order: -1;
    }
    
    .processing-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .modern-processing-compact {
        padding: 50px 0;
    }
    
    .processing-title {
        font-size: 1.75rem;
    }
    
    .processing-img {
        height: 350px;
    }
    
    .processing-badge {
        width: 75px;
        height: 75px;
        padding: 12px;
    }
    
    .processing-badge .badge-icon {
        font-size: 1.5rem;
    }
    
    .processing-badge .badge-text {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .processing-img {
        height: 280px;
    }
    
    .feature-item {
        padding-bottom: 12px;
    }
    
    .feature-title {
        font-size: 1rem;
    }
}

/* ===================================
   Certificates Slider Section
   =================================== */
.certificates-slider-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.certificates-slider-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.certificates-slider-section h2 {
    font-size: 2.5rem;
    margin: 15px 0 20px 0;
    color: #333;
}

.certificates-slider-section .section-header p {
    font-size: 1.1rem;
    color: #666;
}

.certificates-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.certificates-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.certificate-slide {
    display: none;
    animation: fadeIn 0.5s;
}

.certificate-slide.active {
    display: block;
}

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

.certificate-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.certificate-icon {
    margin-bottom: 25px;
}

.certificate-card h3 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    color: #333;
}

.cert-type {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 20px 0;
}

.cert-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cert-details {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cert-details li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
}

.cert-details li:last-child {
    border-bottom: none;
}

.cert-details strong {
    color: #333;
    font-weight: 600;
}

.cert-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cert-download-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76,175,80,0.3);
}

.cert-download-btn span {
    font-size: 1.3rem;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
    .certificates-slider-section {
        padding: 60px 0;
    }
    
    .certificates-slider-section h2 {
        font-size: 2rem;
    }
    
    .certificates-slider-wrapper {
        padding: 0 50px;
    }
    
    .certificate-card {
        padding: 35px 25px;
    }
    
    .certificate-card h3 {
        font-size: 1.6rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .certificates-slider-wrapper {
        padding: 0 40px;
    }
    
    .certificate-card {
        padding: 25px 20px;
    }
    
    .certificate-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .certificate-card h3 {
        font-size: 1.4rem;
    }
    
    .cert-type {
        font-size: 1rem;
    }
    
    .cert-desc {
        font-size: 0.95rem;
    }
    
    .cert-details li {
        font-size: 0.9rem;
    }
}
/* ==========================================
   ENHANCED RESPONSIVE CSS
   For Perfect Mobile & Tablet Experience
   ========================================== */

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
/* 
Mobile Portrait:  320px - 480px
Mobile Landscape: 481px - 767px
Tablet Portrait:  768px - 1024px
Tablet Landscape: 1025px - 1366px
Desktop:          1367px+
*/

/* ==========================================
   BASE IMPROVEMENTS FOR ALL DEVICES
   ========================================== */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Better tap targets for mobile */
button,
a,
input,
select,
textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Smoother scrolling on iOS */
* {
    -webkit-overflow-scrolling: touch;
}

/* Better font rendering on mobile */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Images responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   TABLET LANDSCAPE (1025px - 1366px)
   ========================================== */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container {
        max-width: 960px;
        padding: 0 2rem;
    }
    
    /* Adjust grid for tablet landscape */
    .products-grid,
    .about-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* ==========================================
   TABLET PORTRAIT (768px - 1024px)
   ========================================== */
@media (max-width: 1024px) {
    /* Container adjustments */
    .container {
        max-width: 720px;
        padding: 0 1.5rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.875rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Grids - 2 columns for tablet */
    .products-grid,
    .about-preview-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Cards */
    .card {
        padding: 1.5rem;
    }
    
    /* Hero section */
    .hero-modern {
        min-height: 60vh;
        padding: 3rem 0;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    /* Navigation */
    .nav-links {
        gap: 1rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: 3rem 0;
    }
    
    /* Images */
    .image-placeholder-large {
        height: 400px;
    }
    
    /* Forms */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Contact cards */
    .contacts-key-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ==========================================
   MOBILE LANDSCAPE (481px - 767px)
   ========================================== */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography - smaller for mobile */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.625rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    p, li {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* All grids to single column */
    .products-grid,
    .about-preview-grid,
    .features-grid,
    .contacts-key-grid,
    .contact-grid,
    .eudr-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Stats grid - 2 columns on mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Navigation - Mobile menu */
    nav {
        padding: 0.75rem 1rem;
        min-height: 60px;
    }
    
    .logo-full {
        height: 40px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
        text-align: left;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* Hero adjustments */
    .hero-modern {
        margin-top: 60px;
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Page header */
    .page-header {
        margin-top: 60px;
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 1.875rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Cards */
    .card,
    .product-card,
    .about-card {
        padding: 1.5rem;
    }
    
    /* Timeline */
    .process-timeline,
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Tables - Make scrollable */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1rem 0;
    }
    
    table {
        min-width: 600px;
        font-size: 0.875rem;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 1rem;
    }
    
    input,
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    button[type="submit"] {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Images */
    .image-placeholder-large,
    .facility-image {
        height: 300px;
    }
    
    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Certificates slider */
    .certificates-slider {
        padding: 1rem 0;
    }
    
    /* Customers slider */
    .customers-slider {
        padding: 1rem 0;
    }
}

/* ==========================================
   MOBILE PORTRAIT (320px - 480px)
   ========================================== */
@media (max-width: 480px) {
    /* Container - more padding */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography - even smaller */
    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4, h5 {
        font-size: 1.125rem;
    }
    
    p, li {
        font-size: 0.9375rem;
    }
    
    /* Stats grid - stack on small mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Buttons full width */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    /* Section spacing */
    section {
        padding: 2rem 0;
    }
    
    /* Card spacing */
    .card,
    .product-card,
    .about-card,
    .contact-key-card {
        padding: 1.25rem;
    }
    
    /* Smaller images on mobile */
    .image-placeholder-large {
        height: 250px;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Floating action button adjustments */
    .fab-menu {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main-btn {
        width: 56px;
        height: 56px;
    }
    
    .fab-submenu-btn {
        width: 48px;
        height: 48px;
    }
    
    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Values grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================
   SMALL MOBILE (320px)
   ========================================== */
@media (max-width: 360px) {
    /* Very small screens - iPhone SE, small Androids */
    .container {
        padding: 0 0.75rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* ==========================================
   LANDSCAPE ORIENTATION FIXES
   ========================================== */
@media (max-height: 500px) and (orientation: landscape) {
    /* Reduce hero height in landscape */
    .hero-modern {
        min-height: 80vh;
    }
    
    /* Reduce section padding */
    section {
        padding: 2rem 0;
    }
    
    /* Hide non-essential elements */
    .page-header {
        padding: 1.5rem 0;
    }
}

/* ==========================================
   TOUCH DEVICE IMPROVEMENTS
   ========================================== */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets */
    a, button, .nav-link {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    .card:hover,
    .product-card:hover {
        transform: none;
    }
    
    /* Larger tap areas for navigation */
    .nav-link {
        padding: 1rem;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    /* Hide navigation and floating elements */
    nav,
    .mobile-menu,
    .fab-menu,
    .floating-buttons,
    footer {
        display: none !important;
    }
    
    /* Reset colors for printing */
    * {
        background: white !important;
        color: black !important;
    }
    
    /* Page breaks */
    section {
        page-break-inside: avoid;
    }
    
    /* Show links */
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    * {
        border-color: currentColor !important;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ==========================================
   SPECIFIC COMPONENT FIXES
   ========================================== */

/* Contact Form Mobile */
@media (max-width: 767px) {
    .contact-form {
        max-width: 100%;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* EUDR Products Grid Mobile */
@media (max-width: 767px) {
    .eudr-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .eudr-product-card {
        padding: 1.5rem;
    }
}

/* Facilities Grid Mobile */
@media (max-width: 767px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Timeline Mobile */
@media (max-width: 767px) {
    .timeline-item {
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid var(--primary);
    }
    
    .timeline-item:last-child {
        border-bottom: none;
    }
}

/* Language Switcher Mobile */
@media (max-width: 767px) {
    .language-switcher {
        padding: 0.5rem;
    }
    
    .lang-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}
