/* ============================================================
   WIRE IT - Premium CSS
   Luxury IT Agency · Marrakech, Morocco
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Noto+Kufi+Arabic:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy-950: #020b18;
  --navy-900: #040f1f;
  --navy-800: #071527;
  --navy-700: #0a1d35;
  --navy-600: #0e2645;
  --navy-500: #132f56;

  --cyan: #00d4ff;
  --cyan-dark: #0099cc;
  --cyan-glow: rgba(0, 212, 255, 0.15);
  --cyan-glow-strong: rgba(0, 212, 255, 0.3);

  --green: #00e5a0;
  --green-glow: rgba(0, 229, 160, 0.15);

  --silver: #a8b8c8;
  --silver-light: #d0dde8;
  --white: #ffffff;
  --white-90: rgba(255,255,255,0.9);
  --white-70: rgba(255,255,255,0.7);
  --white-50: rgba(255,255,255,0.5);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
  --white-05: rgba(255,255,255,0.05);

  --accent-orange: #ff6b35;
  --accent-purple: #7b61ff;

  --gradient-cyan: linear-gradient(135deg, #00d4ff, #00e5a0);
  --gradient-navy: linear-gradient(135deg, #020b18, #071527);
  --gradient-card: linear-gradient(135deg, rgba(7,21,39,0.8), rgba(10,29,53,0.6));

  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-arabic: 'Noto Kufi Arabic', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  --shadow-glow: 0 0 40px var(--cyan-glow-strong);
  --shadow-nav: 0 4px 32px rgba(0,0,0,0.6);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white-90);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#main-content {
  display: block;
  padding-top: 18px;
}

/* Arabic font override */
[dir="rtl"] body,
[dir="rtl"] * {
  font-family: var(--font-arabic);
}

[dir="rtl"] .logo-text,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.display-xl {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.display-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

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

.text-silver { color: var(--silver); }
.text-cyan { color: var(--cyan); }
.text-white { color: var(--white); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section + .section,
.section + .stats-band,
.stats-band + .section,
.page-hero + .section,
.page-hero + .section-padding,
.section-padding + .section-padding,
.section-padding + .cta-section,
.section-padding + .related-services,
.related-services + .section-padding,
.cta-section + .section-padding,
.stats-band + .section-padding {
  margin-top: 16px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gradient-cyan);
}

[dir="rtl"] .section-label::before {
  display: none;
}
[dir="rtl"] .section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gradient-cyan);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--silver);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   GRID SYSTEM
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .container, .container-sm { padding: 0 18px; }
  .section-title { margin-bottom: 12px; }
  .section-subtitle { font-size: 1rem; line-height: 1.75; }
  #main-content { padding-top: 12px; }
  .section + .section,
  .section + .stats-band,
  .stats-band + .section,
  .page-hero + .section,
  .page-hero + .section-padding,
  .section-padding + .section-padding,
  .section-padding + .cta-section,
  .section-padding + .related-services,
  .related-services + .section-padding,
  .cta-section + .section-padding,
  .stats-band + .section-padding { margin-top: 12px; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(2, 11, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-nav);
  border-bottom: 1px solid var(--white-10);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1260px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-70);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-cyan);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 16px;
  background: var(--gradient-cyan);
  color: var(--navy-950) !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--cyan-glow-strong);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 20px;
  border-left: 1px solid var(--white-20);
  padding-left: 20px;
}

.lang-btn {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white-50);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  transition: all var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--cyan);
  background: var(--cyan-glow);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 992px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    padding: 28px 18px 36px;
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    border-top: 1px solid var(--white-10);
    overflow-y: auto;
  }

  [dir="rtl"] .nav-menu {
    transform: translateX(100%);
  }

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

  .nav-link {
    font-size: 1rem;
    padding: 14px 16px;
    border: 1px solid var(--white-10);
    background: rgba(255,255,255,0.03);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    padding: 14px 18px;
  }
  .lang-switcher {
    border: none;
    padding: 6px 0 0;
    margin-left: 0;
    justify-content: center;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
  padding-top: 24px;
}

/* Animated grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(0, 212, 255, 0.08) 0%,
    rgba(0, 229, 160, 0.04) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--silver);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--white-10);
  animation: fadeInUp 0.6s 0.4s ease both;
  position: relative;
  z-index: 1;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--white-50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Floating elements */
.hero-float {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  animation: float 6s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-20px); }
}

@media (max-width: 992px) {
  .hero-float { display: none; }
  .hero-stats { gap: 24px; }
  .hero { min-height: auto; padding: 132px 0 84px; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 72px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 11vw, 3.5rem);
    margin-bottom: 18px;
  }
  .hero-subtitle {
    margin-bottom: 30px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    margin-top: 48px;
    padding-top: 24px;
  }
  .hero-stat-value {
    font-size: 1.65rem;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform var(--transition);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-cyan);
  color: var(--navy-950);
  box-shadow: 0 4px 24px var(--cyan-glow-strong);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-20);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .card { padding: 24px; }
  .service-card { padding: 24px; }
  .project-body,
  .blog-body,
  .blog-card-content,
  .portfolio-card-content { padding: 20px; }
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-cyan);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card:hover::before {
  opacity: 0.3;
}

/* Service Card */
.service-card {
  padding: 36px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--cyan-glow);
  border: 1px solid var(--cyan-glow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
  stroke-width: 1.5;
  fill: none;
}

.service-card:hover .service-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 8px 24px var(--cyan-glow-strong);
}

.service-card:hover .service-icon svg {
  stroke: var(--navy-950);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 20px;
  transition: gap var(--transition);
}

.service-card:hover .card-link {
  gap: 12px;
}

/* Project Card */
.project-card {
  padding: 0;
  overflow: hidden;
}

.project-thumb {
  aspect-ratio: 16/10;
  background: var(--navy-700);
  position: relative;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,11,24,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

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

.project-body {
  padding: 24px;
}

.project-category {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.project-body h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.85rem;
  color: var(--silver);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

/* Blog Card */
.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--navy-700);
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--white-50);
  margin-bottom: 12px;
}

.blog-meta .category-badge {
  color: var(--cyan);
  background: var(--cyan-glow);
  border-radius: var(--radius-full);
  padding: 2px 10px;
}

.blog-body h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-body p {
  font-size: 0.875rem;
  color: var(--silver);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.why-item h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--silver);
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 50%, var(--navy-950) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.process-step:hover .process-number {
  background: var(--gradient-cyan);
  border-color: transparent;
  color: var(--navy-950);
  box-shadow: 0 0 32px var(--cyan-glow-strong);
}

.process-step-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.8rem;
  color: var(--silver);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-steps::before { display: none; }
  .process-step { display: flex; gap: 20px; align-items: flex-start; text-align: left; }
  .process-number { flex-shrink: 0; margin: 0; }
}

/* ============================================================
   TECHNOLOGIES
   ============================================================ */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--silver-light);
  transition: all var(--transition);
}

.tech-chip:hover {
  background: var(--cyan-glow);
  border-color: rgba(0,212,255,0.3);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: var(--cyan);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

[dir="rtl"] .testimonial-card::before {
  left: auto;
  right: 30px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--silver-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  padding-top: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-950);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--silver);
}

.testimonial-stars {
  color: #ffd700;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--white-10);
}

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

.stat-value,
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--white-10); }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.08), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 500px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--white-10);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-label {
  font-size: 0.75rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

/* Contact Form */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--white);
  transition: all var(--transition);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--white-30, rgba(255,255,255,0.3));
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.05);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid,
.contact-form select.is-invalid {
  border-color: #ff6464;
  background: rgba(255, 100, 100, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 100, 100, 0.12);
}

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

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

@media (max-width: 576px) {
  .form-row { grid-template-columns: 1fr; }
}

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

.form-alert.success {
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--green);
  display: block;
}

.form-alert.error {
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.3);
  color: #ff6464;
  display: block;
}

.form-alert strong {
  display: block;
  margin-bottom: 8px;
}

.form-alert-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.form-alert-list li + li {
  margin-top: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--white-10);
  padding-top: 80px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-about {
  font-size: 0.875rem;
  color: var(--silver);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--silver);
}

.social-btn:hover {
  background: var(--cyan-glow);
  border-color: rgba(0,212,255,0.3);
  color: var(--cyan);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--silver);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: var(--white-50);
}

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

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--white-50);
  transition: color var(--transition);
}

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

@media (max-width: 768px) {
  .footer { padding-top: 64px; }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--navy-900);
  border-bottom: 1px solid var(--white-10);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--white-50);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--white-50); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--cyan); }

/* ============================================================
   BLOG / ARTICLE
   ============================================================ */
.article-content {
  font-size: 1rem;
  color: var(--silver-light);
  line-height: 1.9;
}

.article-content h2 {
  font-size: 1.6rem;
  color: var(--white);
  margin: 40px 0 16px;
}

.article-content h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 20px;
  color: var(--silver);
}

.article-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0,212,255,0.3);
}

.article-content a:hover {
  text-decoration-color: var(--cyan);
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  width: 100%;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-950);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   SCROLL BAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dark); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.full-width { width: 100%; }
.hidden { display: none !important; }

/* ============================================================
   ADMIN LOGIN (minimal)
   ============================================================ */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-950);
}

.admin-login-box {
  width: 100%;
  max-width: 420px;
  padding: 48px;
  background: var(--gradient-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-xl);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--silver);
  font-family: var(--font-display);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.page-link:hover,
.page-link.active {
  background: var(--gradient-cyan);
  border-color: transparent;
  color: var(--navy-950);
}

/* ============================================================
   RESPONSIVE FOOTER GRID
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .process-step { flex-direction: column; text-align: center; }
}

/* =====================================================
   ADDITIONAL PAGE STYLES
   ===================================================== */

/* ---- PAGE HERO ---- */
.page-hero {
    position: relative;
    padding: 120px 0 70px;
    background: var(--navy-dark);
    overflow: hidden;
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: var(--silver); font-size: 1.1rem; line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: 13px; color: var(--silver); }
.breadcrumb a { color: var(--silver); } .breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { opacity: .5; }

/* ---- SERVICE DETAIL ---- */
.service-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.service-icon-large { width: 72px; height: 72px; background: var(--cyan-dim); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.service-icon-large svg { width: 36px; height: 36px; color: var(--cyan); }
.service-full-description { color: var(--silver); line-height: 1.85; font-size: 1rem; margin-bottom: 2.5rem; }
.service-features h2, .service-process h2, .service-cta h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.features-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin-bottom: 2.5rem; }
.features-list li { display: flex; align-items: center; gap: .75rem; color: var(--silver); font-size: .95rem; }
.features-list li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.process-steps-mini { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.process-step-mini { display: flex; align-items: flex-start; gap: 1rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; }
.process-step-mini .step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--cyan-dim); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.process-step-mini strong { display: block; color: var(--white); margin-bottom: .2rem; }
.process-step-mini p { color: var(--silver); font-size: 13px; margin: 0; }
.service-cta { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; text-align: center; }
.service-cta p { color: var(--silver); margin-bottom: 1.25rem; }

/* Sidebar */
.service-sidebar, .project-sidebar, .article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.sidebar-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.sidebar-service-link { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; color: var(--silver); font-size: 14px; border-radius: 8px; transition: all .2s; text-decoration: none; }
.sidebar-service-link:hover, .sidebar-service-link.active { color: var(--cyan); background: var(--cyan-dim); }
.sidebar-service-link svg:first-child { width: 15px; height: 15px; }
.sidebar-service-link .arrow { width: 14px; height: 14px; margin-left: auto; opacity: 0; transition: opacity .2s; }
.sidebar-service-link:hover .arrow { opacity: 1; }
.sidebar-contact { background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(0,229,160,.04)); border-color: rgba(0,212,255,.2); }
.sidebar-contact p { color: var(--silver); font-size: 14px; margin-bottom: 1rem; }
.btn-full { width: 100%; justify-content: center; text-align: center; }
.sidebar-contact-info { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.sidebar-contact-info a { display: flex; align-items: center; gap: .5rem; color: var(--silver); font-size: 13px; }
.sidebar-contact-info a:hover { color: var(--cyan); }
.sidebar-contact-info svg { width: 14px; height: 14px; }
.related-services { padding: 5rem 0; background: var(--navy-dark); }
.services-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.related-services .section-header { margin-bottom: 2rem; }
.related-services .services-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.related-service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    text-decoration: none;
}
.related-service-card p {
    margin-bottom: auto;
    padding-bottom: 1.25rem;
}
.related-service-card .card-link {
    margin-top: 0;
}

/* ---- ABOUT PAGE ---- */
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-story-text { }
.about-story-text h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.about-story-text p { color: var(--silver); line-height: 1.85; margin-bottom: 1rem; }
.about-highlights { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.highlight-item { display: flex; align-items: center; gap: .75rem; color: var(--silver); font-size: 14px; }
.highlight-item svg { width: 16px; height: 16px; color: var(--cyan); }
.about-image-frame { position: relative; }
.about-image-inner { position: relative; padding: 2rem; }
.about-photo-stack {
    position: relative;
    min-height: 470px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(0,212,255,.16);
    background: linear-gradient(180deg, rgba(0,212,255,.08), rgba(0,212,255,0)), rgba(7,20,40,.88);
    box-shadow: 0 28px 60px rgba(0,0,0,.32);
}
.about-photo-stack::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,11,24,0) 15%, rgba(2,11,24,.2) 55%, rgba(2,11,24,.72) 100%), linear-gradient(120deg, rgba(0,212,255,.06), transparent 35%);
    pointer-events: none;
}
.about-photo-main,
.about-photo-inset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-photo-main {
    position: absolute;
    inset: 0;
}
.about-photo-card {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 38%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 40px rgba(0,0,0,.34);
    z-index: 1;
}
.about-glow-badge { position: absolute; display: flex; align-items: center; gap: .5rem; background: var(--card-bg); border: 1px solid rgba(0,212,255,.3); padding: .6rem 1rem; border-radius: 25px; font-size: 13px; font-weight: 600; color: var(--white); }
.about-glow-badge.top { top: 0; right: -1rem; }
.about-glow-badge.bottom { bottom: 0; left: -1rem; }
.about-glow-badge svg { width: 16px; height: 16px; color: var(--cyan); }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.mv-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.mv-icon { width: 52px; height: 52px; background: var(--cyan-dim); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.mv-icon svg { width: 24px; height: 24px; color: var(--cyan); }
.mv-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.mv-card p { color: var(--silver); font-size: 14px; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.value-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; transition: all .3s; }
.value-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.value-icon { width: 44px; height: 44px; background: var(--cyan-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.value-icon svg { width: 20px; height: 20px; color: var(--cyan); }
.value-card h3 { font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.value-card p { color: var(--silver); font-size: 13px; line-height: 1.65; }
.bg-dark-alt { background: var(--navy-dark); }

/* ---- PORTFOLIO ---- */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.filter-btn { padding: .5rem 1.25rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 25px; color: var(--silver); font-size: 14px; cursor: pointer; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.portfolio-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all .3s; }
.portfolio-card:hover { transform: translateY(-6px); border-color: var(--cyan); }
.portfolio-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.portfolio-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.05); }
.portfolio-placeholder { width: 100%; height: 100%; background: var(--navy-dark); display: flex; align-items: center; justify-content: center; }
.portfolio-placeholder svg { width: 48px; height: 48px; color: var(--border); }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(2,11,24,.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-view-btn { display: flex; align-items: center; gap: .5rem; padding: .7rem 1.5rem; background: var(--white); color: var(--navy-dark); font-weight: 700; border-radius: 25px; font-size: 14px; }
.portfolio-view-btn svg { width: 15px; height: 15px; }
.portfolio-card-content { padding: 1.5rem; }
.portfolio-category { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.portfolio-card-content h3 { margin: .5rem 0; font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; }
.portfolio-card-content h3 a { color: var(--white); text-decoration: none; }
.portfolio-card-content p { color: var(--silver); font-size: 14px; margin-bottom: 1rem; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--cyan); font-size: 13px; font-weight: 600; }
.card-link svg { width: 14px; height: 14px; }

/* ---- PROJECT DETAIL ---- */
.project-hero-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.project-badge { background: var(--cyan-dim); color: var(--cyan); padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.project-client, .project-year { display: flex; align-items: center; gap: .4rem; color: var(--silver); font-size: 13px; }
.project-client svg, .project-year svg { width: 13px; height: 13px; }
.project-cover { margin-bottom: 3rem; border-radius: 16px; overflow: hidden; }
.project-cover img { width: 100%; max-height: 500px; object-fit: cover; }
.project-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.project-section { margin-bottom: 2rem; }
.project-section h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.project-text { color: var(--silver); line-height: 1.85; }
.project-block { display: flex; gap: 1.25rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.project-block.challenge { border-left: 3px solid var(--warning); }
.project-block.solution { border-left: 3px solid var(--cyan); }
.project-block.result { border-left: 3px solid var(--green); }
.block-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.challenge .block-icon svg { color: var(--warning); }
.solution .block-icon svg { color: var(--cyan); }
.result .block-icon svg { color: var(--green); }
.block-icon svg { width: 20px; height: 20px; }
.project-block h3 { font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.project-block p { color: var(--silver); font-size: 14px; line-height: 1.7; margin: 0; }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.project-info-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.project-info-list li { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.project-info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.info-label { display: flex; align-items: center; gap: .5rem; color: var(--silver); font-weight: 600; }
.info-label svg { width: 14px; height: 14px; }
.project-info-list a { color: var(--cyan); display: flex; align-items: center; gap: .3rem; }
.project-nav { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.tech-chips-sm .tech-chip { font-size: 11px; padding: 3px 10px; }

/* ---- BLOG ---- */
.blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.blog-featured-image { aspect-ratio: 16/10; }
.blog-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-placeholder { width: 100%; height: 100%; background: var(--navy-dark); display: flex; align-items: center; justify-content: center; }
.blog-placeholder svg { width: 64px; height: 64px; color: var(--border); }
.blog-featured-content { padding: 2rem 2rem 2rem 0; }
.blog-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.blog-featured-content h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); margin: .5rem 0 .75rem; }
.blog-featured-content h2 a { color: var(--white); text-decoration: none; }
.blog-featured-content p { color: var(--silver); margin-bottom: 1.25rem; line-height: 1.7; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .75rem; }
.blog-meta span { display: flex; align-items: center; gap: .3rem; color: var(--silver); font-size: 12px; }
.blog-meta svg { width: 12px; height: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all .3s; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.blog-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-placeholder-sm { width: 100%; height: 100%; background: var(--navy-dark); display: flex; align-items: center; justify-content: center; }
.blog-placeholder-sm svg { width: 36px; height: 36px; color: var(--border); }
.blog-card-cat { position: absolute; top: 1rem; left: 1rem; background: var(--cyan); color: #000; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.blog-card-content { padding: 1.25rem 1.5rem; }
.blog-card-content h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; margin: .5rem 0 .75rem; }
.blog-card-content h3 a { color: var(--white); text-decoration: none; }
.blog-card-content p { color: var(--silver); font-size: 13px; line-height: 1.65; margin-bottom: 1rem; }

/* Article */
.article-hero h1 { max-width: 800px; }
.article-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: .75rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.article-meta span { display: flex; align-items: center; gap: .4rem; color: var(--silver); font-size: 13px; }
.article-meta svg { width: 13px; height: 13px; }
.article-grid { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.article-cover { border-radius: 14px; overflow: hidden; margin-bottom: 2rem; }
.article-cover img { width: 100%; max-height: 450px; object-fit: cover; }
.article-body { color: var(--silver); line-height: 1.9; font-size: 1rem; }
.article-body h2, .article-body h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--white); margin: 2rem 0 .75rem; }
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.2rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body a { color: var(--cyan); }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .4rem; }
.article-body blockquote { border-left: 3px solid var(--cyan); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--card-bg); border-radius: 0 8px 8px 0; font-style: italic; }
.article-body code { background: var(--navy-dark); padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 13px; color: var(--cyan); }
.article-body pre { background: var(--navy-dark); padding: 1.25rem; border-radius: 8px; overflow-x: auto; margin-bottom: 1.25rem; }
.article-share { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.article-share span { color: var(--silver); font-size: 14px; font-weight: 600; }
.share-btn { display: flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 6px; font-size: 13px; font-weight: 600; }
.share-btn.linkedin { background: #0a66c2; color: #fff; }
.share-btn.twitter { background: #1da1f2; color: #fff; }
.share-btn svg { width: 15px; height: 15px; }
.article-back { margin-top: 2rem; }
.recent-post-link { display: block; padding: .65rem 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.recent-post-link:last-child { border-bottom: none; }
.recent-title { display: block; color: var(--white); font-size: 13px; font-weight: 500; margin-bottom: .2rem; line-height: 1.4; }
.recent-title:hover { color: var(--cyan); }
.recent-date { font-size: 11px; color: var(--silver); }
.related-posts { margin-top: 4rem; }
.related-posts h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.blog-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--white); margin: 2rem 0 .75rem; }
.legal-content p { color: var(--silver); line-height: 1.85; margin-bottom: 1rem; }
.legal-content ul { color: var(--silver); padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: .4rem; }
.legal-content a { color: var(--cyan); }

/* ---- 404 ---- */
.error-section { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.error-content { text-align: center; }
.error-code { display: flex; align-items: center; justify-content: center; gap: .5rem; font-family: 'Rajdhani', sans-serif; font-size: 8rem; font-weight: 900; color: var(--navy-border); margin-bottom: 1.5rem; }
.error-0 svg { width: 6rem; height: 6rem; color: var(--cyan); }
.error-content h1 { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.error-content p { color: var(--silver); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- EMPTY STATES ---- */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--silver); }
.empty-state svg { width: 64px; height: 64px; margin-bottom: 1rem; color: var(--border); }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; color: var(--silver); font-size: 14px; text-decoration: none; transition: all .2s; }
.page-btn:hover, .page-btn.active { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
.page-btn svg { width: 14px; height: 14px; }

/* ---- RESPONSIVE ADDITIONS ---- */
@media (max-width: 900px) {
    .service-detail-grid, .project-detail-grid, .article-grid { grid-template-columns: 1fr; }
    .service-sidebar, .project-sidebar, .article-sidebar { order: -1; }
    .about-story-grid { grid-template-columns: 1fr; }
    .service-cta { padding: 1.5rem; }
    .related-services { padding: 4rem 0; }
    .about-photo-stack { min-height: 360px; }
    .about-photo-card { width: 42%; right: 1rem; bottom: 1rem; }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-content { padding: 1.5rem; }
    .article-grid { gap: 2rem; }
    .project-info-list li { flex-direction: column; align-items: flex-start; gap: .35rem; }
}
@media (max-width: 600px) {
    .page-hero { padding: 104px 0 56px; margin-top: 4px; }
    .page-hero p { font-size: 1rem; }
    .service-full-description { margin-bottom: 2rem; }
    .process-step-mini { padding: .95rem 1rem; }
    .sidebar-card { padding: 1.15rem; }
    .related-services .services-grid { gap: 1rem; }
    .related-service-card { padding: 1.35rem; }
    .stats-band { padding: 42px 0; }
    .stat-item { padding: 18px 14px; }
    .stat-number, .stat-value { font-size: 2rem; }
    .about-image-inner { padding: 1rem; }
    .about-glow-badge { font-size: 12px; padding: .55rem .85rem; }
    .about-glow-badge.top { right: 0; }
    .about-glow-badge.bottom { left: 0; }
    .about-photo-stack { min-height: 300px; }
    .about-photo-card { width: 46%; }
    .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
    .portfolio-filters { gap: .5rem; }
    .filter-btn { width: 100%; text-align: center; }
    .cta-buttons .btn,
    .article-share .share-btn,
    .article-back .btn,
    .project-nav .btn { width: 100%; justify-content: center; }
    .article-share { align-items: stretch; }
    .error-code { font-size: 5rem; }
    .error-0 svg { width: 4rem; height: 4rem; }
}
