/* ==========================================================================
   HERO SLIDER SECTION (4 DYNAMIC SLIDES + TYPEWRITER EFFECT)
   ========================================================================== */
.hero-section {
  padding-top: 7.2rem;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.deco-dots-top {
  position: absolute;
  top: 135px;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
.deco-dots-top span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6366f1;
}

.deco-dot-grid-left {
  position: absolute;
  bottom: 22%;
  left: 45%;
  display: grid;
  grid-template-columns: repeat(4, 5px);
  gap: 8px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}
.deco-dot-grid-left span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f97316;
}

.deco-dot-grid-right {
  position: absolute;
  top: 260px;
  right: 15px;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  gap: 7px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}
.deco-dot-grid-right span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f97316;
}

/* Slider Track & Slides */
.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

@media (max-width: 768px) {
  .hero-slide {
    display: none !important;
    position: relative !important;
    inset: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .hero-slide.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

/* Hero Left Content */
.hero-left {
  position: relative;
  z-index: 2;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1.1rem;
  background: #ffffff;
  border: 1px solid #ede8e0;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.25rem;
}
.welcome-badge i {
  color: #ea580c;
  font-size: 0.8rem;
}

.hero-hi {
  font-family: var(--font-sans);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 0.2rem;
}

.hero-name-gradient {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  background: var(--grad-name);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.85rem;
}

/* Typewriter Typing Line */
.typewriter-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 0.8rem;
  min-height: 32px;
}
.typing-text {
  background: linear-gradient(90deg, #7c3aed, #be185d, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cursor-blink {
  color: #ea580c;
  font-weight: 300;
  animation: blink 0.8s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 1.8rem;
}

/* CTA Buttons */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  background: var(--grad-btn-cv);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cv:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.35);
}

/* Green WhatsApp Primary Hero Button */
.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.88rem 1.85rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.btn-whatsapp-hero:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.hero-chat-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: dotPulse 2s infinite;
}

/* USA & UAE Client Trust Strip */
.hero-us-uae-trust-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: -1.2rem;
  margin-bottom: 2rem;
}
.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1.2px solid rgba(226, 232, 240, 0.9);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}
.trust-badge-pill:hover {
  transform: translateY(-1px);
  border-color: #7c3aed;
  color: #7c3aed;
}

.btn-touch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  background: #ffffff;
  border: 1.5px solid #e0dced;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}
.btn-touch:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  transform: translateY(-2px);
}

/* 4 Stat Cards in Row */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.stat-item-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 0.9rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.stat-item-card:hover {
  transform: translateY(-3px);
}

.stat-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.stat-icon-wrapper.purple { background: #f5f0ff; color: #8b5cf6; }
.stat-icon-wrapper.coral  { background: #fff4eb; color: #f97316; }
.stat-icon-wrapper.cyan   { background: #ecfeff; color: #06b6d4; }
.stat-icon-wrapper.pink   { background: #fdf2f8; color: #ec4899; }
.stat-icon-wrapper.green  { background: #f0fdf4; color: #16a34a; }

.stat-number-val {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}
.stat-label-text {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Hero Right Visuals (Developer Cutout + Aura + Badges) */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-composition-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow-aura {
  position: absolute;
  width: 530px;
  height: 530px;
  max-width: 95%;
  max-height: 95%;
  border-radius: 50%;
  background: var(--grad-aura);
  z-index: 1;
  box-shadow: 0 28px 70px rgba(235, 46, 113, 0.45);
  animation: auraFloat 8s ease-in-out infinite alternate;
}
@keyframes auraFloat {
  0% { transform: scale(0.97) rotate(0deg); }
  100% { transform: scale(1.03) rotate(8deg); }
}

.hero-person-cutout-img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 580px;
  height: auto;
  max-height: 670px;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

/* Floating Badges in Hero */
.hero-floating-quote {
  position: absolute;
  top: 25px;
  right: -10px;
  z-index: 4;
  background: #ffffff;
  border: 1px solid #f0ede6;
  border-radius: 20px;
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-float);
  animation: cardFloat 6s ease-in-out infinite alternate;
}
.quote-top-icon {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 0.8;
  color: #1e1b4b;
  margin-bottom: 0.45rem;
}
.quote-text-line {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
}

.hero-floating-freelance {
  position: absolute;
  bottom: 25px;
  right: -15px;
  z-index: 4;
  background: #ffffff;
  border: 1px solid #f0ede6;
  border-radius: 20px;
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-float);
  animation: cardFloat 7s ease-in-out 1s infinite alternate-reverse;
}
.freelance-status-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.dot-live-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.freelance-big-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(90deg, #7c3aed 0%, #be185d 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2rem;
}
.freelance-subtitle-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.floating-feature-badge {
  position: absolute;
  z-index: 5;
  background: #ffffff;
  border: 1px solid #f0ede6;
  border-radius: 18px;
  padding: 0.85rem 1.2rem;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}
.floating-feature-badge.top-left {
  top: 30px;
  left: -20px;
  animation: cardFloat 6s ease-in-out infinite alternate;
}
.floating-feature-badge.bottom-right {
  bottom: 30px;
  right: -20px;
  animation: cardFloat 7s ease-in-out 1s infinite alternate-reverse;
}
.floating-feature-badge i {
  font-size: 1.1rem;
}
.floating-feature-badge .purple { color: #8b5cf6; }
.floating-feature-badge .orange { color: #f97316; }
.floating-feature-badge .green  { color: #10b981; }
.floating-feature-badge .cyan   { color: #06b6d4; }
.floating-feature-badge .pink   { color: #ec4899; }

@keyframes cardFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Slider Controls */
.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -15px;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.slider-pagination-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #7c3aed, #ea580c);
}

.slider-arrow-btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}
.slider-arrow-btn:hover {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
  transform: scale(1.08);
}

