/* Base */
:root {
  --primary: #F7CA43;
  --secondary: #FFD700;
  --text: #222;
  --bg: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Background rotating long rectangle */
.bg-rotor {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50vw; /* half screen width */
  height: 300vh; /* much taller than screen height */
  background: linear-gradient(90deg,
    rgba(247, 202, 67, 0.55) 0%,
    rgba(255, 236, 150, 0.60) 50%,
    rgba(247, 202, 67, 0.55) 100%
  ); /* light gold gradient */
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  z-index: 0;
  pointer-events: none;
  animation: spin-slow 36s linear infinite;
  filter: blur(0.5px);
}

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
  .bg-rotor { width: 50vw; height: 300vh; }
}

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid #eee; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; color: #000; }
.nav-links { display: flex; gap: 16px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: #f7f7f7; }
.menu-toggle { display: none; font-size: 22px; background: none; border: 0; cursor: pointer; }

/* Hero */
.hero { padding: 56px 0; background: var(--primary); color: #000; position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero--showcase { padding: 64px 0 72px; }
.hero--modern { background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%); position: relative; }
.hero__inner { 
  display: grid; 
  grid-template-columns: 1fr auto 1fr; 
  align-items: center; 
  gap: 28px; 
  position: relative; 
  z-index: 1; 
}
.hero__col--text { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.hero__content { width: 100%; }
.hero__title { 
  margin: 0; 
  font-size: 64px; 
  line-height: 1.05; 
  font-weight: 800; 
  letter-spacing: -0.5px; 
  color: #000; 
  text-shadow: 0 2px 8px rgba(255,255,255,0.8); 
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__title-container {
  position: relative;
  overflow: hidden;
}

.hero__title-line {
  display: block;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 0.2s; }
.hero__title-line:nth-child(2) { animation-delay: 0.4s; }
.hero__title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__highlight { 
  background: linear-gradient(135deg, var(--primary), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  font-weight: 900;
  position: relative;
  animation: highlight-glow 2s ease-in-out infinite alternate;
}

.hero__highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #FFD700);
  border-radius: 2px;
  opacity: 0.8;
}

@keyframes highlight-glow {
  0% { filter: brightness(1) drop-shadow(0 0 5px rgba(247, 202, 67, 0.5)); }
  100% { filter: brightness(1.2) drop-shadow(0 0 10px rgba(247, 202, 67, 0.8)); }
}
.hero__subtitle { 
  margin: 6px 0 0; 
  font-size: 18px; 
  color: #000; 
  font-weight: 700; 
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
  z-index: 2;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s ease forwards 0.8s;
}

.hero__description { 
  margin: 20px 0 0; 
  font-size: 16px; 
  color: #000; 
  line-height: 1.6; 
  font-weight: 600;
  max-width: 500px;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
  z-index: 2;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s ease forwards 1s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero__buttons { 
  margin-top: 32px; 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards 1.2s;
}
.hero__cta { margin-top: 0; }
.hero__divider { width: 2px; height: 420px; background: rgba(255,255,255,0.3); border-radius: 2px; justify-self: center; }
.hero__col--media { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero__circle { 
  display: none; /* إخفاء الدائرة الزرقاء */
}
.hero__image-container { position: relative; z-index: 2; }
.hero__image { 
  position: relative; 
  z-index: 3; 
  max-width: 560px; 
  object-fit: contain; 
  transform: translateY(6px); 
  animation: hero-float 6s ease-in-out infinite; 
  border-radius: 20px; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.2); 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  filter: brightness(1.05) contrast(1.1);
  opacity: 0;
  animation: hero-float 6s ease-in-out infinite, fadeInScale 1s ease forwards 1.4s;
}

.hero__video { 
  position: relative; 
  z-index: 3; 
  max-width: 560px; 
  width: 100%;
  height: auto;
  transform: translateY(6px); 
  animation: hero-float 6s ease-in-out infinite; 
  border-radius: 25px; 
  box-shadow: 0 25px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1); 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  filter: brightness(1.05) contrast(1.1);
  opacity: 0;
  animation: hero-float 6s ease-in-out infinite, fadeInScale 1s ease forwards 1.4s;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* إخفاء جميع عناصر التحكم في الفيديو */
.hero__video::-webkit-media-controls {
  display: none !important;
}

.hero__video::-webkit-media-controls-panel {
  display: none !important;
}

.hero__video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.hero__video::-webkit-media-controls-play-button {
  display: none !important;
}

.hero__video::-webkit-media-controls-timeline {
  display: none !important;
}

.hero__video::-webkit-media-controls-current-time-display {
  display: none !important;
}

.hero__video::-webkit-media-controls-time-remaining-display {
  display: none !important;
}

.hero__video::-webkit-media-controls-mute-button {
  display: none !important;
}

.hero__video::-webkit-media-controls-volume-slider {
  display: none !important;
}

.hero__video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

/* إضافة تأثيرات خاصة بالفيديو */
.hero__video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(247, 202, 67, 0.1), rgba(135, 206, 235, 0.1));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero__video:hover::before {
  opacity: 1;
}

/* إضافة تأثير التوهج حول الفيديو */
.hero__video::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--primary), #FF6B6B, #4ECDC4);
  border-radius: 28px;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(12px);
}

.hero__video:hover::after {
  opacity: 0.8;
}

/* إضافة تأثير النبض المستمر */
@keyframes modern-pulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 25px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  }
  50% { 
    transform: scale(1.01); 
    box-shadow: 0 30px 90px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.15);
  }
}

.hero__video.loaded {
  animation: modern-pulse 4s ease-in-out infinite;
}

/* تحسين مظهر الفيديو */
.hero__video video {
  border-radius: 20px;
  display: block;
}

/* تم استبدال التأثير القديم بالتأثير الجديد */

/* إضافة تأثير التحميل */
.hero__video:not(.loaded) {
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  position: relative;
}

.hero__video:not(.loaded)::before {
  content: '🎥';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.7;
  z-index: 1;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(6px) scale(1);
  }
}
.hero__image:hover { transform: scale(1.05); }
.hero__video:hover { 
  transform: scale(1.03) translateY(-5px); 
  box-shadow: 0 35px 100px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.2);
  filter: brightness(1.15) contrast(1.2);
}
.hero__divider { position: relative; overflow: hidden; }
.hero__divider::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.9); transform: scaleY(0); transform-origin: center top; animation: hero-divider-grow 1s ease forwards; animation-delay: .4s; }

/* Hero Modern Variant */
.hero--modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
  z-index: 1;
  animation: background-shift 8s ease-in-out infinite;
}

@keyframes background-shift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(1deg); }
}

.hero--modern .hero__inner {
  z-index: 2;
}

.hero--modern .hero__circle {
  display: none; /* إخفاء الدائرة الزرقاء في النسخة الحديثة */
}

.hero--modern .hero__circle::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.2), rgba(70, 130, 180, 0.2));
  border-radius: 50%;
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes circle-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-10px, -10px) rotate(5deg); }
  50% { transform: translate(0, -20px) rotate(0deg); }
  75% { transform: translate(10px, -10px) rotate(-5deg); }
}

/* Animated text lines */
.hero__title span { display: inline-block; opacity: 0; transform: translateY(18px); }
.hero--animate .hero__title span { animation: hero-line-up .8s ease forwards; }
.hero--animate .hero__title span:nth-child(1) { animation-delay: .05s; }
.hero--animate .hero__title span:nth-child(2) { animation-delay: .25s; }
.hero--animate .hero__title span:nth-child(3) { animation-delay: .45s; }
@keyframes hero-line-up { to { opacity: 1; transform: translateY(0); } }

/* Floating, pulsing and divider grow */
@keyframes hero-float { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-6px); } }
@keyframes hero-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes hero-divider-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* CTA modern look */
.hero__cta.btn-primary { background: linear-gradient(90deg, #000 0%, #222 100%); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .15s ease, box-shadow .15s ease, opacity .3s ease; }
.hero__cta.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.3); }
.hero__cta.btn-primary:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(0,0,0,.22); }

/* Hero Modern CTA */
.hero--modern .hero__cta {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
  border: none;
  padding: 18px 36px;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero--modern .hero__cta-secondary {
  background: rgba(255,255,255,0.1);
  color: #000;
  border: 2px solid rgba(0,0,0,0.2);
  padding: 18px 36px;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero--modern .hero__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hero--modern .hero__cta:hover::before {
  left: 100%;
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.hero--modern .hero__cta:hover .btn-icon {
  transform: translateX(5px);
}

.hero--modern .hero__cta-secondary:hover .btn-icon {
  transform: scale(1.2);
}

.hero--modern .hero__cta:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.hero--modern .hero__cta-secondary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.hero--modern .hero__cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hero--modern .hero__cta-secondary:hover::before {
  left: 100%;
}

/* Typing effect for the first line with caret */
.hero__title--typing {
  font-size: 64px;
}
.hero__typing-line { display: inline-block; border-left: 3px solid #000; padding-left: 6px; animation: caret-blink 0.9s steps(1) infinite; }
@keyframes caret-blink { 50% { border-color: transparent; } }

/* Hidden before typing completes */
.hero__subtitle, .hero__cta { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.hero--typed .hero__subtitle, .hero--typed .hero__cta { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero__title { font-size: 44px; }
  .hero__divider { height: 320px; }
  .hero__circle { width: 360px; height: 360px; }
  
  .hero--modern .hero__circle {
    right: -80px;
    bottom: -80px;
  }
}

@media (max-width: 768px) {
  .hero__inner { 
    grid-template-columns: 1fr; 
    gap: 32px;
  }
  .hero__divider { display: none; }
  .hero__col--media { 
    order: -1; 
    min-height: 280px; 
    margin-bottom: 20px;
  }
  .hero__col--text {
    text-align: center;
    order: 2;
  }
  .hero__circle { right: auto; left: 50%; transform: translateX(-50%); top: 0; }
  .hero__dots { right: 10px; }
  
  .hero--modern .hero__circle {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    right: auto;
    bottom: auto;
  }
  
  .hero__title {
    font-size: 36px;
    text-align: center;
  }
  
  .hero__subtitle {
    text-align: center;
  }
  
  .hero__cta {
    align-self: center;
  }
  
  .hero__description {
    text-align: center;
    margin: 16px auto 0;
  }
  
  .hero__buttons {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero__inner {
    gap: 24px;
    padding: 0 16px;
  }
  
  .hero__title {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .hero__cta {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
    max-width: 200px;
  }
  
  .hero__cta-secondary {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
    max-width: 200px;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero__description {
    font-size: 14px;
    margin: 12px auto 0;
  }
  
  .hero__circle {
    width: 280px;
    height: 280px;
  }
  
  .hero__col--media {
    min-height: 240px;
  }
  
  .hero__image {
    max-width: 280px;
  }
  
  .hero__video {
    max-width: 280px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  }
  
  /* تحسين عناصر التحكم في الشاشات الصغيرة */
.hero__video::-webkit-media-controls-panel {
  padding: 8px;
}

/* تحسين مظهر الفيديو في الشاشات الصغيرة */
@media (max-width: 768px) {
  .hero__video {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  }
  
  .hero__video:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  }
}
}
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.btn-primary { background: #000; color: #fff; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: #fafafa; }
.section-title { margin: 0 0 24px; font-size: 28px; }
.card { padding: 20px; border-radius: 12px; border: 1px solid #eee; background: #fff; }
.lead { font-size: 18px; margin-bottom: 16px; }
.bullet-list { margin: 0; padding-right: 18px; }
.bullet-list li { margin: 6px 0; }
.logos { align-items: center; }

/* Modern horizontal services list */
.services-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); overflow-x: auto; gap: 16px; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.services-list > * { scroll-snap-align: start; }
/* Hide scrollbar */
.services-list { scrollbar-width: none; }
.services-list::-webkit-scrollbar { display: none; }
.services-list::-webkit-scrollbar-thumb { display: none; }
.services-list .card { border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 6px 20px rgba(0,0,0,0.06); transition: transform .2s ease, box-shadow .2s ease; }
.services-list .card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.services-list .card img { border-radius: 10px; }
.services-list .card h3 { margin-top: 12px; margin-bottom: 6px; }
.services-list .card p { margin-top: 6px; }

/* Arrows */
.services-scroller { position: relative; }
.services-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.65); color: #fff; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.services-btn--prev { left: -6px; }
.services-btn--next { right: -6px; }
.services-btn:hover { background: rgba(0,0,0,0.8); }
.services-btn:disabled { opacity: .4; cursor: default; }

/* Features section */
.features-section {
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(247,202,67,0.03) 0%, rgba(255,215,0,0.02) 100%);
  z-index: -1;
}

.features-head { display: flex; align-items: flex-start;direction: ltr;gap: 16px; margin-bottom: 32px; }
.features-badge { width: 36px; height: 96px; border-radius: 10px; background: linear-gradient(180deg, rgba(247,202,67,1) 0%, rgba(247,202,67,.75) 100%); box-shadow: 0 10px 40px rgba(247,202,67,.4); }
.features-title { margin: 0; font-size: 46px; direction: ltr; letter-spacing: 1px; text-align: left; font-weight: 800; }
.features-subtitle { color: var(--primary); font-size: 18px; font-weight: 600; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.feature-card { 
  background: #fff; 
  border: 1px solid rgba(0,0,0,.06); 
  border-radius: 16px; 
  padding: 32px 24px; 
  text-align: center; 
  box-shadow: 0 10px 30px rgba(0,0,0,.06); 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 18px;
  opacity: 0.3;
  filter: blur(8px);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon::after {
  opacity: 0.6;
  filter: blur(12px);
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.95) 50%, rgba(255,255,255,0.9) 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0.8) 70%, transparent 70%);
  z-index: 0;
}

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

/* Services Carousel */
.services-carousel {
  position: relative;
  margin-bottom: 40px;
}

.services-carousel-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-carousel-list::-webkit-scrollbar {
  display: none;
}

.service-carousel-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 20px 24px;
  min-width: 200px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-carousel-card.active {
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  border-color: var(--primary);
  color: #000;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(247, 202, 67, 0.4);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 12px 40px rgba(247, 202, 67, 0.4); }
  50% { box-shadow: 0 12px 40px rgba(247, 202, 67, 0.6); }
}

.service-carousel-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.service-carousel-card p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

.services-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.services-carousel-btn:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.services-carousel-btn--prev {
  left: -20px;
}

.services-carousel-btn--next {
  right: -20px;
}

/* Service Details */
.service-details {
  position: relative;
}

.service-detail {
  display: none;
  animation: fadeIn 0.5s ease;
}

.service-detail.active {
  display: block;
}

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

.service-detail-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-detail-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #FFD700, #FFA500, #FF8C00);
  border-radius: 24px 24px 0 0;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.service-detail-text h3 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
  from { filter: drop-shadow(0 0 5px rgba(247, 202, 67, 0.3)); }
  to { filter: drop-shadow(0 0 15px rgba(247, 202, 67, 0.6)); }
}

.service-detail-text h4 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.5px;
}

.service-detail-text p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
  font-weight: 400;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tag {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #475569;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-tag:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(247, 202, 67, 0.4);
  animation: tag-bounce 0.6s ease;
}

@keyframes tag-bounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(-6px); }
}

.service-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  color: #000;
  border: 2px solid #000;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(247, 202, 67, 0.4);
  position: relative;
  overflow: hidden;
  animation: button-float 3s ease-in-out infinite;
}

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

.service-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.service-cta:hover::before {
  left: 100%;
}

.service-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(247, 202, 67, 0.6);
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: var(--primary);
  animation: none;
}

/* Service CTA Container */
.service-cta-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Mobile: place service buttons side-by-side */
@media (max-width: 640px) {
  .service-cta-container {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .service-cta,
  .service-explore-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
  }
}

/* Ensure equal button sizing and alignment on all screens */
.service-cta,
.service-explore-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  box-sizing: border-box;
}

/* Service Explore Button */
.service-explore-btn {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  animation: button-float 3s ease-in-out infinite;
}

.service-explore-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247, 202, 67, 0.2), transparent);
  transition: left 0.5s ease;
}

.service-explore-btn:hover::before {
  left: 100%;
}

.service-explore-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(247, 202, 67, 0.6);
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  color: #000;
  animation: none;
}

/* Visual Mockups */
.service-detail-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Service Images */
.brand-image,
.advertising-image,
.marketing-image,
.video-image,
.web-image,
.mobile-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: image-float 4s ease-in-out infinite;
}

@keyframes image-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(-5px) rotate(-1deg); }
  75% { transform: translateY(-15px) rotate(0.5deg); }
}

.brand-image:hover,
.advertising-image:hover,
.marketing-image:hover,
.video-image:hover,
.web-image:hover,
.mobile-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: none;
}

/* Brand Identity Mockup */
.brand-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Advertising Mockup */
.advertising-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Marketing Mockup */
.marketing-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Video Mockup */
.video-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Web Design Mockup */
.web-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Mobile App Mockup */
.mobile-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-device {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  transform: rotate(-5deg);
}

.mobile-screen {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  min-width: 200px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.app-icon {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 12px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.app-icon:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.apps-text {
  font-size: 18px;
  font-weight: 700;
  color: #667eea;
  letter-spacing: 2px;
}

.mobile-person {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.person-icon {
  font-size: 20px;
}

/* Landing Page Mockup */
.landing-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-page-image {
  background: var(--primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(247, 202, 67, 0.3);
  max-width: 280px;
  width: 100%;
  text-align: center;
  animation: landing-glow 3s ease-in-out infinite alternate;
}

@keyframes landing-glow {
  from { box-shadow: 0 20px 60px rgba(247, 202, 67, 0.3); }
  to { box-shadow: 0 20px 60px rgba(247, 202, 67, 0.6); }
}

.landing-content-image {
  color: #000;
}

.landing-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.landing-avatars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.avatar {
  font-size: 24px;
  animation: avatar-bounce 2s ease-in-out infinite;
}

.avatar:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes avatar-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.landing-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  opacity: 0.8;
}

.landing-cta {
  background: #000;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: #666;
  line-height: 1.5;
  font-size: 14px;
}

/* Feature card animations */
.feature-card {
  animation: featureCardFloat 6s ease-in-out infinite;
}

.feature-card:nth-child(2) {
  animation-delay: -1s;
}

.feature-card:nth-child(3) {
  animation-delay: -2s;
}

.feature-card:nth-child(4) {
  animation-delay: -3s;
}

.feature-card:nth-child(5) {
  animation-delay: -4s;
}

.feature-card:nth-child(6) {
  animation-delay: -5s;
}

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

.feature-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* Feature icon pulse animation */
.feature-icon {
  animation: iconPulse 4s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon {
  animation-delay: -0.67s;
}

.feature-card:nth-child(3) .feature-icon {
  animation-delay: -1.33s;
}

.feature-card:nth-child(4) .feature-icon {
  animation-delay: -2s;
}

.feature-card:nth-child(5) .feature-icon {
  animation-delay: -2.67s;
}

.feature-card:nth-child(6) .feature-icon {
  animation-delay: -3.33s;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.feature-card:hover .feature-icon {
  animation-play-state: paused;
  transform: scale(1.1) rotate(5deg);
}



/* Success Stories */
.stories-wrap { background: linear-gradient(180deg, rgba(255,247,219,.8) 0%, rgba(255,247,219,.4) 100%); border-radius: 18px; padding: 18px; }
.stories-head { display: flex; align-items: flex-start; gap: 16px;  text-align: right; direction: rtl;  justify-content: flex-end; width: 100%; margin-bottom: 32px; flex-direction: row-reverse; }
.stories-badge { width: 36px; height: 96px; border-radius: 10px; background: linear-gradient(180deg, rgba(247,202,67,1) 0%, rgba(247,202,67,.75) 100%); box-shadow: 0 10px 40px rgba(247,202,67,.4); }
.stories-title { margin: 0; font-size: 46px; letter-spacing: 1px; text-align: right; font-weight: 800; animation: storiesSlideIn .8s ease both; }

@keyframes storiesSlideIn {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}
.stories-title span { display: block; }
.stories-quote { color: #555; }

.stories-scroller { position: relative; }
.stories-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 0 2px; align-items: stretch; }
.stories-list::-webkit-scrollbar { display: none; }
.story-card { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.06); overflow: hidden; scroll-snap-align: start; transition: transform 0.3s ease, box-shadow 0.3s ease; flex: 0 0 420px; width: auto; }

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

.story-media { position: relative; overflow: hidden; }
.story-media img { width: 100%; height: 140px; object-fit: cover; transition: transform 0.3s ease; }

.story-card:hover .story-media img {
  transform: scale(1.05);
}

.story-body { padding: 16px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.story-body h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--text); }
.story-body p { margin: 0; font-size: 14px; color: #666; line-height: 1.4; }

/* Enhanced Story Cards */
.story-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
}

.story-card-reversed {
  flex-direction: row-reverse;
}

.story-card .story-media {
  flex: 0 0 50%;
  max-width: 50%;
}

.story-card .story-body {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Horizontal staggered layout */
.stories-list { justify-content: flex-start; }
.stories-list > .story-card:nth-child(odd) { transform: translateY(-10px); }
.stories-list > .story-card:nth-child(even) { transform: translateY(10px); }

.story-card { max-width: 420px; width: auto; }

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(247, 202, 67, 0.9) 0%, rgba(255, 215, 0, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.story-icon {
  font-size: 48px;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.story-card:hover .story-icon {
  transform: scale(1);
}

.story-badge {
  position: static;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.story-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  animation: number-count 2s ease-out;
}

@keyframes number-count {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.stories-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); color: #fff; cursor: pointer; z-index: 5; pointer-events: auto; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.25s ease; box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.stories-btn--prev { left: -4px; }
.stories-btn--next { right: -4px; }
.stories-btn:hover { background: rgba(0,0,0,0.8); transform: translateY(-50%) scale(1.05); }
.stories-btn:disabled { opacity: .4; cursor: default; transform: translateY(-50%) scale(0.9); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.reveal.revealed { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); }
.reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: .18s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: .30s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: .36s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: .48s; }

/* Contact */
.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; }
.contact-form input[type="tel"] {text-align: right;  direction: ltr;   }
.contact-form button { padding: 12px 16px; border: 0; border-radius: 10px; background: #000; color: #fff; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.contact-form button:hover { background: #333; transform: translateY(-2px); }

/* Footer */
.site-footer { border-top: 1px solid #eee; padding: 24px 0; background: #fff; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-nav { display: flex; gap: 12px; }

/* New footer (matches Flutter footer) */
.footer { background: #0A0A0A; color: #E0E0E0; padding: 10px 0; position: relative; z-index: 1; direction: ltr; }
.footer .container { max-width: 1200px; }
.footer-grid-5 { display: grid; grid-template-columns: 2fr 1.1fr 1.1fr 1fr 1fr; gap: 24px; align-items: start; grid-template-areas:
  "logo solution contact links location";
}
.footer-grid-5 > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }
.footer-logo { grid-area: logo; align-items: center; }
.footer-solution { grid-area: solution; }
.footer-contact { grid-area: contact; }
.footer-links { grid-area: links; }
.footer-location { grid-area: location; }

/* تحسين تصميم قسم الموقع */
.footer-location .contact-item {
  transition: all 0.3s ease;
}

.footer-location .contact-item:hover {
  transform: translateX(5px);
}

.footer-location .footer-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-location .footer-link:hover {
  color: #fff;
  text-decoration: underline;
}
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 16px; }
.footer a { color: #E0E0E0; }
.footer a:hover { color: var(--primary); }
.footer .footer-link { display: inline-block; margin-bottom: 6px; font-size: 13px; }
.footer .contact-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.footer .contact-icon { width: 24px; height: 24px; border-radius: 6px; background: rgba(247,202,67,0.2); display: flex; align-items: center; justify-content: center; color: #F7CA43; font-size: 12px; }
.footer .logo { width: 220px; height: 220px; object-fit: cover; border-radius: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 6px; color: #BDBDBD; font-size: 13px; }

@media (max-width: 1024px) {
  .footer-grid-5 { grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; grid-template-areas:
    "logo solution contact"
    "logo links location"; }
}
@media (max-width: 768px) {
  .footer { padding: 14px 0; }
  .footer-grid-5 { grid-template-columns: 1fr; gap: 14px; grid-template-areas:
    "logo"
    "solution"
    "links"
    "contact"
    "location"; }
  .footer .logo { width: 80px; height: 80px; }
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: inline-block; }
  .nav-links { position: absolute; top: 64px; right: 0; left: 0; background: #fff; padding: 12px 16px; border-bottom: 1px solid #eee; display: none; flex-direction: column; }
  .nav-links.open { display: flex; }
  
  /* Features responsive */
  .features-title { font-size: 32px; }
  .features-subtitle { font-size: 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 56px; height: 56px; }
  .feature-card h3 { font-size: 18px; }
  
  @media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
  }
  
  /* Services responsive */
  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  
  .service-detail-text h3 {
    font-size: 24px;
  }
  
  .service-detail-text h4 {
    font-size: 16px;
  }
  
  .service-detail-text p {
    font-size: 14px;
  }
  
  .service-carousel-card {
    min-width: 160px;
    padding: 16px 20px;
  }
  
  .service-carousel-card h3 {
    font-size: 14px;
  }
  
  .service-carousel-card p {
    font-size: 12px;
  }
  
  .services-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .services-carousel-btn--prev {
    left: -18px;
  }
  
  .services-carousel-btn--next {
    right: -18px;
  }
  
  .brand-mockup {
    max-width: 250px;
    gap: 12px;
  }
  
  .mockup-item {
    padding: 8px;
  }
  
  .mockup-text {
    font-size: 10px;
  }
  
  .mockup-logo {
    font-size: 12px;
  }
  
  .card-name {
    font-size: 12px;
  }
  
  .card-info {
    font-size: 10px;
  }
  
  .card-logo {
    font-size: 10px;
  }
  
  /* Service Images responsive */
  .brand-image,
  .advertising-image,
  .marketing-image,
  .video-image,
  .web-image,
  .mobile-image {
    max-width: 300px;
    height: 220px;
  }
  
  /* Landing Page responsive */
  .landing-page-image {
    padding: 24px;
    max-width: 240px;
  }
  
  .landing-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .avatar {
    font-size: 20px;
  }
  
  .landing-subtitle {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .landing-cta {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  /* Success Stories responsive */
.stories-title { font-size: 32px; }
.story-card { min-height: 240px; }
.story-media img { height: 140px; }
.story-body { padding: 14px; }

@media (max-width: 768px) {
  .story-card { 
    min-height: 240px; 
    flex-direction: column;
  }
  .story-card-reversed {
    flex-direction: column;
  }
  .story-card .story-media,
  .story-card .story-body {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .story-media img { height: 160px; }
  .story-body { padding: 14px; }
  
  .story-stats {
    flex-direction: column;
    gap: 8px;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .story-badge {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .story-icon {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .story-card { 
    min-height: 220px; 
    flex-direction: column;
    flex: 0 0 320px;
    max-width: 320px;
  }
  .story-card-reversed {
    flex-direction: column;
  }
  .story-card .story-media,
  .story-card .story-body {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .story-media img { height: 120px; }
  .story-body { padding: 12px; display: block; color: #111; }
  .story-body h3 { font-size: 16px; }
  .story-body p { font-size: 13px; }
  
  .story-badge {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .story-stats {
    flex-direction: column;
    gap: 6px;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-number {
    font-size: 14px;
  }
  
  .stat-label {
    font-size: 10px;
  }
}
}

/* Horizontal strip for Success Stories */
.stories-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 40px; align-items: stretch; scrollbar-width: none; }
.stories-strip::-webkit-scrollbar { display: none; }

.story-card-simple {
  flex: 0 0 280px;
  width: 280px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  scroll-snap-align: start;
  text-align: center;
}

.story-card-simple img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .35s ease; animation: slowFloat 6s ease-in-out infinite; }
.story-card-simple:nth-child(even) img { animation-delay: -3s; }
.story-card-simple figcaption { padding: 10px 12px; font-weight: 700; transition: color .25s ease; }

/* stagger up/down effect */
.story-card-simple:nth-child(odd) { transform: translateY(14px); }
.story-card-simple:nth-child(even) { transform: translateY(-14px); }
.story-card-simple { transition: transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; }
.story-card-simple:hover { transform: translateY(0) scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.story-card-simple:hover img { transform: scale(1.06); animation-play-state: paused; }
.story-card-simple:hover figcaption { color: var(--primary); }

@keyframes slowFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.01); }
}

@media (max-width: 480px) {
  .story-card-simple { flex-basis: 220px; width: 220px; }
  .story-card-simple img { height: 140px; }
}

/* Services Page Styles */
.services-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
}

.services-hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #000;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.8);
}

.services-hero-subtitle {
  font-size: 20px;
  color: #000;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
}

/* Services Navigation */
.services-navigation {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 64px;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.services-nav-list {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 0 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-nav-list::-webkit-scrollbar {
  display: none;
}

.service-nav-item {
  background: transparent;
  border: none;
  padding: 8px 2px 14px;
  min-width: auto;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease;
  font-weight: 700;
  color: #555;
  position: relative;
}

.service-nav-item:hover { color: #111; }

.service-nav-item.active { color: #111; }
.service-nav-item.active::after, .service-nav-item:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

.service-nav-icon { display: none; }

.service-nav-text { font-size: 14px; font-weight: 700; line-height: 1.2; }

/* Services Content */
.services-content {
  padding: 60px 0;
  background: #fafafa;
}

.service-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.service-section.active {
  display: block;
}

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

.service-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-section-description {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Service Projects Grid */
.service-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.project-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Mobile App Mockup Styles */
.mobile-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  perspective: 1000px;
}

.mobile-screen {
  width: 80px;
  height: 140px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.mobile-screen:nth-child(1) {
  transform: rotateY(-15deg) rotateX(5deg);
  z-index: 1;
}

.mobile-screen:nth-child(2) {
  transform: rotateY(0deg) rotateX(0deg);
  z-index: 2;
  width: 90px;
  height: 160px;
}

.mobile-screen:nth-child(3) {
  transform: rotateY(15deg) rotateX(-5deg);
  z-index: 1;
}

.mobile-screen-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  padding: 8px;
  color: #fff;
  font-size: 8px;
  position: relative;
}

.mobile-screen-content.banking {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.mobile-screen-content.crypto {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.mobile-screen-content.dashboard {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-weight: 600;
}

.mobile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-card {
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.mobile-chart {
  height: 20px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.mobile-chart::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  background: rgba(255,255,255,0.6);
  border-radius: 4px;
}

.mobile-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  font-size: 7px;
}

.mobile-icon {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
}

/* Web Design Mockup Styles */
.web-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 100%;
}

.web-screen {
  width: 120px;
  height: 80px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transform: rotateY(-10deg);
  transition: transform 0.3s ease;
}

.web-screen:nth-child(2) {
  transform: rotateY(0deg);
  width: 140px;
  height: 90px;
  z-index: 2;
}

.web-screen:nth-child(3) {
  transform: rotateY(10deg);
}

.web-screen-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  padding: 6px;
  color: #fff;
  font-size: 6px;
}

.web-header {
  height: 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.web-content {
  flex: 1;
  display: flex;
  gap: 2px;
}

.web-sidebar {
  width: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.web-main {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 2px;
}

/* Brand Identity Mockup Styles */
.brand-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
}

.brand-element {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 8px 25px rgba(247, 202, 67, 0.3);
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.brand-element:nth-child(2) {
  transform: rotate(0deg);
  width: 80px;
  height: 80px;
  font-size: 16px;
  z-index: 2;
}

.brand-element:nth-child(3) {
  transform: rotate(5deg);
}

/* Advertising Mockup Styles */
.advertising-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 100%;
}

.advertising-screen {
  width: 100px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transform: rotateY(-10deg);
  transition: transform 0.3s ease;
}

.advertising-screen:nth-child(2) {
  transform: rotateY(0deg);
  width: 110px;
  height: 130px;
  z-index: 2;
}

.advertising-screen:nth-child(3) {
  transform: rotateY(10deg);
}

.advertising-screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px;
  color: #fff;
  font-size: 8px;
  position: relative;
}

.advertising-screen-content.fresh-cola {
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.advertising-screen-content.city-mall {
  background: linear-gradient(135deg, #3742fa 0%, #2f3542 100%);
}

.advertising-screen-content.eid-offers {
  background: linear-gradient(135deg, #ffa502 0%, #ff6348 100%);
}

.advertising-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-weight: 600;
}

.advertising-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.advertising-chart {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 20px;
}

.chart-bar {
  width: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.advertising-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.product-can {
  font-size: 16px;
}

.product-text {
  font-size: 6px;
  font-weight: 600;
  text-align: center;
}

.advertising-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
}

.advertising-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.target-icon {
  font-size: 12px;
}

.target-text {
  font-size: 6px;
  text-align: center;
}

.mall-elements {
  display: flex;
  justify-content: space-around;
  margin-bottom: 4px;
}

.mall-icon {
  font-size: 10px;
}

.mall-text {
  font-size: 6px;
  text-align: center;
  font-weight: 600;
}

.outdoor-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.outdoor-impact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.impact-icon {
  font-size: 12px;
}

.impact-text {
  font-size: 6px;
  text-align: center;
}

.eid-elements {
  display: flex;
  justify-content: space-around;
  margin-bottom: 4px;
}

.eid-moon {
  font-size: 12px;
}

.eid-fruits {
  font-size: 8px;
}

.eid-text {
  font-size: 6px;
  text-align: center;
  font-weight: 600;
}

.eid-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eid-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.success-icon {
  font-size: 12px;
}

.success-text {
  font-size: 6px;
  text-align: center;
}

/* Digital Marketing Mockup Styles */
.digital-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 100%;
}

.digital-screen {
  width: 100px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transform: rotateY(-10deg);
  transition: transform 0.3s ease;
}

.digital-screen:nth-child(2) {
  transform: rotateY(0deg);
  width: 110px;
  height: 130px;
  z-index: 2;
}

.digital-screen:nth-child(3) {
  transform: rotateY(10deg);
}

.digital-screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px;
  color: #fff;
  font-size: 8px;
  position: relative;
}

.digital-screen-content.social-media {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.digital-screen-content.seo {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.digital-screen-content.email {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.digital-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-weight: 600;
}

.digital-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-icons {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.social-icon {
  font-size: 10px;
}

.content-metrics {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
}

.community-growth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.growth-icon {
  font-size: 12px;
}

.growth-text {
  font-size: 6px;
  text-align: center;
}

.seo-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seo-keywords {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.keyword {
  background: rgba(255,255,255,0.2);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 6px;
  text-align: center;
}

.research-data {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.data-item {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
}

.technical-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.score-icon {
  font-size: 12px;
}

.score-text {
  font-size: 6px;
  text-align: center;
}

.email-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.email-automation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.automation-icon {
  font-size: 12px;
}

.automation-text {
  font-size: 6px;
  text-align: center;
}

.campaign-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.campaign-item {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
}

.lead-nurturing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.nurturing-icon {
  font-size: 12px;
}

.nurturing-text {
  font-size: 6px;
  text-align: center;
}

/* Video Production Mockup Styles */
.video-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 100%;
}

.video-screen {
  width: 100px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transform: rotateY(-10deg);
  transition: transform 0.3s ease;
}

.video-screen:nth-child(2) {
  transform: rotateY(0deg);
  width: 110px;
  height: 130px;
  z-index: 2;
}

.video-screen:nth-child(3) {
  transform: rotateY(10deg);
}

.video-screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px;
  color: #fff;
  font-size: 8px;
  position: relative;
}

.video-screen-content.commercial {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-screen-content.motion {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.video-screen-content.social {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-weight: 600;
}

.video-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.video-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-elements {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.video-icon {
  font-size: 10px;
}

.story-elements {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.story-icon {
  font-size: 10px;
}

.production-quality {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.quality-icon {
  font-size: 12px;
}

.quality-text {
  font-size: 6px;
  text-align: center;
}

.motion-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.motion-elements {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.motion-icon {
  font-size: 10px;
}

.graphics-types {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.graphic-type {
  background: rgba(255,255,255,0.2);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 6px;
  text-align: center;
}

.animation-style {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.style-icon {
  font-size: 12px;
}

.style-text {
  font-size: 6px;
  text-align: center;
}

.social-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-platforms {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.platform-icon {
  font-size: 10px;
}

.content-types {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.content-type {
  background: rgba(255,255,255,0.2);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 6px;
  text-align: center;
}

.optimization-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.result-icon {
  font-size: 12px;
}

.result-text {
  font-size: 6px;
  text-align: center;
}

/* Landing Page Mockup Styles */
.landing-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 100%;
}

.landing-screen {
  width: 100px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transform: rotateY(-10deg);
  transition: transform 0.3s ease;
}

.landing-screen:nth-child(2) {
  transform: rotateY(0deg);
  width: 110px;
  height: 130px;
  z-index: 2;
}

.landing-screen:nth-child(3) {
  transform: rotateY(10deg);
}

.landing-screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px;
  color: #fff;
  font-size: 8px;
  position: relative;
}

.landing-screen-content.conversion {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.landing-screen-content.product {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.landing-screen-content.event {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-weight: 600;
}

.landing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.conversion-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.conversion-elements {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.conversion-icon {
  font-size: 10px;
}

.testing-methods {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.test-method {
  background: rgba(255,255,255,0.2);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 6px;
  text-align: center;
}

.capture-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.capture-icon {
  font-size: 12px;
}

.capture-text {
  font-size: 6px;
  text-align: center;
}

.product-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-elements {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.product-icon {
  font-size: 10px;
}

.ux-elements {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.ux-icon {
  font-size: 10px;
}

.marketing-integration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.integration-icon {
  font-size: 12px;
}

.integration-text {
  font-size: 6px;
  text-align: center;
}

.event-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-elements {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.event-icon {
  font-size: 10px;
}

.booking-system {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
}

.booking-icon {
  font-size: 10px;
}

.registration-tracking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tracking-icon {
  font-size: 12px;
}

.tracking-text {
  font-size: 6px;
  text-align: center;
}

.project-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.project-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #475569;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.project-tag:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  color: #000;
  transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(247, 202, 67, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(247, 202, 67, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}

.cta-description {
  font-size: 18px;
  color: #ccc;
  margin: 0 0 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
  color: #000;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(247, 202, 67, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(247, 202, 67, 0.6);
}

/* Active nav link */
.nav-links a.active {
  background: var(--primary);
  color: #000;
  font-weight: 700;
}

/* About split section */
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin-top: 38px; }
.about-split.reverse { grid-template-columns: 1fr 1.1fr; }
.about-title { margin: 0 0 10px; font-size: 26px; }
.feature-list { list-style: none; padding: 0; margin: 10px 0 0; }
.feature-list li { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.feature-list .fi { width: 28px; height: 28px; border-radius: 8px; background: rgba(247,202,67,.22); display: inline-flex; align-items: center; justify-content: center; color: #c0940c; font-size: 14px; }
.media-tile { position: relative; }
.media-tile img { width: 100%; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.about-team-img { max-width: 420px; width: 100%; height: 320px; object-fit: cover; }
@media (max-width: 768px) { .about-team-img { max-width: 320px; height: 260px; } }
@media (max-width: 480px) { .about-team-img { max-width: 260px; height: 200px; } }
.media-tile.left::after, .media-tile.right::after { content: ""; position: absolute; width: 200px; height: 200px; background: linear-gradient(180deg, rgba(247,202,67,0.9) 0%, rgba(247,202,67,0.6) 100%); border-radius: 12px; z-index: -1; filter: blur(0.3px); }
.media-tile.left::after { left: -30px; top: -30px; }
.media-tile.right::after { right: -30px; bottom: -30px; }

/* Services Page Responsive */
@media (max-width: 768px) {
  .services-hero {
    padding: 60px 0;
  }
  
  .services-hero-title {
    font-size: 32px;
  }
  
  .services-hero-subtitle {
    font-size: 16px;
  }
  
  .services-navigation {
    padding: 20px 0;
    top: 64px;
  }
  
  .service-nav-item {
    min-width: 140px;
    padding: 16px 20px;
  }
  
  .service-nav-icon {
    font-size: 20px;
  }
  
  .service-nav-text {
    font-size: 12px;
  }
  
  .service-section-title {
    font-size: 28px;
  }
  
  .service-section-description {
    font-size: 16px;
  }
  
  .service-projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .project-card {
    border-radius: 16px;
  }
  
  .project-image {
    height: 200px;
  }
  
  .mobile-screen {
    width: 60px;
    height: 100px;
  }
  
  .mobile-screen:nth-child(2) {
    width: 70px;
    height: 120px;
  }
  
  .web-screen {
    width: 90px;
    height: 60px;
  }
  
  .web-screen:nth-child(2) {
    width: 100px;
    height: 70px;
  }
  
  .brand-element {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
  
  .brand-element:nth-child(2) {
    width: 60px;
    height: 60px;
    font-size: 12px;
  }
  
  .advertising-screen {
    width: 80px;
    height: 100px;
  }
  
  .advertising-screen:nth-child(2) {
    width: 90px;
    height: 110px;
  }
  
  .digital-screen {
    width: 80px;
    height: 100px;
  }
  
  .digital-screen:nth-child(2) {
    width: 90px;
    height: 110px;
  }
  
  .video-screen {
    width: 80px;
    height: 100px;
  }
  
  .video-screen:nth-child(2) {
    width: 90px;
    height: 110px;
  }
  
  .landing-screen {
    width: 80px;
    height: 100px;
  }
  
  .landing-screen:nth-child(2) {
    width: 90px;
    height: 110px;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .project-title {
    font-size: 20px;
  }
  
  .project-description {
    font-size: 14px;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 28px;
  }
  
  .cta-description {
    font-size: 16px;
  }
  
  .cta-button {
    padding: 16px 32px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .services-hero-title {
    font-size: 24px;
  }
  
  .services-hero-subtitle {
    font-size: 14px;
  }
  
  .service-nav-item {
    min-width: 120px;
    padding: 12px 16px;
  }
  
  .service-nav-icon {
    font-size: 18px;
  }
  
  .service-nav-text {
    font-size: 11px;
  }
  
  .service-section-title {
    font-size: 24px;
  }
  
  .service-section-description {
    font-size: 14px;
  }
  
  .project-image {
    height: 180px;
  }
  
  .mobile-screen {
    width: 50px;
    height: 80px;
  }
  
  .mobile-screen:nth-child(2) {
    width: 60px;
    height: 100px;
  }
  
  .web-screen {
    width: 70px;
    height: 50px;
  }
  
  .web-screen:nth-child(2) {
    width: 80px;
    height: 60px;
  }
  
  .brand-element {
    width: 30px;
    height: 30px;
    font-size: 8px;
  }
  
  .brand-element:nth-child(2) {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }
  
  .advertising-screen {
    width: 70px;
    height: 80px;
  }
  
  .advertising-screen:nth-child(2) {
    width: 80px;
    height: 90px;
  }
  
  .digital-screen {
    width: 70px;
    height: 80px;
  }
  
  .digital-screen:nth-child(2) {
    width: 80px;
    height: 90px;
  }
  
  .video-screen {
    width: 70px;
    height: 80px;
  }
  
  .video-screen:nth-child(2) {
    width: 80px;
    height: 90px;
  }
  
  .landing-screen {
    width: 70px;
    height: 80px;
  }
  
  .landing-screen:nth-child(2) {
    width: 80px;
    height: 90px;
  }
  
  .project-content {
    padding: 16px;
  }
  
  .project-title {
    font-size: 18px;
  }
  
  .project-description {
    font-size: 13px;
  }
  
  .cta-title {
    font-size: 24px;
  }
  
  .cta-description {
    font-size: 14px;
  }
  
  .cta-button {
    padding: 14px 28px;
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .about-split, .about-split.reverse { grid-template-columns: 1fr; }
}

/* WebP Image Cards Styles */
.project-image-webp {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image-webp {
  transform: scale(1.05);
}

/* Services Grid Layout */
.service-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .service-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-card {
    margin-bottom: 20px;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .project-title {
    font-size: 20px;
  }
}

