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

:root {
  --gold: #c9a84c;
  --gold-light: #f5ecd4;
  --gold-hover: #b8923e;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --green: #25d366;
  --green-dark: #128c5e;
  --blue: #1877f2;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  direction: rtl;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.header-title {
  font-size: 19px;
  font-weight: 700;
}
.header-sub {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 1px;
}
.back-link {
  margin-right: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.back-link:hover {
  color: var(--gold-hover);
}

/* ===== SHARED ===== */
main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.section-sub {
  font-size: 13.5px;
  color: var(--gray-600);
  margin-bottom: 32px;
}
/* Hero Section Styling */
/* ══ HERO ══ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 28px 80px;

  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
}
.hero-content {
  max-width: 820px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: "Cairo", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.7s forwards;
}
.hero-title .line:nth-child(1) {
  animation-delay: 0.2s;
}
.hero-title .line:nth-child(2) {
  animation-delay: 0.35s;
  color: var(--gold);
}
.hero-title .line:nth-child(3) {
  animation-delay: 0.5s;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s forwards;
  margin-bottom: 72px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, #a07828 100%);
  color: #0a0a0f;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Tajawal", sans-serif;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(201, 168, 76, 0.45);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Tajawal", sans-serif;
}
.btn-outline:hover {
  background: var(--surface2);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ── Hero stats row ── */
.hero-stats {
  display: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.7s 1s forwards;
  max-width: 680px;
  margin: 0 auto;
}
.hstat {
  background: var(--surface);
  padding: 24px 16px;
  text-align: center;
  transition: background 0.2s;
}
.hstat:hover {
  background: var(--surface2);
}
.hstat-num {
  font-family: "Cairo", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hstat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-content {
  max-width: 600px;
  text-align: right; /* النص يمين */
}

.hero-content h1 {
  font-size: 3rem;
  color: #ffd700; /* دهبي */
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: #ffd700;
  color: #000;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background-color: #fff;
  color: #000;
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px;

  background: url("../../images/service.sec.img.webp");
  background-size: cover;
  background-position: center;
}

/* طبقة فوق الصورة */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

/* الكونتينر */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;
  gap: 40px;
}

/* النص */
.hero-text {
  color: white;
  text-align: right;
}

/* badge */
.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

/* العنوان */
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  font-family: "Cairo", sans-serif;
  margin-bottom: 20px;

  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);

  background: linear-gradient(90deg, #c9a84c, #e8c96d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* النص */
.hero-desc {
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* الأزرار */
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

/* stats */
.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stats .num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
}

.hero-stats .label {
  display: block;
  font-size: 0.8rem;
  color: #d1d5db;
}

/* الصورة */
.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* موبايل */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 24px 100px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.42);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--gray-800);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  margin-bottom: 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 4px;
  transition: background 0.2s;
}
.service-card:hover .service-icon-wrap {
  background: var(--gold);
}

.service-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--gray-800);
}
.service-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}

/* Special "more" card */
.service-card.more {
  background: linear-gradient(150deg, var(--gold-light), #fffbef);
  border-color: var(--gold);
  text-align: center;
  align-items: center;
  justify-content: center;
}
.service-card.more .service-icon-wrap {
  background: var(--gold);
  margin-bottom: 0;
}
.service-card.more .service-name {
  color: var(--gold-hover);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  margin-bottom: 72px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}
.feature-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
}
.feature-card:hover .feature-icon {
  background: var(--gold);
}
.feature-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== WHY US ===== */
.why-section {
  margin-bottom: 72px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-text .section-title {
  font-size: 22px;
}
.why-text p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-600);
}
.why-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.why-stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.why-stat:hover {
  border-color: var(--gold);
  background: var(--gold-light);
}
.why-stat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.why-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}
.why-stat-lbl {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 2px;
}

/* ===== REVIEWS ===== */
.reviews-section {
  margin-bottom: 72px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}
.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.review-text::before {
  content: '"';
  font-size: 18px;
  color: var(--gold);
}
.review-text::after {
  content: '"';
  font-size: 18px;
  color: var(--gold);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
}
.author-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-name {
  font-size: 13px;
  font-weight: 700;
}
.author-title {
  font-size: 11px;
  color: var(--gray-400);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(150deg, var(--gold-light) 0%, #fffbef 100%);
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
  margin-bottom: 72px;
}
.cta-section .section-title {
  font-size: 26px;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.cta-section p {
  font-size: 14px;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto 18px;
  line-height: 1.8;
}

.cta-pills {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-wa:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.3);
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-fb:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

.cta-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-inner {
    grid-template-columns: 1fr;
  }
  .why-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 640px) {
  main {
    padding: 0 14px 80px;
  }
  .page-header {
    padding: 14px 16px;
  }
  .hero {
    padding: 44px 16px 40px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .why-section {
    padding: 28px 20px;
  }
  .why-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-section {
    padding: 36px 20px;
  }
}
