/**
 * Johnny Sports - Premium Cricket Equipment Manufacturer & Supplier
 * Sialkot, Pakistan
 * Main Stylesheet
 */

:root {
  /* Brand Color Palette */
  --navy-deep: #071A2F;
  --navy-graphite: #192331;
  --blue-royal: #1455A3;
  --blue-electric: #1687D9;
  --blue-glow: rgba(22, 135, 217, 0.25);
  --silver-metallic: #CED6E0;
  --silver-light: #E2E8F0;
  --white-soft: #F6F8FB;
  --white-pure: #FFFFFF;
  --text-primary: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --border-dark: #1E293B;

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(7, 26, 47, 0.08);
  --shadow-md: 0 4px 12px rgba(7, 26, 47, 0.12);
  --shadow-lg: 0 12px 28px rgba(7, 26, 47, 0.16);
  --shadow-blue: 0 8px 24px rgba(20, 85, 163, 0.25);

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
  --topbar-height: 40px;
  --border-radius: 8px;
  --border-radius-lg: 14px;
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
-------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--white-pure);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: var(--blue-royal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-electric);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  color: #334155;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CONTAINER & LAYOUT
-------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background-color: var(--navy-deep);
  color: var(--white-pure);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white-pure);
}

.section-dark p {
  color: var(--silver-metallic);
}

.section-soft {
  background-color: var(--white-soft);
}

.section-graphite {
  background-color: var(--navy-graphite);
  color: var(--white-pure);
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(22, 135, 217, 0.12);
  color: var(--blue-royal);
  margin-bottom: 14px;
  border: 1px solid rgba(22, 135, 217, 0.25);
}

.section-dark .section-badge {
  background: rgba(22, 135, 217, 0.2);
  color: var(--blue-electric);
  border-color: rgba(22, 135, 217, 0.4);
}

.section-title {
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-dark .section-lead {
  color: var(--silver-metallic);
}

/* --------------------------------------------------------------------------
   BUTTONS & CTAs
-------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--blue-royal);
  color: var(--white-pure);
  box-shadow: 0 4px 14px rgba(20, 85, 163, 0.35);
}

.btn-primary:hover {
  background-color: #0e4484;
  color: var(--white-pure);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 85, 163, 0.45);
}

.btn-electric {
  background-color: var(--blue-electric);
  color: var(--white-pure);
}

.btn-electric:hover {
  background-color: #1272b8;
  color: var(--white-pure);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-pure);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--white-pure);
  color: var(--white-pure);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--navy-deep);
}

.btn-outline-dark:hover {
  background-color: var(--navy-deep);
  color: var(--white-pure);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--navy-deep);
  border-bottom: 1px solid rgba(206, 214, 224, 0.12);
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  background-color: rgba(7, 26, 47, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Desktop Top Bar */
.header-topbar {
  background-color: #04101e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--silver-metallic);
  padding: 8px 0;
}

.topbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--silver-metallic);
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: var(--blue-electric);
}

.topbar-item i {
  color: var(--blue-electric);
  font-size: 0.85rem;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--silver-metallic);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--blue-royal);
  color: var(--white-pure);
  transform: translateY(-2px);
}

/* Main Navigation Bar */
.main-header {
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Nav Menu (Desktop) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--silver-metallic);
  padding: 8px 2px;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--white-pure);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white-pure);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Off-Canvas Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--navy-deep);
  z-index: 1050;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.4);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--silver-metallic);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
}

.drawer-close:hover {
  color: var(--white-pure);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--silver-metallic);
  padding: 8px 12px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: rgba(22, 135, 217, 0.15);
  color: var(--white-pure);
}

.drawer-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 26, 47, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   FLOATING WHATSAPP BUTTON (BOTTOM-RIGHT FIXED)
-------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.floating-whatsapp i {
  font-size: 32px;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

/* Pulsing ring around WhatsApp button */
.floating-whatsapp::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite ease-out;
  opacity: 0.8;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background-color: var(--navy-deep);
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* --------------------------------------------------------------------------
   HERO SECTIONS
-------------------------------------------------------------------------- */
.hero-home {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0c2747 60%, #103a6c 100%);
  color: var(--white-pure);
  padding: 100px 0 120px 0;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(22, 135, 217, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

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

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-electric);
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(22, 135, 217, 0.15);
  border: 1px solid rgba(22, 135, 217, 0.3);
}

.hero-title {
  color: var(--white-pure);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span {
  color: var(--blue-electric);
}

.hero-subhead {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--silver-metallic);
  margin-bottom: 14px;
}

.hero-description {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(206, 214, 224, 0.15);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white-pure);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--silver-metallic);
}

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

.hero-image-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(7, 26, 47, 0.88);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(22, 135, 217, 0.4);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-overlay i {
  color: #F59E0B;
  font-size: 1.4rem;
}

/* Page Inner Hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0d294a 100%);
  color: var(--white-pure);
  padding: 70px 0 80px 0;
  position: relative;
  text-align: center;
  border-bottom: 1px solid rgba(206, 214, 224, 0.12);
}

.page-hero-title {
  color: var(--white-pure);
  margin-bottom: 12px;
}

.page-hero-lead {
  font-size: 1.15rem;
  color: var(--silver-metallic);
  max-width: 680px;
  margin: 0 auto 20px auto;
}

.breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--silver-metallic);
}

.breadcrumb-trail a {
  color: var(--blue-electric);
}

.breadcrumb-trail a:hover {
  color: var(--white-pure);
}

/* --------------------------------------------------------------------------
   SPLIT SECTIONS & INTRODUCTIONS
-------------------------------------------------------------------------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.split-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image-wrapper img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-normal);
}

.split-image-wrapper:hover img {
  transform: scale(1.02);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-item i {
  color: var(--blue-electric);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CATEGORY CARDS (HOMEPAGE & BROWSE)
-------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.category-card {
  background: var(--white-pure);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-royal);
}

.category-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--navy-deep);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-thumb img {
  transform: scale(1.06);
}

.category-badge-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 26, 47, 0.85);
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(22, 135, 217, 0.4);
}

.category-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.category-card:hover .category-title {
  color: var(--blue-royal);
}

.category-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.category-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US / FEATURES GRID
-------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background: var(--white-pure);
  border-radius: var(--border-radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-electric);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(20, 85, 163, 0.08);
  color: var(--blue-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.feature-box:hover .feature-icon-wrapper {
  background: var(--blue-royal);
  color: var(--white-pure);
}

.feature-box h4 {
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   MANUFACTURING TIMELINE & PROCESS STEPS
-------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-step-card {
  background: var(--navy-graphite);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  border-color: var(--blue-electric);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(22, 135, 217, 0.15);
  color: var(--blue-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.process-step-card h4 {
  color: var(--white-pure);
  margin-bottom: 10px;
}

.process-step-card p {
  color: var(--silver-metallic);
  font-size: 0.92rem;
}

/* Detailed Process Layout for Manufacturing Page */
.timeline-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.timeline-block:nth-child(even) {
  direction: rtl;
}

.timeline-block:nth-child(even) .timeline-content {
  direction: ltr;
}

.timeline-block:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  display: inline-block;
  background: var(--blue-royal);
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.timeline-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   PRODUCTS CATALOG & FILTERING
-------------------------------------------------------------------------- */
.catalog-controls {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box-wrapper {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-box-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background: var(--white-pure);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-box-wrapper input:focus {
  border-color: var(--blue-royal);
  box-shadow: 0 0 0 3px rgba(20, 85, 163, 0.15);
}

.search-box-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--white-soft);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: #edf2f7;
}

.filter-btn.active {
  background: var(--navy-deep);
  color: var(--white-pure);
  border-color: var(--navy-deep);
}

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

.product-card {
  background: var(--white-pure);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-royal);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue-royal);
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-category-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 26, 47, 0.85);
  color: var(--silver-metallic);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-subtitle {
  font-size: 0.85rem;
  color: var(--blue-electric);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-summary {
  background: var(--white-soft);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 18px;
  border-left: 3px solid var(--blue-royal);
}

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

.product-inquiry-btn {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   PRODUCT DETAIL MODAL
-------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 26, 47, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white-pure);
  border-radius: var(--border-radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.is-active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white-soft);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--navy-deep);
  color: var(--white-pure);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  padding: 30px;
}

.modal-gallery-main {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
  margin-bottom: 12px;
}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-specs-table {
  width: 100%;
  font-size: 0.88rem;
  border-collapse: collapse;
  margin: 16px 0;
}

.modal-specs-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-color);
}

.modal-specs-table td:first-child {
  font-weight: 700;
  color: #475569;
  width: 35%;
}

/* --------------------------------------------------------------------------
   GALLERY & LIGHTBOX
-------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--navy-deep);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 26, 47, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white-pure);
  font-size: 0.95rem;
  font-weight: 700;
}

.gallery-category {
  color: var(--blue-electric);
  font-size: 0.8rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 26, 47, 0.95);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-top: 14px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white-pure);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--blue-royal);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white-pure);
  font-size: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   FORMS & INPUTS
-------------------------------------------------------------------------- */
.form-card {
  background: var(--white-pure);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 36px;
}

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

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

.form-group.col-full {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.form-label .req {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--white-pure);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--blue-royal);
  box-shadow: 0 0 0 3px rgba(20, 85, 163, 0.15);
}

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

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-status-alert {
  padding: 14px 18px;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

.form-status-alert.alert-success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
  display: block;
}

.form-status-alert.alert-error {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #F8B4B4;
  display: block;
}

/* --------------------------------------------------------------------------
   CONTACT INFO CARDS & MAP
-------------------------------------------------------------------------- */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card {
  background: var(--white-pure);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-royal);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(20, 85, 163, 0.1);
  color: var(--blue-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-card h4 {
  font-size: 1.1rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-card a:hover {
  color: var(--blue-royal);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 420px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   WHOLESALE & B2B HIGHLIGHTS
-------------------------------------------------------------------------- */
.b2b-hero-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #10335e 100%);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  color: var(--white-pure);
  margin-bottom: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.b2b-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.b2b-card {
  background: var(--white-pure);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.b2b-card h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-royal);
}

/* --------------------------------------------------------------------------
   FOOTER
-------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-deep);
  color: var(--silver-metallic);
  padding: 70px 0 0 0;
  border-top: 1px solid rgba(206, 214, 224, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--white-pure);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--blue-electric);
}

.footer-brand p {
  color: var(--silver-metallic);
  font-size: 0.92rem;
  margin: 16px 0 20px 0;
  max-width: 320px;
}

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

.footer-links a {
  color: var(--silver-metallic);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white-pure);
  transform: translateX(4px);
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--blue-electric);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--silver-metallic);
}

.footer-contact-item i {
  color: var(--blue-electric);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--silver-metallic);
}

.footer-contact-item a:hover {
  color: var(--white-pure);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 16px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--silver-metallic);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  background: var(--blue-royal);
  color: var(--white-pure);
}

/* --------------------------------------------------------------------------
   CALL TO ACTION BANNER (WHOLESALE CTA)
-------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #092544 0%, #1455A3 100%);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 135, 217, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 650px;
}

.cta-title {
  color: var(--white-pure);
  margin-bottom: 12px;
}

.cta-desc {
  color: var(--silver-metallic);
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

