body {
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
}

[x-cloak] {
    display: none !important;
}

.bg-hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8)), url('https://parkcityholdings.com.my/parklife/wp-content/uploads/2022/07/1-2-scaled.webp');
    background-size: cover;
    background-position: center;
}

.bg-agro {
    background-image: url('https://media.istockphoto.com/id/506164764/photo/tractor-spraying-soybean-field.jpg?s=612x612&w=0&k=20&c=h27yHr07QNSghYS20iwYBCGjZIa2HlXqrZDkM0ZsYEw=');
    background-size: cover;
}

.bg-chem {
    background-image: url('https://www.chemicals.co.uk/wp-content/uploads/2021/09/scientist-pouring-pink-chemicals.jpg');
    background-size: cover;
}

.bg-inst {
    background-image: url('https://supertekedu.com/wp-content/uploads/2025/01/laboratory-supplies-medical-work_23-2149744718.jpg');
    background-size: cover;
}

.bg-logi {
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&q=80&w=800');
    background-size: cover;
}

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

 :root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--slate-700);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Navigation */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.nav.scrolled .logo-text {
    color: var(--slate-900);
}

.logo-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s;
}

.nav.scrolled .nav-link {
    color: var(--slate-600);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(245, 158, 11, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav.scrolled .mobile-menu-btn {
    color: var(--slate-900);
}


/* Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--slate-900) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://parkcityholdings.com.my/parklife/wp-content/uploads/2022/07/1-2-scaled.webp') center/cover;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--slate-900), transparent, rgba(15, 23, 42, 0.5));
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-orb-1 {
    top: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.2);
}

.hero-orb-2 {
    bottom: 25%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.1);
    animation-delay: 1s;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-badge-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title span {
    display: block;
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--slate-900);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-icon {
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.5);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Fade-in on scroll */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Sections Common */

section {
    padding: 8rem 2rem;
}

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

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.section-title.light {
    color: white;
}

.section-description {
    color: var(--slate-600);
    max-width: 600px;
    margin: 1rem auto 0;
}

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


/* About Section */

.about {
    background: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(251, 191, 36, 0.05), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    color: var(--slate-600);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--slate-50);
    padding: 1.5rem;
    border-radius: 1rem;
    flex: 1;
    min-width: 120px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
}

.about-image-container {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.about-image-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image-bg {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.1));
    border-radius: 1.5rem;
    transform: rotate(3deg);
}

.about-image {
    position: relative;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.about-location-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-icon {
    width: 48px;
    height: 48px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.location-text strong {
    display: block;
    color: var(--slate-900);
}

.location-text span {
    font-size: 0.875rem;
    color: var(--slate-500);
}


/* Values Section */

.values {
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920') center/cover;
    opacity: 0.08;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

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

.value-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.value-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.value-icon.amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.value-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.goals-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.goal-item {
    display: flex;
    gap: 1.25rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.goal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.goal-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.goal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.goal-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.product-tab:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(8px);
}

.product-tab.active {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.product-tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.product-tab-icon.green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.product-tab-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
}

.product-tab-icon.purple {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.product-tab-icon.amber {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.product-tab-content h3 {
    font-weight: 700;
    color: var(--slate-900);
}

.product-tab-content p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.product-tab.active .tab-arrow {
    display: block;
}

.tab-arrow {
    display: none;
    margin-left: auto;
    color: var(--primary);
}

.product-detail {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.product-detail-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.product-detail-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1;
}

.product-detail-title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.product-detail-title p {
    color: rgba(255, 255, 255, 0.8);
}

.product-detail-content {
    padding: 2rem;
}

.product-detail-content>p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-tag {
    padding: 0.5rem 1rem;
    background: var(--slate-100);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--slate-700);
    font-weight: 500;
}

.services {
    background: #fff;
}

.services .section-desc {
    color: #475569;
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto;
}

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

.service-card {
    padding: 32px;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.5s;
    cursor: pointer;
}

.service-card:hover {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-icon.agro {
    background: #ecfdf5;
}

.service-icon.agro svg {
    stroke: #047857;
}

.service-icon.chemicals {
    background: #eff6ff;
}

.service-icon.chemicals svg {
    stroke: #1d4ed8;
}

.service-icon.lab {
    background: #faf5ff;
}

.service-icon.lab svg {
    stroke: #7c3aed;
}

.service-icon.logistics {
    background: #fffbeb;
}

.service-icon.logistics svg {
    stroke: #d97706;
}

.service-code {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #94a3b8;
    margin-bottom: 8px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #475569;
}


/* Divisions */

.division {
    padding: 96px 24px;
}

.division-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.division-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .division-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.division-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.division-label.agro {
    color: #059669;
}

.division-label.chemicals {
    color: #2563eb;
}

.division-label.lab {
    color: #7c3aed;
}

.division-label.logistics {
    color: #d97706;
}

.division-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 24px;
}

.division-title span {
    font-weight: 700;
    display: block;
}

.division-desc {
    color: #475569;
    margin-bottom: 32px;
}

.division-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.feature-icon.agro {
    background: #ecfdf5;
}

.feature-icon.agro svg {
    stroke: #047857;
}

.feature-icon.lab {
    background: #faf5ff;
}

.feature-icon.lab svg {
    stroke: #7c3aed;
}

.feature-icon.lab {
    background: #faf5ff;
}

.feature-icon.chemical svg {
    stroke: #2563eb;
}

.feature-item span {
    color: #475569;
    font-size: 14px;
}

.division-image {
    position: relative;
}

.division-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.division-image-accent {
    position: absolute;
    width: 96px;
    height: 96px;
    bottom: -24px;
}

.division-image-accent.left {
    left: -24px;
}

.division-image-accent.right {
    right: -24px;
}

.division-image-accent.agro {
    background: #059669;
}

.division-image-accent.chemicals {
    background: #2563eb;
}

.division-image-accent.lab {
    background: #7c3aed;
}

.division-image-accent.logistics {
    background: #f59e0b;
}


/* Chemicals Grid */

.chemicals-header {
    text-align: center;
    margin-bottom: 48px;
}

@media (max-width: 640px) {
    .chemicals-header {
        margin-bottom: 32px;
    }
}

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

@media (max-width: 1024px) {
    .chemicals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.chemical-item {
    padding: 24px;
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

@media (max-width: 640px) {
    .chemical-item {
        padding: 16px;
    }
}

.chemical-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chemical-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.chemical-icon svg {
    width: 18px;
    height: 18px;
    stroke: #1d4ed8;
}

@media (max-width: 640px) {
    .chemical-item h4 {
        font-size: 15px;
    }
}

.chemical-item h4 {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.chemical-item p {
    font-size: 14px;
    color: #64748b;
}


/* Lab Features Grid - FIXED FOR MOBILE */

.lab-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .lab-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lab-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.lab-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .lab-equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lab-equipment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.lab-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #faf5ff;
}

.lab-feature svg {
    width: 18px;
    height: 18px;
    stroke: #7c3aed;
    flex-shrink: 0;
}

.lab-feature span {
    font-size: 14px;
    color: #475569;
}

@media (max-width: 640px) {
    .lab-feature {
        padding: 12px;
    }
    .lab-feature span {
        font-size: 13px;
    }
}

.lab-chemical {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
}

.lab-chemical svg {
    width: 18px;
    height: 18px;
    stroke: #1d4ed8;
    flex-shrink: 0;
}

.lab-chemical span {
    font-size: 14px;
    color: #475569;
}

@media (max-width: 640px) {
    .lab-chemical {
        padding: 12px;
    }
    .lab-chemical span {
        font-size: 13px;
    }
}


/* Logistics Locations */

.locations-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.location-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fffbeb;
}

.location-tag svg {
    width: 14px;
    height: 14px;
    stroke: #d97706;
    flex-shrink: 0;
}

.location-tag span {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

@media (max-width: 640px) {
    .location-tag {
        padding: 6px 12px;
    }
    .location-tag span {
        font-size: 13px;
    }
}

.logistics-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.logistics-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logistics-feature svg {
    width: 20px;
    height: 20px;
    stroke: #d97706;
    flex-shrink: 0;
}

.logistics-feature span {
    font-size: 14px;
    color: #475569;
}

@media (max-width: 640px) {
    .logistics-features {
        gap: 16px;
    }
    .logistics-feature span {
        font-size: 13px;
    }
}


/* Contact Section */

.contact {
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    position: relative;
}

.contact-info {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item-icon {
    width: 56px;
    height: 56px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    font-size: 0.9rem;
    color: white;
    line-height: 1.6;
}

.team-section h4 {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--slate-50);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.team-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.team-avatar.amber {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.team-avatar.blue {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.team-info strong {
    display: block;
    color: var(--slate-900);
    font-size: 0.95rem;
}

.team-info span {
    font-size: 0.8rem;
    color: var(--slate-500);
}

.contact-form-container {
    background: var(--slate-50);
    border-radius: 1.5rem;
    padding: 2.5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.contact-form-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.3s;
}

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

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--slate-900);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--slate-800);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.success-message {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
}

.success-message.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.success-message h3 {
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--slate-600);
}


/* Footer */

.footer {
    background: var(--slate-900);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--slate-400);
}


/* Responsive */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image-container {
        order: -1;
    }
    .about-image {
        height: 400px;
    }
    .values-grid,
    .goals-grid {
        grid-template-columns: 1fr;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .product-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    .product-tab {
        flex-shrink: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation adjustments */
    .nav {
        padding: 0 1rem;
    }
    .nav-container {
        height: 70px;
    }
    .logo-text {
        font-size: 1.25rem;
    }
    .logo-badge {
        font-size: 0.6rem;
    }
    /* General section padding */
    section {
        padding: 4rem 1rem;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    /* Hero section */
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    /* About section mobile fixes */
    .about-grid {
        gap: 2rem;
    }
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    .stats-grid {
        flex-direction: row;
        gap: 0.75rem;
    }
    .stat-card {
        flex: 1;
        min-width: 0;
        padding: 1rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
    .about-image {
        height: 300px;
    }
    .about-image-bg {
        inset: -0.5rem;
    }
    .about-location-card {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    .location-icon {
        width: 40px;
        height: 40px;
    }
    .location-text strong {
        font-size: 0.9rem;
    }
    .location-text span {
        font-size: 0.8rem;
    }
    /* Values section */
    .values-grid {
        gap: 1.5rem;
    }
    .value-card {
        padding: 1.5rem;
    }
    .value-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    .value-title {
        font-size: 1.25rem;
    }
    .goals-grid {
        gap: 1.5rem;
    }
    .goal-icon {
        width: 40px;
        height: 40px;
    }
    .goal-title {
        font-size: 1rem;
    }
    .goal-description {
        font-size: 0.85rem;
    }
    /* Contact section */
    .contact-grid {
        gap: 2.5rem;
    }
    .contact-item {
        margin-bottom: 1.5rem;
    }
    .contact-item-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    .contact-item-content h4 {
        font-size: 0.95rem;
    }
    .contact-item-content p {
        font-size: 0.85rem;
    }
    .contact-form-container {
        padding: 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group {
        margin-bottom: 1rem;
    }
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    /* Footer */
    .footer {
        padding: 2rem 1rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo-text {
        font-size: 1.1rem;
    }
    .footer-copyright {
        font-size: 0.8rem;
    }
    /* Additional mobile fixes for divisions */
    .division {
        padding: 3rem 1rem;
    }
    .division-grid {
        gap: 2rem;
    }
    .division-title {
        font-size: 1.75rem;
    }
    .division-desc {
        font-size: 0.95rem;
    }
    /* Force all division images to appear at top on mobile */
    .division-grid>* {
        order: 2;
    }
    .division-grid .division-image {
        order: 1 !important;
    }
}

@media (max-width: 640px) {
    /* Ensure proper padding on very small screens */
    section {
        padding: 3rem 1rem;
    }
    .container {
        padding: 0;
    }
    /* Hero */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    /* About section for very small screens */
    .stats-grid {
        flex-direction: column;
    }
    .stat-card {
        width: 100%;
    }
    /* Division image accents */
    .division-image-accent {
        width: 64px;
        height: 64px;
        bottom: -16px;
    }
    .division-image-accent.left {
        left: -16px;
    }
    .division-image-accent.right {
        right: -16px;
    }
    /* Feature items */
    .feature-item {
        gap: 12px;
    }
    .feature-item span {
        font-size: 13px;
    }
    /* Scroll indicator - hide on mobile */
    .scroll-indicator {
        display: none;
    }
}


/* Mobile Menu */

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 6rem 2rem 2rem;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
}

.mobile-menu-link {
    padding: 1.25rem 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.mobile-menu-link:hover {
    color: var(--primary);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}