/* ==========================================================================
   J. K. ENGG. WORKS - INDUSTRIAL MANUFACTURING & FABRICATION WEBSITE
   Main Stylesheet: assets/css/style.css
   Pure CSS3 with custom properties, responsive layout, and industrial theme
   ========================================================================== */

:root {
  --primary: #0f1e36;
  --primary-dark: #0a1424;
  --primary-light: #1a2f50;
  --secondary: #1d4ed8;
  --secondary-dark: #1e40af;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-light: #ffedd5;
  --dark: #070e1a;
  --dark-surface: #0f1c2e;
  --dark-card: #15243a;
  --light: #f8fafc;
  --light-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;
  --border: #e2e8f0;
  --border-dark: #1e334f;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 30, 54, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 30, 54, 0.12);
  --shadow-xl: 0 20px 40px rgba(15, 30, 54, 0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--light);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-sm {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-dark {
  background-color: var(--dark);
  color: var(--text-inverse);
  position: relative;
}

.section-navy {
  background-color: var(--primary);
  color: var(--text-inverse);
}

.section-light {
  background-color: #ffffff;
}

.section-grey {
  background-color: var(--light);
}

/* --------------------------------------------------------------------------
   SECTION HEADINGS & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 48px;
  max-width: 780px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--accent);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-dark .section-title,
.section-navy .section-title {
  color: #ffffff;
}

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

.section-dark .section-desc,
.section-navy .section-desc {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   BUTTONS & CTAS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   STICKY HEADER & TOP BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.top-bar {
  background-color: var(--dark);
  color: var(--text-light);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.top-bar-item:hover {
  color: var(--accent);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.top-bar-tag {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

/* Main Navigation Bar */
.main-header {
  padding: 14px 0;
  background-color: #ffffff;
}

.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a63 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 3px 8px rgba(15, 30, 54, 0.2);
}

.brand-mark-text {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background-color: #f1f5f9;
}

.nav-link.active {
  color: var(--accent);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger button */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--primary);
}

.hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* --------------------------------------------------------------------------
   HERO SECTION (HOME) - PREVIOUS LIGHT LAYOUT
   -------------------------------------------------------------------------- */
.hero,
.hero-section {
  background-color: #ffffff;
  color: var(--text);
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  background: rgba(249, 115, 22, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.hero-eyebrow-line {
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: var(--accent);
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero-desc,
.hero-lead {
  font-size: 16.5px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

.stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 30, 54, 0.15);
  border: 1px solid var(--border);
  background: #f8fafc;
}

.hero-image-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 30, 54, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.hero-badge-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.hero-badge-sub {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   TRUST INDICATORS BAR
   -------------------------------------------------------------------------- */
.trust-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-right: 1px solid var(--border);
}

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

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   ABOUT PREVIEW SECTION
   -------------------------------------------------------------------------- */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-preview-image {
  position: relative;
}

.about-preview-image img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.experience-tag {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--primary);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.experience-tag-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.experience-tag-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-bullets {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-bullet-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.about-bullet-text {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   PRODUCT CARDS & GRIDS
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(249, 115, 22, 0.4);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #f1f5f9;
}

.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-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 30, 54, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent);
}

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

.product-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

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

.feature-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.4);
  background-color: var(--dark-card);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 1px;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   INDUSTRIES GRID
   -------------------------------------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.3);
}

.industry-card-img {
  height: 210px;
  position: relative;
  overflow: hidden;
}

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

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

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 30, 54, 0.8) 0%, transparent 60%);
}

.industry-card-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.industry-card-body {
  padding: 22px;
}

.industry-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.industry-apps-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.industry-apps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-app-tag {
  font-size: 12px;
  background: #f1f5f9;
  color: var(--text);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

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

/* --------------------------------------------------------------------------
   VIDEO GALLERY GRID (RESPONSIVE)
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.4);
}

.video-player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0f1e36;
  overflow: hidden;
}

.video-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  width: fit-content;
}

.video-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.video-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

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

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: #f1f5f9;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 30, 54, 0.95) 0%, rgba(15, 30, 54, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.gallery-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.gallery-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.9);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 14, 26, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--dark-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.lightbox-content img {
  max-height: 70vh;
  width: 100%;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  padding: 18px 24px;
  background: var(--dark-surface);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   CALL TO ACTION SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  background-color: var(--primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(29, 78, 216, 0.2) 0%, transparent 50%),
    linear-gradient(to right, #0f1e36, #162c4e);
  color: #ffffff;
  padding: 70px 0;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

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

.cta-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-desc {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
}

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

.cta-contact-quick {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-quick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #e2e8f0;
  font-weight: 600;
}

.cta-quick-item:hover {
  color: var(--accent);
}

.cta-quick-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   FOUR-COLUMN FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark);
  color: var(--text-light);
  padding-top: 70px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 24px;
  margin-top: 16px;
}

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

.footer-link {
  font-size: 14px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-link::before {
  content: "›";
  color: var(--accent);
  font-weight: 700;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #94a3b8;
}

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

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

.footer-bottom {
  background-color: #04080f;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

/* --------------------------------------------------------------------------
   INNER PAGE HERO BANNER
   -------------------------------------------------------------------------- */
.page-hero {
  background-color: var(--dark);
  background-image: 
    radial-gradient(circle at 80% 50%, rgba(29, 78, 216, 0.2) 0%, transparent 60%),
    linear-gradient(to right, rgba(15, 30, 54, 0.95), rgba(7, 14, 26, 0.98)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 40px);
  color: #ffffff;
  padding: 56px 0;
  border-bottom: 3px solid var(--accent);
}

.page-hero-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.page-hero-desc {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 16px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #cbd5e1;
}

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

.breadcrumbs span {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   FILTER TABS (PRODUCTS & PROJECTS)
   -------------------------------------------------------------------------- */
.filter-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--primary);
  background: #f8fafc;
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(15, 30, 54, 0.2);
}

/* --------------------------------------------------------------------------
   PRODUCT DETAILS PAGE
   -------------------------------------------------------------------------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-main-image {
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f1f5f9;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  gap: 12px;
}

.product-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.product-thumb.active {
  border-color: var(--accent);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
}

.product-badge-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-bottom: 12px;
}

.product-detail-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.product-detail-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-features-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.product-features-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.feature-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.feature-check-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Technical Specs Table */
.specs-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

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

.specs-table th, .specs-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: #f8fafc;
  color: var(--primary);
  font-weight: 700;
  width: 40%;
}

.specs-table td {
  color: var(--text);
  font-weight: 500;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   FORMS (ENQUIRY & CONTACT)
   -------------------------------------------------------------------------- */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

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

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

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

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

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

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

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

.form-alert.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Contact Info Cards */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card-text a {
  color: var(--primary);
  font-weight: 600;
}

.contact-card-text a:hover {
  color: var(--accent);
}

/* Map area */
.map-container {
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e2e8f0;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

/* --------------------------------------------------------------------------
   BROCHURE DOWNLOAD PAGE
   -------------------------------------------------------------------------- */
.brochure-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.brochure-preview {
  background: var(--dark);
  border-radius: var(--radius-md);
  padding: 36px;
  color: #ffffff;
  border: 1px solid var(--border-dark);
  position: relative;
  box-shadow: var(--shadow-xl);
  border-top: 4px solid var(--accent);
}

.brochure-preview-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.brochure-preview-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.brochure-preview-sub {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.brochure-toc {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brochure-toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
}

.brochure-toc-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-frame img {
    height: 380px;
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

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

  .cta-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .cta-contact-quick {
    justify-content: center;
  }

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

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .brochure-card {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (Below 768px) */
@media (max-width: 767px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .top-bar {
    display: none; /* Hide top bar on mobile for clean viewport */
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-link.active::after {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .header-actions .btn {
    display: none; /* In navbar, shown inside drawer or quick tap */
  }

  .nav-menu .mobile-cta-wrap {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero,
  .hero-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc,
  .hero-lead {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1 1 40%;
  }

  .hero-image-frame img {
    height: 280px;
  }

  .section-title {
    font-size: 26px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-card {
    padding: 24px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .feature-check-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Small mobile (Below 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 10px;
  }
}
