/*
Theme Name: ZU Engineering
Theme URI: https://zuengineering.com
Author: ZU Engineering
Description: 100% Mobile Responsive Light Industrial Theme.
Version: 2.0.0
*/

:root {
  --zu-bg-body: #f8fafc;
  --zu-bg-white: #ffffff;
  --zu-navy-dark: #0f172a;
  --zu-navy-light: #1e293b;
  --zu-slate-gray: #475569;
  --zu-border: #e2e8f0;
  --zu-orange: #f97316;
  --zu-orange-hover: #ea580c;
  --zu-wa-green: #25d366;
  --zu-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --zu-shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --zu-shadow-3d: 0 15px 35px rgba(15, 23, 42, 0.12);
}

/* 1. FORCE ZERO HORIZONTAL SCROLLBAR */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--zu-bg-body);
  color: var(--zu-navy-light);
  line-height: 1.5;
}

*, *::before, *::after {
  box-sizing: border-box !important;
  min-width: 0; /* Flexbox overflow kill */
}

/* TOPBAR FORCED HIDE (Agar Cache me bacha ho tab bhi nazar na aaye) */
.zu-topbar {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.zu-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

/* 2. HEADER */
.zu-header {
  background: #ffffff;
  border-bottom: 1px solid var(--zu-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--zu-shadow-sm);
  width: 100%;
}

.zu-nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.zu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.zu-header-logo {
  height: 42px;
  width: auto;
  border-radius: 6px;
}

.zu-brand-name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--zu-navy-dark);
  line-height: 1.1;
}

.zu-brand-name strong {
  color: var(--zu-orange);
}

.zu-brand-sub {
  display: block;
  font-size: 9.5px;
  color: #64748b;
  font-weight: 700;
}

.zu-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.zu-nav-menu a {
  text-decoration: none;
  color: var(--zu-navy-light);
  font-weight: 600;
  font-size: 14px;
}

.zu-header-wa-btn {
  background: var(--zu-wa-green);
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 3. HERO BANNER (MOBILE SCREEN FIT) */
.zu-hero-banner {
  position: relative;
  background-size: cover;
  background-position: center right;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 40px 0;
  width: 100%;
  overflow: hidden;
}

.zu-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.45) 100%);
}

.zu-hero-relative {
  position: relative;
  z-index: 2;
  width: 100%;
}

.zu-hero-glass-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 26px 20px;
  max-width: 580px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.zu-badge-pill {
  display: inline-block;
  background: rgba(249, 115, 22, 0.25);
  color: #ff9800;
  border: 1px solid #f97316;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  max-width: 100%;
  white-space: normal;
  line-height: 1.3;
}

.zu-hero-glass-card h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 12px 0;
  font-weight: 800;
  color: #ffffff;
  word-break: break-word;
}

.zu-hero-glass-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0 0 20px 0;
}

.zu-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.zu-btn-primary {
  background: var(--zu-orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  text-align: center;
}

.zu-btn-wa {
  background: var(--zu-wa-green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  text-align: center;
}

.zu-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #f97316;
}

.stat-txt {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
}

/* 4. CATALOG 3:4 GRID */
.zu-catalog-section {
  padding: 50px 0;
}

.zu-section-title {
  text-align: center;
  margin-bottom: 35px;
}

.zu-section-title h2 {
  font-size: 26px;
  color: var(--zu-navy-dark);
  margin: 0 0 8px 0;
}

.zu-section-title p {
  color: var(--zu-slate-gray);
  font-size: 14px;
}

.zu-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

.zu-product-card {
  background: #ffffff;
  border: 1px solid var(--zu-border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--zu-shadow-sm);
  display: flex;
  flex-direction: column;
}

.zu-product-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid var(--zu-border);
}

.zu-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.zu-product-card h3 {
  font-size: 15.5px;
  margin: 0 0 6px 0;
  color: var(--zu-navy-dark);
}

.zu-price-on-request {
  font-size: 12px;
  font-weight: 700;
  color: var(--zu-orange);
  margin-bottom: 12px;
  display: block;
}

.zu-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.zu-btn-card-wa {
  flex: 1;
  background: var(--zu-wa-green);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
}

.zu-btn-card-details {
  flex: 1;
  background: #f1f5f9;
  color: var(--zu-navy-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
  border: 1px solid var(--zu-border);
}

/* 5. FOUNDERS CARDS */
.zu-founders-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--zu-border);
}

.founders-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  width: 100%;
}

.employee-id-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  width: 100%;
  max-width: 360px;
  padding: 20px;
  box-shadow: var(--zu-shadow-card);
  text-align: center;
}

.badge-lanyard-slot {
  width: 40px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 10px;
  margin: 0 auto 12px auto;
}

.badge-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  color: #64748b;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.badge-mini-logo {
  height: 18px;
  width: auto;
}

.badge-photo-wrap {
  width: 120px;
  height: 140px;
  margin: 0 auto 12px auto;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid #f1f5f9;
}

.badge-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-name {
  font-size: 18px;
  color: var(--zu-navy-dark);
  margin: 0 0 4px 0;
  font-weight: 800;
}

.badge-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--zu-orange);
  margin-bottom: 12px;
}

.badge-meta-table {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  font-size: 11.5px;
  margin-bottom: 14px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.meta-row span { color: #64748b; }
.meta-row strong { color: var(--zu-navy-dark); }

.badge-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zu-wa-green);
  color: #ffffff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px;
  border-radius: 8px;
}

/* 6. REVIEWS CAROUSEL (OVERFLOW PROTECTED) */
.zu-reviews-section {
  padding: 45px 0;
  background: #f1f5f9;
  width: 100%;
  overflow: hidden;
}

.zu-ticker-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.zu-ticker-track {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  animation: zuScrollReviews 80s linear infinite;
}

@keyframes zuScrollReviews {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.zu-review-card {
  background: #ffffff;
  border: 1px solid var(--zu-border);
  border-left: 4px solid var(--zu-orange);
  border-radius: 8px;
  padding: 14px;
  width: 280px;
  flex-shrink: 0;
}

.zu-review-city {
  font-size: 10px;
  font-weight: 800;
  color: var(--zu-orange);
}

.zu-review-stars {
  color: #f59e0b;
  font-size: 11px;
}

.zu-review-text {
  font-size: 12px;
  color: var(--zu-navy-light);
  line-height: 1.4;
  margin: 6px 0;
}

.zu-review-client {
  font-size: 11px;
  font-weight: 700;
  color: var(--zu-navy-dark);
}

/* 7. FOOTER & SOCIALS */
.zu-footer {
  background: var(--zu-navy-dark);
  color: #cbd5e1;
  padding: 40px 0 20px 0;
  width: 100%;
  overflow: hidden;
}

.zu-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.zu-footer h4 {
  color: #ffffff;
  font-size: 15px;
  margin: 0 0 12px 0;
}

.zu-social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zu-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.zu-fb { background: #1877f2; }
.zu-yt { background: #ff0000; }
.zu-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.zu-tiktok { background: #000000; border: 1px solid #334155; }

.zu-map-btn {
  display: inline-block;
  background: #1e293b;
  color: #fff !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid #334155;
}

.zu-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 15px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

.zu-sticky-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--zu-wa-green);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  text-decoration: none;
  font-size: 26px;
}

/* ========================================================
   CRITICAL MOBILE SCREEN RULES (UNDER 768px)
   ======================================================== */
@media (max-width: 768px) {
  /* Navigation menu hide on phone */
  .zu-nav-menu {
    display: none !important;
  }
  
  .zu-brand-name {
    font-size: 16px;
  }
  
  .zu-header-logo {
    height: 36px;
  }

  .zu-hero-banner {
    padding: 20px 0;
    min-height: auto;
    background-position: 75% center !important;
  }

  .zu-hero-glass-card {
    padding: 16px 14px;
    border-radius: 12px;
    max-width: 100% !important;
  }

  .zu-hero-glass-card h1 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .zu-hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .zu-btn-primary, .zu-btn-wa {
    width: 100%;
    padding: 10px 0;
  }

  .zu-hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .zu-product-grid {
    grid-template-columns: 1fr;
  }

  #quote-form form div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .employee-id-badge {
    max-width: 100%;
  }
}