/* ==========================================================================
   NOVOTEK ELECTRONICS - TRADITIONAL CORPORATE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Corporate Colors */
  --color-primary: #0A192F;
  /* Deep Corporate Navy */
  --color-primary-light: #1E293B;
  /* Slate Blue */
  --color-primary-dark: #020C1B;
  /* Obsidian Navy */
  --color-accent: #EA580C;
  /* Industrial Precision Amber/Orange */
  --color-accent-hover: #C2410C;
  /* Darker Amber */
  --color-accent-light: #FFF7ED;
  /* Soft Amber Glow */
  --color-tech-blue: #0284C7;
  /* Precision Electric Blue */
  --color-tech-blue-hover: #0369A1;
  --color-tech-light: #E0F2FE;

  /* Neutral Corporate Grayscale */
  --color-bg-main: #FFFFFF;
  --color-bg-subtle: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-border: #E2E8F0;
  --color-border-dark: #CBD5E1;

  --color-text-title: #0F172A;
  /* Obsidian Charcoal */
  --color-text-body: #475569;
  /* Slate Text */
  --color-text-muted: #64748B;
  /* Muted Corporate Slate */
  --color-text-light: #94A3B8;
  --color-text-white: #FFFFFF;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);

  /* Geometry & Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1280px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

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

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(234, 88, 12, 0.2);
  margin-bottom: 14px;
}

.section-tag.blue {
  color: var(--color-tech-blue);
  background: var(--color-tech-light);
  border-color: rgba(2, 132, 199, 0.2);
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  color: var(--color-text-title);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.section-header.text-left .section-subtitle {
  margin-left: 0;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

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

.top-bar-item:hover {
  color: #ffffff;
}

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

.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header-nav.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-fallback {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-title);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
  transform: translateY(-1px);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-outline {
  border: 2px solid var(--color-border-dark);
  color: var(--color-text-title);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: var(--color-bg-subtle);
  color: var(--color-primary);
}

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

.btn-outline-white:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-title);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0A192F 0%, #112240 60%, #1E293B 100%);
  color: #ffffff;
  padding: 90px 0 110px 0;
  overflow: hidden;
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(234, 88, 12, 0.1) 40%, transparent 70%);
  top: -100px;
  right: -50px;
  filter: blur(60px);
  pointer-events: none;
}

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

.hero-content h1 {
  font-size: 3.15rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.18;
}

.hero-content h1 span.highlight {
  color: #38BDF8;
  background: linear-gradient(90deg, #38BDF8, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: #CBD5E1;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge-item {
  display: flex;
  flex-direction: column;
}

.hero-badge-item strong {
  font-size: 1.65rem;
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-badge-item strong span {
  color: var(--color-accent);
}

.hero-badge-item span.lbl {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
}

.tech-showcase-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  backdrop-filter: blur(16px);
  position: relative;
}

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

.tech-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #34D399;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34D399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.tech-card-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #020C1B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tech-card-img-wrap img {
  max-height: 200px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.tech-showcase-card:hover .tech-card-img-wrap img {
  transform: scale(1.04);
}

.tech-specs-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spec-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-pill.active {
  background: rgba(2, 132, 199, 0.2);
  color: #38BDF8;
  border-color: rgba(2, 132, 199, 0.4);
}

.tech-card-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.tech-card-desc {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* ==========================================================================
   KEY PILLARS & VALUE PROPOSITION
   ========================================================================== */
.pillars-section {
  padding: 80px 0;
  background-color: var(--color-bg-main);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.pillar-card {
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.pillar-card:hover::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-tech-blue));
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tech-blue);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--color-primary);
  color: #ffffff;
}

.pillar-icon-box svg {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--color-text-title);
  line-height: 1.3;
}

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

/* ==========================================================================
   ABOUT COMPANY SECTION
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

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

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.about-badge-floating {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-width: 240px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-badge-floating strong {
  display: block;
  font-size: 2.25rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.about-badge-floating span {
  font-size: 0.875rem;
  color: #CBD5E1;
  font-weight: 500;
  line-height: 1.35;
}

.about-points {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.point-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.point-icon svg {
  width: 14px;
  height: 14px;
}

.point-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text-title);
  margin-bottom: 2px;
}

.point-text span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   WHAT WE DO / 4-STEP CAPABILITY LIFECYCLE
   ========================================================================== */
.capabilities-section {
  padding: 100px 0;
  background-color: var(--color-bg-main);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

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

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-tech-blue);
}

.process-card-header {
  padding: 18px 20px 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-bg-alt);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-tech-blue);
}

.process-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.process-image-wrap {
  height: 175px;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  position: relative;
}

.process-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.process-card:hover .process-image-wrap img {
  transform: scale(1.08);
}

.process-card-body {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-text-title);
  line-height: 1.3;
}

.process-list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-body);
  line-height: 1.4;
}

.process-list li svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--color-tech-blue);
  margin-top: 2px;
}

/* ==========================================================================
   PRODUCTS & HARDWARE SOLUTIONS
   ========================================================================== */
.products-section {
  padding: 100px 0;
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  color: var(--color-text-title);
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  background: var(--color-bg-alt);
}

.filter-tab.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.product-thumb-wrap {
  height: 250px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.product-thumb-wrap img {
  max-height: 200px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-badge-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

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

.product-title {
  font-size: 1.35rem;
  color: var(--color-text-title);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.product-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-body);
  font-weight: 500;
}

.product-features-list li svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

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

/* ==========================================================================
   CLIENTS & TRUSTED PARTNERS MARQUEE & GRID
   ========================================================================== */
.clients-section {
  padding: 90px 0;
  background-color: var(--color-bg-main);
  overflow: hidden;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}

.client-logo-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.client-logo-card img {
  max-height: 52px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all var(--transition-normal);
}

.client-logo-card:hover {
  background: #ffffff;
  border-color: var(--color-tech-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   SECTORS & INDUSTRIES WE SERVE
   ========================================================================== */
.sectors-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #0A192F 0%, #0F172A 100%);
  color: #ffffff;
}

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

.sector-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition-normal);
}

.sector-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(2, 132, 199, 0.5);
  transform: translateY(-5px);
}

.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.2);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.sector-icon svg {
  width: 24px;
  height: 24px;
}

.sector-card h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.sector-card p {
  color: #94A3B8;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==========================================================================
   PROJECT & HARDWARE GALLERY (LIGHTBOX READY)
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: var(--color-bg-subtle);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  background: #0F172A;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.gallery-item.span-2 {
  grid-column: span 2;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.92) 0%, rgba(10, 25, 47, 0.3) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: opacity var(--transition-normal);
}

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

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

.gallery-item-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.gallery-item-cat {
  color: #38BDF8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   TECHNICAL QUALITY & SPECIFICATIONS
   ========================================================================== */
.quality-section {
  padding: 90px 0;
  background-color: var(--color-bg-main);
}

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

.specs-table-card {
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th {
  background: var(--color-primary);
  color: #ffffff;
  text-align: left;
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specs-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-body);
}

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

.specs-table tr:nth-child(even) td {
  background-color: var(--color-bg-subtle);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--color-text-title);
  width: 40%;
}

/* ==========================================================================
   CONTACT & REQUEST FOR QUOTE SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
}

.contact-info-panel {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-panel h3 {
  color: #ffffff;
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.contact-info-panel p.sub {
  color: #CBD5E1;
  font-size: 0.9375rem;
  margin-bottom: 36px;
  line-height: 1.6;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
}

.contact-channel-details h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-channel-details p,
.contact-channel-details a {
  color: #CBD5E1;
  font-size: 0.875rem;
  line-height: 1.5;
  display: block;
}

.contact-channel-details a:hover {
  color: var(--color-accent);
}

.contact-map-card {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 180px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--color-text-title);
}

.contact-form-card p.form-desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

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

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

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

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-title);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-main);
  color: var(--color-text-title);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-tech-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

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

.form-feedback.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* ==========================================================================
   CORPORATE FOOTER
   ========================================================================== */
.corporate-footer {
  background-color: var(--color-primary-dark);
  color: #94A3B8;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 80px 0 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links a {
  color: #94A3B8;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

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

/* ==========================================================================
   MODALS & LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-normal);
  position: relative;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

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

.modal-close-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Floating Back to Top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--color-border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.15rem;
  }

  .hero-badges {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .about-badge-floating {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

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

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

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

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

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

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

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

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

  .gallery-item.span-2 {
    grid-column: span 1;
  }
}