/* ==========================================================================
   NIGAM PHARMACHEM INDUSTRIES - DESIGN SYSTEM & MASTER STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & ROOT DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --primary: #07191D;
  --primary-rgb: 7, 25, 29;
  --primary-light: #0D262C;
  --secondary: #0B806D;
  --secondary-rgb: 11, 128, 109;
  --accent: #12C7A5;
  --accent-rgb: 18, 199, 165;
  --accent-glow: rgba(18, 199, 165, 0.25);
  
  /* Surfaces & Backgrounds */
  --background: #F5F8F8;
  --white: #FFFFFF;
  --dark-surface: #0A2227;
  --dark-card: #0D2B32;
  --dark-border: rgba(18, 199, 165, 0.18);

  /* Typography Colors */
  --text: #102124;
  --text-muted: #5C6E72;
  --text-light: #94A8AB;
  --border: #DCE5E5;
  
  /* Typography */
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(7, 25, 29, 0.04);
  --shadow-md: 0 8px 24px rgba(7, 25, 29, 0.08);
  --shadow-lg: 0 16px 40px rgba(7, 25, 29, 0.12);
  --shadow-glow: 0 0 30px rgba(18, 199, 165, 0.2);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 700ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Container Widths */
  --container-max: 1320px;
  --header-height: 84px;
  --header-height-scrolled: 68px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light dark;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus Visible Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}



/* --------------------------------------------------------------------------
   3. LAYOUT CONTAINERS & GRID
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}

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

.section-muted {
  background-color: #EBF0F0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-split {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY & BADGES
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .badge {
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(18, 199, 165, 0.12);
  color: var(--accent);
  border: 1px solid rgba(18, 199, 165, 0.3);
  margin-bottom: 1rem;
  width: fit-content;
}

.badge-dark {
  background: rgba(11, 128, 109, 0.15);
  color: var(--secondary);
  border-color: rgba(11, 128, 109, 0.25);
}

.h1, h1 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.h2, h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

.h3, h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
 /* color: var(--text-muted);*/
  line-height: 1.7;
  max-width: 880px;
}

.section-dark .lead {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   5. BUTTONS & UI INTERACTION
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 199, 165, 0.4);
  color: var(--primary);
}

.btn-primary .btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(18, 199, 165, 0.08);
}

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

.btn-outline-dark:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(11, 128, 109, 0.05);
}

.btn-sm {
  padding: 0.6rem 1.35rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(7, 25, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 199, 165, 0.12);
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(7, 25, 29, 0.96);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(18, 199, 165, 0.25);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand img {
  height: 56px;
  width: auto;
  transition: height var(--transition-normal);
}

.header.scrolled .nav-brand img {
  height: 46px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  list-style: none;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(18, 199, 165, 0.1);
  color: var(--accent);
  padding-left: 1.75rem;
}

/* Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: radial-gradient(circle at 75% 30%, #0D323A 0%, #07191D 70%);
  color: var(--white);
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 1.0rem;
  letter-spacing: -0.025em;
  color: var(--white);
}

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

.hero-text {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 0 35px rgba(18, 199, 165, 0.25));
  animation: floatSlow 8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   8. STATISTICS BANNER
   -------------------------------------------------------------------------- */
.stats-banner {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 3rem 0;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
  border-right: 1px solid var(--dark-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. CARDS & CONTENT BLOCKS
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 128, 109, 0.3);
}

.card-dark {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: var(--white);
}

.card-dark:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(11, 128, 109, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-dark .card-icon {
  background: rgba(18, 199, 165, 0.15);
  color: var(--accent);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.card-dark .card-title {
  color: var(--white);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-dark .card-text {
  color: var(--text-light);
}

/* Product Cards */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 199, 165, 0.4);
}

.product-card:hover::before {
  opacity: 1;
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-cas {
  font-size: 0.875rem;
  font-family: monospace;
  color: var(--text-muted);
  background: rgba(7, 25, 29, 0.05);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
  width: fit-content;
}

.product-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   10. PRODUCT SEARCH & FILTER CONTROL BAR
   -------------------------------------------------------------------------- */
.filter-bar {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-box input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  background: var(--background);
  transition: all var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 128, 109, 0.15);
}

.search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--primary);
  background: rgba(7, 25, 29, 0.05);
}

.filter-tab.active {
  background: var(--primary);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   11. TIMELINE & PROCESS STEPS (QUALITY / INFRASTRUCTURE)
   -------------------------------------------------------------------------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px rgba(18, 199, 165, 0.2);
  transition: transform var(--transition-fast);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: var(--secondary);
  color: var(--white);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. CONTACT FORM & MAP PLACEHOLDER
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(18, 199, 165, 0.1);
  pointer-events: none;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 199, 165, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.info-content p, .info-content a {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-content a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--background);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 128, 109, 0.15);
}

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

.form-error {
  color: #D9381E;
  font-size: 0.8125rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.error .form-control {
  border-color: #D9381E;
}

.form-group.error .form-error {
  display: block;
}

/* --------------------------------------------------------------------------
   13. PRODUCT DETAILS MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 25, 29, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-fast);
  position: relative;
}

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

.modal-header {
  padding: 2rem 2.25rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-body {
  padding: 2rem 2.25rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.spec-table th, .spec-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
}

.spec-table th {
  background: var(--background);
  color: var(--primary);
  font-weight: 700;
  width: 35%;
}

.spec-table td {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--primary);
  color: var(--white);
  border-top: 1px solid var(--dark-border);
  padding-top: 5rem;
  padding-bottom: 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-about img {
  height: 68px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-bottom a {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   15. UTILITIES & BACK TO TOP
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-4px);
}
