/* === NASSIM JAZAN — SHARED STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Tajawal:wght@400;500;700&display=swap');

:root {
  --green-950: #04342C;
  --green-900: #085041;
  --green-800: #0F6E56;
  --green-700: #1D9E75;
  --green-500: #5DCAA5;
  --green-300: #9FE1CB;
  --green-100: #E1F5EE;
  --green-50:  #F4FBF8;
  --white: #ffffff;
  --gray-900: #1a1a1a;
  --gray-700: #444441;
  --gray-500: #5F5E5A;
  --gray-300: #B4B2A9;
  --gray-100: #F1EFE8;
  --gray-50:  #FAFAF8;
  --whatsapp: #25D366;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  direction: rtl;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.7;
  font-size: 16px;
}

/* ======= NAV ======= */
.site-nav {
  background: var(--green-900);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(8,80,65,0.25);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--green-700);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-logo-text span { color: var(--green-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-links a.active { background: rgba(93,202,165,0.2); color: var(--green-500); }

.nav-cta {
  background: var(--green-700) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  direction: ltr;
}
.nav-cta:hover { background: var(--green-800) !important; }

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ======= HERO ======= */
.hero {
  background: var(--green-900);
  padding: 70px 5% 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(29,158,117,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(93,202,165,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-wave {
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-top: -1px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(93,202,165,0.15);
  border: 1px solid rgba(93,202,165,0.3);
  color: var(--green-500);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: '❄'; font-size: 14px; }
.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero-title em { color: var(--green-500); font-style: normal; }
.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-700);
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.2s;
  border: 2px solid var(--green-700);
}
.btn-primary:hover { background: var(--green-800); border-color: var(--green-800); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--green-500); color: var(--green-500); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid var(--whatsapp);
  transition: all 0.2s;
}
.btn-whatsapp:hover { filter: brightness(1.1); transform: translateY(-1px); }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 30px;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(93,202,165,0.2);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}
.hero-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(93,202,165,0.4); }
.hero-card-icon {
  width: 48px; height: 48px;
  background: rgba(29,158,117,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hero-card-title { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.hero-card-sub { color: var(--green-500); font-size: 13px; }
.hero-card-arrow { margin-right: auto; color: var(--green-500); font-size: 18px; }

/* ======= STATS BAR ======= */
.stats-bar {
  background: var(--green-50);
  border-bottom: 1px solid var(--green-100);
  padding: 28px 5%;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--green-800); }
.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* ======= SECTIONS ======= */
.section { padding: 72px 5%; }
.section-alt { background: var(--gray-50); }
.section-green { background: var(--green-900); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--gray-500); max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* ======= SERVICE CARDS ======= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover { border-color: var(--green-700); box-shadow: 0 8px 32px rgba(29,158,117,0.12); transform: translateY(-3px); }
.service-card-icon {
  width: 56px; height: 56px;
  background: var(--green-100);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.service-card-title { font-size: 18px; font-weight: 700; color: var(--green-900); }
.service-card-desc { font-size: 14px; color: var(--gray-500); line-height: 1.75; }
.service-card-link { font-size: 14px; color: var(--green-700); font-weight: 600; margin-top: auto; display: flex; align-items: center; gap: 6px; }

/* ======= WHY US ======= */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--green-100);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--green-100);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-title { font-size: 15px; font-weight: 700; color: var(--green-900); margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ======= REVIEWS ======= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(93,202,165,0.2);
  border-radius: 14px;
  padding: 24px;
}
.review-stars { color: #FFC107; font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.75; margin-bottom: 16px; }
.review-author { font-size: 13px; color: var(--green-500); font-weight: 600; }

/* ======= CTA STRIP ======= */
.cta-strip {
  background: var(--green-700);
  padding: 52px 5%;
  text-align: center;
}
.cta-strip-title { font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.cta-strip-desc { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green-800);
  font-size: 20px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  direction: ltr;
  margin-left: 12px;
  transition: all 0.2s;
}
.cta-phone:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ======= BLOG GRID ======= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--green-700); box-shadow: 0 6px 24px rgba(29,158,117,0.1); transform: translateY(-2px); }
.blog-card-thumb {
  background: var(--green-100);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.blog-card-title { font-size: 15px; font-weight: 700; color: var(--gray-900); line-height: 1.5; margin-bottom: 10px; }
.blog-card-excerpt { font-size: 13px; color: var(--gray-500); line-height: 1.7; flex: 1; }
.blog-card-read { font-size: 13px; color: var(--green-700); font-weight: 600; margin-top: 14px; }

/* ======= PAGE HERO (inner pages) ======= */
.page-hero {
  background: var(--green-900);
  padding: 52px 5% 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(29,158,117,0.15) 0%, transparent 60%);
}
.page-hero-wave {
  height: 50px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-top: -1px;
}
.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  display: inline-block;
  background: rgba(93,202,165,0.15);
  border: 1px solid rgba(93,202,165,0.3);
  color: var(--green-500);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-hero-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; color: var(--white); margin-bottom: 14px; }
.page-hero-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8; }

/* ======= BREADCRUMB ======= */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--green-100);
  padding: 12px 5%;
}
.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
}
.breadcrumb-inner a { color: var(--green-700); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* ======= CONTENT PROSE ======= */
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 { font-size: 22px; font-weight: 700; color: var(--green-900); margin: 36px 0 14px; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--green-800); margin: 28px 0 10px; }
.prose p { color: var(--gray-700); line-height: 1.85; margin-bottom: 16px; }
.prose ul, .prose ol { margin: 14px 0 18px 0; padding-right: 22px; }
.prose li { color: var(--gray-700); line-height: 1.8; margin-bottom: 8px; }
.prose strong { color: var(--green-900); font-weight: 700; }

/* ======= FAQ ======= */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: right;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--green-50); }
.faq-question.open { background: var(--green-50); color: var(--green-800); }
.faq-chevron { font-size: 18px; color: var(--green-700); transition: transform 0.25s; flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}
.faq-answer.open { max-height: 400px; padding: 0 22px 18px; }

/* ======= CONTACT ======= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--green-100);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-label { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; }
.contact-value { font-size: 16px; font-weight: 600; color: var(--green-900); text-decoration: none; }
.contact-value:hover { color: var(--green-700); }

.whatsapp-box {
  background: var(--green-900);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.whatsapp-box-title { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.whatsapp-box-desc { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 24px; line-height: 1.7; }

/* ======= FOOTER ======= */
.site-footer {
  background: var(--green-950);
  padding: 52px 5% 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-name { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand-name span { color: var(--green-500); }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer-col-title { font-size: 14px; font-weight: 700; color: var(--green-500); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--green-500); }
.footer-divider { border-color: rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-privacy a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-privacy a:hover { color: var(--green-500); }

/* ======= FLOATING WHATSAPP ======= */
.float-wa {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.2s;
  animation: pulse-wa 3s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.65), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ======= SERVICE PAGE LAYOUT ======= */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-sidebar {
  position: sticky;
  top: 88px;
  height: fit-content;
}
.sidebar-card {
  background: var(--green-900);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.sidebar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  direction: ltr;
  justify-content: center;
}
.sidebar-phone:hover { background: rgba(255,255,255,0.12); }
.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  text-decoration: none;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.sidebar-links a:hover { background: var(--green-100); border-color: var(--green-700); }
.sidebar-links a.active { background: var(--green-100); border-color: var(--green-700); color: var(--green-800); }
.sidebar-icon { font-size: 18px; }

/* ======= CHECKLIST ======= */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}
.checklist li::before { content: '✓'; color: var(--green-700); font-weight: 700; margin-top: 1px; flex-shrink: 0; }

/* ======= HIGHLIGHT BOX ======= */
.highlight-box {
  background: var(--green-50);
  border: 1px solid var(--green-300);
  border-right: 4px solid var(--green-700);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 24px 0;
}
.highlight-box p { color: var(--green-900); font-weight: 500; margin: 0; }

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
}
@media (max-width: 600px) {
  .hero { padding: 50px 5% 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
