@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --brand-blue: #1D46BD;
  --brand-red: #E42E0B;
  --brand-orange: #EB950F;
  --brand-green: #25D366;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.13);
  --shadow-blue: 0 8px 32px rgba(29,70,189,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  overflow-x: hidden;
  direction: rtl;
  background: var(--bg-light);
  color: #1e293b;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Selection ── */
::selection { background: rgba(29, 70, 189, 0.15); color: var(--brand-blue); }

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange), var(--brand-red));
  z-index: 9999; width: 0;
  transition: width 0.1s linear;
}

/* ── Page Transition ── */
.page-transition {
  position: fixed; inset: 0; z-index: 9998;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.page-transition.active { transform: translateY(0); }

/* ── Noise Overlay ── */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9997; opacity: 0.015;
}

/* ── Gradient Mesh ── */
.gradient-mesh {
  background:
    radial-gradient(at 80% 0%, rgba(29, 70, 189, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(235, 149, 15, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(228, 46, 11, 0.03) 0px, transparent 50%);
}

/* ── Navbar ── */
.navbar-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 30px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(29, 70, 189, 0.06);
}

.nav-link {
  position: relative; transition: color 0.3s ease; font-weight: 500;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand-blue) !important; }

.logo-glow {
  filter: drop-shadow(0 0 6px rgba(29, 70, 189, 0.15));
  transition: filter 0.3s ease;
}
.logo-glow:hover { filter: drop-shadow(0 0 12px rgba(29, 70, 189, 0.3)); }

.whatsapp-pulse { display: inline-block; animation: whatsappPulse 2s infinite; }
@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ── Particles ── */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--brand-blue);
  border-radius: 50%;
  opacity: 0.15;
  animation: particleFloat 12s infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; width: 8px; height: 8px; background: var(--brand-orange); }
.particle:nth-child(2) { left: 25%; animation-delay: 2s; width: 5px; height: 5px; background: var(--brand-red); }
.particle:nth-child(3) { left: 45%; animation-delay: 4s; width: 10px; height: 10px; background: var(--brand-blue); }
.particle:nth-child(4) { left: 65%; animation-delay: 1s; width: 4px; height: 4px; }
.particle:nth-child(5) { left: 80%; animation-delay: 3s; width: 7px; height: 7px; background: var(--brand-orange); }
.particle:nth-child(6) { left: 35%; animation-delay: 5s; width: 6px; height: 6px; background: var(--brand-red); }
.particle:nth-child(7) { left: 55%; animation-delay: 2.5s; width: 9px; height: 9px; }
.particle:nth-child(8) { left: 90%; animation-delay: 4.5s; width: 5px; height: 5px; background: var(--brand-orange); }
@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(29, 70, 189, 0.06);
  color: var(--brand-blue);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(29, 70, 189, 0.1);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #64748b;
  line-height: 1.8;
  max-width: 540px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

/* ── Image Frames ── */
.img-frame-primary {
  border-radius: var(--radius-2xl);
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow-xl);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.img-frame-primary:hover { transform: rotate(0deg) scale(1.02); }
.img-frame-primary::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-2xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.img-frame-secondary {
  border-radius: var(--radius-2xl);
  transform: rotate(2deg);
  box-shadow: var(--shadow-xl);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-frame-secondary:hover { transform: rotate(0deg) scale(1.02); }

/* ── Buttons ── */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #1535a0 100%);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(29, 70, 189, 0.3);
  position: relative; overflow: hidden;
  border: none;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(29, 70, 189, 0.45);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  transition: var(--transition);
  position: relative; overflow: hidden;
  background: transparent;
}
.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn-outline:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(29, 70, 189, 0.3);
}
.btn-outline:hover::before { transform: scaleX(1); }

.btn-whatsapp {
  background: linear-gradient(135deg, var(--brand-green), #128C7E);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  position: relative; overflow: hidden;
  border: none;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 50%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Styles ── */
.section-page {
  padding: 6rem 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1.15rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  text-align: center;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(at 20% 50%, rgba(29, 70, 189, 0.2) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(235, 149, 15, 0.12) 0px, transparent 50%);
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}
.page-banner-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Service Card ── */
.service-card {
  background: white;
  border-radius: var(--radius-2xl);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  z-index: 3;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -15px rgba(29, 70, 189, 0.2), 0 10px 30px -10px rgba(0,0,0,0.1);
}
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card:hover .service-card-btn .service-card-arrow { opacity: 1; transform: translateX(0); }

.service-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.45) 100%);
}

.service-card-body {
  padding: 1.75rem 1.75rem 2rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.service-card-btn {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  transition: color 0.3s ease;
  align-self: flex-start;
}
.service-card-btn:hover { color: #1535a0; }

.service-card-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
  font-size: 0.85rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
  position: absolute;
  bottom: -30px;
  right: 1.75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 2;
  border: 3px solid white;
}
.service-icon-blue { background: linear-gradient(135deg, #1D46BD, #2a5cdf); color: white; }
.service-icon-orange { background: linear-gradient(135deg, #EB950F, #f5a623); color: white; }
.service-icon-red { background: linear-gradient(135deg, #E42E0B, #f5421a); color: white; }
.service-icon-green { background: linear-gradient(135deg, #25D366, #34d975); color: white; }

/* ── Goal Card ── */
.goal-card {
  background: white;
  border-radius: var(--radius-2xl);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.goal-card-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.goal-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.35) 100%);
}
.goal-card:hover .goal-card-img { transform: scale(1.05); }
.goal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -15px rgba(29, 70, 189, 0.15), 0 10px 30px -10px rgba(0,0,0,0.08);
}
.goal-card:hover .goal-icon { transform: scale(1.15) rotate(-5deg); }

.goal-card-body {
  padding: 2rem 1.75rem 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.goal-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: -3.5rem auto 1.25rem;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border: 3px solid white;
}
.goal-icon-blue { background: linear-gradient(135deg, #1D46BD, #2a5cdf); color: white; }
.goal-icon-orange { background: linear-gradient(135deg, #EB950F, #f5a623); color: white; }
.goal-icon-red { background: linear-gradient(135deg, #E42E0B, #f5421a); color: white; }

/* ── Contact Card ── */
.contact-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2.5rem 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(29, 70, 189, 0.15);
}
.contact-card:hover .contact-icon-big { transform: scale(1.15) rotate(-5deg); }
.contact-card:active { transform: translateY(-4px); }

.contact-icon-big {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  cursor: pointer;
}
.contact-info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29, 70, 189, 0.1);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ── Divider ── */
.section-divider {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
  margin: 0 auto 2.5rem;
}

/* ── Stats Counter ── */
.stat-item { text-align: center; padding: 1.5rem; position: relative; z-index: 2; }
.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: white;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 0.35rem; font-weight: 500; }

/* ── Stats Parallax Section ── */
.stats-parallax {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.stats-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.stats-parallax .section-divider {
  position: relative;
  z-index: 2;
}
.stats-parallax .stat-item {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.stats-parallax .stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  animation: floatGlow 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-ripple {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: ripple 2s infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes floatGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 49;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), #1535a0);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(29, 70, 189, 0.3);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(29, 70, 189, 0.45);
}

/* ── Testimonials ── */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: calc((100% - 3rem) / 3);
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: #f59e0b;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: #94a3b8;
}

.testimonial-quote-icon {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  font-size: 2.5rem;
  opacity: 0.06;
  line-height: 1;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--brand-blue);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.slider-nav-btn:hover {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-blue);
}

/* ── Footer ── */
.footer-modern {
  background: #0b1120;
  color: #94a3b8;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer-gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), var(--brand-orange), transparent);
}
.footer-accent {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(29,70,189,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  color: white;
  font-weight: 700;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
  border-radius: 2px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 1rem;
}
.footer-links a::before {
  content: '←';
  position: absolute;
  right: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: white;
  padding-right: 1.5rem;
}
.footer-links a:hover::before { opacity: 1; }

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: rgba(255,255,255,0.05);
  color: #94a3b8;
  text-decoration: none;
}
.social-icon:hover { transform: translateY(-4px); }
.social-icon.facebook:hover {
  background: #1877f2;
  color: white;
  box-shadow: 0 4px 15px rgba(24,119,242,0.4);
}
.social-icon.whatsapp:hover {
  background: var(--brand-green);
  color: white;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}
.social-icon.instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: white;
  box-shadow: 0 4px 15px rgba(221,42,123,0.4);
}
.social-icon.tiktok:hover {
  background: #000;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.social-icon.youtube:hover {
  background: #ff0000;
  color: white;
  box-shadow: 0 4px 15px rgba(255,0,0,0.4);
}
.social-icon.twitter:hover {
  background: #000;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: #64748b;
  transition: var(--transition);
}
.footer-badge:hover {
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
}

/* ── Modal ── */
.modal-content {
  animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-orange));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-blue); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in-up { animation: fadeInUp 0.7s ease forwards; }
.animate-fade-in-scale { animation: fadeInScale 0.5s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }

/* ── Section hidden/visible ── */
.section-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}
.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Grid Layouts ── */
.feature-grid {
  display: grid;
  gap: 1.5rem;
}
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Typing Effect ── */
.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-left: 3px solid var(--brand-blue);
  animation: typing 2s steps(20) 0.5s forwards, blink 0.8s step-end infinite;
  width: 0;
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* ── Glass Card ── */
.glass-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29,70,189,0.12);
}

/* ── Float Animation ── */
.float-animation {
  animation: floatElement 6s ease-in-out infinite;
}
.float-animation-delayed {
  animation: floatElement 6s ease-in-out 3s infinite;
}
@keyframes floatElement {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: calc((100% - 1.5rem) / 2); }
  .data-table th,
  .data-table td { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
  .back-to-top { width: 42px; height: 42px; bottom: 16px; right: 16px; }
  .mobile-menu-open { overflow: hidden; }
  .section-page { padding: 3rem 0; }
  .testimonial-card { min-width: 100%; }

  #services-container,
  #packages-container,
  #products-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1rem;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #services-container > *,
  #packages-container > *,
  #products-container > * {
    min-width: 260px;
    max-width: 300px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  #services-container::-webkit-scrollbar,
  #packages-container::-webkit-scrollbar,
  #products-container::-webkit-scrollbar {
    height: 3px;
  }

  #services-container::-webkit-scrollbar-thumb,
  #packages-container::-webkit-scrollbar-thumb,
  #products-container::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 2px;
  }

  .service-card-body { padding: 1.25rem; }
  .service-card-img { height: 130px; }
  .service-card-title { font-size: 1rem; }
  .service-card-desc { font-size: 0.8rem; }

  .package-card-body { padding: 1.25rem; }
  .package-card-img { height: 120px; }
  .package-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-top: -2rem; }
  .package-card .text-xl { font-size: 1rem; }
  .package-card .text-sm { font-size: 0.75rem; }

  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 0.85rem; }
  .page-banner-title { font-size: 2rem; }
  .page-banner-sub { font-size: 0.9rem; }

  .services-tabs-nav { gap: 0.25rem; padding: 0.75rem; flex-wrap: nowrap; overflow-x: auto; }
  .services-tab { padding: 0.5rem 1rem; font-size: 0.8rem; white-space: nowrap; }

  #why-us .feature-grid-3,
  #reviews-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1rem;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #why-us .feature-grid-3 > *,
  #reviews-grid > * {
    min-width: 260px;
    max-width: 300px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  #why-us .feature-grid-3::-webkit-scrollbar,
  #reviews-grid::-webkit-scrollbar {
    height: 3px;
  }

  #why-us .feature-grid-3::-webkit-scrollbar-thumb,
  #reviews-grid::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 2px;
  }

  .contact-card { padding: 1.25rem 0.75rem !important; }
  .contact-icon-big { width: 56px; height: 56px; font-size: 1.5rem; }

  #contact-section .feature-grid-3 {
    display: flex;
    gap: 0.75rem;
  }

  #contact-section .feature-grid-3 > * {
    flex: 1;
    min-width: 0;
  }

  #contact-section .contact-card h3 { font-size: 0.8rem; margin-bottom: 0.25rem; }
  #contact-section .contact-card .phone-text { font-size: 0.8rem; }
  #contact-section .contact-card span { font-size: 0.7rem; }
  #contact-section .contact-card svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
  #services-container > *,
  #packages-container > *,
  #products-container > * {
    min-width: 240px;
    max-width: 260px;
  }

  .service-card-img { height: 110px; }
  .package-card-img { height: 100px; }
  .service-card-body { padding: 1rem; }
  .package-card-body { padding: 1rem; }

  .hero-section h1 { font-size: 1.8rem; }
  .hero-section p { font-size: 0.9rem; }
  .btn-primary, .btn-outline { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

  .section-title { font-size: 1.25rem; }
  .stats-parallax .stat-number { font-size: 2rem; }

  #why-us .feature-grid-3 > *,
  #reviews-grid > * {
    min-width: 220px;
    max-width: 250px;
  }

  .contact-icon-big { width: 44px; height: 44px; font-size: 1.2rem; }
  #contact-section .contact-card { padding: 0.75rem 0.5rem !important; }
  #contact-section .contact-card h3 { font-size: 0.7rem; }
  #contact-section .feature-grid-3 { gap: 0.5rem; }
}

/* ── Hero Image Slider ── */
.hero-img-slider {
  position: relative;
  overflow: hidden;
}
.hero-img-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-img-slide.active {
  position: relative;
  opacity: 1;
}
.hero-img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: var(--transition-fast);
  opacity: 0;
}
.hero-img-slider:hover .hero-img-arrow { opacity: 1; }
.hero-img-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}
.hero-img-prev { right: 12px; }
.hero-img-next { left: 12px; }
.hero-img-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-img-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}
.hero-img-dot.active {
  background: white;
  border-color: white;
  transform: scale(1.25);
}
.hero-img-dot:hover {
  background: rgba(255,255,255,0.8);
}

/* ── Package Card ── */
.package-card {
  background: white;
  border-radius: var(--radius-2xl);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.package-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.package-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.4) 100%);
}
.package-card:hover .package-card-img { transform: scale(1.05); }
.package-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -15px rgba(29, 70, 189, 0.2), 0 10px 30px -10px rgba(0,0,0,0.1);
}
.package-card:hover .package-icon { transform: scale(1.1) rotate(-5deg); }

.package-card-body {
  padding: 1.75rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.package-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border: 3px solid white;
}
.package-icon-blue { background: linear-gradient(135deg, #1D46BD, #2a5cdf); color: white; }
.package-icon-orange { background: linear-gradient(135deg, #EB950F, #f5a623); color: white; }
.package-icon-red { background: linear-gradient(135deg, #E42E0B, #f5421a); color: white; }
.package-icon-green { background: linear-gradient(135deg, #25D366, #34d975); color: white; }

.package-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.package-wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  color: white;
}

/* ── Services Tab Navigation ── */
.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 5rem;
  z-index: 20;
}
.services-tab {
  padding: 0.6rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.services-tab:hover {
  color: var(--brand-blue);
  background: rgba(29,70,189,0.06);
}
.services-tab.active {
  background: linear-gradient(135deg, var(--brand-blue), #1535a0);
  color: white;
  box-shadow: 0 4px 15px rgba(29,70,189,0.3);
}

/* ── Utility ── */
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } }


