/* ===== Variables ===== */
:root {
  --navy: #2c1a10;
  --navy-light: #4a2e1e;
  --navy-dark: #1a0f08;
  --maroon: #8B1E3F;
  --maroon-light: #a52a4a;
  --maroon-glow: rgba(139, 30, 63, 0.3);
  --gold: #c9a227;
  --gold-light: #e0b93a;
  --gold-dark: #a68520;
  --gold-glow: rgba(201, 162, 39, 0.25);
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #faf8f5;
  --bg-dark: #f5f0ea;
  --border: #e5e0d8;
  --border-light: #f0ebe4;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.25);
  --shadow-maroon: 0 8px 32px rgba(139, 30, 63, 0.2);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.25s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cairo', 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.ltr {
  font-family: 'Inter', 'Cairo', sans-serif;
  direction: ltr;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--maroon);
  animation: spin 1.2s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* Hero animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Language Toggle ===== */
.lang-toggle {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1100;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-family: inherit;
}
body.ltr .lang-toggle { left: auto; right: 1.25rem; }
.lang-toggle:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: scale(1.05);
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-maroon);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
body.ltr .scroll-top { left: auto; right: 2rem; }
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--maroon-light);
  transform: translateY(-4px);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}
body.ltr .whatsapp-float { right: auto; left: 2rem; }
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.6); }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: transparent;
  transition: var(--transition);
  padding: 0.5rem 0;
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  padding: 0;
}

.header.scrolled .nav-link { color: var(--text); }
.header.scrolled .nav-cta { background: var(--maroon); color: white; }
.header.scrolled .logo img { filter: none; }
.header.scrolled .menu-btn span { background: var(--navy); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 74px;
  width: auto;
  transition: var(--transition);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}
body.ltr .nav-link::after { right: auto; left: 0; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: var(--transition);
}
.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  color: white;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(44,26,16,0.88) 0%, rgba(139,30,63,0.7) 50%, rgba(44,26,16,0.85) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(139,30,63,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201,162,39,0.2) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,162,39,0.15);
  color: var(--gold-light);
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(201,162,39,0.3);
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 0.85rem; }

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.hero-desc {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}
.trust-item i {
  color: var(--gold);
  font-size: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: inherit;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,162,39,0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  color: white;
  box-shadow: var(--shadow-maroon);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139,30,63,0.35);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: white;
  color: var(--navy);
  border-color: white;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.35);
}

.btn-full { width: 100%; }

/* ===== Sections ===== */
.section { padding: 6rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139,30,63,0.08);
  color: var(--maroon);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-tag.light {
  background: rgba(201,162,39,0.15);
  color: var(--gold-light);
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

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

/* ===== About ===== */
.about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.9;
}
.about-text strong { color: var(--navy); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.about-feature i {
  color: var(--gold);
  font-size: 1.1rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vision-card, .mission-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.vision-card { border-top: 4px solid var(--maroon); }
.mission-card { border-top: 4px solid var(--gold); }
.vision-card:hover, .mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vision-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.vision-card .vision-icon {
  background: rgba(139,30,63,0.08);
  color: var(--maroon);
}
.mission-card .vision-icon {
  background: rgba(201,162,39,0.12);
  color: var(--gold-dark);
}

.about-cards h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 800;
}
.about-cards p {
  color: var(--text-light);
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ===== Services ===== */
.services { background: white; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-body {
  padding: 1.75rem 1.75rem 2rem;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(to bottom, var(--maroon), var(--gold));
  transition: height 0.5s ease;
}
body.ltr .service-card::before { right: auto; left: 0; }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: white;
}
.service-card:hover::before { height: 100%; }

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  color: white;
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 800;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-tags span {
  background: rgba(139,30,63,0.06);
  color: var(--maroon);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== Why Us ===== */
.why-us {
  background: linear-gradient(145deg, #2c1a10 0%, #3d2218 40%, #4a2e1e 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.why-us .section-header h2 { color: white; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  position: relative;
}
.why-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(201,162,39,0.3);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(201,162,39,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.why-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.5rem;
  opacity: 0.2;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}
body.ltr .why-num { left: auto; right: 1.5rem; }

.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.why-item p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.8;
}

/* ===== Stats ===== */
.stats { background: var(--bg-alt); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.stat-card:hover::after { opacity: 1; }

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,30,63,0.08), rgba(201,162,39,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--maroon);
  margin: 0 auto 1.25rem;
}

.stat-card .stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  display: inline;
}

.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ===== Contact ===== */
.contact { background: white; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, rgba(139,30,63,0.08), rgba(201,162,39,0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--maroon);
}

.contact-item h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.contact-item p, .contact-item a {
  color: var(--text-light);
  font-size: 0.97rem;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--maroon); }

.contact-map {
  margin-top: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Form */
.contact-form {
  background: var(--bg-alt);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.15rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: white;
  transition: var(--transition-fast);
  color: var(--text);
  appearance: none;
}

.form-group select {
  padding: 1rem 1.15rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 16px;
  cursor: pointer;
}
body.ltr .form-group select {
  background-position: right 1rem center;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 4px rgba(139,30,63,0.08);
}

.form-group label {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  color: var(--text-light);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition-fast);
  background: transparent;
  padding: 0 0.3rem;
}
body.ltr .form-group label { right: auto; left: 1.15rem; }

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.65rem;
  font-size: 0.78rem;
  color: var(--maroon);
  background: var(--bg-alt);
  font-weight: 600;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-lighter);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ===== Service Distribution Section ===== */
.service-dist {
  background: white;
  position: relative;
  overflow: hidden;
}
.service-dist::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.dist-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
}

.dist-chart-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}
.dist-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.dist-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.dist-center-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.dist-center-text {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 0.2rem;
}

.dist-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dist-item {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border-right: 4px solid var(--item-color);
  transition: var(--transition);
}
body.ltr .dist-item {
  border-right: none;
  border-left: 4px solid var(--item-color);
}
.dist-item:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-md);
  background: white;
}
body.ltr .dist-item:hover {
  transform: translateX(6px);
}

.dist-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.dist-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--item-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
}

.dist-item-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dist-item-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.dist-item-pct {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--item-color);
  letter-spacing: -0.03em;
}

.dist-bar-track {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.dist-bar-fill {
  height: 100%;
  width: 0;
  background: var(--item-color);
  border-radius: 3px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dist-item.animated .dist-bar-fill {
  width: var(--fill-width);
}

.dist-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .dist-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .dist-chart-wrap {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 480px) {
  .dist-chart-wrap {
    width: 220px;
    height: 220px;
  }
  .dist-item {
    padding: 1rem 1.15rem;
  }
  .dist-item-pct {
    font-size: 1.25rem;
  }
}

/* ===== Charts Section ===== */
.chart-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.chart-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.chart-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 768px) {
  .chart-section { grid-template-columns: 1fr; }
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,162,39,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: white;
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.cta-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: #1a0f08;
  color: rgba(255,255,255,0.85);
  padding: 5rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 85px;
  margin-bottom: 1.25rem;
  filter: brightness(1.2);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
}
.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.footer-links a, .footer-services a {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: var(--transition-fast);
}
.footer-links a:hover, .footer-services a:hover {
  opacity: 1;
  color: var(--gold);
  padding-right: 0.5rem;
}
body.ltr .footer-links a:hover,
body.ltr .footer-services a:hover {
  padding-right: 0;
  padding-left: 0.5rem;
}

.footer-contact p {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-contact p i {
  color: var(--gold);
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}
.footer-bottom .cr {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #1a0f08;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1060;
  }
  body.ltr .nav {
    right: auto;
    left: -100%;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 40px rgba(0,0,0,0.3);
  }
  .nav.open { right: 0; }
  body.ltr .nav.open { left: 0; }

  .nav-link { color: rgba(255,255,255,0.9) !important; font-size: 1.1rem; }
  .nav-cta {
    display: none;
  }
  .menu-btn { display: flex; }

  .hero-content { text-align: center; padding: 3rem 0; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }

  .section { padding: 4rem 0; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-contact p { justify-content: center; }
  .footer-links h4::after,
  .footer-services h4::after,
  .footer-contact h4::after {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .nav-wrap { height: 70px; }
  .logo img { height: 58px; }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .btn { padding: 0.8rem 1.5rem; font-size: 0.93rem; }
  .section { padding: 3rem 0; }
  .contact-form { padding: 1.75rem; }
  .stat-card .stat-num { font-size: 2.5rem; }
  .lang-toggle { top: 0.75rem; left: 0.75rem; padding: 0.4rem 0.9rem; font-size: 0.8rem; }
  body.ltr .lang-toggle { left: auto; right: 0.75rem; }
}

/* ===== Mobile Nav Overlay ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1055;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Selection ===== */
::selection {
  background: var(--maroon);
  color: white;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--maroon);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--maroon-light); }
