/* ==========================================================================
   NEXOR INNOVATION - Premium Company Static Website
   Design System & Main Stylesheet
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Sora:wght@400;600;700;800&display=swap');

/* Color Variables & Themes */
:root {
  /* Common Variables */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;
  --section-gap: 120px;
  --grid-gap: 32px;
  --container-max-width: 1280px;

  /* Theme: Light (Default) */
  --bg-color: #ffffff;
  --bg-color-rgb: 255, 255, 255;
  --text-color: #1A222D;
  --text-muted: #64748b;
  --primary-color: #00D2FF;
  --primary-glow: rgba(0, 210, 255, 0.2);
  --primary-hover: #00b0d6;
  --surface: #ffffff;
  --surface-container: #f8fafc;
  --surface-container-high: #f1f5f9;
  --surface-container-lowest: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --outline-variant: rgba(0, 0, 0, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.06);
  --navbar-bg: rgba(255, 255, 255, 0.8);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.15);
  --hero-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  --hero-mesh: radial-gradient(at 10% 20%, rgba(0, 210, 255, 0.05) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(0, 210, 255, 0.03) 0px, transparent 50%);
}

[data-theme="dark"] {
  /* Theme: Dark */
  --bg-color: #0A0C10;
  --bg-color-rgb: 10, 12, 16;
  --text-color: #f1f5f9;
  --text-muted: #94a3b8;
  --primary-color: #00D2FF;
  --primary-glow: rgba(0, 210, 255, 0.4);
  --primary-hover: #33dbff;
  --surface: #11141a;
  --surface-container: #161922;
  --surface-container-high: #1e222e;
  --surface-container-lowest: #080a0e;
  --border-color: rgba(255, 255, 255, 0.08);
  --outline-variant: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(10, 12, 16, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --navbar-bg: rgba(10, 12, 16, 0.8);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.25);
  --hero-gradient: linear-gradient(180deg, rgba(10, 12, 16, 0) 0%, rgba(10, 12, 16, 1) 100%);
  --hero-mesh: radial-gradient(at 10% 20%, rgba(0, 210, 255, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(0, 210, 255, 0.05) 0px, transparent 50%);
}

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

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

button,
input,
textarea,
select {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-container-lowest);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

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

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

.text-right {
  text-align: right;
}

.section-padding {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }
}

/* Section Header styling */
.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

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

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }

  .section-desc {
    font-size: 16px;
  }
}

/* Neon utilities */
.neon-text {
  color: var(--primary-color);
  text-shadow: var(--shadow-glow);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-premium);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 16px 32px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000000;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Preloader Experience
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0A0C10;
  /* Premium obsidian base always */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 280px;
}

.preloader-logo {
  width: 180px;
  margin-bottom: 30px;
  opacity: 0.9;
  /* filter: brightness(0) invert(1); */
  /* Ensure it's white on dark bg */
  animation: pulse-slow 3s infinite ease-in-out;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-full);
}

.preloader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  transition: width 1.8s cubic-bezier(0.1, 0.8, 0.2, 1);
}

@keyframes pulse-slow {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* ==========================================================================
   Sticky Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 16px 0;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
}

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

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

.logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

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

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-color);
  opacity: 0.8;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 32px;
  }
}

@media (max-width: 1100px) and (min-width: 992px) {
  .nav-menu {
    gap: 12px;
  }

  .nav-link {
    font-size: 10px;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--primary-color);
}

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

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

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  background: transparent;
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.theme-toggle span {
  font-size: 20px;
}

/* Hamburger Menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition-smooth);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--surface);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 32px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-premium);
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .header-actions .btn {
    display: none;
    /* Hide button on mobile in header, show in menu or just let hamburger handle navigation */
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-color);
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-gif {
  position: absolute;
  inset: 0;
  background-image: url('../assets/gif/AI_Commercial_Sandwhich_Ad.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
  filter: saturate(0.7) contrast(1.05);
  z-index: 0;
  transition: var(--transition-smooth);
}

[data-theme="dark"] .hero-bg-gif {
  opacity: 0.12;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--hero-mesh);
  opacity: 0.8;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-logo {
  width: 120px;
  margin: 0 auto 32px;
  opacity: 0.15;
  transition: opacity 0.5s ease;
}

[data-theme="dark"] .hero-logo {
  filter: brightness(0) invert(1);
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 2px;
  height: 48px;
  background: var(--border-color);
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-full);
}

.scroll-bullet {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--primary-color);
  animation: scroll-indicator-anim 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--border-radius-full);
}

@keyframes scroll-indicator-anim {
  0% {
    top: -30%;
  }

  50% {
    top: 30%;
  }

  100% {
    top: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   About Section & Who We Are
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.about-img {
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  padding: 30px;
  border-radius: var(--border-radius-md);
  min-width: 160px;
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
  display: block;
  margin-bottom: 4px;
}

.about-badge-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-badge {
    bottom: -16px;
    left: 16px;
  }
}

/* ==========================================================================
   Services Section (Dynamic Cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--grid-gap);
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transform: scaleX(0);
  transition: var(--transition-smooth);
  transform-origin: center;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 210, 255, 0.1), var(--shadow-premium);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--surface-container-high);
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary-color);
  color: #000000;
  box-shadow: var(--shadow-glow);
  transform: rotate(5deg) scale(1.05);
}

.service-icon-box span {
  font-size: 28px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: auto;
}

@media (max-width: 480px) {
  .service-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.service-item {
  font-size: 13px;
  color: var(--text-color);
  opacity: 0.85;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  white-space: normal;
  line-height: 1.4;
}

.service-item span {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.why-item:hover {
  border-color: var(--primary-color);
  background: var(--surface-container);
  transform: translateX(4px);
}

.why-item-icon {
  color: var(--primary-color);
  margin-top: 2px;
}

.why-item-icon span {
  font-size: 20px;
}

.why-item-content h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-item-content p {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   Company Statistics Section
   ========================================================================== */
.stats-section {
  background-color: var(--surface-container-high);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
  padding: 24px 16px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: var(--shadow-glow);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .stat-item {
    padding: 16px 8px;
  }

  .stat-number {
    font-size: 36px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* ==========================================================================
   Process / Workflow Section
   ========================================================================== */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 60px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

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

.process-num {
  width: 72px;
  height: 72px;
  border-radius: var(--border-radius-full);
  background-color: var(--surface);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 24px;
  transition: var(--transition-smooth);
  color: var(--text-muted);
}

.process-step:hover .process-num {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}

.process-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    width: 100%;
    display: flex;
    text-align: left;
    gap: 24px;
    align-items: flex-start;
  }

  .process-num {
    margin: 0;
    flex-shrink: 0;
  }

  .process-info {
    padding-top: 8px;
  }
}

/* ==========================================================================
   Industries Served
   ========================================================================== */
.industries-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.industry-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 28px;
  border-radius: var(--border-radius-full);
  background: var(--surface-container);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.industry-pill:hover {
  background-color: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Selected Productions (Portfolio Showcase)
   ========================================================================== */
.portfolio-grid {
  column-count: 3;
  column-gap: var(--grid-gap);
  width: 100%;
}

@media (max-width: 991px) {
  .portfolio-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    column-count: 1;
  }
}

.portfolio-card {
  break-inside: avoid;
  margin-bottom: var(--grid-gap);
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: block;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 210, 255, 0.12);
}

.portfolio-media-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #000;
  /* Maintain ratio if loading takes time */
  min-height: 200px;
}

.portfolio-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  opacity: 0.9;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
  opacity: 0.75;
}

/* Play Icon Overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

.play-btn-circle {
  width: 64px;
  height: 64px;
  background-color: var(--primary-color);
  color: #000000;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.play-btn-circle span {
  font-size: 32px;
  margin-left: 2px;
  /* Center triangular play symbol */
}

.portfolio-card:hover .play-overlay {
  opacity: 1;
}

.portfolio-card:hover .play-btn-circle {
  transform: scale(1);
}

/* Portfolio Details */
.portfolio-details {
  padding: 24px;
}

.portfolio-category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: block;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   Video Fullscreen Popup Modal
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background-color: rgba(6, 8, 11, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-container {
  width: 90%;
  max-width: 960px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000;
}

.video-modal.active .video-modal-container {
  transform: scale(1);
}

.video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
}

.video-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  background: transparent;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.video-close-btn span {
  font-size: 24px;
}

.video-close-btn:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .video-close-btn {
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: var(--border-radius-full);
    z-index: 10;
  }

  .video-close-btn span {
    font-size: 20px;
  }
}

/* ==========================================================================
   Testimonials (Auto Sliding Carousel)
   ========================================================================== */
.testimonial-section {
  background-color: var(--surface-container);
  overflow: hidden;
  position: relative;
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonial-slide {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  padding: 0 40px;
}

.quote-icon {
  font-size: 48px;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 24px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 17px;
  }
}

.client-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.client-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  background-color: var(--surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.client-avatar span {
  font-size: 28px;
}

.client-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.client-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--border-radius-full);
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator.active {
  background-color: var(--primary-color);
  width: 24px;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.faq-header {
  display: flex;
  justify-content: justify;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-header:hover {
  color: var(--primary-color);
}

.faq-title {
  flex-grow: 1;
}

.faq-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}

.faq-item.active .faq-icon-box {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding-right: 40px;
}

.faq-content {
  font-size: 15px;
  color: var(--text-muted);
  padding-bottom: 24px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-header {
    font-size: 16px;
  }

  .faq-content {
    font-size: 14px;
  }
}

/* ==========================================================================
   Contact Section & Inquiry Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: var(--surface-container);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-details p {
  font-size: 15px;
  color: var(--text-muted);
}

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

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Form Styling */
.contact-form-wrapper {
  padding: 40px;
  border-radius: var(--border-radius-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background-color: var(--surface-container);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--surface);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.08);
}

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .contact-form-wrapper {
    padding: 24px;
  }
}

/* Map placeholder */
.map-container {
  width: 100%;
  height: 240px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--surface-container-high);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-top: 40px;
  text-align: center;
  padding: 24px;
}

.map-container span {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--surface-container-lowest);
  padding: 80px 0 40px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}

.footer-logo {
  height: 48px;
  width: auto;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

[data-theme="dark"] .footer-logo {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list-link {
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.8;
}

.footer-list-link:hover {
  opacity: 1;
  color: var(--primary-color);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--outline-variant);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

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

.footer-social-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-social-link:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-cols: 1fr;
    gap: 40px;
  }

  .footer-links-grid {
    grid-template-cols: 1fr;
    gap: 30px;
  }

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

/* ==========================================================================
   Animations & Scroll Reveal Effects
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-in {
  opacity: 0;
  transform: scale(0.95);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays using pure CSS selectors */
.stagger-container .reveal:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-container .reveal:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-container .reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-container .reveal:nth-child(4) {
  transition-delay: 0.4s;
}

.stagger-container .reveal:nth-child(5) {
  transition-delay: 0.5s;
}

.stagger-container .reveal:nth-child(6) {
  transition-delay: 0.6s;
}

/* Mobile optimization: reduce translation and simplify keyframes if preferred */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-bullet {
    animation: none !important;
  }

  .preloader-logo {
    animation: none !important;
  }
}