/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --primary: #d63031;          /* Indonesian Red / Crimson */
    --primary-glow: rgba(214, 48, 49, 0.35);
    --primary-dark: #b21f24;
    --secondary: #2d3436;        /* Dark Slate */
    --bg-dark: #f8f9fc;          /* Clean White/Light Gray */
    --bg-card: #ffffff;          /* White cards */
    --bg-card-hover: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-glow: rgba(214, 48, 49, 0.25);
    
    --accent-cyan: #d63031;      /* Red accent for lab tests */
    --accent-cyan-glow: rgba(214, 48, 49, 0.25);
    
    --text-light: #2d3436;       /* Main text is dark gray */
    --text-muted: #636e72;       /* Subtext is medium gray */
    --text-dark: #ffffff;        /* White text for contrast on red buttons */
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --shadow-cyan-glow: 0 0 20px var(--accent-cyan-glow);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 110px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent-cyan));
    width: 0%;
    z-index: 9999;
}

/* Containers */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-dark);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #ffb252);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(214, 48, 49, 0.1);
    color: var(--primary);
    border: 1px solid rgba(214, 48, 49, 0.25);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-badge.badge-accent {
    background-color: rgba(0, 245, 255, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(0, 245, 255, 0.25);
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

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

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 0;
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar span i, .top-bar a i {
    color: var(--primary);
    margin-right: 6px;
}

.top-bar .separator {
    color: rgba(0, 0, 0, 0.15);
}

.top-bar .social-links {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.top-bar .social-links a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
}

.top-bar .social-links a:hover {
    color: var(--text-dark);
    background-color: var(--primary);
}

/* Main Navbar */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    height: 85px;
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(214, 48, 49, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

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

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

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

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

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.2px;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* ==========================================================================
/* ==========================================================================
   HERO SECTION — Premium Single Column
   ========================================================================== */
@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -40px) scale(1.08); }
    66%       { transform: translate(-20px, 20px) scale(0.96); }
}
@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes blobFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(20px, 40px) scale(0.92); }
    80%       { transform: translate(-15px, -20px) scale(1.06); }
}
@keyframes badgeDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.5); }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-section {
    position: relative;
    padding: 150px 0 180px;
    background-color: #0a0a0f;
    overflow: hidden;
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg, url('/assets/images/gambar_background.jpeg'));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

/* Hide background decorators and wave to match the clean full-width hero look */
.hero-blob,
.hero-bg-overlay,
.hero-pattern-dots,
.hero-pattern-dots-left,
.hero-right-bg-decorator,
.hero-wave {
    display: none !important;
}

/* Red-White Theme Geometric Ornament Styles */
.hero-geometric-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.decor-stripe {
    position: absolute;
    height: 200%;
    top: -50%;
    transform: skewX(-28deg);
    transform-origin: top left;
    transition: var(--transition);
}

/* Primary Red Stripe with deep gradient & glow */
.stripe-1 {
    width: 130px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    right: 5%;
    box-shadow: 0 0 50px rgba(214, 48, 49, 0.6);
    z-index: 3;
}

/* Semi-transparent White Accent Stripe */
.stripe-2 {
    width: 35px;
    background: rgba(255, 255, 255, 0.75);
    right: 15%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 2;
}

/* Translucent Dark Red Stripe */
.stripe-3 {
    width: 220px;
    background: rgba(214, 48, 49, 0.15);
    right: -8%;
    border-left: 2px solid rgba(214, 48, 49, 0.3);
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-geometric-decor {
        display: none !important;
    }
}

/* Animated colour blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214,48,49,0.06) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    animation: blobFloat1 16s ease-in-out infinite;
}
.hero-blob-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(214,48,49,0.03) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    animation: blobFloat2 20s ease-in-out infinite;
}
.hero-blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(178,31,36,0.03) 0%, transparent 70%);
    top: 30%;
    left: 50%;
    animation: blobFloat3 24s ease-in-out infinite;
}

/* Grid overlay */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10,10,15,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,10,15,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 1;
}

.hero-pattern-dots-left {
    position: absolute;
    width: 140px;
    height: 140px;
    bottom: 12%;
    left: 2%;
    background-image: radial-gradient(rgba(214, 48, 49, 0.12) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.hero-content {
    max-width: 100%;
    animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}

/* Right Side Background Decorator matching the screenshot exactly */
.hero-right-bg-decorator {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%; /* Covers right side of the screen, making the triangle huge */
    height: 100%;
    z-index: 1;
    pointer-events: none;
    clip-path: inset(0 0 60px 0);
}

@media (max-width: 991px) {
    .hero-right-bg-decorator {
        display: none; /* Hide background decorator on mobile to focus on text */
    }
}

.hero-decorator-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-decorator-image {
    opacity: 0.24; /* Faint but clearly visible image */
    mix-blend-mode: normal;
}

.hero-spacer {
    height: 480px;
    pointer-events: none;
}

@media (max-width: 991px) {
    .hero-spacer {
        display: none;
    }
}

.hero-pattern-dots {
    position: absolute;
    width: 250px;
    height: 250px;
    top: 15%;
    right: 38%; /* Positioned right behind the curve */
    background-image: radial-gradient(rgba(214, 48, 49, 0.18) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    .hero-pattern-dots {
        display: none;
    }
}

/* Custom Underline Button for "Tentang Kami" */
.btn-link-underline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary);
    position: relative;
    padding: 10px 0;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-link-underline i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

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

.btn-link-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.btn-link-underline:hover::after {
    width: 100%;
    background-color: var(--primary-dark);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    background: #ffffff;
    border: 1px solid rgba(214,48,49,0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    animation: badgeDotPulse 2s ease-in-out infinite;
}

/* Title */
.hero-title {
    font-size: 62px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #ffffff;
}
.hero-title .text-primary {
    color: var(--primary) !important;
}

/* Subtitle */
.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 44px;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-content .btn-link-underline {
    color: #ffffff;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--bg-dark);
}


/* ==========================================================================
   STATS DASHBOARD SECTION
   ========================================================================== */
@keyframes statsPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.08); }
}

@keyframes shimmerLine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(4deg); }
}

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

/* ==========================================================================
   STATS DASHBOARD SECTION — REDESIGNED
   ========================================================================== */

.stats-section {
    position: relative;
    z-index: 10;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

/* Wrapper */
.stats-inner-wrapper {
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 70% at 15% 60%, rgba(214,48,49,0.45) 0%, transparent 55%),
        radial-gradient(ellipse 40% 60% at 90% 20%, rgba(178,31,36,0.20) 0%, transparent 50%),
        linear-gradient(180deg, rgba(8,8,16,0.88) 0%, rgba(10,10,18,0.80) 50%, rgba(8,8,12,0.92) 100%),
        url('/assets/images/Foto BT/PHOTO-2026-07-10-19-41-48.jpg') center center / cover no-repeat;
}


/* Canvas Particle Layer */
.stats-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* Floating Glowing Orbs */
.stats-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

.stats-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(214,48,49,0.40) 0%, rgba(214,48,49,0.06) 60%, transparent 100%);
    top: -120px;
    left: -100px;
    animation: orbDrift1 12s ease-in-out infinite;
}

.stats-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(178,31,36,0.25) 0%, transparent 70%);
    bottom: -80px;
    right: 8%;
    animation: orbDrift2 15s ease-in-out infinite;
}

.stats-orb-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,90,80,0.18) 0%, transparent 70%);
    top: 40%;
    left: 55%;
    transform: translateX(-50%);
    animation: orbDrift3 9s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%,100% { transform: translate(0px, 0px) scale(1); }
    33%      { transform: translate(70px, 50px) scale(1.1); }
    66%      { transform: translate(-40px, 70px) scale(0.93); }
}

@keyframes orbDrift2 {
    0%,100% { transform: translate(0px, 0px) scale(1); }
    40%      { transform: translate(-80px, -50px) scale(1.15); }
    70%      { transform: translate(50px, -70px) scale(0.90); }
}

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

/* Bottom shimmer line */
.stats-inner-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, #ff6b6b 50%, var(--primary) 70%, transparent 100%);
    background-size: 200% auto;
    animation: shimmerLine 3s linear infinite;
}

/* Ensure content is above canvas/orbs */
.stats-inner-wrapper > .container {
    position: relative;
    z-index: 2;
}

/* === Factory Silhouette Background === */
.stats-silhouette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.stats-silhouette img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Efek siluet merah seamless */
    filter: brightness(0.15) sepia(1) saturate(6) hue-rotate(320deg);
    opacity: 0.55;
    /* Fade ke kiri dan atas agar melebur dengan bg */
    -webkit-mask-image:
        linear-gradient(to left,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%),
        linear-gradient(to top,   rgba(0,0,0,1)   0%, rgba(0,0,0,0) 30%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to left,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%),
        linear-gradient(to top,   rgba(0,0,0,1)   0%, rgba(0,0,0,0) 30%);
    mask-composite: intersect;
    mix-blend-mode: screen;
}


/* ==========================================================================
   STATS SECTION HEADER
   ========================================================================== */

.stats-section-header {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.stats-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    padding: 8px 22px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}

.stats-eyebrow i {
    font-size: 8px;
    color: var(--primary);
}

.stats-heading {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.stats-heading-accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.stats-subtext {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    font-weight: 400;
}

/* ==========================================================================
   STAT CARDS — REDESIGNED
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    cursor: default;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(214,48,49,0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214,48,49,0.25);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(214,48,49,0.15);
}

.stat-card:hover::after {
    opacity: 1;
}

/* === FEATURED CARD — same style as others, no special border === */
.stat-card--featured {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    box-shadow: none;
}

/* Red bottom glow for featured — MUST stay absolute, excluded from flex flow */
.stat-card-glow {
    position: absolute !important;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) !important;
    width: 70%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(214,48,49,0.55) 0%, transparent 70%);
    filter: blur(16px);
    pointer-events: none;
    z-index: 0 !important;
    animation: featuredPulse 3s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%,100% { opacity: 0.7; transform: translateX(-50%) scaleX(1) !important; }
    50%      { opacity: 1;   transform: translateX(-50%) scaleX(1.15) !important; }
}

/* Apply z-index to content children only — exclude the absolute glow div */
.stat-card > *:not(.stat-card-glow) {
    position: relative;
    z-index: 1;
}

/* Icon */
.stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(80,20,20,0.9) 0%, rgba(30,10,10,0.95) 100%);
    border: 1px solid rgba(214,48,49,0.30);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,100,100,0.15);
    animation: floatIcon 4s ease-in-out infinite;
}

.stat-card:nth-child(2) .stat-icon { animation-delay: -1s; }
.stat-card:nth-child(3) .stat-icon { animation-delay: -2s; }
.stat-card:nth-child(4) .stat-icon { animation-delay: -3s; }

/* All icon styles unified — no featured override */

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(214,48,49,0.5), 0 8px 20px rgba(0,0,0,0.4);
    border-color: transparent;
    animation: none;
    transform: scale(1.08);
}

/* Stat Info */
.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.stat-info h3 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -3px;
    font-family: var(--font-heading);
}

.stat-suffix {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.40);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    line-height: 1.5;
    max-width: 130px;
}

.stat-divider {
    width: 28px;
    height: 1.5px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 0 auto;
    transition: var(--transition);
}

.stat-card--featured .stat-divider {
    background: rgba(214,48,49,0.6);
    width: 40px;
}

.stat-card:hover .stat-divider {
    width: 48px;
    background: rgba(214,48,49,0.6);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    padding: 80px 0;
}

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

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

.main-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.about-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: brightness(0.8);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color-glow);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.experience-badge .badge-num {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .badge-text {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.about-text-content .section-title {
    margin-bottom: 24px;
}

.about-desc {
    color: #1e293b !important;
    margin-bottom: 20px;
    font-size: 15px;
    text-align: justify;
}

/* Vision Mission Tabs */
.vimi-container {
    margin-top: 36px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.vimi-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
}

.vimi-tab {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.vimi-tab:hover {
    color: var(--text-light);
}

.vimi-tab.active {
    color: var(--primary);
    background-color: rgba(214, 48, 49, 0.03);
}

.vimi-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.vimi-content {
    padding: 24px;
}

.vimi-pane {
    display: none;
}

.vimi-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.vimi-pane p {
    font-size: 15px;
    display: flex;
    gap: 12px;
}

.vimi-pane p i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.vimi-pane ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vimi-pane ul li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.vimi-pane ul li i {
    color: var(--primary);
    margin-top: 4px;
}

/* ==========================================================================
   PRODUCTS CATALOG
   ========================================================================== */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: var(--border-color-glow);
    box-shadow: var(--shadow-lg);
}

.product-img-holder {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #ffffff;
}

.product-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: var(--transition);
    pointer-events: none; /* Allow touch & swipe to pass through to slider underneath */
    z-index: 4;
}

.product-overlay a {
    pointer-events: auto; /* Keep Tanyakan Spesifikasi button clickable */
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-cat {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-info p {
    font-size: 13px;
    color: var(--text-muted);
    flex: 1;
    text-align: justify;
}

/* ==========================================================================
   QUALITY CONTROL & LAB SECTION
   ========================================================================== */
.lab-section {
    padding: 100px 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(214, 48, 49, 0.03) 0%, transparent 40%);
}

.lab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
}

.lab-desc {
    font-size: 15px;
    margin-bottom: 40px;
}

.tests-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.test-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.test-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.test-number {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-top: 2px;
    transition: var(--transition);
}

.test-details h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-light);
    transition: var(--transition);
}

.test-details p {
    font-size: 13px;
    color: var(--text-muted);
}
/* Interactive Lab Visualizer Panel */
.lab-visual {
    position: sticky;
    top: 120px;
}

.lab-card-interactive {
    background-color: rgba(26, 26, 36, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-lg);
}

.lab-card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lab-icon-glow {
    color: var(--accent-cyan);
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.lab-card-header h3 {
    font-size: 16px;
    letter-spacing: 0.5px;
}

.lab-card-body {
    padding: 40px 24px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visualizer-placeholder {
    text-align: center;
    max-width: 280px;
}

.visualizer-placeholder i {
    font-size: 48px;
    color: var(--accent-cyan);
    opacity: 0.8;
    margin-bottom: 20px;
}

.visualizer-placeholder p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Visualizer Active States */
.visualizer-display {
    width: 100%;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.visualizer-display h4 {
    font-size: 20px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.visualizer-animation-container {
    width: 100%;
    height: 180px;
    background-color: rgba(10, 10, 15, 0.5);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visualizer-spec-list {
    text-align: left;
    background-color: rgba(255,255,255,0.02);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.visualizer-spec-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.visualizer-spec-list li:last-child {
    margin-bottom: 0;
}

.visualizer-spec-list li strong {
    color: var(--text-light);
}

/* Interactive lab specific animations */
.rubber-sample {
    width: 120px;
    height: 24px;
    background: linear-gradient(90deg, #3a3a4a, #22222a);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.density-water {
    width: 100%;
    height: 100%;
    background: rgba(0, 245, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-ball {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #222;
    border: 2px solid var(--primary);
    animation: float 2s infinite ease-in-out;
}

.hardness-pin {
    position: absolute;
    top: 20px;
    font-size: 28px;
    color: var(--accent-cyan);
    animation: pressDown 2s infinite ease-in-out;
}

.abrasion-wheel {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 8px dashed var(--accent-cyan);
    animation: rotateWheel 2s infinite linear;
}

.stretch-bar {
    width: 80px;
    height: 20px;
    background-color: #333;
    border: 1px solid var(--border-color);
    animation: stretchBar 2s infinite ease-in-out;
}

.tear-split {
    width: 100px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tear-split::before, .tear-split::after {
    content: '';
    height: 16px;
    background: #333;
    border-radius: 2px;
}

.tear-split::before {
    transform-origin: left;
    animation: tearUpper 2s infinite ease-in-out;
}

.tear-split::after {
    transform-origin: left;
    animation: tearLower 2s infinite ease-in-out;
}

.flexing-hinge {
    width: 120px;
    height: 16px;
    background: #333;
    transform-origin: left center;
    animation: flexBend 1.5s infinite ease-in-out;
}

/* ==========================================================================
   MARKETING AREA SECTION
   ========================================================================== */
.market-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.market-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
}

.market-card:hover {
    border-color: var(--border-color-glow);
    background-color: var(--bg-card-hover);
}

.market-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.market-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: rgba(214, 48, 49, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.market-card-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.market-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.market-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.market-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.flag-icon {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.market-list li div {
    display: flex;
    flex-direction: column;
}

.market-list li div strong {
    font-size: 15px;
    color: var(--text-light);
}

.market-list li div span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Regions styling for national markets */
.regions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.region-badge {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.region-badge i {
    color: var(--primary);
    font-size: 11px;
}

.region-badge:hover {
    background-color: rgba(214, 48, 49, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.shipping-animation {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(90deg, rgba(242,140,15,0.05), transparent);
    border-left: 3px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.shipping-animation i {
    font-size: 24px;
    color: var(--primary);
    animation: bounceRight 2s infinite ease-in-out;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.contact-form-wrapper .section-title {
    font-size: 32px;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 36px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(0, 0, 0, 0.01);
    box-shadow: 0 0 12px rgba(214, 48, 49, 0.15);
}

.form-status {
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

.form-status.success {
    color: #00ff66;
}

.form-status.error {
    color: #ff3333;
}

/* Info Cards & Maps */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 4px;
}

.info-item div strong {
    font-size: 14px;
    display: block;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-item div p {
    font-size: 13px;
    color: var(--text-muted);
}

.map-embed-wrapper {
    border-radius: 20px;
    height: 280px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: saturate(0.85) contrast(1.05);
}

/* Overlay card pinned bottom */
.map-overlay-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0,0,0,0.06);
}

/* Pin icon with pulse ring */
.map-overlay-pin {
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay-pin i {
    font-size: 22px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.pin-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(214, 48, 49, 0.15);
    animation: pinPulse 2s ease-in-out infinite;
}

@keyframes pinPulse {
    0%, 100% { transform: scale(0.8); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0; }
}

.map-overlay-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-overlay-info strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-overlay-info span {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-overlay-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(214, 48, 49, 0.35);
}

.map-overlay-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 48, 49, 0.45);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #050508;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-light);
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pressDown {
    0%, 100% { transform: translateY(-10px); opacity: 0.5; }
    50% { transform: translateY(12px); opacity: 1; }
}

@keyframes rotateWheel {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes stretchBar {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.4); }
}

@keyframes tearUpper {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-15deg); }
}

@keyframes tearLower {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes flexBend {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(35deg); }
}

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

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* ==========================================================================
   PRODUCT SLIDER STYLES
   ========================================================================== */
.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

.product-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.product-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    margin: 0 auto;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10; /* Always above product-overlay */
    opacity: 0;
    pointer-events: auto;
}

.slider-btn:hover, .slider-btn:active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.product-card:hover .slider-btn {
    opacity: 1;
}

/* On mobile / touch screens, slider arrows are always visible and easy to tap */
@media (max-width: 991px), (hover: none) {
    .slider-btn {
        opacity: 1 !important;
        background: rgba(214, 48, 49, 0.85); /* Accent red buttons for high mobile visibility */
        border-color: rgba(255, 255, 255, 0.4);
    }
    .product-overlay {
        display: none !important; /* Hide black dark hover box on mobile so photo is crisp & clear! */
    }
}

/* Dots Indicators */
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10; /* Always above product-overlay */
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover, .slider-dot:active {
    background: rgba(255, 255, 255, 0.9);
}

.slider-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

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

    .stat-info h3 {
        font-size: 40px;
    }

    .stat-card {
        padding: 36px 20px;
    }
    
    .about-grid, .product-grid, .lab-grid, .market-grid, .contact-grid {
        gap: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-contact {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    /* Header menu mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 40px;
        transition: var(--transition);
        z-index: 1000;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-menu .nav-link {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #ffffff;
    }
    
    .nav-menu .nav-link::after {
        background-color: var(--primary);
    }
    
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        transition: var(--transition);
    }
    
    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle.active .bar {
        background-color: #ffffff;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
        /* Layouts */
    .top-bar {
        display: none;
    }

    .logo-img {
        height: 72px;
    }

    .main-header {
        height: 90px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
    }

    
    .about-grid, .lab-grid, .market-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-main-img {
        height: 320px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
    
    .lab-visual {
        position: relative;
        top: 0;
    }
}

/* ==========================================================================
   JUSTIFIED TEXT PARAGRAPHS
   ========================================================================== */
.about-desc,
.about-desc *,
.about-text-content p,
.about-text-content div {
    text-align: justify !important;
    color: #1e293b !important;
}
.product-info p,
.hero-subtitle,
.lab-desc,
.market-text,
.contact-desc,
.vimi-pane p,
.text-justify {
    text-align: justify !important;
}
