﻿/* ==========================================================================
   0. ACCESSIBILITY UTILITIES
   ========================================================================== */

.skip-to-content {
    position: absolute;
    top: -100%;
    right: 1rem;
    z-index: 9999;
    padding: .6rem 1.2rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: top .15s;
}
.skip-to-content:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ==========================================================================
   1. GLOBAL VARIABLES & THEME CONFIGURATION
   ========================================================================== */

.tajawal-extralight {
  font-family: "Tajawal", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.tajawal-light {
  font-family: "Tajawal", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.tajawal-regular {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.tajawal-medium {
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.tajawal-bold {
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.tajawal-extrabold {
  font-family: "Tajawal", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.tajawal-black {
  font-family: "Tajawal", sans-serif;
  font-weight: 900;
  font-style: normal;
}
.tajawal-bold-italic{
  font-family: "Tajawal", sans-serif;
  font-weight: bold;
  font-style: italic;
}

:root {
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-secondary: #4f46e5;
  --color-accent: #06b6d4;
  --color-success: #059669;
  --color-warning: #d97706;
  --color-danger: #ea580c;
  --color-purple: #7c3aed;
  --color-white: #ffffff;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-gradient: linear-gradient(135deg, #1e3a8a, #0f172a, #312e81);

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --border-light: #e2e8f0;
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2.5rem;
  --transition-engine: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. RESET & BASE TYPOGRAPHY
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Tajawal", sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}
.section-light {
  background-color: var(--bg-surface);
}
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}
.section-muted {
  background-color: var(--bg-main);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ==========================================================================
   4. SECTION HEADER
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.title-underline {
  width: 80px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 3px;
  margin: 0 auto 1.5rem;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
}

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: transparent;
  color: var(--text-inverse);
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(14, 16, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-inverse);
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
 
}

.brand-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 1;
}
.nav-links .nav-link:first-child {
  margin-inline-start: auto;
}
.nav-links .btn {
  margin-inline-start: auto;
}

.nav-link {
  font-weight: 700;
  position: relative;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: rgba(255, 255, 255, 1);
}
.nav-link.active {
  color: var(--text-inverse) !important;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--text-inverse);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
.mobile-menu-btn svg {
  width: 1.8rem;
  height: 1.8rem;
}

/* Match header background with opened mobile dropdown */
.navbar:has(.mobile-dropdown.is-open) {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-dropdown {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);

  /* Slide down/up animation instead of fade only */
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;

  /* Smooth height and padding transitions */
  transition:
    max-height 0.4s ease-in-out,
    padding 0.4s ease-in-out,
    opacity 0.3s ease-in-out,
    visibility 0.4s;
}

.mobile-dropdown.is-open {
  visibility: visible;
  max-height: 500px; /* enough height to show all nav links smoothly */
  padding-top: 1rem;
  padding-bottom: 1rem;
  opacity: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

.mobile-dropdown .nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-dropdown .nav-cta {
  color: var(--color-primary);
  font-weight: 800;
  padding: 1rem;
  text-align: right;
  display: block;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-engine);
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
}
.btn-lg {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-inverse);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.btn-white {
  background: var(--bg-surface);
  color: var(--color-primary);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-inverse);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-success {
  background: linear-gradient(135deg, var(--color-success), #0d9488);
  color: var(--text-inverse);
}
.btn-warning-gradient {
  background: linear-gradient(
    135deg,
    var(--color-warning),
    var(--color-danger)
  );
  color: var(--text-inverse);
}
.btn-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: var(--text-inverse);
}

/* ==========================================================================
   7. CARD
   ========================================================================== */
.card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-light);
  transition: var(--transition-engine);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.card-center {
  text-align: center;
}

/* ==========================================================================
   8. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 12rem 0 8rem;
  background: var(--bg-dark-gradient);
  overflow: hidden;
  color: var(--text-inverse);
  display: flex;
  align-items: center;
}

.hero-landing {
  min-height: 100vh;
}
.hero-page {
  min-height: 50vh;
  text-align: center;
  padding: 10rem 0 5rem;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -100px;
  left: -100px;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -50px;
  right: 20%;
}
.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 30%;
  right: -50px;
}

.hero-radial-1 {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(37, 99, 235, 0.3),
      transparent 60%
    ),
    radial-gradient(ellipse at 80% 20%, rgba(79, 70, 229, 0.2), transparent 60%);
  pointer-events: none;
}
.hero-radial-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(79, 70, 229, 0.35),
    transparent 60%
  );
  pointer-events: none;
}
.hero-radial-3 {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 70%,
    rgba(6, 182, 212, 0.2),
    transparent 60%
  );
  pointer-events: none;
}
.hero-radial-4 {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 80%,
    rgba(79, 70, 229, 0.3),
    transparent 60%
  );
  pointer-events: none;
}
.hero-radial-5 {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(37, 99, 235, 0.25),
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 10;
}
.hero-text {
  flex: 1;
}
.hero-visual {
  flex: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  color: #93c5fd;
  font-size: 0.95rem;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
}
.hero-badge-centered {
  margin: 0 auto 1.5rem;
  width: fit-content;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-title-sub {
  font-size: 3rem;
}

.text-gradient {
  background: linear-gradient(to right, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  line-height: 1.9;
  max-width: 520px;
}
.hero-desc-sm {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin: 1rem auto 0;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-actions-centered {
  justify-content: center;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.hero-trust-item svg {
  width: 1rem;
  height: 1rem;
  color: #34d399;
}

/* Hero Visual Card */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-screen-mock {
  background: linear-gradient(135deg, #1e40af, #312e81);
  border-radius: var(--border-radius-md);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}
.hero-screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.4) 0%,
    transparent 70%
  );
}
.hero-screen-icon {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}
.hero-screen-icon svg {
  width: 5rem;
  height: 5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.metric-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
  text-align: center;
}
.metric-pill-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #60a5fa;
}
.metric-pill-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
  9. INDEX - FEATURES & STATS
  ========================================================================== */
.feature-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: var(--border-radius-md);
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: transform 0.3s ease;
}

.feature-icon-wrap svg {
  width: 1.8rem;
  height: 1.8rem;
}
.feature-icon-wrap-center {
  margin: 0 auto 1.5rem;
}
.feature-icon-success {
  background: linear-gradient(135deg, #059669, #0d9488);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}
.feature-icon-warning {
  background: linear-gradient(
    135deg,
    var(--color-warning),
    var(--color-danger)
  );
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}
.card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(-3deg);
}
.feature-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.feature-desc {
  color: var(--text-secondary);
  line-height: 1.9;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  text-align: center;
}
.stat-strip-highlight {
  padding: 2rem;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: var(--border-radius-md);
  color: var(--text-inverse);
}
.stat-strip-highlight .stat-number {
  font-size: 3rem;
  font-weight: 800;
}
.stat-strip-highlight .stat-label {
  opacity: 0.8;
  margin-top: 0.25rem;
}
.stat-strip-plain {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
}
.stat-strip-plain .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
}
.stat-strip-plain .stat-label {
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Service Preview Cards (homepage) */
.service-preview-card {
  text-align: center;
  cursor: pointer;
}
.service-preview-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.service-preview-icon svg {
  width: 2rem;
  height: 2rem;
}
.service-preview-icon-blue {
  background: #eff6ff;
}
.service-preview-icon-blue svg {
  color: var(--color-primary);
}
.service-preview-icon-green {
  background: #f0fdf4;
}
.service-preview-icon-green svg {
  color: var(--color-success);
}
.service-preview-icon-orange {
  background: #fff7ed;
}
.service-preview-icon-orange svg {
  color: var(--color-warning);
}
.service-preview-title {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-preview-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.homepage-services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================================================
   10. CLIENTS SLIDER
   ========================================================================== */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-track {
  display: flex;
  gap: 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 0.5rem;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  scroll-snap-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.client-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

.client-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px solid #f1f5f9;
  margin: 0 auto;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.client-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}
.client-logo-circle:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
  border-color: var(--color-primary);
}
.client-logo-circle:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.carousel-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn svg {
  width: 1.3rem;
  height: 1.3rem;
}
.carousel-btn:hover {
  background: var(--color-primary);
  color: var(--text-inverse);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.slider-container-65 {
  width: 65%;
  margin: 0 auto;
}

/* ==========================================================================
   11. CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  text-align: center;
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.cta-banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-banner-desc {
  opacity: 0.85;
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.9;
}
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Dark CTA */
.cta-dark-inner {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}
.cta-dark-title {
  color: var(--text-inverse);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-dark-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

/* ==========================================================================
   12. ABOUT PAGE
   ========================================================================== */
.timeline {
  position: relative;
  padding-right: 2rem;
  border-right: 3px solid var(--border-light);
  margin: 3rem 0;
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: -2.6rem;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--color-primary);
  border-radius: 50%;
  border: 4px solid var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.timeline-year {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: block;
}
.timeline-desc {
  color: var(--text-secondary);
  line-height: 1.9;
}

.mission-box {
  background: var(--bg-dark-gradient);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  color: var(--text-inverse);
  margin-bottom: 2rem;
}
.mission-box-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.mission-box-text {
  opacity: 0.85;
  line-height: 2;
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-box {
  background: var(--bg-main);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
}
.stat-numberWhite {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
}
.stat-label {
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
}

.stat-labelWhite {
  color: white;
  margin-top: 0.25rem;
  font-weight: 500;
}

.about-eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  transition: var(--transition-engine);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}
.value-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  flex-shrink: 0;
}
.value-card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}
.value-card-icon-green {
  background: linear-gradient(135deg, #059669, #0d9488);
}
.value-card-icon-orange {
  background: linear-gradient(
    135deg,
    var(--color-warning),
    var(--color-danger)
  );
}
.value-card-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.value-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-engine);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  font-weight: 800;
}
.team-avatar-green {
  background: linear-gradient(135deg, #059669, #0d9488);
}
.team-avatar-orange {
  background: linear-gradient(
    135deg,
    var(--color-warning),
    var(--color-danger)
  );
}
.team-name {
  font-weight: 800;
  font-size: 1.1rem;
}
.team-role {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
}
.team-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ==========================================================================
   13. SERVICES PAGE
   ========================================================================== */
.service-main-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: var(--transition-engine);
}
.service-main-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.service-card-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
}
.service-card-visual svg {
  width: 5rem;
  height: 5rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
}

.service-visual-blue {
  background: linear-gradient(135deg, #1e3a8a, #312e81);
}
.service-visual-green {
  background: linear-gradient(135deg, #064e3b, #065f46);
}
.service-visual-orange {
  background: linear-gradient(135deg, #78350f, #92400e);
}

.service-card-body {
  padding: 2rem;
}
.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.service-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
}
.service-card-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}
.service-card-icon-blue {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
}
.service-card-icon-green {
  background: linear-gradient(135deg, #059669, #0d9488);
}
.service-card-icon-orange {
  background: linear-gradient(
    135deg,
    var(--color-warning),
    var(--color-danger)
  );
}
.service-card-title {
  font-weight: 800;
  font-size: 1.3rem;
}
.service-card-desc {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.service-feature-list {
  margin-top: 1.25rem;
}
.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}
.service-feature-list li:last-child {
  border-bottom: none;
}
.service-feature-list li svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}
.check-blue {
  color: var(--color-primary);
}
.check-green {
  color: var(--color-success);
}
.check-orange {
  color: var(--color-warning);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step-number {
  width: 4rem;
  height: 4rem;
  background: var(--color-primary);
  color: var(--text-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.process-line {
  position: absolute;
  top: 2rem;
  left: -50%;
  right: 50%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}
.process-step:first-child .process-line {
  display: none;
}
.process-step-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.process-step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.service-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: var(--border-radius-md);
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-primary);
}
.service-icon-wrapper svg {
  width: 2rem;
  height: 2rem;
}
.service-card-subtitle {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.service-card-subdesc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ==========================================================================
   14. CATALOG PAGE
   ========================================================================== */
.filter-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-engine);
  font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--text-inverse);
  border-color: var(--color-primary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-engine);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image-wrap svg {
  width: 4rem;
  height: 4rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Product visual backgrounds */
.pv-blue {
  background: linear-gradient(135deg, #1e3a8a, #312e81);
}
.pv-blue-2 {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}
.pv-indigo {
  background: linear-gradient(135deg, #312e81, #4f46e5);
}
.pv-dark {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}
.pv-green {
  background: linear-gradient(135deg, #064e3b, #065f46);
}
.pv-teal {
  background: linear-gradient(135deg, #065f46, #0d9488);
}
.pv-orange {
  background: linear-gradient(135deg, #78350f, #92400e);
}
.pv-brown {
  background: linear-gradient(135deg, #7c2d12, #b45309);
}
.pv-purple {
  background: linear-gradient(135deg, #581c87, #7c3aed);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-inverse);
}
.pb-blue {
  background: var(--color-primary);
}
.pb-blue-2 {
  background: #1d4ed8;
}
.pb-indigo {
  background: #4f46e5;
}
.pb-cyan {
  background: var(--color-accent);
}
.pb-green {
  background: var(--color-success);
}
.pb-teal {
  background: #0d9488;
}
.pb-orange {
  background: var(--color-warning);
}
.pb-red {
  background: var(--color-danger);
}
.pb-purple {
  background: var(--color-purple);
}

.product-info {
  padding: 1.5rem;
}
.product-category {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.product-category-green {
  color: var(--color-success);
}
.product-category-orange {
  color: var(--color-warning);
}
.product-category-purple {
  color: var(--color-purple);
}
.product-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.product-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.download-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-engine);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.download-btn svg {
  width: 1rem;
  height: 1rem;
}
.download-btn:hover {
  background: var(--color-primary);
  color: var(--text-inverse);
}
.download-btn-green {
  border-color: var(--color-success);
  color: var(--color-success);
}
.download-btn-green:hover {
  background: var(--color-success);
  color: var(--text-inverse);
}
.download-btn-orange {
  border-color: var(--color-warning);
  color: var(--color-warning);
}
.download-btn-orange:hover {
  background: var(--color-warning);
  color: var(--text-inverse);
}
.download-btn-purple {
  border-color: var(--color-purple);
  color: var(--color-purple);
}
.download-btn-purple:hover {
  background: var(--color-purple);
  color: var(--text-inverse);
}

.catalog-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-dark-gradient);
  border-radius: var(--border-radius-lg);
  color: var(--text-inverse);
}
.catalog-cta-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.catalog-cta-desc {
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* ==========================================================================
   15. PORTFOLIO PAGE
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-featured {
  grid-column: span 2;
}

.portfolio-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card-led {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}
.portfolio-card-print {
  background: linear-gradient(135deg, #78350f 0%, #0f172a 100%);
}
.portfolio-card-amusement {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
}
.portfolio-card-event {
  background: linear-gradient(135deg, #581c87 0%, #0f172a 100%);
}

.portfolio-card-icon {
  color: rgba(255, 255, 255, 0.3);
  transition: var(--transition-engine);
}
.portfolio-card-icon svg {
  width: 4rem;
  height: 4rem;
}
.portfolio-card-icon-lg svg {
  width: 5rem;
  height: 5rem;
}
.portfolio-card:hover .portfolio-card-icon {
  color: rgba(255, 255, 255, 0.12);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  opacity: 0;
  transition: var(--transition-engine);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--text-inverse);
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay-type {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 0.4rem;
}
.portfolio-overlay-title {
  font-weight: 800;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}
.portfolio-overlay-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
.portfolio-overlay-location svg {
  width: 0.9rem;
  height: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.active {
  display: flex;
}
.lightbox-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
  color: var(--text-inverse);
}
.lightbox-img-area {
  aspect-ratio: 4 / 3;
  background: #1e293b;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.lightbox-img-area svg {
  width: 5rem;
  height: 5rem;
  color: rgba(255, 255, 255, 0.2);
}
.lightbox-close {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-inverse);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.lightbox-close svg {
  width: 1.2rem;
  height: 1.2rem;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.lightbox-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.lightbox-location svg {
  width: 0.9rem;
  height: 0.9rem;
}
.lightbox-desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  max-width: 550px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   16. CONTACT PAGE
   ========================================================================== */
.contact-wrapper {
  background: var(--bg-surface);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  margin-bottom: 4rem;
}

.contact-info {
  flex: 0 0 360px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  padding: 3.5rem;
  color: var(--text-inverse);
}
.contact-info-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.contact-info-desc {
  opacity: 0.85;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}
.contact-info-label {
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.contact-info-value {
  opacity: 0.85;
  line-height: 1.7;
}
.contact-info-value a {
  color: inherit;
  display: block;
}
.contact-info-value a:hover {
  opacity: 0.7;
}
.contact-form {
  flex: 1;
  padding: 3.5rem 4rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form-panel {
  flex: 3;
  padding: 4rem;
}
.contact-form-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.contact-form-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-row .form-group {
  margin-bottom: 0;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
select.form-control {
  appearance: none;
}
.form-submit-btn svg, .form-submit-btn i {
  width: 1.1rem;
  height: 1.1rem;
}
.btn-glass-white {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  margin-top: 1rem;
  display: flex;
  width: fit-content;
}
.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition-engine);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-submit-btn {
  width: 75%;
  padding: 1.1rem;
  font-size: 1.1rem;
  margin: auto;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: var(--text-inverse);
  border: none;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.form-submit-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}
.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--border-radius-md);
  color: #166534;
  margin-top: 1.5rem;
}
.success-msg svg {
  width: 3rem;
  height: 3rem;
  color: var(--color-success);
  margin: 0 auto 1rem;
  display: block;
}
.success-msg-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.faq-section {
  margin-top: 5rem;
}
.faq-inner {
  max-width: 750px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: var(--bg-surface);
}
.faq-question {
  padding: 1.5rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
}
.faq-question svg {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.3s;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-question {
  color: var(--color-primary);
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  border-top: 1px solid #1e293b;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e293b;
}
.footer-brand {
  display: inline-flex;
  margin-bottom: 1.5rem;
}
.footer-brand .brand-text {
  color: #fff;
}
.footer-desc {
  margin-top: 1rem;
  line-height: 1.8;
}
.footer-title {
  color: var(--text-inverse);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a:hover {
  color: var(--text-inverse);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 2;
}
.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--color-primary);
}
.footer-contact-item a:hover {
  color: var(--text-inverse);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-copy {
  font-size: 0.9rem;
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-social-link {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-social-link:hover {
  color: var(--text-inverse);
}
.footer-social-link svg {
  width: 1.3rem;
  height: 1.3rem;
}
.developer-credit {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.mobile-menu-btn i, .mobile-menu-btn svg {
  width: 1.8rem;
  height: 1.8rem;
}
.nav-link-primary {
  color: var(--color-primary);
  font-weight: 800;
}
.developer-credit a {
  color: var(--color-primary);
  font-weight: 700;
}
.developer-credit a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   18. FLOATING ACTION BUTTON
   ========================================================================== */
.fab-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 100;
  cursor: pointer;
  border: none;
  transition: transform 0.3s;
  padding: 0;
}
.fab-button svg {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
}
.fab-button:hover {
  transform: scale(1.1);
}

/* ======================
   أعمالنا PAGE
   ====================== */

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.work-stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.work-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
    text-align: center;
}

.results-count {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.results-count span {
    color: var(--color-primary);
    font-weight: 700;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.work-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    animation: cardFadeIn 0.4s ease both;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
}

.work-card.featured { grid-column: span 2; }

.work-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card.featured .work-card-img { height: 280px; }

.work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.5s ease, opacity 0.3s;
}

.work-card:hover .work-card-img img {
    transform: scale(1.05);
    opacity: 1;
}

.work-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.45;
    color: #fff;
}

.work-card-icon svg { width: 36px; height: 36px; }

.work-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.75) 100%);
}

.work-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    z-index: 2;
}

.work-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.work-card:hover .work-card-hover-overlay { opacity: 1; }

.work-card-hover-btn {
    background: #fff;
    color: var(--color-primary);
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-family: "Tajawal", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.work-card-hover-btn:hover { transform: scale(1.05); }
.work-card-hover-btn svg { width: 16px; height: 16px; }

.work-card-body {
    padding: 1.25rem 1.4rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.work-card-category {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.work-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.work-card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.work-card-location svg { width: 13px; height: 13px; }

.work-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.25rem;
}

/* Category colors */
.cat-led .work-card-badge,
.cat-led .lightbox-img-placeholder     { background: #1e3a8a; }
.cat-print .work-card-badge,
.cat-print .lightbox-img-placeholder   { background: #2e1065; }
.cat-amusement .work-card-badge,
.cat-amusement .lightbox-img-placeholder { background: #451a03; }
.cat-billboard .work-card-badge,
.cat-billboard .lightbox-img-placeholder { background: #064e3b; }
.cat-event .work-card-badge,
.cat-event .lightbox-img-placeholder   { background: #450a0a; }

.cat-led .work-card-img       { background: #1e3a8a; }
.cat-print .work-card-img     { background: #2e1065; }
.cat-amusement .work-card-img { background: #451a03; }
.cat-billboard .work-card-img { background: #064e3b; }
.cat-event .work-card-img     { background: #450a0a; }

.cat-led .work-card-category,
.cat-led .lightbox-cat       { color: #3b82f6; }
.cat-print .work-card-category,
.cat-print .lightbox-cat     { color: #8b5cf6; }
.cat-amusement .work-card-category,
.cat-amusement .lightbox-cat { color: #f59e0b; }
.cat-billboard .work-card-category,
.cat-billboard .lightbox-cat { color: #10b981; }
.cat-event .work-card-category,
.cat-event .lightbox-cat     { color: #ef4444; }

/* Empty state */
.work-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    display: none;
}

.work-empty svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.4;
    display: block;
}

/* Lightbox additions */
.lightbox-img-placeholder {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-placeholder svg {
    width: 72px;
    height: 72px;
    color: rgba(255, 255, 255, 0.4);
}

.lightbox-cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.lightbox-close-btn {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
    z-index: 10000;
}

.lightbox-close-btn:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-close-btn svg { width: 18px; height: 18px; }

.lightbox-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-sm {
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
}

/* Animation */
@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .work-card.featured { grid-column: span 1; }
    .work-stats-bar { gap: 2rem; }
}

@media (max-width: 580px) {
    .work-grid { grid-template-columns: 1fr; }
    .work-stats-bar { gap: 1.5rem; }
}

/* ==========================================================================
   19. RESPONSIVE ENGINE
   ========================================================================== */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Centering Hero Section on Mobile/Tablet */
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-text p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
  }
  .hero-text div {
    justify-content: center !important;
  }

  .hero-desc {
    margin: 0 auto 2.5rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-info {
    flex: 0 0 auto;
  }
  .contact-form {
    padding: 3rem 2.5rem;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-line {
    display: none;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-featured {
    grid-column: span 1;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-container-65 {
    width: 80%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-title-sub {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-page {
    padding: 8rem 0 4rem;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
  .cta-banner-title {
    font-size: 1.8rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {

    padding: 2.5rem 1.5rem;
  }
  .contact-form-panel {
    padding: 2.5rem 1.5rem;
  }
  .slider-container-65 {
    width: 100%;
  }
  .client-logo-circle {
    width: 100px;
    height: 100px;
  }
  .carousel-btn {
    width: 35px;
    height: 35px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-dark-title {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Extracted embedded/inline CSS from HTML files
   ========================================================================== */

/* Extracted from base.html */
/* Touch target improvements on mobile */
.footer-links a {
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.footer-social-link {
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-desc {
    color:var(--text-secondary);line-height:1.9;
}

.hero-subtitle {
    font-size:1.2rem;color:rgba(255,255,255,0.75);margin-bottom:2.5rem;line-height:1.9;max-width:520px;
}

.hero-trust-row {
    display:flex;gap:2rem;margin-top:3rem;flex-wrap:wrap;
}

.hero-trust-icon {
    width:1rem;height:1rem;color:#34d399;
}

.service-visual-icon {
    width:5rem;height:5rem;
}

.card-title {
    font-size:1.4rem;font-weight:800;margin-bottom:1rem;
}

.feature-icon-wrap--green {
    margin:0 auto 1.5rem;background:linear-gradient(135deg,#059669,#0d9488);
}

.feature-icon-wrap--orange {
    margin:0 auto 1.5rem;background:linear-gradient(135deg,#d97706,#ea580c);
}
.feature-icon-wrap--orange.gradient-print {
    background: linear-gradient(
        to right,
        #FFD700,   /* yellow */
        #FF3B30,   /* red */
        #007BFF,   /* blue */
        #000000    /* black */
    );
}

.feature-icon-wrap--orange.gradient-print i {
    color: white;
    stroke: white;
}

.feature-icon-wrap--dark {
    margin:0 auto 1.5rem;background:linear-gradient(135deg,#1e3a8a,#312e81);
}

.service-card-title-sm {
    font-size:1.2rem;font-weight:800;margin-bottom:1rem;
}

.section-eyebrow-light {
    font-size:1rem;font-weight:700;opacity:.8;margin-bottom:.5rem;
}

.cta-heading {
    font-size:2.5rem;font-weight:800;margin-bottom:1rem;
}

.cta-actions {
    display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;position:relative;z-index:2;
}

/* ======================
   SHARED PAGE STYLES
   ====================== */

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-surface);
    clip-path: ellipse(55% 100% at 50% 100%);
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.cta-section { background: var(--bg-dark-gradient); }
.cta-inner   { text-align: center; }

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* ======================
   SERVICES PAGE
   ====================== */

.service-visual-blue   { --service-accent: #2563eb; }
.service-visual-green  { --service-accent: #059669; }
.service-visual-orange { --service-accent: #d97706; }

.service-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
    color: #fff;
    border: none;
    cursor: pointer;
}

.service-card-btn:hover { filter: brightness(0.88); color: #fff; }

.service-card-btn-green  { background: #059669; }
.service-card-btn-orange { background: #d97706; }

.process-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.process-step-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.extra-service-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.extra-service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.extra-service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ======================
   ABOUT PAGE
   ====================== */

.about-story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
}

.about-story-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-mission-box {
    background: var(--bg-main);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-right: 4px solid var(--color-primary);
}

.about-mission-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.about-mission-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.value-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.value-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.value-accent-yellow { background: linear-gradient(135deg, #d97706, #f59e0b); }
.value-accent-purple { background: linear-gradient(135deg, #7c3aed, #4f46e5); }

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ======================
   CATALOGUE PAGE
   ====================== */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.product-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.product-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #1e2a3a;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0.85;
    transition: transform 0.5s ease, opacity 0.3s;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
    opacity: 1;
}

.product-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 25, 40, 0.7) 100%);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-card-body {
    padding: 1.25rem 1.4rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card-cat {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-card-desc {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.product-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: filter 0.2s;
}

.product-card-btn:hover { filter: brightness(0.88); }
.product-card-btn svg   { width: 14px; height: 14px; }

.catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    display: none;
}

.catalog-empty svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.4;
    display: block;
}

.catalog-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-main);
    border-radius: 1.25rem;
    margin-top: 1rem;
}

.catalog-cta-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.catalog-cta-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ======================
   PORTFOLIO PAGE
   ====================== */

.work-stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.work-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
    text-align: center;
}

.results-count {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.results-count span {
    color: var(--color-primary);
    font-weight: 700;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.work-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    animation: cardFadeIn 0.4s ease both;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
}

.work-card.featured { grid-column: span 2; }

.work-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card.featured .work-card-img { height: 280px; }

.work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.5s ease, opacity 0.3s;
}

.work-card:hover .work-card-img img { transform: scale(1.05); opacity: 1; }

.work-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.45;
    color: #fff;
}

.work-card-icon svg { width: 36px; height: 36px; }

.work-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.75) 100%);
}

.work-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    z-index: 2;
}

.work-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.work-card:hover .work-card-hover-overlay { opacity: 1; }

.work-card-hover-btn {
    background: #fff;
    color: var(--color-primary);
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-family: "Tajawal", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.work-card-hover-btn:hover { transform: scale(1.05); }
.work-card-hover-btn svg   { width: 16px; height: 16px; }

.work-card-body {
    padding: 1.25rem 1.4rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.work-card-category {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.work-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.work-card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.work-card-location svg { width: 13px; height: 13px; }

.work-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.25rem;
}

.cat-led .work-card-badge,
.cat-led .lightbox-img-placeholder     { background: #1e3a8a; }
.cat-print .work-card-badge,
.cat-print .lightbox-img-placeholder   { background: #2e1065; }
.cat-amusement .work-card-badge,
.cat-amusement .lightbox-img-placeholder { background: #451a03; }
.cat-billboard .work-card-badge,
.cat-billboard .lightbox-img-placeholder { background: #064e3b; }
.cat-event .work-card-badge,
.cat-event .lightbox-img-placeholder   { background: #450a0a; }

.cat-led .work-card-img       { background: #1e3a8a; }
.cat-print .work-card-img     { background: #2e1065; }
.cat-amusement .work-card-img { background: #451a03; }
.cat-billboard .work-card-img { background: #064e3b; }
.cat-event .work-card-img     { background: #450a0a; }

.cat-led .work-card-category,
.cat-led .lightbox-cat       { color: #3b82f6; }
.cat-print .work-card-category,
.cat-print .lightbox-cat     { color: #8b5cf6; }
.cat-amusement .work-card-category,
.cat-amusement .lightbox-cat { color: #f59e0b; }
.cat-billboard .work-card-category,
.cat-billboard .lightbox-cat { color: #10b981; }
.cat-event .work-card-category,
.cat-event .lightbox-cat     { color: #ef4444; }

.work-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    display: none;
}

.work-empty svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.4;
    display: block;
}

.lightbox-img-placeholder {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-placeholder svg {
    width: 72px;
    height: 72px;
    color: rgba(255, 255, 255, 0.4);
}

.lightbox-cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.lightbox-box {
    background: #fff;
    border-radius: 1.5rem;
    max-width: 560px;
    width: 100%;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox.active .lightbox-box { transform: translateY(0) scale(1); }

.lightbox-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.lightbox-body { padding: 1.75rem 2rem 2rem; }

.lightbox-loc {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.lightbox-loc svg { width: 14px; height: 14px; }

.lightbox-close-btn {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
    z-index: 10000;
}

.lightbox-close-btn:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-close-btn svg   { width: 18px; height: 18px; }

.lightbox-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-sm {
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
}

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

/* ======================
   RESPONSIVE
   ====================== */

@media (max-width: 900px) {
    .work-grid          { grid-template-columns: repeat(2, 1fr); }
    .work-card.featured { grid-column: span 1; }
    .work-stats-bar     { gap: 2rem; }
    .catalog-grid       { grid-template-columns: repeat(2, 1fr); }
    .about-story-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .work-grid    { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .work-stats-bar { gap: 1.5rem; }
    .cta-title    { font-size: 1.5rem; }
}

/* ==========================================================================
   PROJECT DETAIL PAGE (project.html)
   ========================================================================== */

.proj-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    background: rgba(255,255,255,0.08);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
}
.proj-breadcrumb a {
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
}
.proj-breadcrumb a:hover { color: #fff; }
.proj-breadcrumb svg {
    width: 0.9rem;
    height: 0.9rem;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
}

.proj-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.proj-meta-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
}
.proj-meta-item svg {
    width: 1rem;
    height: 1rem;
    color: #93c5fd;
}

/* ---- Top grid: main image + info ---- */
.proj-top-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.proj-main-img-wrap {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}
.proj-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.proj-main-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.proj-main-placeholder svg {
    width: 4rem;
    height: 4rem;
    opacity: 0.25;
}

/* ---- Info sidebar ---- */
.proj-info-eyebrow {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.proj-info-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.35;
}
.proj-full-desc {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1rem;
    margin-bottom: 2rem;
}
.proj-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.proj-spec-item {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color 0.2s;
}
.proj-spec-item:hover { border-color: var(--color-primary); }
.proj-spec-key {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.proj-spec-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}
.proj-info-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Gallery grid ---- */
.proj-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}
.proj-gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proj-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.proj-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.proj-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s ease;
}
.proj-gallery-item img.proj-img-loaded { opacity: 1; }
.proj-gallery-item:hover img { transform: scale(1.05); }

.proj-gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.proj-gallery-item:hover .proj-gallery-item-overlay { opacity: 1; }
.proj-gallery-item-overlay svg { color: white; width: 2rem; height: 2rem; }

.proj-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: var(--text-muted);
    font-size: 0.8rem;
}
.proj-gallery-placeholder svg { width: 2rem; height: 2rem; opacity: 0.2; }
.proj-gallery-item:first-child .proj-gallery-placeholder svg {
    width: 3.5rem;
    height: 3.5rem;
}

/* ---- Gallery lightbox ---- */
.proj-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}
.proj-lightbox.active { display: flex; }

.proj-lb-media {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 85vh;
}
.proj-lb-media img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    user-select: none;
    pointer-events: none;
    display: block;
}
.proj-lb-video-wrap {
    position: relative;
    width: min(90vw, 960px);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}
.proj-lb-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.proj-lb-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.proj-lb-close:hover { background: rgba(255,255,255,0.22); }
.proj-lb-close svg { width: 1.3rem; height: 1.3rem; }

.proj-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.proj-lb-nav:hover { background: rgba(255,255,255,0.22); }
.proj-lb-nav svg { width: 1.5rem; height: 1.5rem; }
.proj-lb-prev { right: 1.5rem; }
.proj-lb-next { left: 1.5rem; }

.proj-lb-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    background: rgba(0,0,0,0.45);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .proj-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .proj-gallery-grid {
        grid-auto-rows: 180px;
    }
    #proj-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 640px) {
    .proj-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }
    .proj-gallery-item:first-child {
        grid-column: 1 / -1;
        grid-row: span 1;
    }
    .proj-specs-grid {
        grid-template-columns: 1fr;
    }
    #proj-related-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 480px) {
    .proj-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .proj-gallery-item:first-child {
        grid-column: 1;
        grid-row: span 1;
    }
    .proj-lb-prev { right: 0.75rem; }
    .proj-lb-next { left: 0.75rem; }
}

/* ---- Gallery: video item ---- */
.proj-gallery-video { cursor: pointer; }

.proj-gallery-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
.proj-gallery-play-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(0, 0, 0, 0.62);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, background 0.25s ease;
}
.proj-gallery-item:hover .proj-gallery-play-icon {
    transform: scale(1.12);
    background: rgba(37, 99, 235, 0.88);
}
.proj-gallery-play-icon svg {
    width: 1.4rem;
    height: 1.4rem;
    color: #fff;
    margin-inline-start: 3px;
}

/* ---- Skeleton shimmer ---- */
.proj-gallery-item.proj-skeleton {
    background: linear-gradient(90deg, #f0f2f5 25%, #e4e8ed 50%, #f0f2f5 75%);
    background-size: 300% 100%;
    animation: proj-shimmer 1.6s infinite linear;
}
@keyframes proj-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---- Lightbox loading spinner ---- */
.proj-lb-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: proj-spin 0.7s linear infinite;
}
@keyframes proj-spin {
    to { transform: rotate(360deg); }
}
