/* ═══════════════════════════════════════
   NESAM MEDIA — Home Page Specific Styles
   ═══════════════════════════════════════ */

/* ─── HERO ─────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.orb-1 {
  width: 500px; height: 500px;
  background: #3B82F6;
  top: -150px; right: -100px;
  animation: floatSlow 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; left: -80px;
  animation: floatSlow 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 200px; height: 200px;
  background: #8B5CF6;
  top: 40%; left: 40%;
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 24px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,43,0.15);
  border: 1px solid rgba(255,107,43,0.3);
  color: #FFA574;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-badge i { color: var(--accent); }

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.84rem;
  font-weight: 500;
}
.trust-item i { color: var(--accent); font-size: 0.9rem; }

/* ─── Hero Visual Card ──────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-main {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px;
  width: 300px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.hc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.hc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hc-dot.red    { background: #FF5F56; }
.hc-dot.yellow { background: #FFBD2E; }
.hc-dot.green  { background: #27C93F; }
.hc-title {
  margin-left: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-family: monospace;
}
.hc-icon {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.hc-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.hc-bar {
  background: rgba(255,255,255,0.08);
  height: 4px;
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}
.hc-progress {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 2px;
  animation: grow 1.5s ease both;
}
@keyframes grow { from { width: 0; } }
.hc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hc-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #27C93F;
  font-size: 0.75rem;
  font-weight: 600;
}
.hc-status i { font-size: 0.6rem; }
.hc-count {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.hero-badge-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.hero-badge-card i { color: var(--accent); }
.card-1 { top: 10%; right: -20px; animation-delay: 0s; }
.card-2 { bottom: 20%; right: -30px; animation-delay: 1s; }
.card-3 { bottom: 5%; left: 0; animation-delay: 0.5s; }

/* ─── Scroll hint ───────────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-arrow {
  margin-top: 8px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── Services Overview ─────────────────── */
.services-overview { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.sc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.sc-icon.web   { background: rgba(59,130,246,0.12); color: #3B82F6; }
.sc-icon.app   { background: rgba(16,185,129,0.12); color: #10B981; }
.sc-icon.ebook { background: rgba(139,92,246,0.12); color: #8B5CF6; }
.sc-icon.audio { background: rgba(245,158,11,0.12); color: #F59E0B; }
.sc-icon.video { background: rgba(255,107,43,0.12); color: var(--accent); }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.service-card > p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.sc-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.sc-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.sc-features li i { color: var(--accent); font-size: 0.75rem; }
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.sc-link:hover { color: var(--accent); gap: 12px; }

.cta-card {
  background: var(--gradient-hero);
  border-color: transparent !important;
}
.cta-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 200px;
}
.cta-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.cta-card h3 { color: var(--white); margin-bottom: 8px; }
.cta-card p  { color: rgba(255,255,255,0.65); font-size: 0.88rem; }

/* ─── Why Us ────────────────────────────── */
.why-us { background: var(--white); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.wp-icon {
  width: 46px; height: 46px;
  background: rgba(255,107,43,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-point h4 { font-size: 1rem; margin-bottom: 4px; color: var(--primary); }
.why-point p  { font-size: 0.88rem; }

.why-visual { position: relative; height: 420px; }
.why-blob {
  position: absolute;
  width: 360px; height: 360px;
  background: rgba(10,31,68,0.04);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 60%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: blobAnim 8s ease-in-out infinite;
}
@keyframes blobAnim {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 60%; }
  50%       { border-radius: 30% 70% 40% 60% / 60% 40% 60% 40%; }
}
.why-center-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-hero);
  border-radius: 50%;
  width: 150px; height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.why-center-icon i { font-size: 2rem; color: var(--accent-light); margin-bottom: 6px; }
.why-center-icon span { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.why-center-icon small { font-size: 0.7rem; color: rgba(255,255,255,0.6); }

.why-card-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.card-reviews {
  bottom: 20px;
  left: 0;
  max-width: 200px;
  animation: float 4s ease-in-out infinite;
}
.card-projects {
  top: 30px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 5s ease-in-out infinite 0.5s;
}
.cf-stars { color: #FBC02D; font-size: 0.75rem; margin-bottom: 6px; }
.cf-text { font-size: 0.78rem; color: var(--text-dark); font-style: italic; margin-bottom: 4px; }
.cf-author { font-size: 0.72rem; color: var(--accent); font-weight: 600; }
.cf-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.cf-sub { font-size: 0.72rem; color: var(--text-muted); text-align: center; }

/* ─── Process ───────────────────────────── */
.process-section { background: var(--off-white); }
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.ps-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.06;
  position: absolute;
  top: 12px; right: 16px;
  line-height: 1;
}
.ps-icon {
  width: 60px; height: 60px;
  background: rgba(255,107,43,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--primary); }
.process-step p  { font-size: 0.82rem; }
.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex-shrink: 0;
}

/* ─── Testimonials ──────────────────────── */
.testimonials-section { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tc-stars { color: #FBC02D; font-size: 0.85rem; margin-bottom: 14px; }
.tc-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 20px;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.tc-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}
.web-av  { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.app-av  { background: linear-gradient(135deg, #10B981, #059669); }
.ebook-av{ background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.tc-name { display: block; font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.tc-role { display: block; font-size: 0.78rem; color: var(--text-muted); }

/* ─── CTA Banner ────────────────────────── */
.cta-banner { background: var(--off-white); padding: 70px 0; }
.cta-inner {
  background: var(--gradient-hero);
  border-radius: 24px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: rgba(255,107,43,0.12);
  border-radius: 50%;
}
.cta-text h2 { color: var(--white); font-size: 2rem; margin-bottom: 8px; }
.cta-text h2 span { color: var(--accent-light); }
.cta-text p  { color: rgba(255,255,255,0.65); }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .hero-container   { grid-template-columns: 1fr; text-align: center; }
  .hero-visual      { display: none; }
  .hero-desc        { margin: 0 auto 36px; }
  .hero-buttons, .hero-trust { justify-content: center; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .why-inner        { grid-template-columns: 1fr; }
  .why-visual       { display: none; }
  .cta-inner        { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-actions      { justify-content: center; }
}

@media (max-width: 768px) {
  .services-grid  { grid-template-columns: 1fr; }
  .process-steps  { flex-direction: column; }
  .process-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--accent), transparent); }
}
