/* ============================================================
   ZOVIAN VALVES INDUSTRIES - Premium Industrial CSS (Light Theme)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --bg-primary:    #f1f5f9;
    --bg-secondary:  #ffffff;
    --bg-card:       #ffffff;
    --bg-card2:      #eef2ff;
    --border:        rgba(30, 58, 138, 0.12);
    --border-light:  rgba(59, 130, 246, 0.1);
    --navy:          #1e3a8a;
    --blue:          #2563eb;
    --blue-light:    #3b82f6;
    --blue-glow:     rgba(59, 130, 246, 0.1);
    --silver:        #64748b;
    --silver-light:  #334155;
    --white:         #f8fafc;
    --white-pure:    #ffffff;
    --heading-color: #0f172a;
    --gold:          #d97706;
    --gold-dark:     #b45309;
    --gunmetal:      #1e293b;
    --steel:         #334155;
    --text-primary:  #1e293b;
    --text-secondary:#475569;
    --text-muted:    #94a3b8;
    --success:       #059669;
    --danger:        #dc2626;
    --warning:       #d97706;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    --gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --gradient-gold: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    --shadow-card:   0 2px 20px rgba(30,58,138,0.07), 0 0 0 1px rgba(30,58,138,0.07);
    --shadow-glow:   0 0 24px rgba(59,130,246,0.1);
    --shadow-hover:  0 8px 40px rgba(30,58,138,0.14), 0 0 0 1px rgba(59,130,246,0.2);
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main:     'EB Garamond', serif;
    --font-heading:  'EB Garamond', serif;
    --font-brand:    'EB Garamond', serif;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* account for fixed nav */
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Loading Screen ────────────────────────────────────────── */
#zv-loader {
    position: fixed;
    inset: 0;
    background: #0f172a;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* CSS safety: auto-dismiss after 2.5s even if JS never runs */
    animation: loaderCssDismiss 0.5s ease 2.5s forwards;
}

@keyframes loaderCssDismiss {
    0%   { opacity: 1; visibility: visible; pointer-events: all; }
    100% { opacity: 0; visibility: hidden;  pointer-events: none; }
}

.loader-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 3s ease infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loader-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.loader-logo-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
}

.loader-logo-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--blue-light);
    border-right-color: var(--blue);
    animation: spinRing 1.2s linear infinite;
}

.loader-logo-ring::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.3);
    border-bottom-color: var(--gold);
    animation: spinRing 2s linear infinite reverse;
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}

.loader-logo-inner {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-brand);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    animation: logoPulse 2s ease infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(37,99,235,0.4); }
    50% { box-shadow: 0 0 40px rgba(59,130,246,0.8); }
}

.loader-brand {
    font-family: var(--font-brand);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 6px;
    animation: textReveal 0.8s ease 0.5s both;
}

.loader-tagline {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 6px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: textReveal 0.8s ease 0.7s both;
}

@keyframes textReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-progress-wrap {
    width: 280px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-blue);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--blue-light);
    transition: width 0.05s ease;
}

.loader-sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.04) 50%, transparent 100%);
    animation: sweep 2s ease infinite;
    pointer-events: none;
}

@keyframes sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ── Navigation ────────────────────────────────────────────── */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 76px;
    background: rgba(255,255,255,0.15);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

#main-nav.scrolled .nav-wrapper {
    background: rgba(255,255,255,0.98);
    border-bottom-color: rgba(30,58,138,0.1);
    backdrop-filter: blur(20px);
    height: 64px;
    box-shadow: 0 4px 24px rgba(30,58,138,0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 56px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.04);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-main {
    font-family: var(--font-brand);
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.2;
    transition: color 0.3s;
}

.nav-logo-sub {
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    transition: color 0.3s;
}

#main-nav.scrolled .nav-logo-main { color: var(--navy); }
#main-nav.scrolled .nav-logo-sub  { color: var(--blue); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

#main-nav.scrolled .nav-menu a { color: var(--steel); }

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--blue-light);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active { color: #ffffff; background: rgba(59,130,246,0.15); }

#main-nav.scrolled .nav-menu a:hover,
#main-nav.scrolled .nav-menu a.active { color: var(--navy); background: rgba(30,58,138,0.07); }

.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-quote {
    padding: 9px 22px;
    background: var(--gradient-blue);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-heading);
    transition: var(--transition);
    border: 1px solid var(--blue);
    box-shadow: 0 0 20px rgba(37,99,235,0.25);
}

.btn-nav-quote:hover {
    box-shadow: 0 0 30px rgba(59,130,246,0.45);
    transform: translateY(-1px);
}

.btn-nav-quote::after { display: none !important; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

#main-nav.scrolled .nav-hamburger span { background: var(--navy); }

/* ── Hero Section ──────────────────────────────────────────── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,23,42,0.92) 0%,
        rgba(30,58,138,0.78) 50%,
        rgba(15,23,42,0.85) 100%
    );
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0 40px;
    padding-top: 72px;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    padding-left: 2px;
}

.hero-brand-kicker {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(224,242,254,0.96);
    text-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.hero-brand-title {
    font-family: var(--font-brand);
    font-size: clamp(24px, 2.7vw, 42px);
    font-weight: 900;
    line-height: 1.02;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 10px 32px rgba(0,0,0,0.48);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(15,23,42,0.18));
    border: 1px solid rgba(147,197,253,0.38);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #bfdbfe;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(15,23,42,0.16);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dbeafe;
    animation: dotBlink 1.5s ease infinite;
    box-shadow: 0 0 0 4px rgba(191,219,254,0.12);
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hero-title {
    font-family: var(--font-brand);
    font-size: clamp(32px, 5vw, 66px);
    font-weight: 900;
    line-height: 1.06;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -1.2px;
    text-wrap: balance;
    text-shadow: 0 12px 34px rgba(0,0,0,0.46);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(226,232,240,0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: var(--gradient-blue);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
    border: 1px solid var(--blue);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(59,130,246,0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    border-color: #93c5fd;
    color: #93c5fd;
    background: rgba(59,130,246,0.1);
}

/* On light backgrounds, outline buttons should be dark */
.light-section .btn-outline,
.about-grid .btn-outline {
    color: var(--navy);
    border-color: rgba(30,58,138,0.3);
}

.light-section .btn-outline:hover,
.about-grid .btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(37,99,235,0.06);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #fff;
    box-shadow: 0 4px 20px rgba(180,83,9,0.25);
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    box-shadow: 0 6px 30px rgba(180,83,9,0.4);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
}

.btn-navy:hover {
    background: #1e40af;
    box-shadow: 0 6px 24px rgba(30,58,138,0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 12px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 15px;
}

/* ── Hero Indicators ───────────────────────────────────────── */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active {
    background: #93c5fd;
    box-shadow: 0 0 10px #93c5fd;
    width: 24px;
    border-radius: 4px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    color: rgba(148,163,184,0.8);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #93c5fd, transparent);
    animation: scrollDown 1.5s ease infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ── Section Commons ───────────────────────────────────────── */
section { padding: 100px 0; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-brand);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-title .accent {
    color: var(--blue);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 0;
}

.divider-line {
    height: 1px;
    width: 60px;
    background: var(--gradient-blue);
    border-radius: 1px;
}

.divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--blue);
    transform: rotate(45deg);
}

/* ── Stats Section ─────────────────────────────────────────── */
#stats {
    padding: 60px 0;
    background: var(--navy);
    border-top: none;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

#stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 79px,
        rgba(255,255,255,0.04) 79px,
        rgba(255,255,255,0.04) 80px
    );
}

#stats::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(59,130,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 40px 30px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-brand);
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #93c5fd 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}

/* ── Product Cards ─────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37,99,235,0.25);
}

.product-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-card2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--gradient-blue);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.product-card-body {
    padding: 24px;
    background: #fff;
}

.product-category-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card-title {
    font-family: var(--font-brand);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-specs-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-chip {
    padding: 4px 10px;
    background: rgba(37,99,235,0.06);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 4px;
    font-size: 11px;
    color: var(--blue);
    font-weight: 600;
}

.product-card-actions {
    display: flex;
    gap: 10px;
}

/* ── Why Choose Us ─────────────────────────────────────────── */
#why-us {
    background: var(--bg-primary);
    position: relative;
}

#why-us::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(37,99,235,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 36px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.2);
    box-shadow: var(--shadow-hover);
}

.why-card:hover::after { transform: scaleX(1); }

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--blue);
    font-size: 28px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient-blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(37,99,235,0.3);
}

.why-title {
    font-family: var(--font-brand);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.why-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Industries Section ────────────────────────────────────── */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    box-shadow: var(--shadow-card);
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.2);
    box-shadow: var(--shadow-hover);
}

.industry-icon {
    font-size: 44px;
    margin-bottom: 20px;
    display: block;
}

.industry-title {
    font-family: var(--font-brand);
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.industry-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Testimonials ──────────────────────────────────────────── */
#testimonials {
    background: var(--navy);
}

#testimonials .section-badge {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #93c5fd;
}

#testimonials .section-title { color: #ffffff; }
#testimonials .section-subtitle { color: rgba(226,232,240,0.8); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    line-height: 1;
    color: rgba(147,197,253,0.2);
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star { color: var(--gold); font-size: 16px; }

.testimonial-text {
    font-size: 15px;
    color: rgba(226,232,240,0.9);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-brand);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.author-info .name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.author-info .designation {
    font-size: 12px;
    color: #93c5fd;
}

.author-info .company {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ── CTA Section ───────────────────────────────────────────── */
#cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

#cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-brand);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Blog Cards ────────────────────────────────────────────── */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.2);
    box-shadow: var(--shadow-hover);
}

.blog-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--bg-card2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 24px; }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.blog-tag {
    padding: 3px 10px;
    background: rgba(37,99,235,0.07);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-card-title {
    font-family: var(--font-brand);
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.blog-card-title:hover { color: var(--blue); }

.blog-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--blue);
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; color: var(--navy); }

/* ── Contact Section ───────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-label {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 15px;
    color: var(--heading-color);
    font-weight: 500;
}

.contact-info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-value a:hover { color: var(--blue); }

/* ── Form Styles ───────────────────────────────────────────── */
.form-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--steel);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid rgba(30,58,138,0.15);
    border-radius: 8px;
    color: var(--heading-color);
    font-size: 14px;
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    background: #ffffff;
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Footer ────────────────────────────────────────────────── */
#main-footer {
    background: #0f172a;
    border-top: 3px solid var(--blue);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 52px;
    width: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-brand-name {
    font-family: var(--font-brand);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.footer-brand-tag {
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 4px;
    color: #93c5fd;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 13px;
    color: rgba(148,163,184,0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(148,163,184,0.8);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gradient-blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(37,99,235,0.4);
}

.footer-heading {
    font-family: var(--font-brand);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(148,163,184,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: #93c5fd;
    font-size: 11px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #93c5fd;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.footer-contact-icon {
    color: #93c5fd;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 13px;
    color: rgba(148,163,184,0.8);
    line-height: 1.5;
}

.footer-contact-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-text a:hover { color: #93c5fd; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(148,163,184,0.6);
}

.footer-copy span { color: #93c5fd; }

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: rgba(148,163,184,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #93c5fd; }

/* ── WhatsApp Float ────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: waBounce 2s ease infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
    animation: none;
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

@keyframes waBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.whatsapp-tooltip {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ── Page Hero Banner ──────────────────────────────────────── */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    font-size: 13px;
    color: rgba(147,197,253,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: #93c5fd; }

.breadcrumb-sep {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
}

.breadcrumb-current {
    font-size: 13px;
    color: #93c5fd;
}

.page-hero-title {
    font-family: var(--font-brand);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 16px;
    color: rgba(226,232,240,0.85);
    max-width: 600px;
    line-height: 1.7;
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    /* CSS fallback: show content 3s after page load even if JS scroll-reveal never fires */
    animation: revealFallback 0.7s ease 3s forwards;
}

@keyframes revealFallback {
    to { opacity: 1; transform: translateY(0); }
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Utility ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.text-silver { color: var(--silver); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-blue { background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2); color: var(--blue); }
.badge-gold { background: rgba(180,83,9,0.08); border: 1px solid rgba(180,83,9,0.2); color: var(--gold); }
.badge-green { background: rgba(5,150,105,0.08); border: 1px solid rgba(5,150,105,0.2); color: var(--success); }

/* ── Dropdown Nav ──────────────────────────────────────────── */
.nav-item { position: relative; }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(30,58,138,0.1);
    border-radius: 10px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(30,58,138,0.12);
    z-index: 200;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 14px !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px;
    color: var(--steel) !important;
    background: transparent !important;
}

.nav-dropdown a:hover {
    color: var(--navy) !important;
    background: rgba(37,99,235,0.06) !important;
}

.nav-dropdown a::after { display: none !important; }

/* ── Process Steps ─────────────────────────────────────────── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
}

.process-step:hover {
    border-color: rgba(37,99,235,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    font-family: var(--font-brand);
    font-size: 48px;
    font-weight: 900;
    color: rgba(37,99,235,0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-family: var(--font-brand);
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Responsive Layout Classes ─────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-category-card {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 18px;
    padding: 20px;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8fafc;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.home-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.95) 100%);
    pointer-events: none;
}

.home-category-card__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: background 0.3s ease;
}

.home-category-card:hover .home-category-card__content {
    background: rgba(255, 255, 255, 0.95);
}

.home-category-card__label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 6px;
}

.home-category-card__title {
    font-family: var(--font-brand);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 12px;
    text-shadow: none;
}

.home-category-card__cta {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    section { padding: 70px 0; }

    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .products-layout { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; gap: 36px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); border-top: 1px solid rgba(255,255,255,0.1); }
    .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); border-right: none; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .blogs-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout aside { order: -1; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    section { padding: 56px 0; }

    .nav-wrapper { padding: 0 16px; height: 68px; }
    #main-nav.scrolled .nav-wrapper { height: 62px; }
    .nav-logo img { height: 48px; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.99);
        padding: 12px 16px 20px;
        border-bottom: 1px solid rgba(30,58,138,0.1);
        gap: 2px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 24px rgba(30,58,138,0.1);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { color: var(--steel) !important; padding: 11px 14px; font-size: 13px; }
    .nav-menu a:hover { color: var(--navy) !important; background: rgba(37,99,235,0.06) !important; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .nav-logo-text { display: none; }
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(37,99,235,0.04);
        border: 1px solid rgba(37,99,235,0.1);
        border-radius: 8px;
        margin: 4px 0 4px 12px;
        padding: 4px;
    }

    .hero-content { padding: 0 16px; padding-top: 70px; text-align: center; }
    .hero-brand { align-items: center; gap: 4px; margin-bottom: 10px; }
    .hero-brand-kicker { font-size: 9px; letter-spacing: 2.5px; }
    .hero-brand-title { font-size: clamp(22px, 6.3vw, 34px); letter-spacing: 0.2px; }
    .hero-badge { font-size: 9px; letter-spacing: 1.6px; padding: 5px 12px; margin-bottom: 18px; }
    .hero-title { font-size: clamp(26px, 7vw, 44px); letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
    .hero-actions { flex-direction: column; gap: 12px; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
    .hero-scroll-indicator { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 40px; }
    .stat-item { padding: 28px 16px; }

    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .home-category-card { min-height: 220px; padding: 14px; }
    .home-category-card__title { font-size: 16px; }
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .products-layout { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .why-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blogs-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .why-card { padding: 24px 20px; }
    .industry-card { padding: 24px 16px; }
    .testimonial-card { padding: 24px; }
    .contact-info-card, .form-card { padding: 24px; }
    .blog-card-body { padding: 18px; }
    .product-card-body { padding: 18px; }
    .product-card-img { height: 190px; }

    .section-title { font-size: clamp(24px, 5vw, 40px); }
    .section-subtitle { font-size: 14px; }
    .section-header { margin-bottom: 36px; }

    .page-hero { padding: 120px 0 48px; }
    .page-hero-title { font-size: clamp(24px, 6vw, 44px); }
    .page-hero-subtitle { font-size: 14px; }

    .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .footer-copy { font-size: 12px; }
    #main-footer { padding: 56px 0 0; }

    .cta-title { font-size: clamp(22px, 5vw, 36px); }
    .cta-subtitle { font-size: 15px; }
    .cta-actions { flex-direction: column; align-items: center; gap: 12px; }
    .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

    .btn-lg { padding: 14px 24px; font-size: 14px; }
    .whatsapp-float { bottom: 20px; right: 16px; }
    .whatsapp-btn { width: 50px; height: 50px; }
    .whatsapp-btn svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    section { padding: 48px 0; }

    .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .home-category-card { min-height: 190px; padding: 12px; border-radius: 14px; }
    .home-category-card__content { padding: 12px 12px 10px; }
    .home-category-card__label { font-size: 9px; letter-spacing: 2px; margin-bottom: 6px; }
    .home-category-card__title { font-size: 14px; margin-bottom: 8px; }
    .home-category-card__cta { font-size: 9px; letter-spacing: 1.5px; }
    .industries-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 34px; }
    .stat-item { padding: 20px 12px; }
    .stat-label { font-size: 11px; letter-spacing: 1.5px; }

    .hero-brand-title { font-size: clamp(20px, 7vw, 30px); }
    .hero-title { font-size: clamp(22px, 8vw, 34px); }
    .hero-subtitle { font-size: 14px; }
    .hero-badge { font-size: 8px; letter-spacing: 1.2px; padding: 5px 10px; }

    .section-title { font-size: clamp(20px, 6vw, 32px); }
    .page-hero { padding: 100px 0 40px; }

    .why-card { padding: 20px 16px; }
    .product-card-img { height: 170px; }
    .blog-card-img { height: 150px; }

    .footer-grid { gap: 20px; }
    .footer-brand img { height: 44px; }
    .nav-wrapper { height: 64px; }
    .nav-logo img { height: 44px; }
}

/* ── Timeline ──────────────────────────────────────────────── */
.timeline-wrap {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 40px;
    border-left: 2px solid rgba(37,99,235,0.2);
}

.timeline-item {
    position: relative;
    padding: 0 0 32px 28px;
}

.timeline-dot {
    position: absolute;
    left: -8px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

.timeline-card {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid rgba(30,58,138,0.1);
    border-left: 3px solid var(--blue);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 12px rgba(30,58,138,0.06);
}

/* ── Responsive Grid Utilities (used in page inline styles) ── */
.grid-2          { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3          { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4          { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-strip   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.specs-table     { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.quick-specs     { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.img-grid-2      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.industry-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); }
.industry-row.reverse { direction: rtl; }
.industry-row.reverse > * { direction: ltr; }
.infra-row       { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--border); }
.infra-row.reverse { grid-template-columns: 1.5fr 1fr; }
.services-grid   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quality-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }

@media (max-width: 1024px) {
    .grid-3        { grid-template-columns: repeat(2, 1fr); }
    .grid-4        { grid-template-columns: repeat(2, 1fr); }
    .industry-row  { gap: 32px; }
    .infra-row, .infra-row.reverse { grid-template-columns: 1fr 1fr; gap: 28px; }
    .quality-row   { gap: 36px; }
}

@media (max-width: 768px) {
    .grid-2          { grid-template-columns: 1fr; gap: 16px; }
    .grid-3          { grid-template-columns: 1fr; }
    .grid-4          { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .highlights-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-strip   { grid-template-columns: 1fr; gap: 16px; }
    .specs-table     { grid-template-columns: 1fr; }
    .quick-specs     { grid-template-columns: 1fr 1fr; }
    .img-grid-2      { grid-template-columns: 1fr 1fr; gap: 10px; }
    .industry-row    { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; direction: ltr !important; }
    .industry-row.reverse { direction: ltr; }
    .infra-row, .infra-row.reverse { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
    .services-grid   { grid-template-columns: 1fr; gap: 20px; }
    .quality-row     { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
}

@media (max-width: 480px) {
    .grid-4    { grid-template-columns: 1fr; }
    .quick-specs { grid-template-columns: 1fr; }
    .img-grid-2  { grid-template-columns: 1fr 1fr; }
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Selection ─────────────────────────────────────────────── */
::selection { background: rgba(37,99,235,0.15); color: var(--heading-color); }

/* ── Alerts ────────────────────────────────────────────────── */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: rgba(5,150,105,0.08); border: 1px solid rgba(5,150,105,0.2); color: #059669; }
.alert-danger  { background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.2); color: #dc2626; }
.alert-warning { background: rgba(180,83,9,0.08); border: 1px solid rgba(180,83,9,0.2); color: #d97706; }
.alert-info    { background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2); color: var(--blue); }

/* ── Dynamic Section Background Images ─────────────────────── */
/* Applied only when admin enables a section background.
   Zero impact on layout, spacing, content or typography.     */

.zv-section-bg-wrap {
    position: relative;
    isolation: isolate; /* creates new stacking context */
}

/* Full-bleed background image layer */
.zv-section-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* subtle parallax effect on desktop */
    z-index: 0;
    pointer-events: none;
}

/* Semi-transparent dark overlay for readability */
.zv-section-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Push all direct children above the background layers */
.zv-section-bg-wrap > .container,
.zv-section-bg-wrap > nav,
.zv-section-bg-wrap > aside,
.zv-section-bg-wrap > form,
.zv-section-bg-wrap > header,
.zv-section-bg-wrap > div:not(.zv-section-bg-img):not(.zv-section-bg-overlay) {
    position: relative;
    z-index: 2;
}

/* Disable fixed attachment on mobile (iOS compatibility + performance) */
@media (max-width: 768px) {
    .zv-section-bg-img {
        background-attachment: scroll;
    }
}

/* ── Text Readability inside Background Image Sections ──────── */
/* When a section/div has a background image enabled, all text
   must switch to light/white so it reads clearly on dark overlays */

.zv-section-bg-wrap .section-badge {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: #93c5fd !important;
}

.zv-section-bg-wrap .section-title,
.zv-section-bg-wrap h1,
.zv-section-bg-wrap h2,
.zv-section-bg-wrap h3,
.zv-section-bg-wrap h4 {
    color: #ffffff !important;
}

.zv-section-bg-wrap .section-title .accent,
.zv-section-bg-wrap h2 .accent {
    color: #93c5fd !important;
    -webkit-text-fill-color: #93c5fd !important;
}

.zv-section-bg-wrap .section-subtitle,
.zv-section-bg-wrap p {
    color: rgba(226,232,240,0.90) !important;
}

.zv-section-bg-wrap .stat-number,
.zv-section-bg-wrap [class*="stat-num"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.zv-section-bg-wrap .stat-label,
.zv-section-bg-wrap .stat-desc {
    color: rgba(226,232,240,0.75) !important;
}

/* Cards inside bg-wrap: semi-transparent glass effect */
.zv-section-bg-wrap .why-card,
.zv-section-bg-wrap .industry-card,
.zv-section-bg-wrap .blog-card,
.zv-section-bg-wrap .process-step,
.zv-section-bg-wrap .testimonial-card,
.zv-section-bg-wrap .product-card {
    background: rgba(15,23,42,0.6) !important;
    border-color: rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Card headings inside bg-wrap */
.zv-section-bg-wrap .why-card h3,
.zv-section-bg-wrap .industry-card h3,
.zv-section-bg-wrap .process-step .step-title,
.zv-section-bg-wrap .testimonial-card h3,
.zv-section-bg-wrap .product-card h3,
.zv-section-bg-wrap .product-card h4 {
    color: #ffffff !important;
}

.zv-section-bg-wrap .why-card p,
.zv-section-bg-wrap .industry-card p,
.zv-section-bg-wrap .process-step .step-desc,
.zv-section-bg-wrap .testimonial-card p,
.zv-section-bg-wrap .product-card p {
    color: rgba(203,213,225,0.9) !important;
}

/* Step number in process section */
.zv-section-bg-wrap .step-number {
    color: rgba(147,197,253,0.25) !important;
}

/* Icons keep their color */
.zv-section-bg-wrap .why-icon,
.zv-section-bg-wrap [class*="icon"] {
    color: #93c5fd;
}

/* Stat dividers */
.zv-section-bg-wrap .stat-item {
    border-color: rgba(255,255,255,0.1) !important;
}

/* Blog cards in bg-wrap */
.zv-section-bg-wrap .blog-card-body {
    background: rgba(15,23,42,0.65) !important;
}
.zv-section-bg-wrap .blog-card-title,
.zv-section-bg-wrap .blog-card-title * {
    color: #e2e8f0 !important;
}
.zv-section-bg-wrap .blog-card-desc {
    color: rgba(203,213,225,0.8) !important;
}
.zv-section-bg-wrap .blog-tag {
    background: rgba(59,130,246,0.3) !important;
    color: #93c5fd !important;
}
.zv-section-bg-wrap .blog-date {
    color: rgba(203,213,225,0.6) !important;
}

/* CTA buttons stay as-is */
.zv-section-bg-wrap .btn-primary,
.zv-section-bg-wrap .btn-outline {
    position: relative;
    z-index: 3;
}

/* Page-hero text already white — just ensure overlay keeps it readable */
.page-hero.zv-section-bg-wrap .page-hero-title,
.page-hero.zv-section-bg-wrap .page-hero-subtitle,
.page-hero.zv-section-bg-wrap .breadcrumb a,
.page-hero.zv-section-bg-wrap .breadcrumb-current,
.page-hero.zv-section-bg-wrap .breadcrumb-sep {
    /* page-hero text is already white — no override needed,
       just ensure the background overlay is dark enough     */
    position: relative;
    z-index: 3;
}

/* ── Smooth Scroll Enhancement ──────────────────────────────── */
/* Smooth reveal transition using CSS animation + IntersectionObserver */
.reveal {
    transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
                transform 0.75s cubic-bezier(0.22,1,0.36,1) !important;
}
.reveal-delay-1 { transition-delay: 0.12s !important; }
.reveal-delay-2 { transition-delay: 0.22s !important; }
.reveal-delay-3 { transition-delay: 0.34s !important; }
.reveal-delay-4 { transition-delay: 0.46s !important; }

/* ── Mobile: background image sections behave like large screen ── */
/* On mobile, overflow hidden ensures absolute-positioned bg image
   doesn't bleed outside its section bounds */
@media (max-width: 768px) {
    .zv-section-bg-wrap {
        overflow: hidden; /* contain absolute bg-img within section */
    }
    .zv-section-bg-img {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 100%;
        width: 100%;
    }
}

/* ── DM Sans body font refinements ─────────────────────────── */
body {
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.section-title {
    letter-spacing: -0.03em;
}

/* Exo 2 heading weight refinements */
.section-badge {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.15em;
}

.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Nav links use Exo 2 */
.nav-menu a {
    font-family: var(--font-heading) !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
}
