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

body {
  font-family: 'Inter', sans-serif;
  background: #0a1a1f;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ================================================================
   HEADER
================================================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  background: rgba(10,26,31,0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid #4dd0e1;
  transition: all 0.3s;
  z-index: 1000;
}

header.scrolled {
  background: rgba(10,26,31,0.98);
  box-shadow: 0 4px 20px rgba(77,208,225,0.2);
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  z-index: 1001;
  flex-shrink: 0;
}

.logo img {
  height: 130px;
  max-height: none;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  position: relative;
  top: 0;
}

.logo img:hover { transform: scale(1.08); }

/* ── Nav ── */
nav {
  display: flex;
  gap: 40px;
  align-items: center;
  height: 100%;
}

nav a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  color: #b0bec5;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  white-space: nowrap;
}

nav a:hover { color: #4dd0e1; }

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4dd0e1;
  transition: width 0.3s;
}

nav a:hover::after { width: 100%; }

/* ── Mobile Menu Toggle ── */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 2px solid #4dd0e1;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  transition: all 0.3s;
  flex-shrink: 0;
  padding: 0;
}

.menu-toggle:hover {
  background: rgba(77,208,225,0.1);
  border-color: #26c6da;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 2px;
  background: #4dd0e1;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #4dd0e1;
  transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.menu-toggle.active .hamburger { background: transparent; }
.menu-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ================================================================
   HERO
================================================================ */
.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

.hero-bg-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
}

.hero-overlay {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0,0,0,0.22) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px,4vw,60px) clamp(24px,5vw,80px);
  pointer-events: none;
  overflow: hidden;
  gap: 0;
}

.hero-content > * { pointer-events: auto; }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: clamp(12px, 1.2vw, 24px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  max-width: 75%;
}

.hero .subtitle {
  font-size: clamp(12px, 1.1vw, 18px);
  background: transparent;
  color: #fff;
  padding: clamp(8px,0.8vw,14px) clamp(12px,1.2vw,20px);
  border-left: 4px solid #4dd0e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: clamp(16px,1.6vw,28px);
  line-height: 1.4;
  max-width: 65%;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* ── CTA Buttons ── */
.cta-group {
  display: flex;
  gap: clamp(8px,0.8vw,16px);
  flex-wrap: wrap;
  margin-bottom: clamp(8px,0.8vw,16px);
}

.btn {
  padding: clamp(10px,0.9vw,16px) clamp(22px,1.9vw,34px);
  border-radius: 6px;
  font-weight: 600;
  font-size: clamp(11px,0.75vw,14px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px,0.4vw,8px);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary {
  background: #4dd0e1;
  color: #0a1a1f;
  box-shadow: 0 8px 25px rgba(77,208,225,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(77,208,225,0.5);
  background: #26c6da;
}

.btn-outline {
  background: #4dd0e1;
  border: none;
  color: #0a1a1f;
  box-shadow: 0 8px 25px rgba(77,208,225,0.25);
}

.btn-outline:hover {
  background: #26c6da;
  color: #0a1a1f;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(77,208,225,0.45);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.hero-actions {
  display: flex;
  gap: clamp(8px,0.8vw,16px);
  flex-wrap: wrap;
  margin-top: clamp(8px,0.7vw,14px);
}

.btn-location {
  background: #4dd0e1;
  color: #0a1a1f;
  box-shadow: 0 8px 25px rgba(77,208,225,0.25);
}

.btn-location:hover {
  background: #26c6da;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(77,208,225,0.45);
}

/* ================================================================
   STATS
================================================================ */
.stats-section {
  padding: 60px;
  background: linear-gradient(135deg, #0a1a1f 0%, #1a3a3f 100%);
  border-top: 3px solid #4dd0e1;
  border-bottom: 3px solid #4dd0e1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  align-items: stretch;
}

.stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  background: rgba(77,208,225,0.05);
  padding: 24px 16px;
  border-radius: 10px;
  border: 2px solid rgba(77,208,225,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-item:hover {
  border-color: #4dd0e1;
  background: rgba(77,208,225,0.1);
  transform: translateY(-5px);
}

.stat-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #4dd0e1;
  margin-bottom: 6px;
  direction: ltr;
}

.stat-item p {
  color: #b0bec5;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================================================
   WHAT WE OFFER
================================================================ */
.offers-section {
  position: relative;
  padding: 100px 60px;
  background: linear-gradient(160deg, #0a1a1f 0%, #0d2229 55%, #0a1a1f 100%);
  border-top: 3px solid #4dd0e1;
  overflow: hidden;
}

.offers-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.offers-bg-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(77,208,225,0.07) 30%,
    rgba(77,208,225,0.07) 70%,
    transparent 100%
  );
}

.offers-bg-lines span:nth-child(1) { left: 25%; }
.offers-bg-lines span:nth-child(2) { left: 50%; }
.offers-bg-lines span:nth-child(3) { left: 75%; }

.offers-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.offers-header {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.65s ease-out;
}

.offers-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.offers-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #4dd0e1;
  background: rgba(77,208,225,0.08);
  border: 1px solid rgba(77,208,225,0.25);
  border-radius: 4px;
  padding: 5px 16px;
  margin-bottom: 22px;
}

.offers-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.offers-title span:nth-child(2) { color: #4dd0e1; }

.offers-desc {
  color: #90a4ae;
  font-size: clamp(14px, 1.4vw, 17px);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.offer-card {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(77,208,225,0.12);
  border-radius: 18px;
  padding: 32px 26px 28px;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out,
              border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.offer-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.offer-card[data-delay="0"].animate { transition-delay: 0s; }
.offer-card[data-delay="1"].animate { transition-delay: 0.1s; }
.offer-card[data-delay="2"].animate { transition-delay: 0.2s; }
.offer-card[data-delay="3"].animate { transition-delay: 0.3s; }

.offer-card:hover {
  border-color: rgba(77,208,225,0.45);
  background: rgba(77,208,225,0.04);
  box-shadow: 0 20px 60px rgba(77,208,225,0.12);
  transform: translateY(-6px);
}

.offer-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,208,225,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.offer-card:hover::after { opacity: 1; }

.offer-card.featured {
  border-color: rgba(77,208,225,0.35);
  background: rgba(77,208,225,0.05);
}

.offer-card.featured:hover {
  border-color: #4dd0e1;
  box-shadow: 0 24px 70px rgba(77,208,225,0.2);
}

.offer-featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0a1a1f;
  background: #4dd0e1;
  border-radius: 4px;
  padding: 4px 10px;
}

.offer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.offer-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(77,208,225,0.1);
  border: 1px solid rgba(77,208,225,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #4dd0e1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.offer-card:hover .offer-icon-wrap {
  background: #4dd0e1;
  color: #0a1a1f;
  border-color: #4dd0e1;
  box-shadow: 0 8px 24px rgba(77,208,225,0.35);
}

.offer-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: rgba(77,208,225,0.08);
  line-height: 1;
  letter-spacing: -2px;
  transition: color 0.3s ease;
  user-select: none;
  direction: ltr;
}

.offer-card:hover .offer-number { color: rgba(77,208,225,0.15); }

.offer-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.offer-card p {
  color: #90a4ae;
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.75;
  margin-bottom: 20px;
}

.offer-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-specs li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(11px, 1vw, 13px);
  color: #b0bec5;
  line-height: 1.4;
}

.offer-specs li i {
  color: #4dd0e1;
  font-size: 10px;
  flex-shrink: 0;
}

.offer-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #4dd0e1, #26c6da);
  border-radius: 0 0 0 18px;
  transition: width 0.45s ease;
}

.offer-card:hover .offer-card-line { width: 100%; }
.offer-card.featured .offer-card-line { width: 0; }
.offer-card.featured:hover .offer-card-line { width: 100%; }

.offers-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.3s;
}

.offers-cta.animate {
  opacity: 1;
  transform: translateY(0);
}

.offers-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  border-radius: 8px;
  background: #4dd0e1;
  color: #0a1a1f;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(77,208,225,0.3);
}

.offers-cta-btn:hover {
  background: #26c6da;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(77,208,225,0.45);
  color: #0a1a1f;
}

.offers-cta-btn i { transition: transform 0.3s ease; }
.offers-cta-btn:hover i { transform: translateX(5px); }

.offers-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4dd0e1;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(77,208,225,0.3);
}

.offers-cta-link:hover {
  color: #26c6da;
  border-bottom-color: #26c6da;
  gap: 12px;
}

.offers-cta-link i {
  font-size: 16px;
  color: #25D366;
}

/* ================================================================
   FEATURES
================================================================ */
.features-section {
  padding: 80px 60px;
  background: #0a1a1f;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #4dd0e1;
}

.section-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(77,208,225,0.03);
  border: 2px solid rgba(77,208,225,0.2);
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 180px;
}

.feature-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-card::before { display: none; }

.feature-card:hover {
  transform: translateY(-8px);
  border-color: #4dd0e1;
  box-shadow: 0 16px 50px rgba(77,208,225,0.2);
  background: rgba(77,208,225,0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #4dd0e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  color: #0a1a1f;
  box-shadow: 0 6px 18px rgba(77,208,225,0.3);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.feature-card p {
  color: #b0bec5;
  line-height: 1.5;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* ================================================================
   CAROUSEL
================================================================ */
.carousel-section {
  padding: 80px 60px;
  background: linear-gradient(135deg, #0a1a1f 0%, #1a3a3f 100%);
  border-top: 3px solid #4dd0e1;
  border-bottom: 3px solid #4dd0e1;
}

.carousel-wrap {
  width: 320px;
  max-width: 90%;
  height: 400px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(77,208,225,0.25);
  background: rgba(77,208,225,0.04);
  box-shadow: 0 25px 80px rgba(77,208,225,0.12);
  transition: all 0.3s ease;
}

.carousel-wrap:hover {
  box-shadow: 0 30px 90px rgba(77,208,225,0.18);
  transform: scale(1.02);
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6));
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: rgba(77,208,225,0.65);
}

.carousel-indicators .active { background-color: #4dd0e1; }

/* ================================================================
   VIDEO
================================================================ */
.video-section {
  padding: 80px 60px;
  background: linear-gradient(135deg, #0a1a1f 0%, #1a3a3f 100%);
  border-top: 3px solid #4dd0e1;
}

.video-wrapper {
  position: relative;
  width: 300px;
  max-width: 90%;
  aspect-ratio: 9/16;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(77,208,225,0.2);
  border: 3px solid #4dd0e1;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-out;
}

.video-wrapper.animate {
  opacity: 1;
  transform: scale(1);
}

.video-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(77,208,225,0.3);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: linear-gradient(135deg, #0a1a1f 0%, #0d2227 50%, #0a1a1f 100%);
  border-top: 3px solid #4dd0e1;
  position: relative;
  overflow: hidden;
  padding: 0;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(77,208,225,0.05), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(77,208,225,0.05), transparent 40%);
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(40px,6vw,80px) clamp(20px,4.5vw,60px) clamp(20px,3vw,40px);
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: clamp(30px,4vw,60px);
  margin-bottom: clamp(30px,4vw,50px);
}

.footer-top > .footer-col:last-child { text-align: right; }
.footer-top > .footer-col:last-child h4::after { left: auto; right: 0; }
.footer-top > .footer-col:last-child .contact-list li { justify-content: flex-end; }

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px,1.5vw,20px);
  font-weight: 700;
  color: #4dd0e1;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: clamp(16px,2vw,24px);
  position: relative;
  padding-bottom: clamp(10px,1vw,14px);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #4dd0e1;
  border-radius: 2px;
}

.footer-about .footer-logo img {
  height: clamp(60px,10vw,140px);
  width: auto;
  margin-bottom: clamp(16px,2vw,24px);
  filter: drop-shadow(0 4px 12px rgba(77,208,225,0.2));
  transition: transform 0.3s ease;
}

.footer-about .footer-logo img:hover { transform: scale(1.05); }

.footer-tagline {
  font-size: clamp(14px,1.3vw,18px);
  font-weight: 600;
  color: #4dd0e1;
  margin-bottom: clamp(12px,1.2vw,16px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-description {
  font-size: clamp(13px,1.1vw,15px);
  line-height: 1.8;
  color: #90a4ae;
  margin: 0;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: clamp(10px,1vw,14px);
}

.footer-links ul li a,
.footer-services ul li a {
  color: #b0bec5;
  font-size: clamp(13px,1.1vw,15px);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 18px;
}

.footer-links ul li a::before,
.footer-services ul li a::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #4dd0e1;
  transition: transform 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: #4dd0e1;
  transform: translateX(5px);
}

.footer-links ul li a:hover::before,
.footer-services ul li a:hover::before {
  transform: translateX(5px);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px,1vw,14px);
  margin-bottom: clamp(14px,1.3vw,18px);
  color: #b0bec5;
  font-size: clamp(13px,1.1vw,15px);
  line-height: 1.7;
}

.contact-list li i {
  color: #4dd0e1;
  font-size: clamp(15px,1.3vw,18px);
  margin-top: 2px;
  min-width: clamp(16px,1.5vw,20px);
}

.contact-list li a {
  color: #b0bec5;
  transition: color 0.3s ease;
}

.contact-list li a:hover { color: #4dd0e1; }
.contact-list li span { color: #90a4ae; }

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77,208,225,0.3) 20%,
    rgba(77,208,225,0.3) 80%,
    transparent
  );
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px,2vw,24px);
  padding-top: clamp(16px,2vw,24px);
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px,1.5vw,20px);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px,3.5vw,50px);
  height: clamp(36px,3.5vw,50px);
  border-radius: 50%;
  background: rgba(77,208,225,0.08);
  border: 2px solid rgba(77,208,225,0.25);
  color: #4dd0e1;
  font-size: clamp(16px,1.5vw,20px);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #4dd0e1;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  border-radius: 50%;
}

.footer-social a:hover::before { transform: scale(1); }

.footer-social a i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: #4dd0e1;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px rgba(77,208,225,0.4);
}

.footer-social a:hover i {
  color: #0a1a1f;
  transform: scale(1.15);
}

.footer-copyright {
  font-size: clamp(12px,1vw,14px);
  color: #90a4ae;
  text-align: center;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.6;
}

.footer-copyright strong { color: #4dd0e1; font-weight: 600; }

.footer-copyright .fa-heart {
  color: #e91e63;
  font-size: clamp(11px,0.9vw,12px);
}

.footer-copyright .separator {
  margin: 0 8px;
  color: rgba(77,208,225,0.3);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(11px,1vw,13px);
}

.footer-legal a {
  color: #90a4ae;
  transition: color 0.3s ease;
}

.footer-legal a:hover { color: #4dd0e1; }
.footer-legal .separator { color: rgba(77,208,225,0.3); }

/* ================================================================
   FLOATING WHATSAPP
================================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: all 0.3s ease;
}

.fab-whatsapp:hover {
  background: #128C7E;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
  color: #fff;
}

.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.65); }
}

.fab-tooltip {
  position: absolute;
  right: 68px;
  background: #0d2229;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  border: 1px solid rgba(77,208,225,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.25s ease;
}

.fab-whatsapp:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ================================================================
   LANGUAGE TOGGLE
================================================================ */
.lang-toggle {
  position: fixed;
  top: 94px;
  bottom: auto;
  left: 50%;
  right: auto;
  z-index: 9999;
  width: auto;
  min-width: 190px;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: rgba(10,26,31,0.88);
  border: 2px solid #4dd0e1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 6px 22px rgba(0,0,0,0.35),
              0 0 16px rgba(77,208,225,0.16);
  backdrop-filter: blur(10px);
}

.lang-toggle:hover {
  background: rgba(77,208,225,0.16);
  color: #ffffff;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 10px 28px rgba(77,208,225,0.4);
}

.lang-toggle-text {
  font-size: 0;
  direction: ltr;
  white-space: nowrap;
}

.lang-toggle-text::before {
  content: '\1F310  ENGLISH / العربية';
  font-family: 'Inter', 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* ================================================================
   BACK TO TOP
================================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,26,31,0.9);
  border: 2px solid #4dd0e1;
  color: #4dd0e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease;
  box-shadow: 0 4px 18px rgba(77,208,225,0.2);
  backdrop-filter: blur(10px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #4dd0e1;
  color: #0a1a1f;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(77,208,225,0.4);
}

/* ================================================================
   SCROLL ANIMATE (shared)
================================================================ */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RTL / ARABIC MODE
================================================================ */
html[dir="rtl"] body,
body.rtl {
  font-family: 'Cairo', 'Inter', sans-serif;
}

body.rtl header { direction: rtl; }
body.rtl nav { direction: rtl; }
body.rtl nav a::after { left: auto; right: 0; }

body.rtl .hero-content { align-items: flex-end; text-align: right; }
body.rtl .hero h1 { text-align: right; }
body.rtl .hero .subtitle {
  border-left: none;
  border-right: 4px solid #4dd0e1;
  text-align: right;
}
body.rtl .cta-group,
body.rtl .hero-actions { direction: rtl; }

body.rtl .offers-header { direction: rtl; }
body.rtl .offer-card { direction: rtl; text-align: right; }
body.rtl .offer-card-top { direction: rtl; }
body.rtl .offer-card::after { right: auto; left: -60px; }
body.rtl .offer-card-line { left: auto; right: 0; border-radius: 0 0 18px 0; }
body.rtl .offer-featured-badge { right: auto; left: 18px; }
body.rtl .offer-specs li { direction: rtl; }

body.rtl .offers-cta-btn i,
body.rtl .cta-group .btn .fa-arrow-right { transform: scaleX(-1); }
body.rtl .offers-cta-btn:hover i { transform: scaleX(-1) translateX(5px); }

body.rtl .features-grid,
body.rtl .feature-card { direction: rtl; }

body.rtl .footer-top { direction: rtl; }
body.rtl .footer-top > .footer-col:last-child { text-align: right; }
body.rtl .footer-top > .footer-col:first-child { text-align: right; }
body.rtl .footer-col h4::after { left: auto; right: 0; }
body.rtl .footer-links ul li a,
body.rtl .footer-services ul li a { padding-left: 0; padding-right: 18px; }
body.rtl .footer-links ul li a::before,
body.rtl .footer-services ul li a::before { left: auto; right: 0; }
body.rtl .contact-list li { flex-direction: row-reverse; justify-content: flex-end; }
body.rtl .footer-legal { direction: rtl; }

body.rtl .fab-whatsapp { right: auto; left: 28px; }
body.rtl .lang-toggle { right: auto; left: 28px; }
body.rtl .back-to-top { right: auto; left: 28px; }
body.rtl .fab-tooltip {
  right: auto;
  left: 68px;
  transform: translateX(-8px);
}
body.rtl .fab-whatsapp:hover .fab-tooltip { transform: translateX(0); }

/* ================================================================
   RESPONSIVE
================================================================ */

/* ── 1100px ── */
@media (max-width: 1100px) {
  .offers-section { padding: 80px 40px; }
  .offers-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .offers-bg-lines span:nth-child(1) { left: 33%; }
  .offers-bg-lines span:nth-child(2) { display: none; }
  .offers-bg-lines span:nth-child(3) { left: 67%; }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
  header { padding: 0 40px; }
  .logo img { height: 110px; }
  .features-section { padding: 70px 40px; }
  .features-grid { gap: 20px; }
  .feature-card { padding: 24px 18px; min-height: 170px; }
  .carousel-section { padding: 70px 40px; }
  .carousel-wrap { width: 280px; height: 350px; }
  .video-section { padding: 70px 40px; }
  .stats-section { padding: 50px 40px; }
  /* Footer stays 3 columns down to ~768px */
  .footer-top { grid-template-columns: 2fr 1fr 1.5fr; }
}

/* ── 991px ── */
@media (max-width: 991px) {
  header { padding: 0 30px; }
  .features-section { padding: 65px 30px; }
  .carousel-section { padding: 65px 30px; }
  .video-section { padding: 65px 30px; }
  .stats-section { padding: 50px 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item { min-height: 120px; }
  .stat-item p { font-size: 10px; letter-spacing: 0.2px; }
  .hero .subtitle {
    font-size: clamp(10px,1.6vw,13px);
    max-width: 72%;
    padding: 4px 10px;
    border-left: 2px solid #4dd0e1;
  }
  body.rtl .hero .subtitle { border-left: none; border-right: 2px solid #4dd0e1; }
  /* Footer: keep 3 columns between 700px–991px */
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 35px);
  }
  /* Reset last-col alignment to left (no longer far-right) */
  .footer-top > .footer-col:last-child { text-align: left; }
  .footer-top > .footer-col:last-child h4::after { left: 0; right: auto; }
  .footer-top > .footer-col:last-child .contact-list li { justify-content: flex-start; }
  body.rtl .footer-top > .footer-col:last-child { text-align: right; }
  body.rtl .footer-top > .footer-col:last-child h4::after { left: auto; right: 0; }
  body.rtl .footer-top > .footer-col:last-child .contact-list li { justify-content: flex-end; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px ── */
@media (max-width: 768px) {
  header { padding: 0 20px; height: 70px; }
  .logo img { height: 100px; }
  .menu-toggle { display: flex; width: 38px; height: 38px; }
  .hamburger, .hamburger::before, .hamburger::after { width: 20px; }
  .hamburger::before { top: -6px; }
  .hamburger::after  { top:  6px; }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10,26,31,0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    height: 0;
    overflow: hidden;
    border-top: 0 solid #4dd0e1;
    border-bottom: 0 solid #4dd0e1;
    box-shadow: 0 0 0 rgba(77,208,225,0);
    transition: height 0.4s cubic-bezier(0.4,0,0.2,1),
                border-width 0.4s ease, box-shadow 0.4s ease;
  }

  nav.active {
    height: auto;
    border-top-width: 2px;
    border-bottom-width: 2px;
    box-shadow: 0 10px 30px rgba(77,208,225,0.2);
  }

  nav a {
    font-size: 15px;
    padding: 20px;
    width: 100%;
    text-align: center;
    display: block;
    border-bottom: 1px solid rgba(77,208,225,0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  }

  nav.active a { opacity: 1; transform: translateY(0); }
  nav.active a:nth-child(1) { transition-delay: 0.10s; }
  nav.active a:nth-child(2) { transition-delay: 0.15s; }
  nav.active a:nth-child(3) { transition-delay: 0.20s; }
  nav.active a:nth-child(4) { transition-delay: 0.25s; }
  nav.active a:nth-child(5) { transition-delay: 0.30s; }
  nav a:hover { background: rgba(77,208,225,0.1); }
  nav a:last-child { border-bottom: none; }
  nav a::after { display: none; }

  /* Hero */
  .hero { padding-top: 70px; position: relative; }
  .hero-bg { position: relative; width: 100%; display: block; }
  .hero-bg-img { display: block; width: 100%; height: auto; object-fit: fill; }
  .hero-overlay {
    top: 0;
    background: radial-gradient(
      ellipse at center,
      transparent 35%,
      rgba(0,0,0,0.28) 100%
    );
  }
  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 4% 5%;
    background: none;
    border-top: none;
    gap: 0;
    pointer-events: auto;
  }
  body.rtl .hero-content { align-items: flex-end; }
  .hero h1 {
    font-size: clamp(15px,4.2vw,24px);
    max-width: 90%;
    margin-bottom: clamp(4px,1vw,7px);
    letter-spacing: -0.1px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  }
  .hero .subtitle {
    font-size: clamp(8px,2vw,11px);
    max-width: 70%;
    margin-bottom: clamp(4px,1vw,8px);
    padding: 3px 8px;
    border-left: 2px solid #4dd0e1;
    line-height: 1.3;
    letter-spacing: 0.3px;
  }
  body.rtl .hero .subtitle { border-left: none; border-right: 2px solid #4dd0e1; }
  .cta-group {
    display: flex;
    flex-direction: row;
    gap: clamp(4px,1vw,6px);
    margin-bottom: clamp(4px,1vw,6px);
    flex-wrap: nowrap;
    width: auto;
  }
  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: clamp(4px,1vw,6px);
    flex-wrap: nowrap;
    width: auto;
    margin-top: 0;
  }
  .btn {
    padding: clamp(4px,0.9vw,6px) clamp(12px,2.5vw,18px);
    font-size: clamp(7px,1.6vw,9px);
    border-radius: 4px;
    gap: clamp(2px,0.5vw,3px);
    flex: none;
    justify-content: center;
    white-space: nowrap;
  }

  /* Stats */
  .stats-section { padding: 50px 20px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .stat-item { padding: 16px 12px; }
  .stat-item h4 { font-size: 32px; }
  .stat-item p { font-size: 12px; }

  /* Offers */
  .offers-section { padding: 65px 20px; }
  .offers-header { margin-bottom: 44px; }
  .offers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
  .offers-cta { flex-direction: column; gap: 18px; }
  .offers-cta-btn { width: 100%; justify-content: center; max-width: 320px; }
  .offers-bg-lines { display: none; }

  /* Features */
  .features-section { padding: 60px 20px; }
  .section-title { margin-bottom: 40px; }
  .features-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .feature-card { padding: 20px 16px; min-height: 160px; }
  .feature-icon { width: 42px; height: 42px; font-size: 20px; margin-bottom: 10px; }
  .feature-card h3 { font-size: 14px; margin-bottom: 8px; }
  .feature-card p { font-size: 12px; line-height: 1.4; }

  /* Carousel / Video */
  .carousel-section { padding: 60px 20px; }
  .carousel-wrap { width: 220px; height: 270px; }
  .video-section { padding: 60px 20px; }
  .video-wrapper { width: 220px; max-width: 80%; border-width: 2px; border-radius: 12px; }

  /* Footer — single column at 768px and below */
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > .footer-col:last-child { text-align: left; }
  .footer-top > .footer-col:last-child h4::after { left: 0; right: auto; transform: none; }
  .footer-top > .footer-col:last-child .contact-list li { justify-content: flex-start; }
  body.rtl .footer-top > .footer-col:last-child { text-align: right; }
  body.rtl .footer-top > .footer-col:last-child h4::after { left: auto; right: 0; }
  body.rtl .footer-top > .footer-col:last-child .contact-list li { justify-content: flex-end; }

  /* FABs */
  .fab-whatsapp { bottom: 88px; right: 20px; width: 50px; height: 50px; font-size: 22px; }
  .lang-toggle  { bottom: 146px; right: 20px; width: 44px; height: 44px; font-size: 11px; }
  .back-to-top  { bottom: 28px; right: 20px; width: 44px; height: 44px; }
  body.rtl .fab-whatsapp { right: auto; left: 20px; }
  body.rtl .lang-toggle  { right: auto; left: 20px; }
  body.rtl .back-to-top  { right: auto; left: 20px; }
}

/* ── 576px ── */
@media (max-width: 576px) {
  .features-section { padding: 55px 18px; }
  .carousel-section { padding: 55px 18px; }
  .video-section    { padding: 55px 18px; }
  .stats-section    { padding: 45px 18px; }
  .footer-top       { gap: clamp(22px,2.5vw,30px); }
  .footer-divider   { margin: clamp(20px,2vw,25px) 0; }
  .footer-bottom    { gap: clamp(14px,1.5vw,16px); }
}

/* ── 480px ── */
@media (max-width: 480px) {
  header { padding: 0 16px; height: 60px; }
  .logo img { height: 90px; }
  .menu-toggle { width: 36px; height: 36px; }
  .hamburger, .hamburger::before, .hamburger::after { width: 18px; }
  .hamburger::before { top: -5px; }
  .hamburger::after  { top:  5px; }
  nav { top: 60px; }
  .hero { padding-top: 60px; }
  .offers-section { padding: 55px 16px; }
  .offers-title { letter-spacing: -1px; }
  .offer-card { padding: 26px 20px 22px; }
  .offer-number { font-size: 36px; }
  .stats-section { padding: 40px 16px; }
  .stats-grid { gap: 12px; }
  .stat-item { padding: 14px 10px; }
  .stat-item h4 { font-size: 28px; }
  .stat-item p { font-size: 11px; }
  .features-section { padding: 50px 16px; }
  .feature-card { padding: 18px 14px; min-height: 150px; }
  .feature-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 8px; }
  .feature-card h3 { font-size: 13px; margin-bottom: 6px; }
  .feature-card p { font-size: 11px; line-height: 1.4; }
  .section-title { margin-bottom: 32px; }
  .carousel-section { padding: 50px 16px; }
  .carousel-wrap { width: 180px; height: 224px; }
  .video-section { padding: 50px 16px; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ── 360px ── */
@media (max-width: 360px) {
  header { padding: 0 14px; }
  .logo img { height: 85px; }
  .stats-section { padding: 38px 14px; }
  .stat-item { padding: 12px 8px; }
  .stat-item h4 { font-size: 26px; }
  .stat-item p { font-size: 10px; }
  .features-section { padding: 45px 14px; }
  .feature-card { padding: 16px 12px; min-height: 140px; }
  .feature-icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 8px; }
  .feature-card h3 { font-size: 12px; margin-bottom: 6px; line-height: 1.3; }
  .feature-card p { font-size: 10px; line-height: 1.4; }
  .carousel-section { padding: 45px 14px; }
  .carousel-wrap { width: 160px; height: 200px; }
  .video-section { padding: 45px 14px; }
  .footer-top { gap: clamp(18px,2vw,25px); }
  .footer-divider { margin: clamp(16px,1.5vw,20px) 0; }
  .footer-bottom { gap: clamp(12px,1.2vw,14px); }
  .footer-copyright .separator { margin: 0 6px; }
}

/* ================================================================
   FORCE NAV & FOOTER TO STAY FIXED REGARDLESS OF LANGUAGE/DIRECTION
   These rules mirror the RTL selectors above but win the cascade
   (later in file + !important) so nav/footer never flip layout,
   text-align, or reading direction when Arabic is active.
================================================================ */
/* The nav and footer are intentionally identical in EN and AR. */
header,
header nav,
footer,
body.rtl header,
body.rtl header nav,
body.rtl footer {
  direction: ltr !important;
  font-family: 'Inter', sans-serif !important;
}

body.rtl nav a::after {
  left: 0 !important;
  right: auto !important;
}

body.rtl .footer-top {
  direction: ltr !important;
}

body.rtl .footer-top > .footer-col:first-child {
  text-align: left !important;
}

/* Keep the desktop contact column aligned exactly like English. */
body.rtl .footer-top > .footer-col:last-child {
  text-align: right !important;
}

body.rtl .footer-col h4::after {
  left: 0 !important;
  right: auto !important;
}

body.rtl .footer-top > .footer-col:last-child h4::after {
  left: auto !important;
  right: 0 !important;
}

body.rtl .footer-links ul li a,
body.rtl .footer-services ul li a {
  padding-left: 18px !important;
  padding-right: 0 !important;
}

body.rtl .footer-links ul li a::before,
body.rtl .footer-services ul li a::before {
  left: 0 !important;
  right: auto !important;
}

body.rtl .contact-list li {
  flex-direction: row !important;
}

body.rtl .footer-top > .footer-col:last-child .contact-list li {
  justify-content: flex-end !important;
}

body.rtl .footer-bottom,
body.rtl .footer-social,
body.rtl .footer-copyright,
body.rtl .footer-legal {
  direction: ltr !important;
}

/* Match the English footer alignment at tablet and mobile widths. */
@media (max-width: 991px) {
  body.rtl .footer-top > .footer-col:last-child {
    text-align: left !important;
  }

  body.rtl .footer-top > .footer-col:last-child h4::after {
    left: 0 !important;
    right: auto !important;
  }

  body.rtl .footer-top > .footer-col:last-child .contact-list li {
    justify-content: flex-start !important;
  }
}

/* Final Learn About Us / تعرف علينا button style — EN and AR */
.hero .cta-group a.btn.btn-outline {
  background: #4dd0e1 !important;
  border: none !important;
  color: #0a1a1f !important;
  box-shadow: 0 8px 25px rgba(77,208,225,0.25) !important;
}

.hero .cta-group a.btn.btn-outline:hover,
.hero .cta-group a.btn.btn-outline:focus {
  background: #26c6da !important;
  border-color: transparent !important;
  color: #0a1a1f !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(77,208,225,0.45) !important;
}
/* Arabic hero: same vertical placement as English, arranged on the right. */
body.rtl .hero-content {
  direction: ltr !important;
  align-items: flex-end !important;
  transform: none !important;
}

body.rtl .hero-content > h1 {
  width: fit-content !important;
  max-width: 75% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  direction: rtl !important;
  text-align: right !important;
}

body.rtl .hero-content > .subtitle {
  width: fit-content !important;
  max-width: 65% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  direction: rtl !important;
  text-align: right !important;
  border-left: 0 !important;
  border-right: 4px solid #4dd0e1 !important;
}

body.rtl .hero-content > .cta-group,
body.rtl .hero-content > .hero-actions {
  display: flex !important;
  width: fit-content !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  align-self: flex-end !important;
  direction: rtl !important;
  justify-content: flex-start !important;
}

/* Language button inside the hero, below the action buttons. */
html body .hero-content > #langToggle.lang-toggle,
html body.rtl .hero-content > #langToggle.lang-toggle {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: auto !important;
  width: fit-content !important;
  min-width: 120px !important;
  height: 27px !important;
  margin: 5px 0 0 !important;
  padding: 0 7px !important;
  border: 1.5px solid #4dd0e1 !important;
  border-radius: 5px !important;
  background: rgba(7,26,32,0.88) !important;
  color: #ffffff !important;
  direction: ltr !important;
  transform: none !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}

html body .hero-content > #langToggle.lang-toggle:hover,
html body.rtl .hero-content > #langToggle.lang-toggle:hover {
  background: rgba(77,208,225,0.18) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 9px 24px rgba(77,208,225,0.3) !important;
}

html body .hero-content > #langToggle .lang-toggle-text {
  display: inline-block !important;
  font-size: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .hero-content > #langToggle .lang-toggle-text::before {
  content: '\1F310  ENGLISH / العربية' !important;
  display: inline-block !important;
  font-family: 'Inter', 'Cairo', sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  html body .hero-content > #langToggle.lang-toggle,
  html body.rtl .hero-content > #langToggle.lang-toggle {
    min-width: 112px !important;
    height: 25px !important;
    margin-top: 4px !important;
    padding: 0 6px !important;
  }

  html body .hero-content > #langToggle .lang-toggle-text::before {
    font-size: 8px !important;
  }
}

@media (max-width: 768px) {
  body.rtl .hero-content {
    justify-content: flex-end !important;
    transform: none !important;
  }

  body.rtl .hero-content > h1 {
    max-width: 90% !important;
  }

  body.rtl .hero-content > .subtitle {
    max-width: 70% !important;
    border-right-width: 2px !important;
  }
}

/* ================================================================
   HERO LANGUAGE BUTTON — reference-image style
================================================================ */
html body .hero-content > #langToggle.lang-toggle,
html body.rtl .hero-content > #langToggle.lang-toggle {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  width: auto !important;
  min-width: 200px !important;
  height: 56px !important;
  margin: 12px 0 0 !important;
  padding: 0 28px !important;
  gap: 6px !important;
  border: 2px solid #4dd0e1 !important;
  border-radius: 7px !important;
  background: rgba(10, 26, 31, 0.28) !important;
  color: #4dd0e1 !important;
  font-family: 'Inter', 'Cairo', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.35px !important;
  direction: ltr !important;
  cursor: pointer !important;
  transform: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
  transition: background-color .25s ease, color .25s ease,
              box-shadow .25s ease, transform .25s ease !important;
}

html body .hero-content > #langToggle.lang-toggle i {
  margin-right: 2px;
  font-size: 13px;
  color: #4dd0e1;
}

html body .hero-content > #langToggle .lang-ar {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

html body .hero-content > #langToggle .lang-separator {
  color: rgba(255, 255, 255, 0.75);
}

html body .hero-content > #langToggle.lang-toggle:hover,
html body.rtl .hero-content > #langToggle.lang-toggle:hover {
  background: #4dd0e1 !important;
  color: #0a1a1f !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(77, 208, 225, 0.30) !important;
}

html body .hero-content > #langToggle.lang-toggle:hover i,
html body .hero-content > #langToggle.lang-toggle:hover .lang-separator {
  color: #0a1a1f;
}

html body .hero-content > #langToggle.lang-toggle:focus-visible {
  outline: 3px solid rgba(77, 208, 225, 0.40) !important;
  outline-offset: 4px !important;
}

@media (max-width: 768px) {
  html body .hero-content > #langToggle.lang-toggle,
  html body.rtl .hero-content > #langToggle.lang-toggle {
    width: fit-content !important;
    min-width: 0 !important;
    height: 30px !important;
    margin-top: 5px !important;
    padding: 0 10px !important;
    gap: 4px !important;
    border-width: 1.5px !important;
    border-radius: 5px !important;
    font-size: 9px !important;
    letter-spacing: 0.15px !important;
  }

  html body .hero-content > #langToggle.lang-toggle i {
    margin-right: 1px !important;
    font-size: 9px !important;
  }
}
