/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
  --blue: #1e5a96;
  --blue-light: #4a90e2;
  --red: #e63946;
  --red-light: #ff5a5f;
  --black: #0f0f0f;
  --dark-gray: #1a1a1a;
  --gray-mid: #2a2a2a;
  --text-main: #4a4a4a;
  --text-muted: #888888;
  --border-light: #e8e8e8;
  --border-dark: #333333;

  --bg-white: #ffffff;
  --bg-light: #f7f8fa;
  --bg-dark: #0a0a0a;

  --font-display: "Cabinet Grotesk", sans-serif;
  --font-body: "Satoshi", sans-serif;

  --max-width: 1320px;
  --pad-y: clamp(100px, 12vw, 160px);
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;

  --gradient-brand: linear-gradient(135deg, var(--blue), var(--red));
  --gradient-text: linear-gradient(90deg, var(--blue) 0%, var(--red) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--black);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-pad {
  padding: var(--pad-y) 0;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--blue);
}

.eyebrow.red {
  color: var(--red);
}

.eyebrow.red::before {
  background: var(--red);
}

.eyebrow.blue-light {
  color: var(--blue-light);
}

.section-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  max-width: 900px;
  line-height: 1.05;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(30, 90, 150, 0.2);
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 90, 150, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--border-light);
}

.btn-ghost:hover {
  border-color: var(--black);
  background: var(--bg-light);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: var(--max-width);
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

header.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 88%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  padding: 0 32px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.site-logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--black);
  color: var(--bg-white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 120px 5% 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

/* ==========================================================================
   HERO SECTION (SLIDER)
   ========================================================================== */
#hero {
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 600px;
}

.slide {
  display: none;
  animation: fadeIn 0.8s ease forwards;
}

.slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.hero-content h1 {
  font-size: clamp(3.5rem, 6vw, 6rem);
  margin-bottom: 32px;
}

.hero-content p {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--text-main);
  max-width: 500px;
  margin-bottom: 48px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 650px;
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  transition: var(--transition);
  object-fit: cover;
  object-position: right center;
}

.hero-image-wrapper:hover .hero-image {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

.floating-badge {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--red);
  display: flex;
  align-items: center;
  gap: 16px;
}

.floating-badge h4 {
  font-size: 2.5rem;
  color: var(--black);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
}

.floating-badge p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}

.slider-controls {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 40px;
  padding-left: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.slider-dot:hover {
  background: var(--text-muted);
}

.slider-dot.active {
  background: var(--blue);
  width: 32px;
  border-radius: 50px;
}

/* ==========================================================================
   TICKER MARQUEE
   ========================================================================== */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--black);
  padding: 24px 0;
  color: var(--bg-white);
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 40px;
  opacity: 0.4;
  display: flex;
  align-items: center;
  gap: 40px;
  text-transform: uppercase;
}

.ticker-item::after {
  content: "✦";
  color: var(--red);
  font-size: 1.2rem;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
#about {
  background: var(--bg-white);
  padding-top: 120px;
  padding-bottom: 160px;
}

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

.about-text p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

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

.about-image {
  width: 100%;
  height: 600px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.about-image-accent {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--blue);
  border-radius: 12px;
  z-index: -1;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--border-light);
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--black);
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 900;
}

.stat-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

/* ==========================================================================
   PREMIUM PRODUCTS SHOWCASE
   ========================================================================== */
#products {
  background: var(--bg-dark);
  color: var(--bg-white);
  padding-top: 160px;
  padding-bottom: 160px;
  position: relative;
  overflow: hidden;
}

#products::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(30, 90, 150, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

#products::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.products-container {
  position: relative;
  z-index: 1;
}

#products .section-heading {
  color: var(--bg-white);
}

#products .section-heading .text-gradient {
  background: linear-gradient(90deg, var(--blue-light), var(--red-light));
  -webkit-background-clip: text;
  background-clip: text;
}

.interactive-showcase {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  margin-top: 60px;
  background: #111111;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.category-sidebar {
  background: #0d0d0d;
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
}

.category-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid #1a1a1a;
  padding: 24px 32px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 16px;
  color: #888;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  position: relative;
}

.category-btn:hover {
  background: #151515;
  color: var(--bg-white);
}

.category-btn.active {
  background: #1a1a1a;
  color: var(--bg-white);
}

.category-btn.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}

.category-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.category-btn.active svg,
.category-btn:hover svg {
  stroke: var(--red);
  opacity: 1;
}

.category-content-area {
  padding: 48px;
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
}

.content-pane {
  display: none;
  animation: slideFadeIn 0.5s ease forwards;
  flex-grow: 1;
  flex-direction: column;
}

.content-pane.active {
  display: flex;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-header {
  margin-bottom: 24px;
}

.pane-header h3 {
  font-size: 2.2rem;
  color: var(--bg-white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-own {
  background: var(--red);
  color: var(--bg-white);
  font-size: 0.65rem;
  padding: 6px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-family: var(--font-display);
}

.badge-new-used {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  font-size: 0.65rem;
  padding: 6px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-family: var(--font-display);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pane-header p {
  color: #999;
  font-size: 1.05rem;
  max-width: 700px;
  line-height: 1.6;
}

.pane-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-dark);
}

.pane-section h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #ccc;
  padding: 6px 14px 6px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.brand-tag:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.brand-tag.red-hover:hover {
  background: var(--red);
  border-color: var(--red);
}

.brand-logo-placeholder {
  width: 20px;
  height: 20px;
  background: #333;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--bg-white);
}

.brand-tag:hover .brand-logo-placeholder {
  background: rgba(255, 255, 255, 0.2);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a1a;
  border-radius: 6px;
  border-left: 3px solid var(--blue);
  font-size: 0.95rem;
}

.spec-list li span:first-child {
  color: #888;
}

.spec-list li span:last-child {
  color: var(--bg-white);
  font-weight: 700;
}

.product-gallery-section {
  margin-top: auto;
}

.product-gallery-section h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-gallery-section h4 svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.gallery-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #1a1a1a;
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--red);
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.7;
}

.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item-overlay svg {
  width: 20px;
  height: 20px;
  stroke: var(--bg-white);
  stroke-width: 2;
  fill: none;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay svg {
  transform: translateY(0);
}

.gallery-caption {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: var(--transition);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
  border-bottom: 1px solid var(--border-dark);
}

.lightbox-info {
  padding: 32px;
  background: #111;
}

.lightbox-info h3 {
  color: var(--bg-white);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.tech-spec-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: #1a1a1a;
  border-radius: 6px;
  border-left: 2px solid var(--blue-light);
}

.tech-spec-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 4px;
}

.tech-spec-value {
  font-size: 1rem;
  color: var(--bg-white);
  font-weight: 600;
  font-family: var(--font-display);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--red);
  transform: rotate(90deg);
}

/* ==========================================================================
   EXPERTISE STRIP
   ========================================================================== */
#expertise {
  background: var(--bg-white);
  padding-top: 160px;
}

.credentials-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-top: 60px;
}

.credential {
  padding: 48px 32px;
  border-right: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.credential:last-child {
  border-right: none;
}

.credential::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.credential:hover {
  background: var(--bg-light);
}

.credential:hover::after {
  transform: scaleX(1);
}

.credential-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--border-light);
  margin-bottom: 16px;
  display: block;
  font-weight: 800;
  transition: var(--transition);
}

.credential:hover .credential-number {
  color: var(--blue);
}

.credential:nth-child(even):hover .credential-number {
  color: var(--red);
}

.credential h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--black);
}

.credential p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION (With Industrial Background)
   ========================================================================== */
#contact {
  /* Added a dark overlay so white text is readable over the image */
  background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)), 
              url('../images/contact-bg.jpg') center/cover no-repeat;
  /* Removed background-attachment: fixed to fix the layout shift */
  padding-top: 160px;
  padding-bottom: 120px;
  color: var(--bg-white);
}

/* Force Headings and Text in the left column to be white */
#contact .section-heading {
  color: var(--bg-white);
}
#contact .eyebrow {
  color: var(--blue-light);
}
#contact .eyebrow::before {
  background: var(--blue-light);
}

#contact .contact-info-block h4 {
  color: var(--blue-light);
}

#contact .contact-info-block p,
#contact .contact-info-block a,
#contact .team-member h4,
#contact .team-member .role,
#contact .team-member a,
#contact .team-member span,
#contact .team-contact-line {
  color: var(--bg-white);
}

#contact .team-contact-line a:hover,
#contact .contact-info-block a:hover {
  color: var(--red-light);
}

#contact .team-member {
  border-left-color: rgba(255, 255, 255, 0.2);
}
#contact .team-member:hover {
  border-left-color: var(--red);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-info-block {
  margin-bottom: 40px;
}

.contact-info-block h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
  font-weight: 800;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 1.1rem;
  color: var(--black);
  font-weight: 600;
}

.contact-info-block a:hover {
  color: var(--red);
}

/* Keep the form white and clean against the dark background */
.contact-form {
  background: var(--bg-white);
  padding: 56px;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); /* Darker shadow for contrast */
  border: 1px solid var(--border-light);
  position: relative;
}

/* Ensure form text is black (since the parent #contact is now white text) */
.contact-form h3,
.contact-form label,
.contact-form input,
.contact-form textarea {
  color: var(--black);
}

.form-group {
  position: relative;
  margin-bottom: 32px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--black);
  transition: var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--blue);
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -16px;
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   TEAM LIST & FOOTER
   ========================================================================== */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team-member {
  border-left: 3px solid var(--border-light);
  padding-left: 24px;
  transition: var(--transition);
}

.team-member:hover {
  border-left-color: var(--red);
  transform: translateX(4px);
}

.team-member h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 800;
}

.team-member .role {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Fix for contact info overlapping */
.team-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.4;
}

.team-contact-line a {
  color: var(--text-main);
  word-break: break-all;
}

.team-contact-line a:hover {
  color: var(--red);
}

/* ==========================================================================
   MEGA FOOTER STYLES
   ========================================================================== */
footer {
  background: var(--black);
  color: var(--bg-white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #999;
  max-width: 300px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: #999;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.social-link:hover svg {
  fill: var(--bg-white);
}

.footer-nav-col h4 {
  color: var(--bg-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-family: var(--font-display);
}

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

.footer-nav-links a {
  font-size: 0.95rem;
  color: #999;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-nav-links a:hover {
  color: var(--red-light);
  padding-left: 5px;
}

/* Footer Brands Section */
.footer-brands-col h4 {
  color: var(--bg-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.brands-grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brand-logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  height: 64px;
  padding: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.brand-svg {
  width: 100%;
  height: 100%;
  max-width: 80px;
  max-height: 28px;
  object-fit: contain;
  fill: #666666;
  transition: all 0.4s ease;
}

.brand-logo-item:hover {
  background: #222222;
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.brand-logo-item:hover .brand-svg {
  fill: var(--bg-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  font-size: 0.85rem;
  color: #666;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .credit {
  color: #888;
}

.footer-bottom .credit a {
  color: var(--bg-white);
  font-weight: 600;
}

.footer-bottom .credit a:hover {
  color: var(--blue-light);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   CONSOLIDATED RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Small Desktop (1024px) */
@media (max-width: 1024px) {
  header {
    width: 100%;
    top: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
  }
  
  header.scrolled {
    width: 100%;
    top: 0;
    border-radius: 0;
  }
  
  .nav-container {
    padding: 0 5%;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 48px;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    height: 400px;
  }
  
  .floating-badge {
    left: 20px;
    bottom: 20px;
  }
  
  .slider-controls {
    justify-content: center;
    padding-left: 0;
  }

  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image {
    height: 400px;
  }

  .interactive-showcase {
    grid-template-columns: 1fr;
  }
  
  .category-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }
  
  .category-btn {
    border-bottom: none;
    border-right: 1px solid #1a1a1a;
    white-space: nowrap;
    padding: 20px;
  }
  
  .category-btn.active::before {
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
  }
  
  .category-content-area {
    padding: 32px 24px;
  }
  
  .pane-body {
    grid-template-columns: 1fr;
  }
  
  .tech-specs-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer Tablet Layout */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brands-col {
    grid-column: 1 / -1;
    margin-top: 20px;
  }
  
  .brands-grid-4x2 {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .stat-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 40px 24px;
  }
  
  .pane-header h3 {
    font-size: 1.6rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .tech-specs-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-info {
    padding: 24px;
  }

  /* Footer Mobile Layout */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .footer-brand p {
    margin: 20px auto 24px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-nav-links {
    align-items: center;
  }
  
  /* Force 4 columns for brands on mobile */
  .brands-grid-4x2 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}