/* ============================================
   ADVERA GROUP – PREMIUM DARK THEME
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --red:       #E62E2E;
  --red-light: #ff4f4f;
  --red-dark:  #b01f1f;
  --red-2:     #c91a1a;
  --white:     #ffffff;
  --off-white: #f0eff5;
  --bg:        #08080f;
  --bg-2:      #0e0e1a;
  --bg-3:      #141428;
  --surface:   rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(230,46,46,0.35);
  --text:      #e8e6f0;
  --text-muted:#9590ab;
  --gradient:  linear-gradient(135deg, var(--red-dark) 0%, var(--red-light) 100%);
  --gradient-2:linear-gradient(135deg, var(--red) 0%, rgba(255,255,255,0.85) 100%);
  --shadow-red:0 0 40px rgba(230,46,46,0.3);
  --radius:    16px;
  --radius-lg: 24px;
  --transition:0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }

/* ---------- CANVAS PARTICLES ---------- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ---------- SHARED UTILITIES ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.section-label.light { color: var(--white); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.section-title.center { text-align: center; }

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 56px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(230,46,46,0.4); }
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--border-2); color: var(--white); transform: translateY(-2px); }
.btn-secondary svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,15,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo img { height: 48px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-lang i {
  font-size: 0.9rem;
  opacity: 0.85;
}
.nav-lang:hover {
  color: var(--white);
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.nav-cta {
  padding: 10px 24px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

/* ---- Slider Track & Slides ---- */
.slider-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}
.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,8,15,0.88) 0%,
    rgba(8,8,15,0.65) 50%,
    rgba(8,8,15,0.30) 100%
  );
}

/* ---- Hero Content ---- */
.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-content {
  position: relative;
  max-width: 620px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(230,46,46,0.15);
  border: 1px solid rgba(230,46,46,0.3);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--red-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.typed-text {
  display: block;
  min-height: 1.2em;
  unicode-bidi: isolate;
}
.typed-text::after {
  content: '|';
  animation: blink 0.7s step-end infinite;
  color: var(--red);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-title-line {
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(232,230,240,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  text-align: start;
  unicode-bidi: isolate;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(149,144,171,0.8);
  font-size: 0.82rem;
}
.scroll-indicator {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--gradient);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ---- Slider Buttons ---- */
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  color: var(--white);
}
.slider-btn svg { width: 22px; height: 22px; }
.slider-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}
.slider-prev { left: max(16px, calc((100vw - 1200px)/2 - 70px)); }
.slider-next { right: max(16px, calc((100vw - 1200px)/2 - 70px)); }

/* ---- Slider Dots ---- */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active {
  width: 30px;
  border-radius: 5px;
  background: var(--red);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  position: relative;
  padding: 120px 0;
  z-index: 1;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.feature-icon {
  width: 22px; height: 22px;
  background: rgba(230,46,46,0.15);
  color: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

/* ---- About Image ---- */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.about-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.about-img-wrap:hover .about-img { transform: scale(1.04); }

/* Gradient overlay bottom */
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(8,8,15,0.85) 0%, transparent 100%);
  pointer-events: none;
}

/* Stats row at the bottom of the image */
.about-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  padding: 20px 16px;
  gap: 8px;
}
.about-overlay-stat {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 16px;
  flex: 1;
}
.about-overlay-stat .mini-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  background: none;
  -webkit-text-fill-color: var(--white);
  display: block;
  line-height: 1;
}
.about-overlay-stat .mini-label {
  font-size: 0.72rem;
  color: rgba(232,230,240,0.7);
  margin-top: 4px;
  display: block;
}

/* Award badge top-right */
.about-img-badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8,8,15,0.75);
  border: 1px solid rgba(230,46,46,0.3);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(14px);
}
.about-img-badge span { font-size: 1.4rem; }
.about-img-badge strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.about-img-badge small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mini-stat { text-align: center; }
.mini-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
}
.mini-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  position: relative;
  padding: 120px 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(14,14,26,0.5) 50%, transparent 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(230,46,46,0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(230,46,46,0.12);
}
.service-card:hover::before { opacity: 0.04; }

.service-card.featured {
  border-color: rgba(230,46,46,0.5);
  background: linear-gradient(135deg, rgba(230,46,46,0.1) 0%, rgba(255,255,255,0.03) 100%);
}
.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.service-icon-wrap {
  width: 54px; height: 54px;
  background: rgba(230,46,46,0.1);
  border: 1px solid rgba(230,46,46,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: rgba(230,46,46,0.2);
  border-color: rgba(230,46,46,0.4);
  transform: scale(1.05);
}
.service-icon { width: 26px; height: 26px; color: var(--red-light); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-light);
  transition: gap 0.3s, color 0.3s;
}
.service-link svg { width: 14px; height: 14px; }
.service-link:hover { gap: 10px; color: var(--white); }
.service-bg-number {
  position: absolute;
  bottom: -10px; right: 16px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  position: relative;
  padding: 120px 0;
  z-index: 1;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230,46,46,0.07) 0%, rgba(180,20,20,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-glow-1, .stats-glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.stats-glow-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,46,46,0.12) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.stats-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,30,30,0.09) 0%, transparent 70%);
  bottom: -100px; right: -100px;
}

.stats .section-title { margin-bottom: 60px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.stat-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.5s;
}
.stat-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  background: none;
  -webkit-text-fill-color: var(--white);
  display: inline;
  line-height: 1;
}
.stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  background: none;
  -webkit-text-fill-color: var(--white);
  display: inline;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  position: relative;
  padding: 120px 0;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-top: 12px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--border-2); transform: translateX(4px); }
.contact-icon-wrap {
  width: 46px; height: 46px;
  background: rgba(230,46,46,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wrap svg { width: 20px; height: 20px; color: var(--red-light); }
.contact-icon-wrap.green { background: rgba(37,211,102,0.12); }
.contact-icon-wrap.green svg { color: #25d366; }
.contact-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.contact-value:hover { color: var(--red-light); }
.phone-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.contact-tagline {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(230,46,46,0.1) 0%, rgba(180,20,20,0.06) 100%);
  border: 1px solid rgba(230,46,46,0.25);
  border-radius: var(--radius);
}
.contact-tagline p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}
.tagline-logo img { height: 40px; }

/* Contact Form */
.contact-form {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.93rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(230,46,46,0.5);
  background: rgba(230,46,46,0.04);
  box-shadow: 0 0 0 3px rgba(230,46,46,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(149,144,171,0.5); }
.form-group select option { background: var(--bg-2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-logo { height: 50px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link svg,
.social-link i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  color: var(--text-muted);
}
.social-link:hover { background: rgba(230,46,46,0.15); border-color: var(--border-2); }
.social-link:hover svg,
.social-link:hover i { color: var(--red-light); }

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--red-light); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-list i {
  flex-shrink: 0;
  width: 18px;
  margin-top: 2px;
  font-size: 0.95rem;
  color: var(--red-light);
  text-align: center;
}

.footer-contact-list a,
.footer-contact-list span {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.3s;
}

.footer-contact-list a:hover { color: var(--red-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 80px; right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: var(--transition);
  animation: bounce-in 0.5s ease 1s both;
}
.whatsapp-float svg { width: 26px; height: 26px; color: #fff; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-red);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; color: #fff; }
.back-to-top:hover { transform: translateY(-3px) scale(1.05); }

@keyframes bounce-in {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RTL (Arabic)
   ============================================ */
html[dir="rtl"] body {
  font-family: 'Cairo', 'Outfit', 'Inter', sans-serif;
}

html[dir="rtl"] .nav-links {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .hamburger {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .slide-overlay {
  background: linear-gradient(
    -105deg,
    rgba(8,8,15,0.88) 0%,
    rgba(8,8,15,0.65) 50%,
    rgba(8,8,15,0.30) 100%
  );
}

html[dir="rtl"] .slider-prev {
  left: auto;
  right: max(16px, calc((100vw - 1200px) / 2 - 70px));
}

html[dir="rtl"] .slider-next {
  right: auto;
  left: max(16px, calc((100vw - 1200px) / 2 - 70px));
}

html[dir="rtl"] .hero-container {
  display: flex;
  justify-content: flex-start;
}

html[dir="rtl"] .hero-content {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-title-line,
html[dir="rtl"] .typed-text {
  text-align: right;
}

html[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-scroll {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-desc[dir="rtl"],
html[dir="rtl"] .hero-desc:not([dir="ltr"]) {
  text-align: right;
}

html[dir="rtl"] .btn-primary svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn-primary:hover svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .featured-badge,
html[dir="rtl"] .service-bg-number {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .whatsapp-float,
html[dir="rtl"] .back-to-top {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .whatsapp-float {
  left: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 120px 24px 60px;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
    padding-inline: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  html[dir="rtl"] .hero {
    text-align: right;
  }
  html[dir="rtl"] .hero-content {
    align-items: flex-start;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
  }
  html[dir="rtl"] .hero-container {
    justify-content: flex-start;
  }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 300px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions {
    margin-left: auto;
    margin-right: 8px;
  }
  html[dir="rtl"] .nav-actions {
    margin-left: 8px;
    margin-right: auto;
  }
  .nav-actions .nav-cta { display: none; }
  .hamburger {
    display: flex;
    margin-left: 0;
  }
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .hero-desc {
    max-width: 100%;
    font-size: 0.95rem;
  }
  .slider-prev,
  .slider-next {
    width: 42px;
    height: 42px;
  }
  .slider-prev { left: 12px; right: auto; }
  .slider-next { right: 12px; left: auto; }
  html[dir="rtl"] .slider-prev { left: auto; right: 12px; }
  html[dir="rtl"] .slider-next { right: auto; left: 12px; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(8,8,15,0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { justify-content: center; }
  html[dir="rtl"] .hero-actions { justify-content: flex-start; }
  .about-features { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
