/* ==========================================================================
   Valora Manufacturing - Custom Premium Enhancements
   Theme: Black & Charcoal with Electric Blue / Cyan Accents
   ========================================================================== */

:root {
  --primary-dark: #0a0a0a;
  --surface-dark: #121212;
  --surface-card: #161616;
  --surface-card-hover: #1c1c1c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(var(--accent-rgb), 0.4);
  --accent-color: var(--accent-color);
  --accent-cyan: var(--accent-color);
  --accent-glow: rgba(var(--accent-rgb), 0.35);
  --accent-glow-subtle: rgba(var(--accent-rgb), 0.15);
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  background: rgba(10, 10, 10, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  height: 80px;
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.96) !important;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  height: 72px;
}

.header .logo svg {
  height: 38px;
  width: 24px;
  max-height: 38px;
  flex-shrink: 0;
  transform: none !important;
  transition: transform 0.2s ease;
}

.header .logo:hover svg {
  transform: scale(1.04) !important;
}

.navmenu ul {
  gap: 8px;
}

.navmenu a {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: #d1d5db !important;
  padding: 8px 12px !important;
  transition: color 0.25s ease;
}

.navmenu a:hover,
.navmenu a.active {
  color: #ffffff !important;
}

.navmenu a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  width: auto !important;
  height: 2px;
  background: transparent;
  transition: all 0.25s ease;
  transform: none !important;
  border-radius: 2px;
}

.navmenu a:hover::after,
.navmenu a.active::after {
  background: var(--accent-color);
  width: auto !important;
  transform: none !important;
}

.btn-getstarted {
  background: var(--accent-color) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 9px 24px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
  transition: all 0.25s ease !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-getstarted:hover {
  background: #0088e8 !important;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.55);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: #060606;
  overflow: hidden;
  padding: 120px 0 80px 0;
}

.hero > img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
}

.hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #060606 0%, rgba(6, 6, 6, 0.92) 36%, rgba(6, 6, 6, 0.45) 60%, rgba(6, 6, 6, 0.15) 80%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  z-index: 3;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 820px;
}

.hero-title .highlight-blue {
  color: var(--accent-color);
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #9ca3af;
  max-width: 680px;
  line-height: 1.65;
  margin-top: 18px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary {
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: #008be0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.6);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Section Common Titles & Badges
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
  background-color: var(--primary-dark);
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-heading {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-intro {
  color: #9ca3af;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 740px;
}

/* --------------------------------------------------------------------------
   Products Section
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.portfolio-filters li {
  cursor: pointer;
  padding: 7px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}

.portfolio-filters li:hover {
  color: #ffffff;
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.06);
}

.portfolio-filters li.filter-active {
  background: var(--accent-color) !important;
  color: #ffffff !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.4);
}

.product-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(var(--accent-rgb), 0.12);
}

.product-card-img-wrap {
  position: relative;
  background: #0e0e0e;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #141414;
  flex-grow: 1;
}

.product-card-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.moq-pill {
  display: inline-block;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: #00b4ff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
  letter-spacing: 0.3px;
}

.product-card-footer {
  padding: 0 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141414;
}

.btn-product-spec {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-product-spec:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* --------------------------------------------------------------------------
   Production Facts Grid
   -------------------------------------------------------------------------- */
.production-facts-grid {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.fact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 10px;
  position: relative;
}

.fact-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.fact-icon {
  font-size: 1.6rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fact-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.fact-value {
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
}

@media (max-width: 991px) {
  .fact-item:not(:last-child)::after {
    display: none;
  }
  .production-facts-grid .col-md-4:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
  }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  height: 100%;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.03);
}

.about-content-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-left: 15px;
}

.about-lead-text {
  font-size: 1.05rem;
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-secondary-text {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Trusted Production & Certifications
   -------------------------------------------------------------------------- */
.trusted-production-section {
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trusted-production-box {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.cert-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.cert-card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.cert-img-wrap {
  width: 78px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.cert-text {
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.35;
}

.cert-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.experience-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
}

.experience-tag i {
  color: var(--accent-color);
}

.btn-gallery-view {
  background: transparent;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-gallery-view:hover {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 25px;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .trusted-production-box {
    padding: 22px 18px;
  }
  .cert-card {
    padding: 12px 14px;
    min-height: 64px;
  }
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.08);
}

.gallery-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-thumb:hover .gallery-thumb-overlay {
  opacity: 1;
}

.gallery-thumb-overlay i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Capabilities Section
   -------------------------------------------------------------------------- */
.capability-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--accent-rgb), 0.1);
}

.capability-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.capability-card:hover .capability-icon-wrap {
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.05);
}

.capability-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.capability-text {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   How We Work (Timeline Process)
   -------------------------------------------------------------------------- */
.how-we-work-section {
  background: #0d0d0d;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  gap: 16px;
  margin-top: 40px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.2) 0%, var(--accent-color) 50%, rgba(var(--accent-rgb), 0.2) 100%);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #141414;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
  transition: all 0.25s ease;
}

.process-step:hover .step-node {
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.6);
}

.step-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.step-desc {
  color: #9ca3af;
  font-size: 0.8rem;
  line-height: 1.5;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

@media (max-width: 991px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 20px;
  }
  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 41px;
    width: 2px;
    height: 100%;
  }
  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
  }
  .step-node {
    margin-bottom: 0;
    min-width: 42px;
  }
  .step-content {
    align-items: flex-start;
    text-align: left;
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   Contact Section & Form
   -------------------------------------------------------------------------- */
.contact-form-box {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.contact-form-box .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 6px;
}

.contact-form-box .form-control,
.contact-form-box .form-select {
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
  background-color: #1f1f1f;
  border-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.3);
  color: #ffffff;
}

.contact-form-box .form-control::placeholder {
  color: #555555;
}

.btn-send-enquiry {
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-send-enquiry:hover {
  background: #008be0;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.55);
}

.partner-highlight-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 10px;
  padding: 18px 20px;
  display: block;
  transition: all 0.25s ease;
}

.partner-highlight-card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.partner-highlight-card .highlight-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.partner-highlight-card .highlight-title i {
  color: var(--accent-color);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.partner-highlight-card p {
  color: #9ca3af;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #080808 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 25px;
}

.footer .sitename svg {
  height: 44px;
  width: auto;
}

.footer-tagline {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-facility-info {
  font-size: 0.88rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-facility-info a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.footer-facility-info a:hover {
  color: var(--accent-color);
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.footer-social-links a:hover {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Product Modal
   -------------------------------------------------------------------------- */
#productDetailsModal .modal-content {
  background-color: #121212;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

#productDetailsModal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#productDetailsModal .modal-img-wrap {
  background: #181818;
  border-radius: 8px;
  padding: 20px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#productDetailsModal .spec-list {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Enhancements
   ========================================================================== */

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer & Toggle Fixes (Below 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  /* Prevent header backdrop-filter from creating a containing block that traps position:fixed nav */
  body.mobile-nav-active .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  body.mobile-nav-active {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Full screen overlay container for mobile menu */
  body.mobile-nav-active .navmenu {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 8, 8, 0.96) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    z-index: 99990 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 85px 20px 40px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }

  /* The actual navigation menu list */
  body.mobile-nav-active .navmenu > ul {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    inset: auto !important;
    background: #141414 !important;
    border: 1px solid rgba(var(--accent-rgb), 0.3) !important;
    border-radius: 14px !important;
    padding: 16px 12px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(var(--accent-rgb), 0.12) !important;
    gap: 4px !important;
    list-style: none !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  body.mobile-nav-active .navmenu::-webkit-scrollbar,
  body.mobile-nav-active .navmenu > ul::-webkit-scrollbar {
    display: none !important;
  }

  body.mobile-nav-active .navmenu > ul li {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  body.mobile-nav-active .navmenu > ul li:last-child {
    border-bottom: none !important;
  }

  body.mobile-nav-active .navmenu > ul a {
    color: #e5e7eb !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    padding: 13px 16px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
  }

  body.mobile-nav-active .navmenu > ul a::after {
    display: none !important;
  }

  body.mobile-nav-active .navmenu > ul a:hover,
  body.mobile-nav-active .navmenu > ul a.active {
    color: var(--accent-color) !important;
    background: rgba(var(--accent-rgb), 0.08) !important;
    padding-left: 20px !important;
  }

  /* Mobile CTA inside menu */
  .btn-nav-mobile-cta {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    justify-content: center !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    padding: 12px 20px !important;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.4) !important;
    margin-top: 8px !important;
  }

  .btn-nav-mobile-cta:hover {
    background: #0088e8 !important;
    color: #ffffff !important;
  }

  /* Hamburger toggle button */
  .mobile-nav-toggle {
    font-size: 26px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    margin-left: 8px;
    flex-shrink: 0;
  }

  .mobile-nav-toggle:hover {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: var(--accent-color);
    color: var(--accent-color);
  }

  body.mobile-nav-active .mobile-nav-toggle {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 26px !important;
    color: var(--accent-color) !important;
    background: rgba(var(--accent-rgb), 0.12) !important;
    border: 1px solid rgba(var(--accent-rgb), 0.4) !important;
    z-index: 100000 !important;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4) !important;
  }

  /* Hide header elements when menu is open so close X never overlaps them */
  body.mobile-nav-active .btn-getstarted,
  body.mobile-nav-active .header .logo {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Compact header sizing */
  .header {
    height: 72px;
  }

  .header .logo svg {
    height: 40px;
  }

  .header .logo span {
    font-size: 1.05rem !important;
  }

  .btn-getstarted {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
    gap: 5px !important;
  }
}

/* --------------------------------------------------------------------------
   Narrow Mobile Sizing (< 576px and down to 320px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .header {
    height: 64px;
  }

  .header .logo svg {
    height: 32px;
  }

  .header .logo span:first-child {
    font-size: 0.92rem !important;
    letter-spacing: 1.5px !important;
  }

  .header .logo span:last-child {
    font-size: 0.5rem !important;
    letter-spacing: 1.8px !important;
  }

  .btn-getstarted {
    padding: 6px 11px !important;
    font-size: 0.74rem !important;
  }

  .mobile-nav-toggle {
    width: 36px;
    height: 36px;
    font-size: 22px;
    margin-left: 6px;
  }

  body.mobile-nav-active .mobile-nav-toggle {
    top: 15px !important;
    right: 15px !important;
    width: 38px !important;
    height: 38px !important;
  }

  /* Hero adjustments */
  .hero {
    padding: 95px 0 55px 0;
    min-height: auto;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.3px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 14px;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .hero .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.88) 50%, rgba(6, 6, 6, 0.96) 100%) !important;
  }

  /* Section Headings */
  .section {
    padding: 55px 0;
  }

  .section-heading {
    font-size: 1.85rem;
    margin-bottom: 10px;
  }

  .section-intro {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Product section */
  .portfolio-filters {
    gap: 6px;
    margin-bottom: 20px;
  }

  .portfolio-filters li {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .product-card-body {
    padding: 16px 14px 12px;
  }

  .product-card-footer {
    padding: 10px 14px 14px;
  }

  /* Production facts grid */
  .production-facts-grid {
    padding: 14px 8px;
    margin-top: 30px;
  }

  .fact-item {
    padding: 10px 4px;
  }

  .fact-icon {
    font-size: 1.35rem;
    margin-bottom: 6px;
  }

  .fact-label {
    font-size: 0.78rem;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  .fact-value {
    font-size: 0.72rem;
  }

  /* Timeline */
  .process-timeline {
    padding-left: 4px;
    gap: 22px;
    margin-top: 25px;
  }

  .process-timeline::before {
    left: 21px;
    top: 5px;
    bottom: 5px;
  }

  .process-step {
    gap: 14px;
  }

  .step-node {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.85rem;
  }

  .step-title {
    font-size: 0.92rem;
  }

  .step-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  /* Contact */
  .contact-form-box {
    padding: 22px 16px;
  }

  .btn-send-enquiry {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  /* Footer */
  .footer {
    padding: 45px 0 20px;
  }

  .footer-social-links {
    justify-content: flex-start !important;
  }
}
