@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

:root {
  --primary: #1a2e5a;
  --primary-dark: #0f1d3a;
  --secondary: #c9972a;
  --secondary-dark: #a87d20;
  --white: #ffffff;
  --light: #f5f7fa;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
  --green: #25D366;
  --green-dark: #1DA851;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(26,46,90,0.10);
  --shadow-lg: 0 8px 40px rgba(26,46,90,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  background: #fff;
  color: #1a2e5a;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ─── HEADER ─────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,46,90,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo img { height: 60px; width: 60px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 1rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.site-nav a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Cairo', sans-serif; font-weight: 700; border: none; cursor: pointer; border-radius: 10px; transition: all .2s; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; padding: 10px 22px; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; padding: 10px 22px; }
.btn-secondary:hover { background: var(--secondary-dark); }
.btn-whatsapp { background: var(--green); color: #fff; padding: 10px 22px; }
.btn-whatsapp:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; padding: 10px 22px; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-lg { font-size: 1.125rem; padding: 14px 32px; border-radius: 12px; }

/* ─── HERO ─────────────────────────────────── */
.hero-section {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: row; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-badge { display: inline-block; background: var(--secondary); color: #fff; padding: 6px 18px; border-radius: 999px; font-size: .875rem; font-weight: 700; margin-bottom: 20px; }
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.hero-title span { color: var(--secondary); }
.hero-desc { font-size: 1.2rem; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { flex: 1; }
.hero-image-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,.12); position: relative; aspect-ratio: 4/3; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-caption { position: absolute; bottom: 20px; right: 20px; left: 20px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1.1rem; font-weight: 700; }
.hero-image-caption svg { color: var(--secondary); flex-shrink: 0; }

/* ─── STATS ─────────────────────────────────── */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 16px; border-left: 1px solid var(--border); }
.stat-item:last-child { border-left: none; }
.stat-icon { color: var(--secondary); margin-bottom: 8px; }
.stat-icon svg { width: 30px; height: 30px; }
.stat-value { font-size: 2.25rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: .875rem; color: var(--muted); margin-top: 4px; font-weight: 600; }

/* ─── SECTION COMMON ─────────────────────────── */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-title { font-size: 2.25rem; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.section-desc { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }

/* ─── SERVICES ─────────────────────────────────── */
.services-section { padding: 80px 0; background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card-img { height: 180px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-body { padding: 24px; }
.service-icon { width: 48px; height: 48px; background: rgba(26,46,90,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--primary); }
.service-icon svg { width: 24px; height: 24px; }
.service-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.service-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ─── SECTION CTA ─────────────────────────────── */
.section-cta { padding: 32px 0; background: linear-gradient(90deg, rgba(26,46,90,.04), rgba(201,151,42,.08), rgba(26,46,90,.04)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-cta-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.section-cta-text { font-size: 1.1rem; font-weight: 800; color: var(--primary); }

/* ─── FEATURES ─────────────────────────────────── */
.features-section { padding: 80px 0; }
.features-inner { display: flex; align-items: center; gap: 64px; }
.features-text { flex: 1; }
.features-title { font-size: 2.25rem; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.features-desc { font-size: 1.05rem; color: var(--muted); margin-bottom: 32px; line-height: 1.7; }
.features-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: center; gap: 14px; background: var(--light); border-radius: 12px; padding: 12px 18px; }
.feature-check { color: var(--secondary); flex-shrink: 0; }
.feature-check svg { width: 22px; height: 22px; }
.feature-text { font-size: 1rem; font-weight: 600; }
.features-images { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.features-images img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.features-images img:first-child { aspect-ratio: 4/5; }
.features-images img:last-child { aspect-ratio: 4/5; margin-top: 32px; }

/* ─── COVERAGE ─────────────────────────────────── */
.coverage-section { padding: 72px 0; background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.coverage-section::after { content: ''; position: absolute; left: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); }
.coverage-title { font-size: 2.25rem; font-weight: 900; text-align: center; margin-bottom: 12px; }
.coverage-subtitle { text-align: center; color: rgba(255,255,255,.7); margin-bottom: 36px; font-size: 1.05rem; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.coverage-tag { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2); padding: 8px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; backdrop-filter: blur(4px); }

/* ─── GALLERY ─────────────────────────────────── */
.gallery-section { padding: 80px 0; background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.09); }

/* ─── TESTIMONIALS ─────────────────────────────── */
.testimonials-section { padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; transition: box-shadow .3s; }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-quote { position: absolute; top: 16px; left: 20px; font-size: 4rem; color: rgba(201,151,42,.15); font-family: serif; line-height: 1; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--secondary); }
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-text { font-size: .95rem; color: #374151; line-height: 1.75; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; flex-shrink: 0; }
.testimonial-name { font-weight: 800; font-size: 1rem; }
.testimonial-role { font-size: .82rem; color: var(--muted); }

/* ─── FINAL CTA ─────────────────────────────────── */
.final-cta-section { padding: 80px 0; }
.final-cta-box { background: var(--primary); border-radius: 24px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.final-cta-box::before { content: ''; position: absolute; inset: 0; opacity: .08; background-size: cover; background-position: center; }
.final-cta-title { font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.final-cta-desc { font-size: 1.15rem; color: rgba(255,255,255,.8); margin-bottom: 40px; position: relative; z-index: 1; }
.final-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ─── FOOTER ─────────────────────────────────── */
.site-footer { background: var(--light); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-inner { text-align: center; }
.footer-logo { margin: 0 auto 16px; width: 72px; height: 72px; object-fit: contain; }
.footer-name { font-size: 1.3rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.footer-tagline { color: var(--muted); max-width: 420px; margin: 0 auto 28px; font-size: .95rem; line-height: 1.6; }
.footer-contact { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; color: var(--muted); font-size: .95rem; }
.footer-contact span { display: flex; align-items: center; gap: 6px; }
.footer-btns { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; }
.footer-copy { font-size: .82rem; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--border); }

/* ─── FIXED SIDE CONTACT BAR ───────────────────── */
.floating-btns {
  position: fixed;
  left: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 1;
  pointer-events: auto;
}
.floating-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-start;
  background: var(--secondary);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .5px;
  padding: 12px 8px;
  border-radius: 0 10px 10px 0;
  box-shadow: var(--shadow);
}
.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  padding: 12px 18px;
  border-radius: 0 12px 12px 0;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: background .2s, transform .2s;
}
.floating-btn:hover { transform: translateX(4px); }
.floating-btn-wa { background: var(--green); }
.floating-btn-call { background: var(--primary); }
.floating-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; }
  .hero-title { font-size: 2.5rem; }
  .features-inner { flex-direction: column; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta-box { padding: 40px 24px; }
  .final-cta-title { font-size: 1.75rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-contact { flex-direction: column; gap: 12px; }
  .floating-btns { top: auto; left: 12px; right: 12px; bottom: 14px; transform: none; flex-direction: row; justify-content: center; gap: 10px; }
  .floating-label { display: none; }
  .floating-btn { min-width: 0; flex: 1; justify-content: center; border-radius: 12px; padding: 12px 10px; font-size: .9rem; }
  .site-footer { padding-bottom: 96px; }
}
