/* ═══════════════════════════════════════════════════════
   CODEXT SOFT — Premium Design System
   Silicon Valley-grade Corporate Website
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --primary: #005BFF;
  --primary-light: #1EA7FF;
  --cyan-glow: #58D4FF;
  --dark-navy: #07182E;
  --dark-bg: #050B18;
  --dark-surface: #0A1628;
  --dark-card: #0D1F3C;
  --glass-white: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --glass-hover: rgba(255,255,255,0.12);
  --silver: #E6ECF5;
  --white: #FFFFFF;
  --text-primary: #E6ECF5;
  --text-secondary: #8A9BBF;
  --text-muted: #5A6B8A;
  --gradient-primary: linear-gradient(135deg, #005BFF, #1EA7FF, #58D4FF);
  --gradient-dark: linear-gradient(180deg, #050B18 0%, #07182E 50%, #0A1628 100%);
  --gradient-card: linear-gradient(145deg, rgba(13,31,60,0.8), rgba(7,24,46,0.9));
  --gradient-glow: radial-gradient(ellipse at center, rgba(0,91,255,0.15), transparent 70%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(0,91,255,0.2);
  --shadow-glow-strong: 0 0 60px rgba(0,91,255,0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--text-primary);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 4px;
}

/* ── Selection ── */
::selection {
  background: rgba(0,91,255,0.3);
  color: var(--white);
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1440px) { .container { max-width: 1400px; } }

/* ═══════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 100px;
  height: 100px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ═══════════════════════════════════════════
   PARTICLE CANVAS
   ═══════════════════════════════════════════ */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(5,11,24,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

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

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

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 4px 20px rgba(0,91,255,0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,91,255,0.5) !important;
}

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

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

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5,11,24,0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.25rem;
    padding: 12px 32px;
  }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(0,91,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,91,255,0.55);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--silver);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  color: var(--white);
  background: rgba(0,91,255,0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,91,255,0.2);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════
   SECTION UTILITIES
   ═══════════════════════════════════════════ */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(0,91,255,0.1);
  border: 1px solid rgba(0,91,255,0.2);
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--white);
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   GLASS CARD
   ═══════════════════════════════════════════ */
.glass-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,91,255,0.08), transparent 60%);
  pointer-events: none;
  transition: opacity var(--transition-normal);
  opacity: 0;
}

.glass-card:hover {
  border-color: rgba(0,91,255,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.glass-card:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,91,255,0.12) 0%, transparent 70%);
  animation: heroGlow1 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88,212,255,0.08) 0%, transparent 70%);
  animation: heroGlow2 10s ease-in-out infinite;
}

@keyframes heroGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes heroGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.15); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,91,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,91,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0,91,255,0.1);
  border: 1px solid rgba(0,91,255,0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-glow);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-glow);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--white);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

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

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeInUp 1s var(--ease-out) 0.8s both;
}

.hero-logo-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,91,255,0.15);
  animation: ringRotate 20s linear infinite;
}

.hero-logo-ring:nth-child(1) { width: 100%; height: 100%; }
.hero-logo-ring:nth-child(2) { width: 80%; height: 80%; animation-direction: reverse; animation-duration: 15s; border-color: rgba(30,167,255,0.12); }
.hero-logo-ring:nth-child(3) { width: 60%; height: 60%; animation-duration: 25s; border-color: rgba(88,212,255,0.1); }

.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-light);
}

@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-logo-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(0,91,255,0.3));
  animation: heroLogoFloat 6s ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 32px; }
  .hero-logo-wrapper { width: 280px; height: 280px; }
  .hero-logo-img { width: 130px; height: 130px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 16px 36px; font-size: 1rem; }
}

/* ═══════════════════════════════════════════
   SERVICES CARDS
   ═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 40px 32px;
  text-align: center;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,91,255,0.1);
  border: 1px solid rgba(0,91,255,0.2);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all var(--transition-normal);
}

.glass-card:hover .service-icon {
  background: rgba(0,91,255,0.2);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0,91,255,0.25);
  transform: scale(1.08);
}

.glass-card:hover .service-icon svg { stroke: var(--cyan-glow); }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   WHY US CARDS
   ═══════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  padding: 36px 28px;
  text-align: center;
}

.why-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

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

/* ═══════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 992px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-strong);
  transform: scale(1.03);
}

.pricing-card.featured::before { opacity: 1; }

.pricing-badge {
  display: inline-block;
  padding: 5px 16px;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-annual {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-domain {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  text-align: right;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: rgba(0,91,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--cyan-glow);
  fill: none;
  stroke-width: 3;
}

/* ═══════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--cyan-glow), var(--primary));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-right: 72px;
  padding-bottom: 48px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  right: 12px;
  top: 6px;
  width: 24px;
  height: 24px;
  background: var(--dark-bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all var(--transition-normal);
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.timeline-item.visible .timeline-dot {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 20px rgba(88,212,255,0.4);
}

.timeline-step {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

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

/* ═══════════════════════════════════════════
   TECH STACK
   ═══════════════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

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

.tech-card {
  padding: 24px 16px;
  text-align: center;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.tech-card:hover {
  border-color: rgba(0,91,255,0.3);
  background: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0,91,255,0.15);
}

.tech-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════
   STATS / COUNTERS
   ═══════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.stat-card {
  text-align: center;
  padding: 36px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════ */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  background: rgba(0,91,255,0.2);
  border-color: var(--primary);
}

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

@media (max-width: 992px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-card);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-navy), var(--dark-card));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.portfolio-thumb-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,11,24,0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-thumb { transform: scale(1.05); }

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-cat {
  font-size: 0.82rem;
  color: var(--primary-light);
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-info-card {
  padding: 24px 20px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: block;
}

.contact-info-card:hover {
  border-color: rgba(0,91,255,0.3);
  background: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0,91,255,0.15);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,91,255,0.1);
  border-radius: var(--radius-sm);
}

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

.contact-info-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
  direction: ltr;
}

.contact-form-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  direction: rtl;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0,91,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,91,255,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

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

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

/* ═══════════════════════════════════════════
   MAP PLACEHOLDER
   ═══════════════════════════════════════════ */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  overflow: hidden;
  position: relative;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,91,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,91,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-placeholder-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  z-index: 1;
}

/* ═══════════════════════════════════════════
   PAGE HEADER (for inner pages)
   ═══════════════════════════════════════════ */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,91,255,0.1), transparent 70%);
  pointer-events: none;
}

.page-header .section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   ENTERPRISE CTA SECTION
   ═══════════════════════════════════════════ */
.enterprise-section {
  position: relative;
  overflow: hidden;
}

.enterprise-card {
  padding: 64px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(0,91,255,0.08), rgba(13,31,60,0.6));
  border: 1px solid rgba(0,91,255,0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.enterprise-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,91,255,0.1), transparent 70%);
  pointer-events: none;
}

.enterprise-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
  text-align: right;
}

@media (max-width: 600px) { .enterprise-features { grid-template-columns: 1fr; } }

.enterprise-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.enterprise-feature svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  stroke: var(--cyan-glow);
  fill: none;
  stroke-width: 2.5;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-vm-card {
  padding: 28px 24px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.about-vm-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.about-vm-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.value-tag {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(0,91,255,0.08);
  border: 1px solid rgba(0,91,255,0.15);
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.value-tag:hover {
  background: rgba(0,91,255,0.15);
  border-color: var(--primary);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  position: relative;
  padding: 80px 0 32px;
  background: var(--dark-surface);
  border-top: 1px solid var(--glass-border);
  z-index: 1;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-about-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(0,91,255,0.15);
  border-color: var(--primary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 1.5;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  stroke: var(--primary-light);
  fill: none;
  stroke-width: 1.5;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-card {
  padding: 80px 48px;
  text-align: center;
  background: linear-gradient(145deg, rgba(0,91,255,0.1), rgba(5,11,24,0.8));
  border: 1px solid rgba(0,91,255,0.15);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,91,255,0.08), transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

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

/* ═══════════════════════════════════════════
   ANIMATIONS (Reveal on Scroll)
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

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

/* ═══════════════════════════════════════════
   ANIMATED BORDER
   ═══════════════════════════════════════════ */
.border-glow {
  position: relative;
}

.border-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent, var(--cyan-glow), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
  animation: borderRotate 4s linear infinite;
}

.border-glow:hover::after { opacity: 0.5; }

@keyframes borderRotate {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

/* ═══════════════════════════════════════════
   MOUSE GLOW FOLLOW
   ═══════════════════════════════════════════ */
.mouse-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,91,255,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .mouse-glow { opacity: 1; }

/* ═══════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--glass-border);
}

.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: ltr; }
.service-detail:nth-child(even) .service-detail-content { direction: rtl; }

@media (max-width: 768px) {
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail:nth-child(even) { direction: rtl; }
}

.service-detail-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,91,255,0.08);
  border: 1px solid rgba(0,91,255,0.15);
  border-radius: var(--radius-lg);
}

.service-detail-icon svg {
  width: 56px;
  height: 56px;
  stroke: var(--primary-light);
  fill: none;
  stroke-width: 1.2;
}

.service-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features-list li svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  stroke: var(--cyan-glow);
  fill: none;
  stroke-width: 2.5;
}

/* ═══════════════════════════════════════════
   HERO IMAGE
   ═══════════════════════════════════════════ */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  animation: fadeInUp 1s var(--ease-out) 0.8s both;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 80px rgba(0,91,255,0.25), 0 0 0 1px rgba(0,91,255,0.15);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, transparent 50%, rgba(5,11,24,0.6) 100%);
  pointer-events: none;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0,91,255,0.12), transparent 60%);
  z-index: -1;
  animation: heroGlow1 8s ease-in-out infinite;
}

@media (max-width: 992px) {
  .hero-image-wrapper { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-image-wrapper { max-width: 100%; }
}

/* ═══════════════════════════════════════════
   SERVICE CARD IMAGES
   ═══════════════════════════════════════════ */
.service-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: transform var(--transition-normal);
  opacity: 0.85;
}

.glass-card:hover .service-card-img {
  transform: scale(1.03);
  opacity: 1;
}

/* ═══════════════════════════════════════════
   SERVICE DETAIL IMAGES
   ═══════════════════════════════════════════ */
.service-detail-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-detail-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.service-detail-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.service-detail-img-wrapper:hover .service-detail-img {
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════
   PORTFOLIO IMAGES
   ═══════════════════════════════════════════ */
.portfolio-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

/* ═══════════════════════════════════════════
   HOSTING HERO IMAGE
   ═══════════════════════════════════════════ */
.hosting-visual {
  position: relative;
  margin-bottom: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-height: 360px;
}

.hosting-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.hosting-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,24,0.3) 0%, rgba(5,11,24,0.8) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.hosting-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
}

.hosting-visual-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.hosting-visual-overlay p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

/* ═══════════════════════════════════════════
   ABOUT IMAGE
   ═══════════════════════════════════════════ */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
}

.about-img-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0.3;
}

/* ═══════════════════════════════════════════
   SHAM CASH PAYMENT SECTION
   ═══════════════════════════════════════════ */
.shamcash-section {
  margin-top: 60px;
  text-align: center;
}

.shamcash-card {
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.shamcash-card:hover {
  background: var(--glass-hover);
  border-color: rgba(0,91,255,0.3);
  box-shadow: 0 8px 40px rgba(0,91,255,0.15);
  transform: translateY(-4px);
}

.shamcash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.shamcash-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,91,255,0.15), rgba(88,212,255,0.1));
  border: 1px solid rgba(0,91,255,0.25);
  margin-bottom: 20px;
}

.shamcash-icon svg {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  color: var(--primary-light);
  flex-shrink: 0;
}

.shamcash-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.shamcash-desc {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.shamcash-qr-wrapper {
  display: inline-block;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  transition: var(--transition);
  max-width: 100%;
  overflow: hidden;
}

.shamcash-qr-wrapper:hover {
  box-shadow: 0 8px 40px rgba(0,91,255,0.25), 0 0 0 2px rgba(0,91,255,0.3);
  transform: scale(1.03);
}

.shamcash-qr-wrapper img {
  width: 220px;
  height: 220px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: calc(var(--radius-md) - 8px);
}

.shamcash-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(0,91,255,0.1), rgba(88,212,255,0.06));
  border: 1px solid rgba(0,91,255,0.2);
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan-glow);
}

.shamcash-badge svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  color: var(--cyan-glow);
  flex-shrink: 0;
}

.shamcash-save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,91,255,0.3);
  line-height: 1.4;
}

.shamcash-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,91,255,0.45);
  filter: brightness(1.1);
}

.shamcash-save-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0,91,255,0.3);
}

.shamcash-save-btn svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0;
}

.shamcash-save-btn span {
  white-space: nowrap;
}

.shamcash-save-btn.download-active {
  background: linear-gradient(135deg, #0a8a4a, #10b981);
  pointer-events: none;
}

.shamcash-save-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: rgba(10,138,74,0.95);
  color: var(--white);
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.shamcash-save-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ═══════════════════════════════════════════
   GLOBAL MOBILE RESPONSIVE FIXES
   ═══════════════════════════════════════════ */

/* ── Tablet & Small Desktop ── */
@media (max-width: 992px) {
  .pricing-card.featured { transform: none; }
}

/* ── Tablet & Large Phone ── */
@media (max-width: 768px) {
  /* Force contact grid visible on mobile (reveal fallback) */
  .contact-grid-col.reveal,
  #contact .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Section spacing */
  .section-header { margin-bottom: 40px; }

  /* Cards padding */
  .glass-card { padding: 24px 18px; }
  .service-card { padding: 28px 20px; }
  .why-card { padding: 24px 18px; }
  .enterprise-card { padding: 40px 20px; }
  .cta-card { padding: 48px 24px !important; }

  /* CTA actions stacking */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; }

  /* Services page */
  .service-detail { padding: 40px 0; }
  .service-detail-img { min-height: 200px; }

  /* Hosting page */
  .hosting-visual { max-height: 220px; }
  .hosting-visual img { height: 220px; }
  .hosting-visual-overlay { padding: 20px; }
  .hosting-visual-overlay h3 { font-size: 1.1rem; }
  .hosting-visual-overlay p { font-size: 0.85rem; }

  /* Hero section */
  .hero { padding-top: 70px; min-height: auto; padding-bottom: 48px; }
  .hero-desc { margin-bottom: 24px; }
  .hero-badge { margin-bottom: 16px; }

  /* Page header */
  .page-header::before { width: 100%; }

  /* Sham Cash */
  .shamcash-section {
    margin-top: 40px;
  }
  .shamcash-card {
    padding: 32px 20px;
  }
  .shamcash-qr-wrapper img {
    width: 180px;
    height: 180px;
  }
  .shamcash-qr-wrapper {
    padding: 12px;
  }
  .shamcash-title {
    font-size: 1.25rem;
  }
  .shamcash-desc {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .shamcash-badge {
    font-size: 0.82rem;
    padding: 8px 18px;
    margin-top: 18px;
  }
  .shamcash-save-btn {
    padding: 10px 22px !important;
    font-size: 0.85rem;
    margin-top: 14px;
  }
  .shamcash-save-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }
  .shamcash-badge svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
  }
  .shamcash-icon svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
  }
  .shamcash-save-toast {
    bottom: 20px;
    padding: 12px 22px;
    font-size: 0.85rem;
    max-width: 85vw;
    text-align: center;
  }
  .shamcash-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  .shamcash-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Contact page mobile fixes */
  .page-header {
    padding: 120px 0 48px;
  }
  .contact-form-wrapper {
    padding: 24px 18px;
  }
  .map-placeholder {
    height: 200px;
    margin-top: 32px;
  }
  .map-placeholder-text {
    font-size: 0.8rem;
    padding: 0 16px;
    text-align: center;
  }
  .contact-grid {
    gap: 32px;
  }
  .contact-info-card {
    padding: 18px 14px;
  }
  .contact-info-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  .contact-info-icon svg {
    width: 18px;
    height: 18px;
  }
  .contact-info-label {
    font-size: 0.72rem;
  }
  .contact-info-value {
    font-size: 0.82rem;
  }
  .form-input,
  .form-textarea {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .form-textarea {
    min-height: 110px;
  }
  .form-label {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }
}

/* ── Small Phone ── */
@media (max-width: 600px) {
  .enterprise-card { padding: 32px 18px; }
  .cta-card { padding: 36px 18px !important; }
  .pricing-card { padding: 28px 20px; }
  .service-detail { padding: 32px 0; }

  .filter-btn {
    padding: 12px 20px;
    min-height: 44px;
  }

  /* About page: vision/mission stacking */
  .about-vm { grid-template-columns: 1fr; }
}

/* ── Portfolio touch devices (always active, not just mobile) ── */
@media (hover: none) {
  .portfolio-overlay { opacity: 1; }
}

@media (max-width: 480px) {
  .shamcash-card {
    padding: 28px 16px;
    border-radius: var(--radius-md);
  }
  .shamcash-qr-wrapper img {
    width: 160px;
    height: 160px;
  }
  .shamcash-save-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
  .page-header {
    padding: 110px 0 40px;
  }
  .page-header .section-title {
    font-size: 1.6rem;
  }
  .contact-form-wrapper {
    padding: 20px 14px;
  }
  .map-placeholder {
    height: 160px;
  }

  /* Global 480px fixes */
  .glass-card { padding: 20px 14px; }
  .enterprise-card { padding: 28px 16px; }
  .cta-card { padding: 32px 16px !important; }
  .pricing-card { padding: 24px 18px; }
}

/* ═══════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════ */
@media print {
  .navbar, #particles-canvas, .mouse-glow, .loader { display: none !important; }
  body { background: white; color: #111; }
  .section { padding: 32px 0; }
}
