/* =============================================
   SHREE CHAMUNDA ENTERPRISE — PREMIUM REDESIGN
   Industrial Manufacturing · Corporate · Professional
   Color System: Navy / Blue / Orange
   ============================================= */

:root {
    --primary-navy: #0F172A;
    --primary-blue: #2563EB;
    --primary-blue-dark: #1D4ED8;
    --primary-blue-light: #3B82F6;
    --accent-orange: #F97316;
    --accent-orange-dark: #EA6E0B;
    --accent-orange-light: #FB923C;
    --bg-main: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-alt: #F1F5F9;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --border-strong: #CBD5E1;
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.06);
    --shadow-lg: 0 10px 40px rgba(15,23,42,0.1), 0 4px 16px rgba(15,23,42,0.07);
    --shadow-xl: 0 20px 60px rgba(15,23,42,0.12), 0 8px 24px rgba(15,23,42,0.08);
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-condensed: 'Manrope', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .brand-font { font-family: var(--font-display); }
.condensed { font-family: var(--font-condensed); font-weight: 600; }

/* Remove dark canvas background */
#canvas-container { display: none; }
body::before { display: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-blue); }

/* =============================================
   TOP INFO BAR
   ============================================= */
.top-info-bar {
    background: var(--primary-navy);
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    padding: 0.5rem 0;
    font-family: var(--font-body);
}
.top-info-bar a { color: rgba(255,255,255,0.8); text-decoration: none; }
.top-info-bar a:hover { color: white; }
.top-info-bar .highlight { color: var(--accent-orange); }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    top: 0 !important;
}
.nav-bg { display: none; }

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

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--primary-blue) !important; }
.nav-link.active { color: var(--primary-blue) !important; font-weight: 600; }

/* Get Quote button - Orange */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white !important;
    border: none;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
    transition: all 0.25s ease;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-orange-dark), #D96309);
    box-shadow: 0 6px 20px rgba(249,115,22,0.45);
    transform: translateY(-1px);
    color: white !important;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    transition: all 0.25s ease;
    font-weight: 600;
}
.btn-outline:hover {
    background: var(--primary-navy);
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #15803d, #16a34a);
    color: white;
    box-shadow: 0 4px 14px rgba(22,163,74,0.3);
    transition: all 0.25s ease;
}
.btn-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(22,163,74,0.45);
    transform: translateY(-1px);
}

/* Mobile menu */
#mobile-menu {
    background: white !important;
    border-top: 1px solid var(--border-color) !important;
}
#mobile-menu a {
    color: var(--text-secondary) !important;
}
#mobile-menu a:hover {
    color: var(--primary-blue) !important;
    background: rgba(37,99,235,0.05) !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: var(--primary-navy);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}
.hero-section::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");
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(37,99,235,0.08) 100%);
    pointer-events: none;
}
.hero-glow {
    animation: hero-pulse 8s ease-in-out infinite;
}

/* =============================================
   TRUST / STATS BAR
   ============================================= */
.stats-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.stat-item {
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}
.stat-icon {
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

/* =============================================
   SECTION LABELS
   ============================================= */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-family: var(--font-body);
    margin-bottom: 0.75rem;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    margin: 1rem auto;
    border-radius: 2px;
}
.section-divider-left {
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    margin: 1rem 0;
    border-radius: 2px;
}

/* =============================================
   TRUST BADGES (hero)
   ============================================= */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
.trust-badge-check {
    width: 20px;
    height: 20px;
    background: rgba(249,115,22,0.2);
    border: 1px solid rgba(249,115,22,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.1);
    box-shadow: var(--shadow-sm);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}
.product-card .img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    height: 14rem;
}
.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    background: #F8FAFC;
    transition: transform 0.5s ease;
}
.product-card:hover .img-wrap img {
    transform: scale(1.06);
}
.product-card .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.08) 0%, transparent 60%);
    transition: opacity 0.3s;
}
.product-card:hover .img-overlay {
    background: linear-gradient(to top, rgba(15,23,42,0.15) 0%, transparent 60%);
}
.product-card .card-body {
    padding: 1.25rem 1.4rem 1.4rem;
}
.product-card .card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.35;
}
.product-card .card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
}
.product-card .card-desc {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.quick-view-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    background: var(--primary-navy);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    pointer-events: none;
}
.product-card:hover .quick-view-badge {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.badge-default {
    background: var(--accent-orange);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

/* View Details button on card */
.product-card .card-body a.flex-1 {
    background: var(--bg-alt) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
}
.product-card .card-body a.flex-1:hover {
    background: var(--primary-navy) !important;
    border-color: var(--primary-navy) !important;
    color: white !important;
}

/* =============================================
   WHY CHOOSE US CARDS
   ============================================= */
.trust-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.trust-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
    transform: translateY(-4px);
}
.trust-card h3 { color: var(--text-primary) !important; }
.trust-card p { color: var(--text-muted) !important; }

/* =============================================
   CERT CARDS
   ============================================= */
.cert-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.cert-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}
.cert-card h3 { color: var(--text-primary) !important; }
.cert-card p { color: var(--text-muted) !important; }

/* =============================================
   GLASS CARD → LIGHT CARD
   ============================================= */
.glass-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.glass-card::before { display: none; }
.glass-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes hero-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.06); }
}
@keyframes slide-up {
    from { opacity:0; transform:translateY(30px); }
    to { opacity:1; transform:translateY(0); }
}
@keyframes pulse-glow-green {
    0%,100% { box-shadow: 0 6px 28px rgba(22,163,74,0.4); }
    50% { box-shadow: 0 6px 36px rgba(22,163,74,0.7); }
}
@keyframes counter-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stat shimmer on light bg */
.shimmer-text {
    color: var(--primary-navy);
}

/* =============================================
   HR DIVIDER
   ============================================= */
.hr-styled {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

/* =============================================
   TRUST BAR / INFO BAR
   ============================================= */
.gst-trust-bar {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}
.gst-trust-bar span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.gst-trust-bar .highlight { color: var(--text-primary); font-weight: 600; }
.gst-trust-bar a { color: var(--primary-blue); font-weight: 600; text-decoration: none; }

/* =============================================
   INDUSTRIES SECTION
   ============================================= */
.industry-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none !important;
}
.industry-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}
.industry-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
}
.industry-card div:last-child { color: var(--text-secondary) !important; font-size: 0.8rem; font-weight: 600; }
.industry-card:hover div:last-child { color: var(--primary-navy) !important; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
    transform: translateY(-3px) !important;
}
.testimonial-card p { color: var(--text-secondary) !important; }
.testimonial-card footer div:first-child { color: var(--text-primary) !important; }
.testimonial-card footer div:last-child { color: var(--text-muted) !important; }
.testimonial-stars { color: var(--accent-orange); font-size: 1rem; letter-spacing: 0.1em; }

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.4rem;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--primary-blue); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer.open { max-height: 200px; }
.faq-answer p {
    padding: 0 1.4rem 1.1rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}
.faq-item .faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-blue);
    transition: background 0.2s, transform 0.3s;
    font-size: 1rem;
    font-weight: 700;
}
.faq-item.open .faq-icon {
    background: var(--primary-blue);
    color: white;
    transform: rotate(45deg);
}

/* =============================================
   CATALOGUE CARDS
   ============================================= */
.catalogue-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.catalogue-card::before { display: none; }
.catalogue-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}
.catalogue-card h3 { color: var(--text-primary) !important; }
.catalogue-card p { color: var(--text-muted) !important; }
.catalogue-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section-inner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1E3A5F 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section-inner::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.025'%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");
    pointer-events: none;
}
.cta-section-inner h2 { color: white !important; }
.cta-section-inner p { color: rgba(255,255,255,0.75) !important; }
.cta-section-inner .check-item { color: rgba(255,255,255,0.8) !important; }

/* =============================================
   CLIENT LOGOS
   ============================================= */
.client-logo-item { transition: opacity 0.2s, transform 0.2s; }
.client-logo-item:hover { opacity: 1 !important; transform: scale(1.05); }

/* =============================================
   FOOTER
   ============================================= */
.footer-mega {
    background: var(--primary-navy) !important;
    border-top: 3px solid var(--accent-orange) !important;
}
.footer-cta-bar {
    background: rgba(249,115,22,0.1);
    border-bottom: 1px solid rgba(249,115,22,0.2);
}
.footer-heading {
    font-weight: 700;
    color: white;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.1rem;
    font-family: var(--font-body);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.84rem;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(249,115,22,0.4);
    flex-shrink: 0;
}
.footer-links a:hover { color: var(--accent-orange); }
.footer-links a:hover::before { background: var(--accent-orange); }

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 3px 9px;
}
.footer-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}
.footer-icon-btn:hover {
    background: rgba(249,115,22,0.2);
    border-color: rgba(249,115,22,0.4);
    color: var(--accent-orange);
    transform: translateY(-2px);
}
.footer-hours { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-map-embed { position: relative; }
.footer-map-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
}

/* =============================================
   SECTION BACKGROUNDS
   ============================================= */
.section-white { background: var(--bg-white); }
.section-light { background: var(--bg-main); }
.section-navy { background: var(--primary-navy); }
.section-alt { background: var(--bg-alt); }

/* Why choose us — dark section */
.why-choose-section {
    background: var(--primary-navy);
    position: relative;
    overflow: hidden;
}
.why-choose-section::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.025'%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");
    pointer-events: none;
}
.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.why-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(249,115,22,0.3);
    transform: translateY(-4px);
}
.why-card h3 { color: white !important; font-size: 1rem !important; }
.why-card p { color: rgba(255,255,255,0.6) !important; font-size: 0.83rem !important; }

/* =============================================
   TRUSTED BY / CLIENTS
   ============================================= */
.clients-section {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.client-logo-wrap {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
.client-logo-wrap:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
    background: var(--primary-navy);
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::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.02'%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");
    pointer-events: none;
}

/* =============================================
   PRODUCT FILTER SECTION
   ============================================= */
.filter-chip {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.filter-chip:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(37,99,235,0.05);
}
.filter-chip.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.sort-select {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: var(--font-body);
    min-width: 10rem;
}
.sort-select:focus { outline: none; border-color: var(--primary-blue); }

/* =============================================
   PAGINATION
   ============================================= */
.page-btn {
    min-width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.page-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(37,99,235,0.05);
}
.page-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    font-weight: 700;
}
.page-btn:disabled { opacity: 0.32; cursor: not-allowed; }
.page-ellipsis { color: var(--text-muted); padding: 0 0.25rem; }

/* =============================================
   GALLERY
   ============================================= */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* =============================================
   SPEC TABLE
   ============================================= */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.spec-table tr:not(:last-child) td { border-bottom: 1px solid var(--border-color); }
.spec-table td { padding: 0.65rem 0; vertical-align: top; }
.spec-table td:first-child { color: var(--text-muted); width: 40%; padding-right: 1rem; }
.spec-table td:last-child { color: var(--text-primary); font-weight: 500; }

/* =============================================
   PRODUCT IMAGE CONTAINER
   ============================================= */
.product-img-container {
    position: relative;
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    background: var(--bg-alt);
    transition: transform 0.4s ease;
}
.product-img-container img:hover { transform: scale(1.04); }

/* Gallery thumbnails */
.gallery-thumb { cursor: pointer; transition: border-color 0.2s, transform 0.15s; }
.gallery-thumb:hover { transform: scale(1.05); }
.gallery-thumb.active { border-color: var(--primary-blue) !important; }
#gallery-main-img { cursor: zoom-in; transition: opacity 0.2s; }
#gallery-main-img:hover { opacity: 0.92; }

/* =============================================
   ADMIN TOOLBAR
   ============================================= */
body.has-admin-toolbar { padding-top: 52px; }
body.has-admin-toolbar #navbar { top: 52px !important; }
.admin-toolbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    background: linear-gradient(90deg, #7C1A1A, #0F172A);
    border-bottom: 1px solid rgba(249,115,22,0.3);
    backdrop-filter: blur(14px);
}
.admin-toolbar-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.admin-toolbar-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fecaca;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-condensed);
}
.admin-toolbar-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.admin-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    transition: all 0.2s;
    font-family: var(--font-condensed);
    letter-spacing: 0.04em;
}
.admin-toolbar-btn:hover { background: rgba(255,255,255,0.08); color: white; }
.admin-toolbar-btn-primary {
    background: rgba(249,115,22,0.25);
    border-color: rgba(249,115,22,0.4);
    color: #fdba74;
}
.admin-toolbar-btn-primary:hover { background: rgba(249,115,22,0.4); }
.admin-toolbar-btn-muted { color: #94a3b8; border-color: transparent; }
.admin-toolbar-btn-muted:hover { color: var(--accent-orange); }

/* =============================================
   WHATSAPP & CALL FLOATS
   ============================================= */
#whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    display: flex; align-items: center; gap: 0;
    background: linear-gradient(135deg, #15803d, #22c55e);
    border-radius: 50px;
    overflow: hidden;
    animation: pulse-glow-green 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
    width: 58px; height: 58px;
    text-decoration: none;
}
#whatsapp-float:hover {
    width: auto;
    padding-right: 1rem;
    border-radius: 50px;
    transform: scale(1.04);
}
#whatsapp-float .wa-icon {
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
#whatsapp-float .wa-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    transition: max-width 0.3s ease;
    font-family: var(--font-condensed);
    letter-spacing: 0.04em;
}
#whatsapp-float:hover .wa-label { max-width: 120px; }

#call-now-float {
    position: fixed;
    bottom: 96px; right: 30px;
    z-index: 998;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,99,235,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}
#call-now-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37,99,235,0.6);
}

/* =============================================
   BACK TO TOP
   ============================================= */
#back-to-top {
    position: fixed;
    bottom: 154px; right: 28px;
    z-index: 998;
    width: 44px; height: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

/* =============================================
   PRODUCT MODAL
   ============================================= */
#product-modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
#product-modal.open { display: flex; }
.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

/* =============================================
   COMPARE BUTTONS
   ============================================= */
.btn-add-to-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(37,99,235,0.06);
    border: 1px solid rgba(37,99,235,0.2);
    color: var(--primary-blue);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-condensed);
    white-space: nowrap;
}
.btn-add-to-quote:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}
.compare-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    font-family: var(--font-body);
}
.compare-add-btn:hover { color: var(--primary-blue); background: rgba(37,99,235,0.06); }
.compare-add-btn.added { color: #16a34a; }

/* Quote cart */
[data-quote-cart-toggle].has-items {
    border-color: rgba(249,115,22,0.3);
    background: rgba(249,115,22,0.08);
}

/* Quote badge */
[data-quote-badge] {
    background: var(--accent-orange) !important;
}

/* =============================================
   LOADING STATES
   ============================================= */
#products-loading, #products-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* =============================================
   COMPARE TABLE
   ============================================= */
.compare-table-wrap {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* =============================================
   STATUS BADGES
   ============================================= */
.status-badge { display: inline-flex; align-items: center; border-radius: 9999px; padding: 0.2rem 0.75rem; font-size: 0.72rem; font-weight: 600; border: 1px solid; }
.status-badge.status-processing { background: rgba(234,179,8,0.1); color: #B45309; border-color: rgba(234,179,8,0.3); }
.status-badge.status-sent { background: rgba(22,163,74,0.1); color: #15803D; border-color: rgba(22,163,74,0.25); }

/* =============================================
   LAZY IMAGES
   ============================================= */
/* img[loading="lazy"] opacity is only applied in specific JS-rendered containers via targeted rules below */
img[loading="lazy"].loaded { opacity: 1; }

/* =============================================
   PAGE TRANSITIONS
   ============================================= */
main { animation: slide-up 0.4s ease-out; }

/* =============================================
   ADMIN TABLE THUMB
   ============================================= */
.admin-table .thumb {
    width: 52px; height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 2px;
}

/* =============================================
   INDUSTRY CARD HOVER (industries page)
   ============================================= */
.industry-card-hover:hover { transform: translateY(-4px); }

/* =============================================
   ADMIN SIDEBAR DIVIDER
   ============================================= */
.admin-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0.5rem 1rem;
}

/* =============================================
   PRODUCT DETAIL ACTION ROW
   ============================================= */
.product-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* line clamp */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .stat-number { font-size: 2rem; }
    body.has-admin-toolbar { padding-top: 88px; }
    body.has-admin-toolbar #navbar { top: 88px !important; }
    .admin-toolbar-inner { flex-direction: column; align-items: stretch; }
    .admin-toolbar-actions { justify-content: center; }
    .product-card .img-wrap { height: 11rem; }
    .cta-section-inner { padding: 2.5rem 1.5rem; }
    .footer-cta-bar .flex { flex-direction: column; text-align: center; }
    .footer-map-embed iframe { height: 160px; }
    .why-card { padding: 1.5rem 1rem; }
    .stat-item { padding: 1rem 1rem; }
}
@media (max-width: 480px) {
    .stat-number { font-size: 1.8rem; }
    h1 { letter-spacing: -0.02em; }
}

/* =============================================
   FORM ELEMENTS — LIGHT THEME
   ============================================= */
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
}
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
select.form-input { appearance: auto; cursor: pointer; }
textarea.form-input { line-height: 1.65; }

/* Form tabs */
.form-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-alt);
    padding: 0.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.form-tab {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border-radius: calc(var(--radius-md) - 2px);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    white-space: nowrap;
}
.form-tab:hover { color: var(--text-primary); }
.form-tab.active {
    background: var(--bg-white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

/* Contact page left panel override */
.contact-left-panel {
    background: var(--primary-navy);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    padding: 3rem;
}
.contact-left-panel h3 { color: white; }
.contact-left-panel p { color: rgba(255,255,255,0.55); }

/* Contact info items */
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Product detail page */
.product-detail-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* Search box on dark hero */
.search-box {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: white;
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.search-box::placeholder { color: rgba(255,255,255,0.4); }
.search-box:focus { border-color: #F97316; }

/* About page timeline */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-orange);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--accent-orange);
}
.timeline-line {
    position: absolute;
    left: 7px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

/* Services cards */
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.service-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-orange);
    transform: translateY(-4px);
}
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* Blog cards */
.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.blog-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}
.blog-card .img-wrap {
    height: 200px;
    overflow: hidden;
    background: var(--bg-alt);
}
.blog-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.blog-card:hover .img-wrap img { transform: scale(1.05); }
.blog-card .card-body { padding: 1.5rem; }

/* =============================================
   PHASE 2 — NEW FEATURE STYLES
   ============================================= */

/* WhatsApp Lead Assistant */
#wa-assistant {
    position: fixed;
    bottom: 88px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}
#wa-assistant-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    transform: scale(0.8) translateY(10px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#wa-assistant-menu.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}
.wa-menu-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: white;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    cursor: pointer;
    text-decoration: none;
    color: #1E293B;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.wa-menu-item:hover {
    background: #F0FDF4;
    border-color: #22c55e;
    transform: translateX(-4px);
}
.wa-menu-item .wa-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wa-badge-pulse {
    animation: pulse-ring 1.5s ease-out infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Stats Counter Section */
.stats-counter-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}
.stats-counter-section::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.02'%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");
}
.counter-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.counter-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}
.counter-card:last-child::after { display: none; }
.counter-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}
.counter-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-top: 0.5rem;
}
.counter-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Product Download Center */
.download-center {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}
.download-center-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    background: var(--bg-main);
    margin-bottom: 0.5rem;
}
.download-btn:hover {
    border-color: var(--primary-blue);
    background: rgba(37,99,235,0.04);
    color: var(--primary-blue);
    transform: translateX(4px);
}
.download-btn .dl-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.download-btn.brochure .dl-icon { background: rgba(239,68,68,0.1); color: #ef4444; }
.download-btn.datasheet .dl-icon { background: rgba(37,99,235,0.1); color: #2563eb; }
.download-btn.catalogue .dl-icon { background: rgba(249,115,22,0.1); color: #f97316; }

/* Search Autocomplete */
.search-autocomplete-wrap {
    position: relative;
}
.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 300;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}
.search-autocomplete-dropdown.open {
    display: block;
}
.autocomplete-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    padding: 0.6rem 0.85rem 0.3rem;
}
.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: var(--text-primary);
}
.autocomplete-item:hover, .autocomplete-item.active {
    background: rgba(37,99,235,0.05);
}
.autocomplete-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--bg-main);
    flex-shrink: 0;
    padding: 2px;
}
.autocomplete-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
.autocomplete-item-cat {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.autocomplete-cat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.15s;
}
.autocomplete-cat-item:hover {
    background: rgba(37,99,235,0.05);
    color: var(--primary-blue);
}

/* Enhanced Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 6rem;
    line-height: 1;
    color: rgba(249,115,22,0.1);
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(249,115,22,0.2);
}
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.85rem;
}
.testimonial-stars span {
    color: #F59E0B;
    font-size: 0.95rem;
}
.testimonial-text {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(249,115,22,0.2);
}
.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.2;
}
.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Project Cards */
.project-card {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.1);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(15,23,42,0.12);
}
.project-card:hover img {
    transform: scale(1.06);
}

/* Video Cards */
.video-play-btn {
    width: 56px;
    height: 56px;
    background: #F97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(249,115,22,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
article:hover .video-play-btn {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(249,115,22,0.6);
}

/* Compare page enhancements */
.compare-header-cell {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.compare-row-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}
.compare-row-value {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}
.compare-section-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-orange);
    padding: 1rem;
    background: rgba(249,115,22,0.04);
    border-bottom: 1px solid rgba(249,115,22,0.1);
}

/* Page hero light (non-dark pages) */
.page-hero {
    background: var(--primary-navy);
    position: relative;
    overflow: hidden;
    padding-top: calc(72px + 3.5rem);
    padding-bottom: 3rem;
    min-height: 240px;
    display: flex;
    align-items: center;
}
.page-hero::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.025'%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");
}

/* Lazy image fade-in */
img:not([loading]) { opacity: 1; }

/* Mobile improvements */
@media (max-width: 768px) {
    .counter-card::after { display: none; }
    .counter-card { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .counter-card:last-child { border-bottom: none; }
    .wa-menu-item { font-size: 0.78rem; padding: 0.55rem 0.85rem; }
    .testimonial-card { padding: 1.25rem; }
}

/* Accessibility — focus ring */
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Loading skeleton */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 6px;
}

/* Sticky compare bar */
#compare-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--primary-navy);
    border-top: 2px solid var(--accent-orange);
    padding: 0.75rem 1rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
#compare-sticky-bar.visible { display: flex; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary-blue); }
.breadcrumb span:last-child { color: var(--text-primary); font-weight: 500; }


/* Section divider left-aligned variant */
.section-divider-left {
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #F97316, #2563EB);
    border-radius: 2px;
    margin: 0.75rem 0;
}

/* BASE_URL JS global for frontend use */
/* (set in header.php via inline script) */

/* Improve autocomplete dropdown z-index context in dark nav */
.search-autocomplete-wrap {
    isolation: isolate;
}
.search-autocomplete-dropdown {
    z-index: 999;
}

/* Sticky call now float button position */
#call-now-float {
    position: fixed;
    bottom: 152px;
    right: 22px;
    z-index: 99;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,99,235,0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}
#call-now-float:hover {
    background: #1d4ed8;
    transform: scale(1.08);
}

/* WA assistant positioning fix */
#wa-assistant {
    bottom: 20px;
    right: 20px;
}

/* Back to top positioning */
#back-to-top {
    bottom: 80px;
    right: 22px;
}

/* =============================================
   PHASE 3 PRODUCTION UPGRADE — Mobile fixes
   ============================================= */

/* Product page action buttons - stack on small screens */
@media (max-width: 480px) {
    .product-card .img-wrap { height: 10rem; }
    .product-card .card-body { padding: 1rem; }
    #sticky-product-cta .flex { flex-wrap: wrap; gap: 0.5rem; }
    #sticky-product-cta a, #sticky-product-cta button { font-size: 0.75rem; padding: 0.6rem 0.9rem; }
    .gallery-main img { border-radius: 12px !important; }
    #gallery-thumbs { gap: 0.35rem; }
    #gallery-thumbs .gallery-thumb { width: 54px; height: 54px; }
    .download-center { padding: 0.75rem; }
    .download-btn { padding: 0.6rem 0.75rem; font-size: 0.78rem; }
}

/* Better tap targets on mobile for product buttons */
@media (max-width: 640px) {
    .btn-whatsapp, .btn-primary {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .product-gallery .gallery-main {
        max-height: 320px;
    }
    .product-gallery .gallery-main img {
        max-height: 320px;
        object-fit: contain;
    }
}

/* WhatsApp button pulse animation */
.btn-whatsapp {
    position: relative;
    overflow: hidden;
}
.btn-whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.2s;
}
.btn-whatsapp:hover::after { opacity: 1; }

/* Get Quote on WhatsApp — prominent button */
.btn-wa-quote {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}
.btn-wa-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37,211,102,0.5);
    color: white;
}
.btn-wa-quote:active { transform: translateY(0); }

/* Download center improvements */
.download-center {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
}
.download-center-title {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1E3A5F;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
}
.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid #E2E8F0;
    color: #1E3A5F;
    font-size: 0.82rem;
    font-weight: 600;
}
.download-btn:last-child { border-bottom: none; }
.download-btn:hover { background: #F1F5F9; }
.download-btn .dl-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.download-btn.brochure .dl-icon { background: #FEF2F2; color: #DC2626; }
.download-btn.datasheet .dl-icon { background: #EFF6FF; color: #2563EB; }
.download-btn.catalogue .dl-icon { background: #FFF7ED; color: #EA580C; }

/* 320px minimum - ensure nothing breaks on smallest screens */
@media (max-width: 360px) {
    .max-w-7xl { padding-left: 0.75rem; padding-right: 0.75rem; }
    h1 { font-size: clamp(1.6rem, 7vw, 3rem) !important; }
    .hero-section { padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* =============================================
   AUTOCOMPLETE DROPDOWN
   ============================================= */
.search-autocomplete-wrap {
    position: relative;
}
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(15,23,42,0.12);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
    display: none;
}
.autocomplete-dropdown a:last-child {
    border-bottom: none !important;
}

/* =============================================
   PRODUCT CARD IMAGE LOADING STATE
   ============================================= */
.product-card .img-wrap img {
    background: var(--bg-alt);
    min-height: 180px;
}

/* =============================================
   MOBILE IMPROVEMENTS
   ============================================= */
@media (max-width: 480px) {
    .hero-section .flex-wrap.gap-3 {
        flex-direction: column;
    }
    .hero-section .flex-wrap.gap-3 a {
        text-align: center;
        justify-content: center;
    }
    .product-card .card-body {
        padding: 1rem;
    }
    .product-card .img-wrap {
        height: 200px;
    }
    .page-hero h1 {
        font-size: clamp(1.6rem, 8vw, 2.5rem) !important;
    }
    .stat-item {
        padding: 1rem !important;
    }
    .footer-mega {
        padding-bottom: 80px;
    }
}

@media (max-width: 375px) {
    #navbar .flex.items-center.justify-between {
        padding: 0 12px;
    }
    .product-card .img-wrap {
        height: 180px;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    #navbar, .footer-mega, .whatsapp-float, .admin-toolbar { display: none !important; }
    body { background: white; color: black; }
}

/* =============================================
   LOADING SKELETON
   ============================================= */
@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.skeleton {
    background: var(--bg-alt);
    border-radius: 6px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
#sce-toast-container {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}
.sce-toast {
    background: #0F172A;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    pointer-events: auto;
}
.sce-toast.success { border-left: 3px solid #16a34a; }
.sce-toast.error { border-left: 3px solid #dc2626; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }

/* =============================================
   BUGFIXES & MISSING CLASSES
   ============================================= */

/* Category badges */
.badge-safety {
    background: #EF4444;
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-coding {
    background: #2563EB;
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Gallery main image container */
.gallery-main {
    position: relative;
    background: #F8FAFC;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-main img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}
.product-gallery {
    position: sticky;
    top: 90px;
}

/* Fix lazy images — server-rendered images should be immediately visible */
/* Only dynamically JS-rendered images use .loaded class gate */
img[loading="lazy"]:not([data-js-lazy]) {
    opacity: 1 !important;
}
/* Product card images rendered by PHP (server-side) always visible */
.product-card .img-wrap img,
.gallery-item img {
    opacity: 1 !important;
    transition: transform 0.5s ease !important;
}

/* JS-rendered product grid images — fade in via .loaded class or animation fallback */
#product-grid img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: img-reveal 0s 0.8s forwards; /* CSS fallback: force visible after 0.8s if JS fails */
}
#product-grid img[loading="lazy"].loaded,
#modal-inner img[loading="lazy"].loaded {
    opacity: 1 !important;
    animation: none;
}
#modal-inner img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: img-reveal 0s 1s forwards;
}
@keyframes img-reveal {
    to { opacity: 1; }
}

/* Line-clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-consultant-widget {
    background: linear-gradient(135deg, #0F172A, #1E3A5F);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 20px;
    padding: 1.5rem;
    color: white;
}
.ai-chat-msg {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 85%;
    margin-bottom: 0.75rem;
}
.ai-chat-msg.assistant {
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.2);
    align-self: flex-start;
}
.ai-chat-msg.user {
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.2);
    align-self: flex-end;
    margin-left: auto;
}
.ai-product-suggestion {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
    margin-bottom: 0.5rem;
}
.ai-product-suggestion:hover {
    background: rgba(37,99,235,0.15);
    border-color: rgba(37,99,235,0.3);
    transform: translateX(4px);
}
.ai-product-suggestion img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
    background: #1E293B;
    flex-shrink: 0;
    opacity: 1 !important;
}

/* =============================================
   PRODUCT DETAIL PAGE — MISSING CLASSES
   ============================================= */

/* Spec list (JSON specs as bullets) */
.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.spec-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}
.spec-list li::before {
    content: '›';
    color: #F97316;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.spec-list li:last-child { border-bottom: none; }

/* Feature list */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.feature-list li {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(37,99,235,0.08);
    border-left: 3px solid #2563EB;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Application tag pills */
.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(249,115,22,0.12);
    border: 1px solid rgba(249,115,22,0.25);
    color: #F97316;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Prose dark (description text on dark background) */
.prose-dark {
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    font-size: 0.9rem;
}
.prose-dark p { margin-bottom: 1rem; }
.prose-dark strong { color: white; }

/* =============================================
   AI CONSULTANT — MOBILE FIXES
   ============================================= */
@media (max-width: 640px) {
    .ai-consultant-widget {
        padding: 1rem;
        border-radius: 14px;
    }
    .ai-chat-msg {
        max-width: 92%;
        font-size: 0.82rem;
    }
    #ai-chat-messages {
        max-height: 320px;
    }
    .ai-product-suggestion {
        padding: 0.6rem 0.75rem;
    }
    .ai-product-suggestion img {
        width: 40px;
        height: 40px;
    }
}

/* WhatsApp float button — mobile safe zone */
@media (max-width: 640px) {
    #whatsapp-float {
        bottom: 1.25rem;
        right: 1rem;
    }
}



/* Toast color variants */
.sce-toast.success { background: #16A34A; border: none; }
.sce-toast.error   { background: #DC2626; border: none; }
.sce-toast.info    { background: #2563EB; border: none; }
.sce-toast.warning { background: #D97706; border: none; }

/* =============================================
   PHASE 9: MOBILE RESPONSIVENESS COMPREHENSIVE
   ============================================= */

/* Prevent horizontal overflow on all screens */
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; }

/* --- 320px — smallest phones --- */
@media (max-width: 380px) {
    .page-hero h1 { font-size: 1.6rem !important; }
    .btn-primary, .btn-secondary { padding: 0.7rem 1.25rem !important; font-size: 0.8rem !important; }
    .stat-card .value { font-size: 1.75rem !important; }
    .product-card .card-title { font-size: 0.9rem !important; }
    .product-card .card-body { padding: 1rem !important; }
    .wa-float { width: 50px !important; height: 50px !important; bottom: 1rem !important; right: 1rem !important; }
    #quote-cart-drawer { width: 100vw !important; max-width: 100vw !important; }
    .hero-cta { flex-direction: column !important; gap: 0.75rem !important; }
    .hero-cta a, .hero-cta button { width: 100% !important; justify-content: center !important; }
}

/* --- 425px — standard mobile --- */
@media (max-width: 480px) {
    .page-hero { padding-left: 1rem !important; padding-right: 1rem !important; }
    .max-w-7xl { padding-left: 1rem !important; padding-right: 1rem !important; }
    .section-heading h2 { font-size: 1.5rem !important; }
    .product-grid { grid-template-columns: 1fr !important; }
    .form-tabs { flex-wrap: wrap; }
    .form-tab { flex: 1 1 auto; min-width: 80px; font-size: 0.78rem; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .stats-bar .counter-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .compare-header-grid { grid-template-columns: 120px repeat(2, 1fr) !important; font-size: 0.75rem !important; }
    .faq-question { font-size: 0.9rem !important; }
    /* Compare table on mobile — scroll */
    .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    [style*="grid-template-columns: 180px"] { 
        display: block !important; 
    }
    [style*="grid-template-columns: 180px"] > div { 
        padding: 0.5rem 0.75rem !important; 
        border-left: none !important; 
    }
}

/* --- 768px — tablet --- */
@media (max-width: 768px) {
    /* Admin table responsiveness */
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.5rem 0.6rem; }
    .thumb { width: 40px !important; height: 40px !important; }
    .admin-grid-2 { grid-template-columns: 1fr !important; }
    .stat-cards { grid-template-columns: repeat(2, 1fr) !important; }
    
    /* Product page gallery */
    .product-gallery-grid { grid-template-columns: 1fr !important; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-brand { grid-column: 1 / -1; }
    
    /* Header */
    .navbar-inner { padding: 0 1rem; }
    
    /* Industries grid */
    .industries-grid { grid-template-columns: repeat(2, 1fr) !important; }
    
    /* Quote drawer */
    #quote-cart-drawer { width: 100vw !important; max-width: 360px !important; }
    
    /* Hero section */
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    
    /* CTA section */
    .cta-actions { flex-direction: column; }
}

/* --- 1024px — tablet landscape --- */
@media (max-width: 1024px) {
    .product-detail-grid { grid-template-columns: 1fr !important; }
    .about-grid { grid-template-columns: 1fr !important; }
    .case-study-grid { grid-template-columns: 1fr !important; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Touch targets — min 44px */
@media (hover: none) {
    .btn-primary, .btn-secondary, button, [role="button"],
    a.nav-link, .mobile-nav-link, .wa-float,
    .form-tab, .page-btn {
        min-height: 44px;
    }
    select.form-input { min-height: 44px; }
    input.form-input { min-height: 44px; }
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Table responsiveness — horizontal scroll */
.table-wrap, .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
table {
    min-width: 480px;
}

/* Fix compare table on mobile */
@media (max-width: 640px) {
    .compare-page-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* =============================================
   PROFESSIONAL FORM TOAST + VALIDATION
   (Contact Page UX upgrade)
   ============================================= */

/* --- Inline field validation --- */
.form-input.field-error {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08) !important;
    animation: sceShake 0.35s ease;
}
.form-error-msg {
    display: none;
    color: #DC2626;
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 0.4rem;
    align-items: center;
    gap: 0.3rem;
    animation: sceFadeDown 0.25s ease;
}
.form-error-msg.show { display: flex; }
@keyframes sceShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}
@keyframes sceFadeDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Submit button loading state --- */
.btn-loading { opacity: 0.85; cursor: not-allowed !important; pointer-events: none; }
.btn-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2.5px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sceSpin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes sceSpin { to { transform: rotate(360deg); } }

/* --- Glassmorphism toast (top-right) --- */
#sce-pro-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    max-width: 380px;
    pointer-events: none;
}
.sce-pro-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 12px 40px rgba(15,23,42,0.20), 0 2px 8px rgba(15,23,42,0.06);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.sce-pro-toast.show { opacity: 1; transform: translateX(0); }
.sce-pro-toast.hide { opacity: 0; transform: translateX(24px); }
.sce-pro-toast-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sce-pro-toast.success .sce-pro-toast-icon { background: rgba(22,163,74,0.14); color: #16A34A; }
.sce-pro-toast.error   .sce-pro-toast-icon { background: rgba(220,38,38,0.14); color: #DC2626; }
.sce-pro-toast-body { flex: 1; min-width: 0; }
.sce-pro-toast-title { font-weight: 800; font-size: 0.92rem; color: #0F172A; line-height: 1.3; margin-bottom: 0.15rem; }
.sce-pro-toast-msg { font-size: 0.8rem; color: #475569; line-height: 1.5; }
.sce-pro-toast-close {
    background: none; border: none; cursor: pointer;
    color: #94A3B8; font-size: 1.15rem; line-height: 1;
    padding: 0; flex-shrink: 0; transition: color 0.15s;
}
.sce-pro-toast-close:hover { color: #475569; }

/* SweetAlert2 — glassmorphism toast skin (used if SweetAlert2 is loaded) */
.swal2-popup.sce-swal-toast {
    background: rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.45) !important;
    box-shadow: 0 12px 40px rgba(15,23,42,0.20), 0 2px 8px rgba(15,23,42,0.06) !important;
    border-radius: 14px !important;
    padding: 0.9rem 1.1rem !important;
}
.swal2-popup.sce-swal-toast .swal2-title { color: #0F172A !important; font-size: 0.92rem !important; font-weight: 800 !important; padding: 0 !important; margin: 0 0 0.1rem !important; text-align: left !important; }
.swal2-popup.sce-swal-toast .swal2-html-container { color: #475569 !important; font-size: 0.8rem !important; margin: 0 !important; text-align: left !important; }
.swal2-popup.sce-swal-toast .swal2-timer-progress-bar { background: rgba(15,23,42,0.18) !important; }

/* Mobile optimization — 320px / 375px / 425px / 768px */
@media (max-width: 480px) {
    #sce-pro-toast-container {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
    }
    .sce-pro-toast { padding: 0.85rem 0.9rem; }
    .sce-pro-toast-title { font-size: 0.88rem; }
    .sce-pro-toast-msg { font-size: 0.78rem; }
}

/* =============================================
   PHASE 2: Compare bar — mobile responsiveness
   ============================================= */
@media (max-width: 640px) {
    #sce-compare-bar {
        flex-wrap: wrap;
        padding: 0.6rem 0.85rem !important;
        gap: 0.5rem !important;
    }
    #sce-compare-bar > div:first-child {
        flex: 1 1 100%;
        order: 1;
    }
    #sce-compare-bar > div:last-child {
        flex: 1 1 100%;
        order: 2;
        justify-content: flex-end;
    }
    #sce-cmp-chips span { font-size: 0.7rem !important; }
}
@media (max-width: 380px) {
    #sce-compare-bar #sce-cmp-go { flex: 1; }
    #sce-compare-bar button[onclick*="clear"] { flex: 0 0 auto; }
}

/* =============================================
   SCE PREMIUM UPGRADE v9.5 — Motion & Polish
   Professional 9.5/10 Production Enhancement
   ============================================= */

/* ─── 1. CSS CUSTOM PROPERTIES ENHANCEMENTS ─── */
:root {
    /* Extended easing library */
    --ease-spring:       cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-decel:        cubic-bezier(0.0, 0.0, 0.2, 1);
    --ease-accel:        cubic-bezier(0.4, 0.0, 1, 1);
    --ease-standard:     cubic-bezier(0.4, 0.0, 0.2, 1);
    --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);

    /* Refined shadow system */
    --shadow-card:       0 2px 8px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
    --shadow-card-hover: 0 12px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.08);
    --shadow-product:    0 4px 20px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.05);
    --shadow-product-hover: 0 20px 60px rgba(15,23,42,0.15), 0 8px 20px rgba(37,99,235,0.1);
    --shadow-float:      0 8px 32px rgba(15,23,42,0.12), 0 2px 8px rgba(15,23,42,0.06);
    --shadow-cta:        0 24px 80px rgba(15,23,42,0.2), 0 8px 24px rgba(15,23,42,0.1);

    /* Transition durations */
    --dur-fast:   150ms;
    --dur-base:   250ms;
    --dur-slow:   400ms;
    --dur-slower: 600ms;
}

/* ─── 2. SCROLL REVEAL SYSTEM ─── */
.sce-reveal {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity var(--dur-slower) var(--ease-out-expo),
                transform var(--dur-slower) var(--ease-out-expo);
}
.sce-reveal.sce-reveal-up    { transform: translateY(32px); }
.sce-reveal.sce-reveal-down  { transform: translateY(-20px); }
.sce-reveal.sce-reveal-left  { transform: translateX(-32px); }
.sce-reveal.sce-reveal-right { transform: translateX(32px); }
.sce-reveal.sce-reveal-scale { transform: scale(0.94); }
.sce-reveal.sce-reveal-fade  { transform: none; }
.sce-reveal.is-visible {
    opacity: 1;
    transform: none !important;
}
/* Staggered children */
.sce-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--dur-slower) var(--ease-out-expo),
                transform var(--dur-slower) var(--ease-out-expo);
}
.sce-stagger.is-visible > *:nth-child(1)  { transition-delay: 0ms;   opacity:1; transform:none; }
.sce-stagger.is-visible > *:nth-child(2)  { transition-delay: 80ms;  opacity:1; transform:none; }
.sce-stagger.is-visible > *:nth-child(3)  { transition-delay: 160ms; opacity:1; transform:none; }
.sce-stagger.is-visible > *:nth-child(4)  { transition-delay: 240ms; opacity:1; transform:none; }
.sce-stagger.is-visible > *:nth-child(5)  { transition-delay: 320ms; opacity:1; transform:none; }
.sce-stagger.is-visible > *:nth-child(6)  { transition-delay: 400ms; opacity:1; transform:none; }
.sce-stagger.is-visible > *:nth-child(n+7){ transition-delay: 480ms; opacity:1; transform:none; }

/* ─── 3. ENHANCED SMOOTH SCROLLING ─── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ─── 4. NAVBAR PREMIUM ENHANCEMENTS ─── */
#navbar {
    transition: background-color var(--dur-slow) var(--ease-standard),
                box-shadow var(--dur-slow) var(--ease-standard),
                backdrop-filter var(--dur-slow) var(--ease-standard);
}
#navbar.scrolled {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 20px rgba(15,23,42,0.08), 0 1px 4px rgba(15,23,42,0.04);
}

/* Nav link underline slide effect */
.nav-link {
    position: relative;
    padding-bottom: 0.25rem !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 2px;
    transition: left var(--dur-base) var(--ease-out-expo),
                right var(--dur-base) var(--ease-out-expo);
}
.nav-link:hover::after,
.nav-link.active::after {
    left: 0.5rem;
    right: 0.5rem;
}

/* Dropdown polish */
#navbar .group .absolute {
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow: 0 20px 60px rgba(15,23,42,0.12), 0 4px 16px rgba(15,23,42,0.06);
    border-radius: 16px;
    transform: translateY(-6px) scale(0.98);
    transition: opacity var(--dur-base) var(--ease-out-expo),
                transform var(--dur-base) var(--ease-out-expo),
                visibility var(--dur-base);
}
#navbar .group:hover .absolute {
    transform: translateY(0) scale(1);
}
#navbar .group .absolute a {
    border-radius: 8px;
    margin: 2px 6px;
    transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
#navbar .group .absolute a:hover {
    transform: translateX(3px);
}

/* Mobile menu slide-down animation */
#mobile-menu {
    transition: max-height var(--dur-slow) var(--ease-smooth),
                opacity var(--dur-base) var(--ease-standard);
}
#mobile-menu:not(.hidden) {
    animation: sce-slide-down var(--dur-slow) var(--ease-out-expo);
}
@keyframes sce-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── 5. PREMIUM BUTTON SYSTEM ─── */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: background var(--dur-base) var(--ease-standard),
                box-shadow var(--dur-base) var(--ease-standard),
                transform var(--dur-fast) var(--ease-spring) !important;
    will-change: transform;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity var(--dur-fast);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: scale(0.97) translateY(0) !important; }

.btn-whatsapp {
    transition: background var(--dur-base), box-shadow var(--dur-base),
                transform var(--dur-fast) var(--ease-spring) !important;
}
.btn-whatsapp:active { transform: scale(0.97) !important; }

/* Ripple effect on buttons */
@keyframes sce-ripple {
    from { transform: scale(0); opacity: 0.4; }
    to   { transform: scale(2.5); opacity: 0; }
}
.sce-ripple-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}
.sce-ripple-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: scale(0);
    animation: sce-ripple 0.55s var(--ease-decel) forwards;
    margin: -4px 0 0 -4px;
}

/* ─── 6. PRODUCT CARD PREMIUM SYSTEM ─── */
.product-card {
    box-shadow: var(--shadow-product) !important;
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-spring),
                border-color var(--dur-base) var(--ease-standard) !important;
    will-change: transform, box-shadow;
}
.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-product-hover) !important;
}
.product-card .img-wrap img {
    transition: transform 0.6s var(--ease-smooth) !important;
}
.product-card:hover .img-wrap img {
    transform: scale(1.08) !important;
}

/* Card body button polish */
.product-card .card-body a.flex-1 {
    transition: background var(--dur-base), border-color var(--dur-base),
                color var(--dur-base), transform var(--dur-fast) !important;
}
.product-card .card-body a.flex-1:hover {
    transform: translateY(-1px);
}

/* Quick view badge enhanced */
.quick-view-badge {
    transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-spring) !important;
    backdrop-filter: blur(8px);
    background: rgba(15,23,42,0.85) !important;
}
.product-card:hover .quick-view-badge {
    transform: translateX(-50%) translateY(0) !important;
}

/* ─── 7. TRUST / WHY-CHOOSE CARDS PREMIUM ─── */
.trust-card,
.why-card,
.cert-card,
.service-card,
.industry-card,
.glass-card {
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-smooth),
                border-color var(--dur-base) var(--ease-standard) !important;
    will-change: transform;
}

/* Icon in why-card — color shift on hover */
.why-card .icon-box {
    transition: background var(--dur-base), transform var(--dur-base) var(--ease-spring);
}
.why-card:hover .icon-box {
    transform: scale(1.1) rotate(-3deg);
}

/* ─── 8. STATS BAR POLISH ─── */
.stat-item {
    position: relative;
    transition: background var(--dur-base), transform var(--dur-slow) var(--ease-spring);
}
.stat-item:hover {
    background: rgba(37,99,235,0.02);
}
.stat-number {
    transition: color var(--dur-base);
}
.stat-item:hover .stat-number {
    color: var(--primary-blue);
}
.stat-icon svg {
    transition: transform var(--dur-base) var(--ease-spring);
}
.stat-item:hover .stat-icon svg {
    transform: scale(1.15) rotate(-5deg);
}

/* ─── 9. CTA SECTION PREMIUM ─── */
.cta-section-inner {
    transition: box-shadow var(--dur-slow);
    box-shadow: var(--shadow-cta);
}
.cta-section-inner::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Pulsing dot animation for "READY TO GET STARTED?" */
@keyframes sce-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%       { transform: scale(1.6); opacity: 1; }
}
.cta-pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-orange);
    animation: sce-dot-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* ─── 10. FAQ ENHANCED ANIMATIONS ─── */
.faq-answer {
    transition: max-height 0.4s var(--ease-smooth),
                opacity 0.3s var(--ease-standard) !important;
    opacity: 0;
}
.faq-answer.open {
    opacity: 1;
    max-height: 300px !important;
}
.faq-item {
    transition: border-color var(--dur-base), box-shadow var(--dur-base),
                transform var(--dur-slow) var(--ease-spring) !important;
}
.faq-item:hover {
    transform: translateX(3px);
}
.faq-item.open {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 4px 20px rgba(37,99,235,0.08) !important;
}
.faq-item .faq-icon {
    transition: background var(--dur-base), color var(--dur-base),
                transform 0.4s var(--ease-spring) !important;
}

/* ─── 11. TESTIMONIAL CARDS ─── */
.testimonial-card {
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-smooth),
                border-color var(--dur-base) !important;
}
.testimonial-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 60px rgba(15,23,42,0.12), 0 4px 16px rgba(249,115,22,0.08) !important;
    border-color: rgba(249,115,22,0.25) !important;
}

/* ─── 12. COUNTER CARDS ─── */
.counter-card {
    transition: transform var(--dur-slow) var(--ease-spring);
}
.counter-card:hover {
    transform: translateY(-4px);
}
.counter-icon-wrap {
    transition: transform var(--dur-base) var(--ease-spring),
                background var(--dur-base), border-color var(--dur-base);
}
.counter-card:hover .counter-icon-wrap {
    transform: scale(1.1);
    background: rgba(249,115,22,0.22);
    border-color: rgba(249,115,22,0.4);
}

/* ─── 13. CATALOGUE CARDS ─── */
.catalogue-card {
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-smooth),
                border-color var(--dur-base) !important;
}
.catalogue-card:hover {
    transform: translateY(-7px) !important;
}
.catalogue-icon {
    transition: transform var(--dur-base) var(--ease-spring),
                background var(--dur-base), border-color var(--dur-base);
}
.catalogue-card:hover .catalogue-icon {
    transform: scale(1.1) rotate(-4deg);
    background: rgba(37,99,235,0.06);
    border-color: var(--primary-blue);
}

/* ─── 14. CLIENT LOGOS ─── */
.client-logo-wrap {
    transition: opacity var(--dur-slow), filter var(--dur-slow),
                transform var(--dur-slow) var(--ease-spring) !important;
}
.client-logo-wrap:hover {
    transform: scale(1.08) !important;
}

/* ─── 15. FOOTER ENHANCEMENTS ─── */
.footer-icon-btn {
    transition: background var(--dur-base), border-color var(--dur-base),
                color var(--dur-base), transform var(--dur-fast) var(--ease-spring) !important;
}
.footer-icon-btn:hover {
    transform: translateY(-3px) !important;
}
.footer-links a {
    transition: color var(--dur-fast), transform var(--dur-fast) !important;
}
.footer-links a:hover {
    transform: translateX(4px) !important;
}

/* ─── 16. FILTER CHIPS ANIMATION ─── */
.filter-chip {
    transition: background var(--dur-base), border-color var(--dur-base),
                color var(--dur-base), transform var(--dur-fast) var(--ease-spring) !important;
}
.filter-chip:hover {
    transform: translateY(-2px);
}
.filter-chip.active {
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* ─── 17. PAGE HERO ACCENT ─── */
.page-hero {
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(248,250,252,0.5));
    pointer-events: none;
}

/* ─── 18. HERO SECTION MICRO-DETAILS ─── */
.hero-section .trust-badge {
    transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-spring);
}
.hero-section .trust-badge:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
}

/* Hero image card float */
.hero-section .flex-1.hidden {
    animation: sce-float-gentle 6s ease-in-out infinite;
}
@keyframes sce-float-gentle {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ─── 19. GALLERY ITEMS ─── */
.gallery-item {
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-smooth) !important;
    overflow: hidden;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-card-hover);
    z-index: 1;
}
.gallery-item img {
    transition: transform 0.6s var(--ease-smooth) !important;
}
.gallery-item:hover img {
    transform: scale(1.08) !important;
}

/* ─── 20. PAGINATION ─── */
.page-btn {
    transition: background var(--dur-fast), border-color var(--dur-fast),
                color var(--dur-fast), transform var(--dur-fast) var(--ease-spring) !important;
}
.page-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.15);
}

/* ─── 21. FORM INPUT PREMIUM ─── */
.form-input {
    transition: border-color var(--dur-base), box-shadow var(--dur-base),
                background var(--dur-base) !important;
}
.form-input:hover:not(:focus) {
    border-color: var(--border-strong);
    background: #FAFBFC;
}
.form-input:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.08) !important;
}

/* ─── 22. BACK TO TOP PREMIUM ─── */
#back-to-top {
    transition: opacity var(--dur-base), transform var(--dur-slow) var(--ease-spring),
                background var(--dur-fast), border-color var(--dur-fast),
                color var(--dur-fast), box-shadow var(--dur-base) !important;
}
#back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(37,99,235,0.3) !important;
}
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

/* ─── 23. SECTION LABEL POLISH ─── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.18em;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 1px;
    flex-shrink: 0;
}

/* Section divider gradient enhanced */
.section-divider-left {
    background: linear-gradient(90deg, #F97316, #2563EB) !important;
}
.section-divider {
    background: linear-gradient(90deg, transparent, #F97316, transparent) !important;
}

/* ─── 24. SPEC TABLE POLISH ─── */
.spec-table tr {
    transition: background var(--dur-fast);
}
.spec-table tr:hover {
    background: rgba(37,99,235,0.02);
}

/* ─── 25. DOWNLOAD BUTTONS ─── */
.download-btn {
    transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-spring) !important;
}
.download-btn:hover {
    transform: translateX(5px) !important;
}

/* ─── 26. VIDEO CARDS PLAY BUTTON ─── */
.video-play-btn {
    transition: transform var(--dur-base) var(--ease-spring),
                box-shadow var(--dur-base) !important;
}
article:hover .video-play-btn {
    transform: scale(1.12) !important;
    box-shadow: 0 16px 40px rgba(249,115,22,0.55) !important;
}

/* ─── 27. PROJECT CARDS ─── */
.project-card {
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-smooth) !important;
}
.project-card:hover {
    transform: translateY(-8px) !important;
}

/* ─── 28. SCROLLBAR PREMIUM ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-orange));
    border-radius: 3px;
}

/* ─── 29. FOCUS STATES — ACCESSIBILITY ─── */
:focus-visible {
    outline: 2px solid var(--primary-blue) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-blue) !important;
    outline-offset: 3px !important;
}

/* Skip to content */
.skip-to-content {
    position: fixed;
    top: -9999px;
    left: 1rem;
    z-index: 99999;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: top 0s;
}
.skip-to-content:focus {
    top: 1rem;
}

/* ─── 30. REDUCED MOTION RESPECT ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .sce-reveal, .sce-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── 31. PAGE TRANSITION ─── */
main {
    animation: sce-page-in 0.5s var(--ease-out-expo) !important;
}
@keyframes sce-page-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── 32. TRUST BAR ENHANCED ─── */
.gst-trust-bar span {
    transition: color var(--dur-fast);
}
.gst-trust-bar span:hover {
    color: var(--text-primary);
}

/* ─── 33. MOBILE MENU LINK HOVER ─── */
#mobile-menu a {
    transition: background var(--dur-fast), color var(--dur-fast),
                transform var(--dur-fast) !important;
    border-radius: 10px;
}
#mobile-menu a:hover {
    background: rgba(37,99,235,0.06) !important;
    color: var(--primary-blue) !important;
    transform: translateX(4px);
}

/* ─── 34. INDUSTRY CARDS ─── */
.industry-card {
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-smooth),
                border-color var(--dur-base) !important;
}
.industry-card:hover {
    transform: translateY(-5px) !important;
}
.industry-icon {
    transition: transform var(--dur-base) var(--ease-spring),
                background var(--dur-base);
}
.industry-card:hover .industry-icon {
    transform: scale(1.12) rotate(-4deg);
}

/* ─── 35. WHATSAPP FLOAT EXTRA POLISH ─── */
#whatsapp-float {
    transition: width var(--dur-slow) var(--ease-spring),
                padding var(--dur-slow) var(--ease-spring),
                transform var(--dur-base) var(--ease-spring),
                border-radius var(--dur-slow) var(--ease-spring) !important;
}
#whatsapp-float:hover {
    transform: scale(1.05) !important;
}

/* ─── 36. COMPARE BAR STYLING ─── */
#sce-compare-bar {
    backdrop-filter: blur(16px);
    background: rgba(15,23,42,0.96) !important;
}

/* ─── 37. QUOTE DRAWER ANIMATION ─── */
#quote-cart-drawer {
    transition: transform 0.4s var(--ease-spring) !important;
}

/* ─── 38. LOADING SKELETON PREMIUM ─── */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(241,245,249,0.8) 25%,
        rgba(226,232,240,0.9) 50%,
        rgba(241,245,249,0.8) 75%
    ) !important;
    background-size: 200% 100% !important;
    animation: sce-shimmer 1.6s ease-in-out infinite !important;
}
@keyframes sce-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ─── 39. SECTION SPACING SYSTEM ─── */
/* Ensure consistent vertical rhythm */
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* ─── 40. FOOTER CTA BAR HOVER ─── */
.footer-cta-bar a {
    transition: box-shadow var(--dur-base), transform var(--dur-fast) var(--ease-spring) !important;
}
.footer-cta-bar a:hover {
    transform: translateY(-2px) !important;
}

/* ─── 41. HERO STAT MINI-CARDS ─── */
.hero-section [style*="border-radius:12px"] {
    transition: transform var(--dur-slow) var(--ease-spring),
                box-shadow var(--dur-slow) var(--ease-smooth);
}
.hero-section [style*="border-radius:12px"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ─── 42. IMAGE HOVER — consistent zoom system ─── */
.product-img-container img {
    transition: transform 0.5s var(--ease-smooth) !important;
}
.product-img-container img:hover {
    transform: scale(1.05) !important;
}

/* ─── 43. TOP INFO BAR ─── */
.top-info-bar a {
    transition: color var(--dur-fast), transform var(--dur-fast) !important;
}
.top-info-bar a:hover {
    transform: translateY(-1px);
}

/* ─── 44. MOBILE BREAKPOINT REFINEMENTS ─── */
@media (max-width: 480px) {
    .sce-reveal.sce-reveal-left,
    .sce-reveal.sce-reveal-right {
        transform: translateY(24px) !important;
    }
    .product-card:hover {
        transform: translateY(-4px) !important;
    }
}

/* ─── 45. HIGH-CONTRAST ACCESSIBILITY ─── */
@media (prefers-contrast: high) {
    .product-card { border-width: 2px; }
    .form-input { border-width: 2px; }
    .nav-link { font-weight: 600; }
}

/* ─── 46. DARK MODE SYSTEM PREFERENCE ─── */
/* Project uses light theme — ensure no system dark-mode bleed */
@media (prefers-color-scheme: dark) {
    #navbar { background: white !important; }
    .form-input { background: white !important; color: var(--text-primary) !important; }
    .product-card { background: white !important; }
}

/* ─── 47. PRINT IMPROVEMENTS ─── */
@media print {
    .sce-reveal, .sce-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── 48. PERFORMANCE CONTAINMENT ─── */
.product-card,
.trust-card,
.why-card,
.cert-card,
.service-card,
.testimonial-card,
.project-card {
    contain: layout style;
}
.product-card .img-wrap {
    contain: layout paint;
}

/* ─── 49. BRAND ORANGE CTA BANNER POLISH ─── */
section[style*="background:#F97316"] {
    position: relative;
    overflow: hidden;
}
section[style*="background:#F97316"]::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
section[style*="background:#F97316"] a {
    transition: background var(--dur-base), transform var(--dur-fast) var(--ease-spring) !important;
}
section[style*="background:#F97316"] a:hover {
    transform: translateY(-2px) !important;
}

/* ─── 50. VISUAL HIERARCHY REFINEMENTS ─── */
/* Heading hierarchy clarity */
h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.02em; }
h3 { letter-spacing: -0.01em; }

/* Better paragraph spacing */
.card-desc, .testimonial-text {
    line-height: 1.7;
}

/* Improved link contrast */
.footer-links a:hover::before {
    transform: scale(1.5);
    transition: transform var(--dur-fast) var(--ease-spring);
}

