/* ==========================================================================
   Penna Polymer Products - Premium Modern Design System
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Identity - Penna Crimson Red & Corporate Slate Navy */
  --primary: #d90429;
  --primary-dark: #b90424;
  --primary-light: #ef233c;
  --primary-soft: rgba(217, 4, 41, 0.08);
  
  --navy: #0f172a;
  --navy-light: #1e293b;
  --accent: #0284c7;
  --accent-soft: rgba(2, 132, 199, 0.1);
  --success: #10b981;

  /* Surfaces & Backgrounds */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);

  /* Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.28;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd5e1;
}

.topbar-item a {
  color: #cbd5e1;
}

.topbar-item a:hover {
  color: #fff;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: #38bdf8;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
}

/* ==========================================================================
   NAVBAR REDESIGN
   ========================================================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
  text-decoration: none;
}

.brand-logo img {
  height: 110px;
  width: auto;
  max-width: 290px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  color: #334155;
  font-weight: 500;
  font-size: 15.5px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: -0.1px;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(217, 4, 41, 0.06);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(217, 4, 41, 0.08);
}

.nav-cta-item {
  margin-left: 10px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#nav-btn-quote {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 14px rgba(217, 4, 41, 0.28);
  transition: all 0.25s ease;
}

#nav-btn-quote:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.38);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 10px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.nav-toggle:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
  transition: all 0.25s ease;
  border-radius: 2px;
}

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

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

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 4, 41, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 4, 41, 0.35);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--navy);
  border-color: #94a3b8;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary) 0%, #ef233c 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 4, 41, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--navy) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14.5px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 17.5px;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   DEALER & COMMERCIAL CTA SECTION
   ========================================================================== */
.dealer-cta-section {
  background: #0f172a;
  color: #ffffff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.dealer-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 4, 41, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dealer-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.dealer-cta-content {
  max-width: 680px;
}

.dealer-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(217, 4, 41, 0.18);
  color: #ff6b6b;
  border: 1px solid rgba(217, 4, 41, 0.3);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.dealer-cta-content h2 {
  font-size: 32px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.dealer-cta-content p {
  color: #cbd5e1;
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.dealer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: #94a3b8;
}

.dealer-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.dealer-features svg {
  color: #10b981;
}

.dealer-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}


/* ==========================================================================
   HERO IMAGE SLIDER (DYNAMIC MODERN SLIDESHOW WITH REAL PRODUCT IMAGERY)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: #0f172a;
  color: #ffffff;
  overflow: hidden;
  min-height: 560px;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.04);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.82) 46%, rgba(15, 23, 42, 0.5) 75%, rgba(15, 23, 42, 0.25) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 50px 0;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 4, 41, 0.22);
  border: 1px solid rgba(217, 4, 41, 0.45);
  color: #ff8585;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  backdrop-filter: blur(4px);
}

.hero-slide-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-slide-title span {
  background: linear-gradient(135deg, #ff4d6d 0%, #ff758f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slide-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  color: #f1f5f9;
  backdrop-filter: blur(4px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--primary);
  width: 44px;
}

/* ==========================================================================
   INTERACTIVE TANK SIZING CALCULATOR BAR
   ========================================================================== */
.spec-calculator-section {
  background: #ffffff;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.spec-calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.capacity-selector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.capacity-pill {
  padding: 7px 15px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.capacity-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.capacity-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(217, 4, 41, 0.25);
}

.spec-calc-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
}

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

.spec-display-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.spec-display-val {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.spec-display-sub {
  font-size: 11.5px;
  color: #64748b;
}

/* ==========================================================================
   HERO SECTION REDESIGN (CLEAN STUDIO LIGHT AESTHETIC - NO HARSH BLUE)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 75% 25%, rgba(2, 132, 199, 0.08) 0%, transparent 55%),
              radial-gradient(circle at 10% 85%, rgba(217, 4, 41, 0.05) 0%, transparent 45%),
              linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--text-main);
  padding: 70px 0 80px;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #ef233c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17.5px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  text-align: center;
}

.hero-visual img {
  max-height: 440px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.15));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-floating-card {
  position: absolute;
  bottom: 10px;
  left: -20px;
  background: #ffffff;
  color: var(--text-main);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-card .icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   PAGE HEROES (CLEAN SLATE NAVY FOR INNER PAGES)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 40px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 17.5px;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   SECTION COMMONS
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-subtle);
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  contain: paint;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.category-card-img {
  background: #f8fafc;
  padding: 24px 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  isolation: isolate;
}

.category-card-img img {
  max-height: 195px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.35s ease;
  display: block;
}

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

.category-badge-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  pointer-events: none;
}

.category-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card-body h3 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

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

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #fca5a5;
}

.product-thumb {
  background: #ffffff;
  padding: 16px;
  position: relative;
  text-align: center;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.product-thumb img {
  max-height: 195px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: var(--transition);
}

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

.product-color-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.product-layer-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.product-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.product-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.spec-chip {
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   TECHNOLOGY LAYER SECTION
   ========================================================================== */
.tech-banner {
  background: #0f172a;
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-xl);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.tech-content h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 16px;
}

.tech-content p {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 24px;
}

.tech-layer-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-layer-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  border-radius: var(--radius-md);
}

.tech-layer-num {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.tech-layer-desc h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 2px;
}

.tech-layer-desc p {
  color: #94a3b8;
  font-size: 13.5px;
  margin-bottom: 0;
}

.tech-img-box {
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tech-img-box img {
  max-height: 400px;
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

/* ==========================================================================
   SPECIFICATIONS TABLE
   ========================================================================== */
.specs-table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.specs-table th {
  background: #0f172a;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 2px solid var(--primary);
}

.specs-table th.subhead {
  background: #1e293b;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.specs-table tr:hover td {
  background: #f8fafc;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.product-detail-gallery {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: sticky;
  top: 95px;
}

.product-detail-gallery img {
  max-height: 440px;
  margin: 0 auto;
}

.product-detail-info h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

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

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-dark { background: #0f172a; color: #fff; }

.variant-picker {
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
}

.variant-picker h4 {
  font-size: 13.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.capacity-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capacity-btn {
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.capacity-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.capacity-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(217, 4, 41, 0.3);
}

.selected-variant-card {
  margin-top: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.selected-variant-card .spec-item small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.selected-variant-card .spec-item strong {
  font-size: 15px;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: #fff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.12);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 70px 0 0;
  font-size: 14.5px;
  border-top: 1px solid #1e293b;
}

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

.footer-col {
  min-width: 0;
}

.footer-brand-logo {
  max-width: 240px;
  height: auto;
  display: block;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links a {
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
}

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-menu {
    gap: 10px;
  }
  .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-floating-card {
    display: none;
  }
  .spec-calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-gallery {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) and (min-width: 1021px) {
  .navbar-container {
    gap: 10px;
  }
  .brand-logo img {
    height: 40px;
    max-width: 250px;
  }
  .nav-menu {
    gap: 3px;
  }
  .nav-link {
    font-size: 14.5px;
    padding: 7px 11px;
  }
  #nav-btn-quote {
    padding: 9px 16px;
    font-size: 14px;
  }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 6px;
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 2px solid var(--border-color);
    animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 11px 16px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
  }
  .nav-cta-item {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }
  #nav-btn-quote {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15.5px;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero-slider-section {
    min-height: 520px;
  }
  .hero-slider-container {
    height: 520px;
  }
  .hero-slide-title {
    font-size: 32px;
  }
  .hero-slide-subtitle {
    font-size: 15px;
  }
  .slider-btn {
    display: none;
  }
  .spec-calc-display {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar {
    display: none;
  }
  .hero-title {
    font-size: 34px;
  }
  .section-title {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .hero-slider-section {
    min-height: 560px;
  }
  .hero-slider-container {
    height: 560px;
  }
  .hero-slide-title {
    font-size: 26px;
  }
  .spec-calc-display {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Floating Contact Actions Stack (Phone Call & WhatsApp)
   ========================================================================== */
.floating-contact-stack {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  z-index: 9999;
}

/* Base Floating Action Button */
.phone-float,
.whatsapp-float {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  user-select: none;
}

/* Phone Call Floating Button (On Top) */
.phone-float {
  background: linear-gradient(135deg, #0a369d 0%, #031b4e 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -2px rgba(10, 54, 157, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.phone-float:hover {
  transform: scale(1.1) translateY(-3px);
  color: #ffffff;
  box-shadow: 0 14px 30px -4px rgba(10, 54, 157, 0.7), 0 8px 16px rgba(0, 0, 0, 0.25);
}

.phone-float:active {
  transform: scale(0.95);
}

.phone-icon {
  width: 25px;
  height: 25px;
  fill: #ffffff;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  animation: phone-shake 4s infinite ease-in-out;
}

@keyframes phone-shake {
  0%, 82%, 100% {
    transform: rotate(0deg);
  }
  85% {
    transform: rotate(14deg);
  }
  88% {
    transform: rotate(-14deg);
  }
  91% {
    transform: rotate(10deg);
  }
  94% {
    transform: rotate(-10deg);
  }
  97% {
    transform: rotate(4deg);
  }
}

.phone-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0a369d;
  opacity: 0.6;
  z-index: 1;
  animation: phone-pulse-anim 2.4s infinite ease-out;
  pointer-events: none;
}

@keyframes phone-pulse-anim {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.phone-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  padding: 8px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.phone-float:hover .phone-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* WhatsApp Floating Button (Below Phone) */
.whatsapp-float {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  color: #ffffff;
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.65), 0 8px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  z-index: 1;
  animation: wa-pulse 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  60% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  padding: 8px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .floating-contact-stack {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .phone-float,
  .whatsapp-float {
    width: 52px;
    height: 52px;
  }
  .phone-icon {
    width: 23px;
    height: 23px;
  }
  .whatsapp-icon {
    width: 29px;
    height: 29px;
  }
  .phone-tooltip,
  .whatsapp-tooltip {
    display: none;
  }
}


