/* ===========================
   ReyadaPlus — style.css
   =========================== */

:root {
  --navy: #0C1F3F;
  --navy-mid: #162D54;
  --navy-light: #1E3A6A;
  --teal: #0A7E72;
  --teal-light: #0D9B8D;
  --teal-pale: #E8F5F3;
  --gold: #C8A84E;
  --gold-light: #E8D5A0;
  --warm-white: #F9F7F2;
  --cool-gray: #6B7280;
  --light-gray: #E5E7EB;
  --dark: #111827;
  --white: #FFFFFF;
}

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

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

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--warm-white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--teal-pale);
  color: var(--navy);
}

/* === UTILITY === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.font-en {
  font-family: 'DM Sans', sans-serif;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to left, transparent, var(--light-gray), transparent);
  max-width: 1100px;
  margin: 0 auto;
}

/* === SECTION HEADER === */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  direction: ltr;
  text-align: right;
}

.section-label.light {
  color: var(--gold-light);
}

.section-label.centered {
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-title.light {
  color: var(--white);
}

.section-title.centered {
  text-align: center;
}

.section-subtitle {
  font-size: 17px;
  color: var(--cool-gray);
  font-weight: 400;
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.6);
}

.section-subtitle.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(10, 126, 114, 0.2);
}

.btn-primary:hover {
  background: var(--teal-light);
  box-shadow: 0 8px 32px rgba(10, 126, 114, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* === ICON CONTAINER === */
.icon-box {
  width: 48px;
  height: 48px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  stroke-width: 1.75;
  fill: none;
  transition: stroke 0.3s ease;
}

.icon-box-lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.icon-box-lg svg {
  width: 28px;
  height: 28px;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(12, 31, 63, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding: 12px 24px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  direction: ltr;
  height: 48px;
}

.navbar-logo img {
  height: 48px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--white);
}

.navbar-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.navbar-cta:hover {
  background: var(--teal-light);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 31, 63, 0.96);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--teal-light);
}

.mobile-menu .navbar-cta {
  margin-top: 16px;
  padding: 14px 32px;
  font-size: 16px;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, var(--teal) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(10, 126, 114, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 168, 78, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-eyebrow {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 40px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s ease-out both;
}

.hero h1 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.3;
  max-width: 800px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(16px, 2.5vw, 20px);
  max-width: 640px;
  margin-top: 24px;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-ctas {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 32px;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stat {
  text-align: center;
  padding: 0 16px;
}

.hero-stat .number {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  direction: ltr;
}

.hero-stat .label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  z-index: 2;
  animation: fadeInUp 1s ease-out 1s both;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--white);
  padding: 48px 24px;
  border-bottom: 1px solid var(--light-gray);
}

.trust-bar p {
  text-align: center;
  color: var(--cool-gray);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.trust-logo-placeholder {
  width: 112px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(107, 114, 128, 0.5);
  font-weight: 500;
}

/* === ABOUT === */
.about {
  padding: 80px 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.9;
  margin-top: 16px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: var(--teal);
}

.about-card:hover .icon-box {
  background: var(--teal);
}

.about-card:hover .icon-box svg {
  stroke: var(--white);
}

.about-card h4 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-card p {
  font-size: 14px;
  color: var(--cool-gray);
}

/* Team domains */
.team-domains {
  margin-top: 80px;
}

.team-domains h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.team-domains > p {
  color: var(--cool-gray);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.8;
}

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

.domain-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: all 0.3s ease;
}

.domain-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(10, 126, 114, 0.08);
}

.domain-card:hover .icon-box {
  background: var(--teal);
}

.domain-card:hover .icon-box svg {
  stroke: var(--white);
}

.domain-card .icon-box {
  margin: 0 auto 12px;
}

.domain-card .title-ar {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.domain-card .title-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--cool-gray);
  margin-top: 4px;
  direction: ltr;
}

/* === VMV (Vision, Mission, Values) === */
.vmv {
  padding: 80px 24px;
  background: var(--warm-white);
}

.vmv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.vmv-card {
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vmv-card.vision {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.vmv-card.mission {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
}

.vmv-card .card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  direction: ltr;
  text-align: right;
}

.vmv-card.mission .card-label {
  color: rgba(255, 255, 255, 0.6);
}

.vmv-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.vmv-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.values-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

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

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(10, 126, 114, 0.08);
  transform: translateY(-4px);
}

.value-card:hover .icon-box {
  background: var(--teal);
}

.value-card:hover .icon-box svg {
  stroke: var(--white);
}

.value-card .icon-box {
  margin: 0 auto 16px;
}

.value-card h4 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--cool-gray);
  font-size: 14px;
  line-height: 1.7;
}

/* === SERVICES === */
.services {
  padding: 80px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(10, 126, 114, 0.06);
}

.service-card:hover .icon-box {
  background: var(--teal);
}

.service-card:hover .icon-box svg {
  stroke: var(--white);
}

.service-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(229, 231, 235, 0.7);
  position: absolute;
  top: 24px;
  left: 24px;
  direction: ltr;
}

.service-card .icon-box {
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card .en-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
  direction: ltr;
  text-align: right;
}

.service-card p {
  font-size: 14px;
  color: var(--cool-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 14px;
  color: var(--cool-gray);
  line-height: 1.7;
  padding-right: 20px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* === METHODOLOGY === */
.methodology {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Connector line */
.methodology-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 48px;
  right: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.method-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.method-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.method-card:hover .icon-box-dark {
  background: var(--teal);
}

.method-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 16px;
  direction: ltr;
}

.icon-box-dark {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s ease;
}

.icon-box-dark svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  stroke-width: 1.75;
  fill: none;
}

.method-card h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.method-card .en-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--teal-light);
  font-weight: 600;
  margin-bottom: 12px;
  direction: ltr;
}

.method-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.8;
}

.methodology-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

.methodology-flow span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.methodology-flow svg {
  width: 16px;
  height: 16px;
  stroke: rgba(13, 155, 141, 0.5);
  stroke-width: 2;
  fill: none;
}

/* === WHY US === */
.why-us {
  padding: 80px 24px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(10, 126, 114, 0.08);
  transform: translateY(-4px);
}

.why-card:hover .icon-box {
  background: var(--teal);
}

.why-card:hover .icon-box svg {
  stroke: var(--white);
}

.why-card .icon-box {
  margin-bottom: 20px;
}

.why-card h3 {
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--cool-gray);
  font-size: 14px;
  line-height: 1.7;
}

/* === VISION CTA === */
.vision-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vision-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 256px;
  height: 256px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.vision-cta::after {
  content: '';
  position: absolute;
  bottom: -64px;
  left: -64px;
  width: 192px;
  height: 192px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.vision-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

.vision-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
}

.vision-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* === TRAINING === */
.training {
  padding: 80px 24px;
  background: var(--warm-white);
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.training-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.training-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(10, 126, 114, 0.06);
}

.training-card:hover .icon-box {
  background: var(--teal);
}

.training-card:hover .icon-box svg {
  stroke: var(--white);
}

.training-card .icon-box {
  margin-bottom: 20px;
}

.training-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.training-card .en-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
  direction: ltr;
  text-align: right;
}

.training-card p {
  color: var(--cool-gray);
  font-size: 14px;
  line-height: 1.8;
}

/* === IMPACT === */
.impact {
  padding: 64px 24px;
  background: var(--navy);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.impact-stat {
  text-align: center;
}

.impact-stat .number {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--teal-light);
  direction: ltr;
}

.impact-stat .label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-top: 8px;
}

/* === CONTACT === */
.contact {
  padding: 80px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-item .icon-box {
  width: 44px;
  height: 44px;
}

.contact-info-item .icon-box svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--cool-gray);
}

.contact-brand-card {
  margin-top: 32px;
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.contact-brand-card img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}

.contact-brand-card .tagline-ar {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.contact-brand-card .tagline-en {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
  direction: ltr;
  text-align: right;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--light-gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  color: var(--dark);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(107, 114, 128, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 126, 114, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
}

.form-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-group.error .form-error {
  display: block;
}

.btn-submit {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: var(--teal-light);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-toast {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 12px;
}

.form-toast.success {
  display: flex;
  background: var(--teal-pale);
  color: var(--teal);
}

.form-toast.error {
  display: flex;
  background: #fef2f2;
  color: #dc2626;
}

.form-toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.honeypot {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: var(--white);
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--teal-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--teal-light);
  stroke-width: 1.75;
  fill: none;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .domains-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .methodology-grid {
    grid-template-columns: 1fr 1fr;
  }

  .methodology-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .menu-toggle { display: block; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vmv-cards,
  .services-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

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

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

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .methodology-flow {
    display: none;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-stats {
    gap: 16px;
    padding: 16px 20px;
  }

  .hero-stat {
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .domains-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
}
