/* ============================================================
   Al-Wafaa Al-Kamel Company – Landing Page Stylesheet
   Modern, bilingual (AR/EN), premium design
   ============================================================ */

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

:root {
  --green-900: #0d3320;
  --green-800: #145228;
  --green-700: #1a6b34;
  --green-600: #1f8040;
  --green-500: #25a052;
  --green-400: #3dbe6a;
  --green-100: #dcf5e7;
  --gold-700:  #9a7000;
  --gold-500:  #c9950a;
  --gold-400:  #d4a017;
  --gold-300:  #e6bf5a;
  --gold-100:  #fdf3d6;
  --white:     #ffffff;
  --off-white: #f7f9f7;
  --gray-50:   #f4f7f4;
  --gray-100:  #e8ede9;
  --gray-200:  #d0d8d2;
  --gray-400:  #8fa296;
  --gray-600:  #4d6358;
  --gray-800:  #263330;
  --dark-bg:   #0a1f14;
  --dark-card: #0f2a1a;

  --shadow-sm: 0 2px 8px rgba(13,51,32,.08);
  --shadow-md: 0 8px 32px rgba(13,51,32,.12);
  --shadow-lg: 0 20px 60px rgba(13,51,32,.18);
  --shadow-gold: 0 8px 32px rgba(201,149,10,.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: all .3s cubic-bezier(.4,0,.2,1);

  --bg-primary:   #f7f9f7;
  --bg-secondary: #f0f4f1;
  --text-primary: #0d2418;
  --text-secondary: #3d5c48;
  --text-muted:   #6d8c79;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

/* English lang uses Inter as primary */
body.lang-en { font-family: 'Inter', 'Cairo', sans-serif; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- LANGUAGE BAR ---- */
.lang-bar {
  background: var(--green-900);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.lang-bar-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.lang-btn {
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  transition: var(--transition);
  letter-spacing: .5px;
}
.lang-btn:hover, .lang-btn.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.lang-sep { color: rgba(255,255,255,.3); font-size:.75rem; }

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(13,51,32,.1);
  background: rgba(255,255,255,.97);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--green-700); background: var(--green-100); }
.nav-link:hover::after { left: 10%; right: 10%; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  padding-top: 128px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 40%, #1a4a2e 70%, #0d2a1c 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: radial-gradient(circle, var(--gold-400), transparent 70%);
}
.shape-1 { width: 600px; height: 600px; top: -150px; left: -100px; animation: floatShape 8s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; right: -50px; animation: floatShape 10s ease-in-out infinite reverse; }
.shape-3 { width: 250px; height: 250px; top: 50%; right: 20%; opacity: .05; animation: floatShape 6s ease-in-out infinite; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,149,10,.15);
  border: 1px solid rgba(201,149,10,.35);
  color: var(--gold-300);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.title-line-1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  animation: fadeInUp .8s .1s ease both;
}
.title-line-2 {
  font-size: clamp(1.3rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-300);
  animation: fadeInUp .8s .2s ease both;
}
.title-line-3 {
  font-size: clamp(1.3rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: rgba(255,255,255,.8);
  animation: fadeInUp .8s .3s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.72);
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 400;
  animation: fadeInUp .8s .4s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp .8s .5s ease both;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  letter-spacing: .3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--green-900);
  box-shadow: 0 4px 20px rgba(201,149,10,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,149,10,.55);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: .85rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  animation: fadeInUp .8s .6s ease both;
}
.stat-item {
  text-align: center;
  padding: 0 32px;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.18);
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.4s ease-in-out infinite;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel { 0%,100%{opacity:1;transform:translateY(0)} 50%{opacity:.3;transform:translateY(8px)} }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ---- CBL BANNER ---- */
.cbl-banner {
  background: linear-gradient(90deg, var(--green-900) 0%, var(--green-800) 100%);
  padding: 18px 0;
  border-top: 3px solid var(--gold-400);
  border-bottom: 3px solid var(--gold-400);
}
.cbl-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cbl-icon {
  flex-shrink: 0;
  color: var(--gold-300);
  background: rgba(201,149,10,.15);
  border: 1px solid rgba(201,149,10,.3);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cbl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cbl-text strong {
  color: var(--gold-300);
  font-size: 1rem;
  font-weight: 700;
}
.cbl-text span {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
}

/* ---- SECTIONS ---- */
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(31,128,64,.2);
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.section-header.light .section-tag { background: rgba(255,255,255,.12); color: var(--gold-300); border-color: rgba(201,149,10,.3); }
.section-header.light .section-title { color: #fff; }
.section-header.light .section-desc { color: rgba(255,255,255,.65); }

/* ---- ABOUT ---- */
.about { background: var(--bg-primary); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}
.about-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.about-logo-frame {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo {
  width: 230px;
  height: 230px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 16px;
}
.about-logo-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  animation: ringRotate 8s linear infinite;
}
.ring1 {
  width: 290px; height: 290px;
  border-width: 2px;
  border-top-color: var(--gold-400);
  border-right-color: var(--gold-400);
  animation-duration: 8s;
}
.ring2 {
  width: 320px; height: 320px;
  border-width: 1px;
  border-bottom-color: var(--green-400);
  border-left-color: var(--green-400);
  animation-direction: reverse;
  animation-duration: 12s;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

.about-established {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.est-year { font-size: 2rem; font-weight: 900; color: var(--gold-300); line-height: 1; }
.est-label { font-size: .78rem; opacity: .75; }

.about-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.4;
}
.about-para {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: .95rem;
  line-height: 1.8;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.highlight-item:hover {
  background: var(--green-100);
  border-color: rgba(31,128,64,.25);
  transform: translateX(-4px);
}
body.lang-en .highlight-item:hover { transform: translateX(4px); }
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight-text { display: flex; flex-direction: column; gap: 2px; }
.highlight-text strong { font-size: .9rem; color: var(--green-800); font-weight: 700; }
.highlight-text span { font-size: .82rem; color: var(--text-muted); }

/* ---- SERVICES ---- */
.services {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.services-bg-deco {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(31,128,64,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(201,149,10,.04) 0%, transparent 60%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31,128,64,.2);
}
.service-card.featured {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-900) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.service-card.featured:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(13,51,32,.35);
}
.service-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(31,128,64,.12), transparent 70%);
  transition: var(--transition);
  pointer-events: none;
}
.service-card:hover .service-card-glow { opacity: 1; }

.service-featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold-400);
  color: var(--green-900);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
body.lang-en .service-featured-badge { right: auto; left: 18px; }

.service-icon-wrap {
  width: 68px; height: 68px;
  background: var(--green-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card.featured .service-icon-wrap { background: rgba(255,255,255,.12); }
.service-card:hover .service-icon-wrap { transform: scale(1.08) rotate(-3deg); }
.service-emoji { font-size: 2rem; }
.service-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--green-900);
}
.service-card.featured .service-title { color: #fff; }
.service-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.service-card.featured .service-desc { color: rgba(255,255,255,.7); }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.service-card.featured .service-list li { color: rgba(255,255,255,.85); }
.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--green-400);
  border-radius: 50%;
}
.service-card.featured .service-list li::before { background: var(--gold-300); }

/* ---- WHY US ---- */
.why-us { background: var(--bg-primary); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,128,64,.2);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}
body.lang-en .why-card::before { transform-origin: left; }
.why-card:hover::before { transform: scaleX(1); }
.why-num {
  position: absolute;
  top: 16px; left: 20px;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
body.lang-en .why-num { left: auto; right: 20px; }
.why-icon { font-size: 2.4rem; margin-bottom: 14px; position: relative; z-index: 1; }
.why-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.why-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.75;
  position: relative; z-index: 1;
}

/* ---- CONTACT ---- */
.contact {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, #12402a 100%);
  position: relative;
  padding-top: 0;
}
.contact-top-wave {
  height: 80px;
  overflow: hidden;
  margin-bottom: -1px;
}
.contact-top-wave svg { height: 80px; width: 100%; display: block; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  text-align: center;
}
.contact-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(201,149,10,.35);
  transform: translateY(-4px);
}
.contact-card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.contact-card-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--gold-300);
  margin-bottom: 10px;
}
.contact-card-link {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 6px;
  transition: var(--transition);
}
.contact-card-link:hover { color: var(--gold-300); }
.contact-card-link.map-link {
  margin-top: 10px;
  color: var(--gold-300);
  font-weight: 700;
}
.contact-card-text {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  margin-bottom: 4px;
  line-height: 1.6;
}
.contact-card-text.muted { color: rgba(255,255,255,.45); font-size: .8rem; }

.map-container {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.map-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-300);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.map-label svg { flex-shrink: 0; }
.map-open-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--green-900);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { height: 72px; object-fit: contain; margin-bottom: 14px; background: #fff; padding: 8px; border-radius: 10px; }
.footer-tagline { color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-col-title { color: var(--gold-300); font-size: .88rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .88rem; font-weight: 500; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-300); }
.footer-contact-col p { color: rgba(255,255,255,.7); font-size: .88rem; margin-bottom: 8px; }
.footer-contact-col a { color: rgba(255,255,255,.85); font-weight: 600; transition: var(--transition); }
.footer-contact-col a:hover { color: var(--gold-300); }
.footer-addr { color: rgba(255,255,255,.55) !important; font-size: .82rem !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: .82rem;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(13,51,32,.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
}
body.lang-ar .back-to-top { right: auto; left: 28px; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(13,51,32,.45); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid,
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-logo-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 106px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    padding: 24px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    z-index: 998;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid,
  .why-grid,
  .contact-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .stat-item { padding: 0 16px; }
  .cbl-banner-inner { flex-direction: column; text-align: center; gap: 12px; }
  .about-logo-frame { width: 220px; height: 220px; }
  .about-logo { width: 180px; height: 180px; }
  .ring1 { width: 230px; height: 230px; }
  .ring2 { width: 260px; height: 260px; }
  .footer-inner { gap: 32px; }
}

@media (max-width: 480px) {
  .hero-actions { gap: 10px; }
  .btn { padding: 11px 22px; font-size: .88rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}
