﻿:root {
  --color-bg: #f3f7fb;
  --color-surface: #ffffff;
  --color-primary: #0b63ce;
  --color-primary-dark: #07357b;
  --color-secondary: #e53935;
  --color-accent: #e53935;
  --color-text: #13233f;
  --color-muted: #5a6b85;
  --shadow-soft: 0 16px 42px -24px rgba(30, 58, 138, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
}

.font-changa {
  font-family: 'Changa', sans-serif;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 8% 8%, rgba(11, 99, 206, 0.11) 0, transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(229, 57, 53, 0.11) 0, transparent 26%),
    radial-gradient(circle at 18% 88%, rgba(11, 99, 206, 0.07) 0, transparent 28%),
    linear-gradient(to bottom, #fbfdff, #edf4fb);
}

.nav-link {
  position: relative;
  font-weight: 700;
  color: #334155;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.mobile-link {
  display: block;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  color: #334155;
}

.mobile-link.is-active,
.mobile-link:hover {
  background: #e8efff;
  color: var(--color-primary-dark);
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}

.section-title {
  font-family: 'Changa', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

.floating-actions {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 24px -12px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.35);
}

.fab-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 14px 24px -12px rgba(10, 129, 56, 0.75);
}

.fab-wa-icon svg {
  width: 26px;
  height: 26px;
}

.fab-wa-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  background: #ffffff;
  color: #1f2937;
  border-radius: 12px;
  border: 1px solid #dbe4ef;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fab-wa:hover .fab-wa-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.interactive-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.interactive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 36px -20px rgba(30, 58, 138, 0.35);
  border-color: rgba(37, 99, 235, 0.35);
}

.card-pointer {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transform: translateX(-4px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.interactive-card:hover .card-pointer {
  opacity: 1;
  transform: translateX(0);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 99, 206, 0.14), rgba(229, 57, 53, 0.18));
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-meta {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
}

.page-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8efff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
}

.contact-tile {
  border-radius: 14px;
  border: 1px solid #d8e3f1;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 20px -18px rgba(30, 58, 138, 0.45);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.95;
  font-size: 1.1rem;
}

.why-item-dot {
  width: 9px;
  height: 9px;
  margin-top: 11px;
  border-radius: 999px;
  background: var(--color-accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.why-stat {
  border: 1px solid #d9e3f1;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px 8px;
}

.why-stat-number {
  font-family: 'Changa', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

.why-stat-label {
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 520px;
  box-shadow: var(--shadow-soft);
}

.hero-track {
  display: flex;
  direction: ltr;
  width: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 520px;
  position: relative;
  background-size: cover;
  background-position: center;
  direction: rtl;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(7, 53, 123, 0.9), rgba(11, 99, 206, 0.52) 55%, rgba(229, 57, 53, 0.24));
}

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

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.35);
}

.slider-nav.next {
  right: 14px;
}

.slider-nav.prev {
  left: 14px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  width: 24px;
  background: #ffffff;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dbe5f2;
  box-shadow: 0 20px 42px -28px rgba(30, 58, 138, 0.3);
}

.testimonial-track {
  display: flex;
  direction: ltr;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0;
  direction: rtl;
}

.testimonial-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid #d3deed;
  background: #f8fafc;
  padding: 22px;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e5edff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

.quote-mark {
  display: inline-block;
  margin-top: 6px;
  color: #93a8ca;
  font-size: 32px;
  line-height: 1;
}

.testimonial-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b63ce, #e53935);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.list-dot li {
  position: relative;
  padding-right: 1rem;
}

.list-dot li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-accent);
}

.cta-panel {
  border: 1px solid #d7e2ef;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 20px 42px -28px rgba(30, 58, 138, 0.28);
}

.cta-info {
  position: relative;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 0.97rem;
}

.cta-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e8efff;
  color: #1e3a8a;
  font-size: 12px;
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d7e2ef;
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.cta-form {
  border: 1px solid #dbe5f2;
  border-radius: 18px;
  background: #ffffff;
  padding: 14px;
}

.cta-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.cta-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #0b63ce, #07357b);
  color: #ffffff;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -12px rgba(37, 99, 235, 0.62);
}

@media (max-width: 640px) {
  .fab-wa-icon {
    width: 46px;
    height: 46px;
  }

  .fab-wa-label {
    display: none;
  }

  .hero-slider,
  .hero-slide {
    min-height: 500px;
  }
}
