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

html, body {
  font-family: 'Cairo', sans-serif;
}

h1, h2, h3, h4 {
  font-weight: 800;
}

p {
  font-weight: 400;
}
/* ================= ROOT ================= */
:root {
  --navy-dark: #0b2a5b;
  --navy: #123f83;
  --navy-light: #1a4f9c;
  --mint: #6dd6a8;
  --white: #ffffff;
  --text-light: rgba(255,255,255,.9);
}

/* ================= RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top right, #1a3f73, #0b2a5b 65%);
  color: var(--white);
  line-height: 2;
}

/* ================= CONTAINER ================= */
.container {
  width: min(1140px, 92%);
  margin: auto;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,42,91,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.15);
}

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

.logo {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.logo span {
  font-size: 14px;
  opacity: .8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  opacity: .9;
}

.nav-links a:hover {
  opacity: 1;
}

/* ================= HERO ================= */
.hero {
  width: 100%;
  min-height: 75vh; /* نفس الإحساس بالصورة المرجعية */
  background-image: url("../assets/images/home.jpg"); /* نفس الصورة */
  background-size: cover;       /* مهم */
  background-position: center;  /* مهم */
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

/* طبقة خفيفة لقراءة النص (بدون تخريب الصورة) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 90, 0.45);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 60px;
  margin-right: 8%; /* RTL */
  color: #fff;
}

.hero-overlay h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-overlay p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    min-height: 60vh;
  }

  .hero-overlay {
    margin-right: 0;
    padding: 40px 24px;
    text-align: center;
  }
}
/* ================= SECTIONS ================= */
section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 18px;
  opacity: .9;
}

/* ================= SERVICES ================= */

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

/* الكرت */
.service-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* النص */
.service-text {
  max-width: 70%;
}

.service-text h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-text p {
  font-size: 15px;
  opacity: .9;
  line-height: 1.7;
}

/* الأيقونة الدائرية */
.service-icon {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(127, 182, 166, 0.35);/* الحلقة الخارجية */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.service-icon::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #4F7F7D; /* الحلقة الداخلية الداكنة */
  z-index: 0;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}
.service-icon::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #7FB6A6;
  z-index: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: row;
    backdrop-filter: blur(6px);
  }
}

/* ============== ABOUT ============== */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.about-card {
  background: rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.about-image {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-card,
  .about-image {
    height: auto;
  }
}

/* ================= PROCESS SECTION ================= */

.process {
  background: linear-gradient(180deg, #0b2a5b, #0e3a73);
}

.process-board {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* الشبكة */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* كل خطوة */
.process-step {
  position: relative;
  text-align: center;
  padding-top: 100px; /* مساحة للأيقونة */
  z-index: 1;
}

/* الدائرة الخارجية (تدرج مطابق للصورة المرجعية) */
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(127, 218, 186, 0.35),
    rgba(127, 218, 186, 0.15)
  );
  z-index: 1;
}

/* الدائرة الداخلية */
.process-step::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #7fdaba;
  z-index: 2;
}


}

/* العنوان */
.process-step h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

/* الوصف */
.process-step p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.8;
}

.process-step svg {
  position: absolute;
  top: 34px;          /* داخل الدائرة */
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  z-index: 5;
  fill: #0b2a5b;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-board {
    padding: 30px 20px;
  }
}
/* ================= CONTACT ================= */
.contact-card {
  background: rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 40px;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: 16px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: var(--mint);
  color: #003b2b;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

/* ================= FOOTER ================= */
.footer {
  padding: 30px 0;
  text-align: center;
  opacity: .8;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: auto;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
