/* ============================================
   JAGDAMBA PACKAGING SOLUTIONS - Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0B4F6C;
    --primary-dark: #083A52;
    --primary-light: #12708F;
    --accent: #0E7490;
    --accent-light: #22B8CF;
    --logo-cyan: #00BCD4;
    --logo-green: #8BC34A;
    --logo-yellow: #FFC107;
    --logo-magenta: #E91E63;
    --dark-bg: #1E2A38;
    --gold: #C9A227;
    --white: #ffffff;
    --off-white: #F2F5F8;
    --cream: #EEF2F6;
    --gray-50: #F5F7FA;
    --gray-100: #EBEEF2;
    --gray-200: #DDE3EA;
    --gray-300: #C4CDD8;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #152032;
    --gradient-1: linear-gradient(135deg, #0B4F6C 0%, #12708F 100%);
    --gradient-logo: linear-gradient(90deg, var(--logo-cyan), var(--logo-green), var(--logo-yellow), var(--logo-magenta));
    --gradient-2: linear-gradient(135deg, #E8EEF3 0%, #F2F5F8 55%, #ffffff 100%);
    --gradient-hero: linear-gradient(145deg, #F8FAFC 0%, #EEF3F7 45%, #E6EDF3 100%);
    --gradient-3: linear-gradient(180deg, #EEF2F6 0%, #ffffff 100%);
    --shadow-sm: 0 1px 3px rgba(30, 42, 56, 0.07);
    --shadow-md: 0 8px 24px rgba(30, 42, 56, 0.09);
    --shadow-lg: 0 16px 48px rgba(30, 42, 56, 0.11);
    --shadow-xl: 0 24px 64px rgba(30, 42, 56, 0.13);
    --radius: 10px;
    --radius-lg: 18px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-700);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Bar --- */
.top-bar {
    background: var(--dark-bg);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--logo-cyan) 0%, var(--logo-green) 33%, var(--logo-yellow) 66%, var(--logo-magenta) 100%) 1;
}

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

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-left i {
    margin-right: 6px;
    font-size: 0.75rem;
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.7);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
}

.top-bar-right a:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* --- Header --- */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 70px;
    width: auto;
    border-radius: var(--radius);
    display: block;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 4px;
}

.nav-list a {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 6px;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
    background: var(--off-white);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--gradient-logo);
    border-radius: 2px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-machine {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.machine-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.machine-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(11, 79, 108, 0.15));
}

.machine-live-badge {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    box-shadow: var(--shadow-md);
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34, 197, 94, 0.4);
    flex-shrink: 0;
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 14px #22c55e, 0 0 28px rgba(34, 197, 94, 0.6);
    }
}

.live-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.2;
}

.live-sub {
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.machine-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.15);
}

.machine-header {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px;
}

.machine-body {
    position: relative;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px;
    overflow: hidden;
}

.machine-press {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 40px;
    height: 98px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(255, 255, 255, 0.14));
    box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.12);
}

.machine-press::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    width: 52px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.caps-row {
    position: absolute;
    top: 38px;
    left: 24px;
    right: 24px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
}

.cap {
    position: relative;
    width: 48px;
    height: 32px;
    border-radius: 26px / 12px;
    background: radial-gradient(circle at 50% 20%, #f8fbff 0%, #dbeafe 38%, #60a5fa 86%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    animation: capDrop 4s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.cap::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    right: 6px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    filter: blur(0.5px);
}

.cap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 16px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18);
    z-index: -1;
}

.cap.cap-1 {
    animation-delay: 0s;
}

.cap.cap-2 {
    animation-delay: 0.8s;
}

.cap.cap-3 {
    animation-delay: 1.6s;
}

.cap.cap-4 {
    animation-delay: 2.4s;
}

.cap.cap-5 {
    animation-delay: 3.2s;
}

.machine-label {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.7;
}

@keyframes capDrop {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    25% {
        transform: translateY(40px) scale(1.03);
        opacity: 1;
    }

    55% {
        transform: translateY(140px) scale(0.98);
        opacity: 0.9;
    }

    80% {
        transform: translateY(210px) scale(0.92);
        opacity: 0.45;
    }

    100% {
        transform: translateY(240px) scale(0.88);
        opacity: 0;
    }
}

/* === PRECISION CAP SEAL REVEAL === */
#particleCanvas {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Hero content — sharpens as cap seal completes */
.hero-content {
    opacity: 0.15;
    transform: translateY(18px) scale(0.98);
    filter: blur(3px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.23, 1, 0.32, 1), filter 1s ease;
}

.hero.revealed .hero-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.hero-stats {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}

.hero.revealed .hero-stats {
    opacity: 1;
    transform: translateY(0);
}

/* Shapes visible but blurred initially, sharpen on reveal */
.hero-shapes {
    opacity: 0.4;
    filter: blur(3px);
    transition: opacity 0.8s ease 0.2s, filter 0.8s ease 0.2s;
}

.hero.revealed .hero-shapes {
    opacity: 1;
    filter: blur(0);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
}

/* ========================
   FILLED CIRCLES (5)
   ======================== */
.shape-circle {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.shape-circle:nth-of-type(1) {
    width: 450px;
    height: 450px;
    top: -140px;
    right: -90px;
    animation: floatUp 18s ease-in-out infinite;
}

.shape-circle:nth-of-type(2) {
    width: 300px;
    height: 300px;
    bottom: -70px;
    left: -70px;
    animation: floatDiag 22s ease-in-out infinite;
    animation-delay: -4s;
}

.shape-circle:nth-of-type(3) {
    width: 170px;
    height: 170px;
    top: 28%;
    right: 18%;
    background: rgba(11, 79, 108, 0.07);
    animation: floatUp 15s ease-in-out infinite;
    animation-delay: -7s;
}

.shape-circle:nth-of-type(4) {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 25%;
    background: rgba(11, 79, 108, 0.05);
    animation: floatDiag 19s ease-in-out infinite;
    animation-delay: -11s;
}

.shape-circle:nth-of-type(5) {
    width: 220px;
    height: 220px;
    top: 5%;
    left: 45%;
    background: rgba(255, 255, 255, 0.035);
    animation: floatUp 24s ease-in-out infinite;
    animation-delay: -3s;
}

/* ========================
   RINGS - hollow circles (4)
   ======================== */
.shape-ring {
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.07);
}

.shape-ring:nth-of-type(1) {
    width: 340px;
    height: 340px;
    top: 8%;
    right: -70px;
    animation: spinSlow 40s linear infinite;
}

.shape-ring:nth-of-type(2) {
    width: 220px;
    height: 220px;
    bottom: 12%;
    left: 6%;
    border-width: 1.5px;
    border-color: rgba(11, 79, 108, 0.1);
    animation: spinReverse 32s linear infinite;
    animation-delay: -5s;
}

.shape-ring:nth-of-type(3) {
    width: 130px;
    height: 130px;
    top: 50%;
    right: 32%;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.05);
    animation: spinSlow 22s linear infinite;
    animation-delay: -10s;
}

.shape-ring:nth-of-type(4) {
    width: 400px;
    height: 400px;
    bottom: -120px;
    right: 20%;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.04);
    animation: spinReverse 50s linear infinite;
    animation-delay: -15s;
}

/* ========================
   DOTS - tiny particles (8)
   ======================== */
.shape-dot {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.shape-dot:nth-of-type(1) {
    width: 6px;
    height: 6px;
    top: 18%;
    left: 12%;
    animation: floatUp 12s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

.shape-dot:nth-of-type(2) {
    width: 4px;
    height: 4px;
    top: 42%;
    right: 8%;
    animation: floatDiag 10s ease-in-out infinite, pulse 4s ease-in-out infinite;
    animation-delay: -2s;
}

.shape-dot:nth-of-type(3) {
    width: 8px;
    height: 8px;
    top: 68%;
    left: 38%;
    background: rgba(11, 79, 108, 0.22);
    animation: floatUp 14s ease-in-out infinite, pulse 3.5s ease-in-out infinite;
    animation-delay: -6s;
}

.shape-dot:nth-of-type(4) {
    width: 5px;
    height: 5px;
    top: 12%;
    right: 28%;
    animation: floatDiag 16s ease-in-out infinite, pulse 2.5s ease-in-out infinite;
    animation-delay: -3s;
}

.shape-dot:nth-of-type(5) {
    width: 3px;
    height: 3px;
    bottom: 22%;
    right: 20%;
    background: rgba(11, 79, 108, 0.18);
    animation: floatUp 11s ease-in-out infinite, pulse 4s ease-in-out infinite;
    animation-delay: -8s;
}

.shape-dot:nth-of-type(6) {
    width: 7px;
    height: 7px;
    top: 35%;
    left: 55%;
    animation: floatDiag 13s ease-in-out infinite, pulse 3.2s ease-in-out infinite;
    animation-delay: -1s;
}

.shape-dot:nth-of-type(7) {
    width: 4px;
    height: 4px;
    bottom: 35%;
    left: 10%;
    background: rgba(11, 79, 108, 0.2);
    animation: floatUp 15s ease-in-out infinite, pulse 3.8s ease-in-out infinite;
    animation-delay: -9s;
}

.shape-dot:nth-of-type(8) {
    width: 5px;
    height: 5px;
    top: 80%;
    right: 45%;
    animation: floatDiag 12s ease-in-out infinite, pulse 2.8s ease-in-out infinite;
    animation-delay: -5s;
}

/* ========================
   GRADIENT ORBS - blurred glow (3)
   ======================== */
.shape-orb {
    border-radius: 50%;
    filter: blur(60px);
}

.shape-orb:nth-of-type(1) {
    width: 380px;
    height: 380px;
    top: -8%;
    left: 52%;
    background: radial-gradient(circle, rgba(11, 79, 108, 0.12) 0%, transparent 70%);
    animation: floatDiag 25s ease-in-out infinite;
}

.shape-orb:nth-of-type(2) {
    width: 300px;
    height: 300px;
    bottom: 2%;
    right: 52%;
    background: radial-gradient(circle, rgba(11, 79, 108, 0.08) 0%, transparent 70%);
    animation: floatUp 20s ease-in-out infinite;
    animation-delay: -8s;
}

.shape-orb:nth-of-type(3) {
    width: 250px;
    height: 250px;
    top: 40%;
    right: -5%;
    background: radial-gradient(circle, rgba(11, 79, 108, 0.06) 0%, transparent 70%);
    animation: floatDiag 28s ease-in-out infinite;
    animation-delay: -12s;
}

/* ========================
   PLUS SIGNS (4)
   ======================== */
.shape-plus {
    width: 20px;
    height: 20px;
    opacity: 0.12;
}

.shape-plus::before,
.shape-plus::after {
    content: '';
    position: absolute;
    background: var(--white);
    border-radius: 2px;
}

.shape-plus::before {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.shape-plus::after {
    width: 3px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.shape-plus:nth-of-type(1) {
    top: 22%;
    right: 10%;
    animation: floatUp 13s ease-in-out infinite, spinSlow 25s linear infinite;
}

.shape-plus:nth-of-type(2) {
    bottom: 28%;
    left: 18%;
    width: 14px;
    height: 14px;
    opacity: 0.08;
    animation: floatDiag 17s ease-in-out infinite, spinReverse 30s linear infinite;
    animation-delay: -4s;
}

.shape-plus:nth-of-type(3) {
    top: 58%;
    right: 38%;
    width: 16px;
    height: 16px;
    opacity: 0.1;
    animation: floatUp 15s ease-in-out infinite, spinSlow 20s linear infinite;
    animation-delay: -9s;
}

.shape-plus:nth-of-type(4) {
    top: 75%;
    left: 60%;
    width: 12px;
    height: 12px;
    opacity: 0.07;
    animation: floatDiag 19s ease-in-out infinite, spinReverse 35s linear infinite;
    animation-delay: -7s;
}

/* ========================
   DIAMONDS - rotated squares (3)
   ======================== */
.shape-diamond {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
}

.shape-diamond:nth-of-type(1) {
    width: 32px;
    height: 32px;
    top: 16%;
    left: 28%;
    transform: rotate(45deg);
    animation: floatDiamond 16s ease-in-out infinite, pulse 5s ease-in-out infinite;
}

.shape-diamond:nth-of-type(2) {
    width: 22px;
    height: 22px;
    bottom: 18%;
    right: 14%;
    transform: rotate(45deg);
    animation: floatDiamond 19s ease-in-out infinite;
    animation-delay: -6s;
}

.shape-diamond:nth-of-type(3) {
    width: 18px;
    height: 18px;
    top: 48%;
    left: 8%;
    transform: rotate(45deg);
    background: rgba(11, 79, 108, 0.06);
    border-color: rgba(11, 79, 108, 0.1);
    animation: floatDiamond 21s ease-in-out infinite;
    animation-delay: -10s;
}

/* ========================
   HEXAGONS (3)
   ======================== */
.shape-hex {
    width: 40px;
    height: 23px;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    opacity: 0.8;
}

.shape-hex::before,
.shape-hex::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.shape-hex::before {
    bottom: 100%;
    border-bottom: 11px solid rgba(255, 255, 255, 0.04);
}

.shape-hex::after {
    top: 100%;
    border-top: 11px solid rgba(255, 255, 255, 0.04);
}

.shape-hex:nth-of-type(1) {
    top: 15%;
    right: 22%;
    animation: floatUp 20s ease-in-out infinite, spinSlow 45s linear infinite;
}

.shape-hex:nth-of-type(2) {
    bottom: 30%;
    left: 35%;
    width: 28px;
    height: 16px;
    animation: floatDiag 24s ease-in-out infinite;
    animation-delay: -8s;
}

.shape-hex:nth-of-type(2)::before,
.shape-hex:nth-of-type(2)::after {
    border-left-width: 14px;
    border-right-width: 14px;
}

.shape-hex:nth-of-type(2)::before {
    border-bottom-width: 8px;
}

.shape-hex:nth-of-type(2)::after {
    border-top-width: 8px;
}

.shape-hex:nth-of-type(3) {
    top: 70%;
    right: 50%;
    width: 34px;
    height: 20px;
    animation: floatUp 18s ease-in-out infinite, spinReverse 40s linear infinite;
    animation-delay: -13s;
}

.shape-hex:nth-of-type(3)::before,
.shape-hex:nth-of-type(3)::after {
    border-left-width: 17px;
    border-right-width: 17px;
}

.shape-hex:nth-of-type(3)::before {
    border-bottom-width: 10px;
}

.shape-hex:nth-of-type(3)::after {
    border-top-width: 10px;
}

/* ========================
   LINE STREAKS (4)
   ======================== */
.shape-line {
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.shape-line:nth-of-type(1) {
    width: 120px;
    top: 25%;
    left: 5%;
    transform: rotate(-15deg);
    animation: lineSlide 8s ease-in-out infinite;
}

.shape-line:nth-of-type(2) {
    width: 80px;
    top: 55%;
    right: 5%;
    transform: rotate(20deg);
    animation: lineSlide 10s ease-in-out infinite;
    animation-delay: -3s;
}

.shape-line:nth-of-type(3) {
    width: 100px;
    bottom: 30%;
    left: 45%;
    transform: rotate(-8deg);
    height: 1.5px;
    animation: lineSlide 12s ease-in-out infinite;
    animation-delay: -6s;
}

.shape-line:nth-of-type(4) {
    width: 60px;
    top: 75%;
    left: 15%;
    transform: rotate(35deg);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 79, 108, 0.12), transparent);
    animation: lineSlide 9s ease-in-out infinite;
    animation-delay: -2s;
}

/* ========================
   TRIANGLES - outlines (3)
   ======================== */
.shape-tri {
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 28px solid rgba(255, 255, 255, 0.04);
    opacity: 0.9;
}

.shape-tri:nth-of-type(1) {
    top: 20%;
    right: 35%;
    animation: floatUp 17s ease-in-out infinite, spinSlow 30s linear infinite;
}

.shape-tri:nth-of-type(2) {
    bottom: 15%;
    left: 22%;
    border-left-width: 12px;
    border-right-width: 12px;
    border-bottom-width: 20px;
    border-bottom-color: rgba(11, 79, 108, 0.06);
    animation: floatDiag 21s ease-in-out infinite, spinReverse 38s linear infinite;
    animation-delay: -5s;
}

.shape-tri:nth-of-type(3) {
    top: 65%;
    right: 12%;
    border-left-width: 10px;
    border-right-width: 10px;
    border-bottom-width: 17px;
    border-bottom-color: rgba(255, 255, 255, 0.03);
    animation: floatUp 14s ease-in-out infinite, spinSlow 25s linear infinite;
    animation-delay: -11s;
}

/* ===== KEYFRAMES ===== */
@keyframes floatUp {

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

    25% {
        transform: translateY(-35px) translateX(12px);
    }

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

    75% {
        transform: translateY(-45px) translateX(18px);
    }
}

@keyframes floatDiag {

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

    25% {
        transform: translateY(-22px) translateX(28px);
    }

    50% {
        transform: translateY(12px) translateX(18px);
    }

    75% {
        transform: translateY(-28px) translateX(-12px);
    }
}

@keyframes floatDiamond {

    0%,
    100% {
        transform: rotate(45deg) translateY(0) translateX(0);
    }

    25% {
        transform: rotate(45deg) translateY(-20px) translateX(14px);
    }

    50% {
        transform: rotate(45deg) translateY(-6px) translateX(-12px);
    }

    75% {
        transform: rotate(45deg) translateY(-25px) translateX(10px);
    }
}

@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {

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

    50% {
        opacity: 0.4;
        transform: scale(1.4);
    }
}

@keyframes lineSlide {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--gray-800);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--logo-green);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--gray-900);
    font-family: 'Playfair Display', Georgia, serif;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 36px;
    font-weight: 400;
}

/* Split-word reveal for hero heading */
.split-hero {
    display: block;
    line-height: 1.05;
    word-wrap: break-word;
    overflow: visible;
}

.split-hero .word {
    display: inline-block;
    margin-right: 8px;
    white-space: nowrap;
}

.split-hero .word-inner {
    display: inline-block;
    transform: translateY(22px) rotate(-3deg) scale(0.97);
    opacity: 0;
    transition: transform 650ms cubic-bezier(.2, .9, .24, 1), opacity 520ms ease;
}

.split-hero.in-view .word-inner {
    transform: translateY(0) rotate(0) scale(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .split-hero .word {
        margin-right: 6px;
    }

    .split-hero {
        font-size: 1.6rem;
    }
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    /* opacity & transform controlled by crystal reveal above */
}

.hero-stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.hero-stat .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat .label {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 79, 108, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(11, 79, 108, 0.25);
}

.btn-outline:hover {
    background: rgba(11, 79, 108, 0.06);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--gradient-1);
    color: var(--white);
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 58, 125, 0.35);
}

.btn-blue-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* --- Section Styles --- */
.section {
    padding: 90px 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-blue {
    background: linear-gradient(180deg, #E8EEF3 0%, #F0F4F8 100%);
    color: var(--gray-800);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid var(--logo-cyan);
}

.section-blue .section-label {
    color: var(--accent);
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', Georgia, serif;
}

.section-blue .section-header h2 {
    color: var(--gray-900);
}

.section-header p {
    color: var(--gray-500);
    font-size: 1rem;
}

.section-blue .section-header p {
    color: var(--gray-500);
}

/* --- About Preview (Home) --- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-main i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-image-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-image-badge .text {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-weight: 500;
}

.about-text .section-label {
    text-align: left;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 18px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
}

.about-feature i {
    color: var(--accent);
    font-size: 0.75rem;
    width: 24px;
    height: 24px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 188, 212, 0.4);
}

.product-card-image {
    aspect-ratio: 16/11;
    background: linear-gradient(135deg, var(--off-white), var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

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

.product-card-image i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.3;
    transition: var(--transition);
}

.product-card:hover .product-card-image i {
    opacity: 0.5;
    transform: scale(1.1);
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.product-card-body p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.product-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-link:hover {
    color: var(--primary);
    gap: 10px;
}

.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.product-card-tags span {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--primary);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    padding: 4px 10px;
    border-radius: 20px;
}

/* --- Why Choose Us / Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 79, 108, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(11, 79, 108, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* --- Parallax Image Strip --- */
.parallax-strip {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-img {
    position: absolute;
    inset: -60px 0;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 79, 108, 0.75) 0%, rgba(18, 112, 143, 0.65) 100%);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 650px;
    padding: 0 20px;
}

.parallax-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.parallax-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    line-height: 1.7;
}

/* Mobile: fallback for fixed bg */
@supports (-webkit-touch-callout: none) {
    .parallax-img {
        background-attachment: scroll;
    }
}

/* --- Stats Bar --- */
.stats-bar {
    padding: 50px 0;
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.04) 0%, rgba(139, 195, 74, 0.04) 33%, rgba(255, 193, 7, 0.04) 66%, rgba(233, 30, 99, 0.04) 100%), var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

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

.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #E6EEF3 0%, #F2F5F8 50%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 1.02rem;
}

/* --- Industries --- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-card {
    text-align: center;
    padding: 36px 20px;
    padding-top: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 188, 212, 0.35);
}

.industry-card-img {
    width: 100%;
    height: 190px;
    overflow: hidden;
    margin: 0 0 18px 0;
    background: var(--gray-100);
}

.industry-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-card-img img {
    transform: scale(1.08);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(27, 58, 125, 0.08), rgba(59, 130, 246, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    color: var(--primary);
}

.industry-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* --- About Page --- */
.page-banner {
    background: linear-gradient(135deg, #E8EEF3 0%, #F2F5F8 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230B4F6C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    position: relative;
    font-family: 'Playfair Display', Georgia, serif;
}

.page-banner .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--gray-500);
    position: relative;
}

.page-banner .breadcrumb a {
    color: var(--primary);
}

.page-banner .breadcrumb a:hover {
    color: var(--primary-dark);
}

/* About Detail */
.about-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-detail-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 18px;
    line-height: 1.3;
}

.about-detail-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Mission Vision Values */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mvv-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent);
    transition: all 0.4s ease;
}

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

.mvv-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 18px;
    display: block;
}

.mvv-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.mvv-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-content {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.timeline-content .year {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 6px 0;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* --- Products Page --- */
.product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--gray-200);
}

.product-detail-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-detail-card:nth-child(even) {
    direction: rtl;
}

.product-detail-card:nth-child(even)>* {
    direction: ltr;
}

.product-detail-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--off-white), var(--gray-100));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.product-detail-image i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
}

.product-detail-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.product-detail-info p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 0.93rem;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.product-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.product-spec i {
    color: var(--accent);
    font-size: 0.7rem;
}

/* --- Infrastructure Page --- */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.infra-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

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

.infra-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--off-white), var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.infra-card:hover .infra-card-image img {
    transform: scale(1.06);
}

.infra-card-image i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.25;
}

.infra-card-body {
    padding: 24px;
}

.infra-card-body h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.infra-card-body p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* Capacity Section */
.capacity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.capacity-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.capacity-card .capacity-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 8px;
}

.capacity-card .capacity-label {
    font-size: 0.88rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* --- Certifications Page --- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cert-card {
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(27, 58, 125, 0.06), rgba(59, 130, 246, 0.06));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.cert-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrap h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.contact-form-wrap>p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

.contact-info-wrap h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.contact-info-wrap>p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Map */
.contact-map {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 380px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.contact-map i {
    font-size: 3rem;
    color: var(--gray-300);
}

/* --- Footer --- */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.75);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--logo-cyan), var(--logo-green), var(--logo-yellow), var(--logo-magenta)) 1;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo .logo-img {
    height: 58px;
    border-radius: var(--radius);
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-logo .logo-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-about {
    font-size: 0.85rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--gradient-logo);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
}

.footer-contact li i {
    color: var(--logo-cyan);
    margin-top: 4px;
    width: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--dark-bg);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark-bg);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up:nth-child(2) {
    transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
    transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
    transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
    transition-delay: 0.4s;
}

.fade-up:nth-child(6) {
    transition-delay: 0.5s;
}

/* --- Page Banner Title Animation --- */
.banner-title {
    animation: bannerSlideIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes bannerSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        letter-spacing: 8px;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: normal;
    }
}

.page-banner .breadcrumb {
    animation: bannerFade 0.6s ease 0.3s both;
}

@keyframes bannerFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Slide Right (from left) --- */
.slide-right {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Slide Left (from right) --- */
.slide-left {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Scale In (pop) --- */
.scale-in {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.scale-in[data-delay="0"] {
    transition-delay: 0s;
}

.scale-in[data-delay="1"] {
    transition-delay: 0.15s;
}

.scale-in[data-delay="2"] {
    transition-delay: 0.3s;
}

.scale-in[data-delay="3"] {
    transition-delay: 0.45s;
}

.scale-in[data-delay="4"] {
    transition-delay: 0.6s;
}

.scale-in[data-delay="5"] {
    transition-delay: 0.75s;
}

/* --- Zoom In (for grid cards) --- */
.zoom-in {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.zoom-in:nth-child(1) {
    transition-delay: 0s;
}

.zoom-in:nth-child(2) {
    transition-delay: 0.1s;
}

.zoom-in:nth-child(3) {
    transition-delay: 0.2s;
}

.zoom-in:nth-child(4) {
    transition-delay: 0.3s;
}

.zoom-in:nth-child(5) {
    transition-delay: 0.4s;
}

.zoom-in:nth-child(6) {
    transition-delay: 0.5s;
}

/* --- Flip Card Animation (cert cards) --- */
.flip-card-anim {
    opacity: 0;
    transform: perspective(600px) rotateX(15deg) translateY(30px);
    transform-origin: bottom center;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.flip-card-anim.visible {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0);
}

.flip-card-anim:nth-child(1) {
    transition-delay: 0s;
}

.flip-card-anim:nth-child(2) {
    transition-delay: 0.12s;
}

.flip-card-anim:nth-child(3) {
    transition-delay: 0.24s;
}

.flip-card-anim:nth-child(4) {
    transition-delay: 0.36s;
}

.flip-card-anim:nth-child(5) {
    transition-delay: 0.48s;
}

.flip-card-anim:nth-child(6) {
    transition-delay: 0.6s;
}

/* --- Stagger Items (quality items, contact cards) --- */
.stagger-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-item:nth-child(1) {
    transition-delay: 0s;
}

.stagger-item:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-item:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-item:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger-item:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger-item:nth-child(6) {
    transition-delay: 0.5s;
}

/* --- Image Tilt on Hover --- */
.img-tilt {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

.img-tilt:hover {
    transform: perspective(600px) rotateY(-5deg) rotateX(3deg) scale(1.03);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}

/* --- Timeline Animation --- */
.timeline-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-animate:nth-child(1) {
    transition-delay: 0s;
}

.timeline-animate:nth-child(2) {
    transition-delay: 0.15s;
}

.timeline-animate:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline-animate:nth-child(4) {
    transition-delay: 0.45s;
}

.timeline-animate .timeline-dot {
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-animate.visible .timeline-dot {
    transform: translateX(-50%) scale(1);
}

.timeline-animate:nth-child(1) .timeline-dot {
    transition-delay: 0.2s;
}

.timeline-animate:nth-child(2) .timeline-dot {
    transition-delay: 0.35s;
}

.timeline-animate:nth-child(3) .timeline-dot {
    transition-delay: 0.5s;
}

.timeline-animate:nth-child(4) .timeline-dot {
    transition-delay: 0.65s;
}

/* --- Product Detail Alternating Animation --- */
.product-anim .slide-right,
.product-anim .slide-left {
    transition-delay: 0s;
}

/* ========================
   PRODUCTS SECTION ANIMATIONS
   Reverse-aware: in-view = animate in, remove = animate out (reverse)
   ======================== */

/* --- Header container --- */
.products-header {
    perspective: 1000px;
}

/* --- Label: slides in from left with a line expanding --- */
.prod-label {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.5s ease 0.3s,
        transform 0.5s ease 0.3s;
    position: relative;
    display: inline-block;
}

.prod-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
}

.products-header.in-view .prod-label {
    opacity: 1;
    transform: translateX(0);
}

.products-header.in-view .prod-label::after {
    width: 100%;
}

/* REVERSE OUT: label goes last (highest delay) */
.products-header:not(.in-view) .prod-label {
    transition-delay: 0.6s;
}

.products-header:not(.in-view) .prod-label::after {
    transition-delay: 0.5s;
}

/* --- Heading: letter-by-letter 3D flip --- */
.prod-heading {
    min-height: 1.3em;
    perspective: 600px;
}

.prod-heading .flip-char {
    display: inline-block;
    opacity: 0;
    transform: rotateX(90deg) translateY(30px);
    transform-origin: bottom center;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Default (reverse out) delay is set via JS per-char in reverse order */
}

.prod-heading .flip-char.space {
    width: 0.3em;
}

/* IN: letters flip in one by one (delays set by JS inline style) */
.products-header.in-view .prod-heading .flip-char {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
}

/* --- Description: blurs into view --- */
.prod-desc {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    transition: opacity 0.7s ease 0.8s,
        filter 0.7s ease 0.8s,
        transform 0.7s ease 0.8s;
}

.products-header.in-view .prod-desc {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* REVERSE OUT: desc goes first (no delay) */
.products-header:not(.in-view) .prod-desc {
    transition-delay: 0.35s;
}

/* ========================
   PRODUCT CARDS 3D REVEAL
   ======================== */
.products-grid {
    perspective: 1400px;
}

.card-reveal {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* --- Card inner: 3D rotate in --- */
.card-reveal .card-reveal-inner {
    opacity: 0;
    transform: perspective(800px) rotateY(-35deg) scale(0.85);
    transform-origin: right center;
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

/* IN delays: staggered left to right */
.card-reveal:nth-child(1) .card-reveal-inner {
    transition-delay: 1.1s;
}

.card-reveal:nth-child(2) .card-reveal-inner {
    transition-delay: 1.3s;
}

.card-reveal:nth-child(3) .card-reveal-inner {
    transition-delay: 1.5s;
}

.card-reveal.in-view .card-reveal-inner {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) scale(1);
}

/* REVERSE OUT: staggered right to left (reverse order) */
.card-reveal:not(.in-view):nth-child(1) .card-reveal-inner {
    transition-delay: 0.3s;
}

.card-reveal:not(.in-view):nth-child(2) .card-reveal-inner {
    transition-delay: 0.15s;
}

.card-reveal:not(.in-view):nth-child(3) .card-reveal-inner {
    transition-delay: 0s;
}

/* --- Bottom accent bar --- */
.card-reveal::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
    z-index: 3;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        left 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* IN delays */
.card-reveal:nth-child(1)::before {
    transition-delay: 1.6s;
}

.card-reveal:nth-child(2)::before {
    transition-delay: 1.8s;
}

.card-reveal:nth-child(3)::before {
    transition-delay: 2.0s;
}

.card-reveal.in-view::before {
    width: 100%;
    left: 0;
}

/* REVERSE OUT: bar shrinks back quickly */
.card-reveal:not(.in-view)::before {
    transition-delay: 0s;
}

/* --- Shine sweep --- */
.card-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 35%,
            rgba(255, 255, 255, 0.2) 45%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 60%);
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.card-reveal.in-view::after {
    animation: shineSweep 1s ease-out 1 forwards;
}

.card-reveal:nth-child(1).in-view::after {
    animation-delay: 1.5s;
}

.card-reveal:nth-child(2).in-view::after {
    animation-delay: 1.7s;
}

.card-reveal:nth-child(3).in-view::after {
    animation-delay: 1.9s;
}

/* Reset shine on reverse */
.card-reveal:not(.in-view)::after {
    animation: none;
    left: -100%;
}

@keyframes shineSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 130%;
    }
}

/* --- Hover effects (only when revealed) --- */
.card-reveal.in-view:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(27, 58, 125, 0.18);
}

.card-reveal.in-view:hover::before {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.card-reveal .product-card-image {
    overflow: hidden;
}

.card-reveal .product-card-image img {
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-reveal.in-view:hover .product-card-image img {
    transform: scale(1.12) translateY(-4px);
}

.card-reveal .product-card-body h3 {
    transition: color 0.3s ease;
}

.card-reveal.in-view:hover .product-card-body h3 {
    color: var(--primary);
}

.card-reveal .product-link {
    transition: gap 0.3s ease, color 0.3s ease;
}

.card-reveal.in-view:hover .product-link {
    gap: 12px;
    color: var(--primary);
}

/* --- Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 18px;
    box-shadow: 0 4px 15px rgba(27, 58, 125, 0.3);
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* --- Quality Section (About Page) --- */
.quality-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quality-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.quality-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.quality-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.quality-item p {
    font-size: 0.83rem;
    color: var(--gray-500);
}

/* --- Responsive --- */
@media (max-width: 1024px) {

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

    .process-grid::before {
        display: none;
    }

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

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

    .hero h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .parallax-strip {
        height: 320px;
    }

    .parallax-content h2 {
        font-size: 1.6rem;
    }

    .parallax-img {
        background-attachment: scroll;
    }

    .header-inner {
        height: 65px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 2px;
    }

    .nav-list a {
        display: block;
        padding: 12px 16px;
    }

    .hero {
        min-height: 80vh;
    }

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .hero-stat {
        padding: 16px 10px;
    }

    .hero-stat .number {
        font-size: 1.6rem;
    }

    .about-preview,
    .about-detail,
    .contact-grid,
    .product-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-card:nth-child(even) {
        direction: ltr;
    }

    .products-grid,
    .infra-grid,
    .cert-grid,
    .mvv-grid,
    .capacity-grid {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 60px 0;
    }

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

    .page-banner {
        padding: 80px 0 50px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quality-features {
        grid-template-columns: 1fr;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 40px;
        padding-right: 0;
        text-align: left;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        left: 10px;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .scroll-top {
        bottom: 84px;
        right: 20px;
    }
}

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

    .hero h1 {
        font-size: 1.65rem;
    }

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

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

    .machine-img {
        max-width: 100%;
    }

    .machine-live-badge {
        right: 0;
        bottom: 10px;
        min-width: unset;
        padding: 10px 14px;
    }

    .btn {
        justify-content: center;
    }

    .industries-grid,
    .features-grid,
    .stats-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .product-specs {
        grid-template-columns: 1fr;
    }
}