* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-primary: #1a237e;
  --color-primary-dark: #0b2545;
  --color-secondary: #bd9d6c;
  --color-text-dark: #333;
  --color-text-medium: #444;
  --color-text-light: #9ca3af;
  --color-background-body: #f8fafc;
  --color-background-header: #ffffff;
  --color-accent: #7d9abe;
  --font-sans: "Cairo", sans-serif;
  --font-serif: "Playfair Display", serif;
  --font-body: "Cairo", sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.288), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.department-section {
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
}

.department-section .container {
  background: #fff;
  margin: 20px auto;
  padding: 25px;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.department-section .container:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-md);
}
.department-section .container .title {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
  padding-bottom: 5px;
}

.department-section .container p {
  line-height: 1.8;
  font-size: 1rem;
  color: var(--color-primary-dark);
  text-align: justify;
  text-align-last: right;
  word-spacing: -1px;
  word-break: break-word;
}

.department-section .container ul {
  text-align: right;
  list-style: none;
  padding: 0;
}

.department-section .container ul li {
  margin: 8px 0;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s;
  text-align: justify;
  text-align-last: right;
  word-spacing: -1px;
  word-break: break-word;
}

.department-section .container ul li:hover {
  transform: translateX(-5px);
  background-color: #c4d4e94d;
}

.department-section .container .links {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.foot-page {
  margin: 30px;
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
.foot-page a {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 11px;
}

.foot-page a:hover {
  background: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

p {
  margin-bottom: 15px;
  font-weight: bold;
}
ol {
  padding-right: 20px;
}

strong {
  color: #333;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .department-section {
    text-align: center;
    padding: 20px 10px;
  }

  .department-section .container {
    padding: 20px 15px;
    margin: 15px auto;
  }

  .department-section .container .title {
    text-align: center;
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }

  .department-section .container p {
    text-align: justify;
    text-align-last: right;
    padding: 0 10px;
    word-spacing: -1px;
    word-break: break-word;
  }

  .department-section .container ul {
    text-align: center;
    padding: 0;
  }

  .department-section .container ul li {
    text-align: justify;
    text-align-last: right;
    word-spacing: -1px;
    word-break: break-word;
  }

  p,
  ul li {
    font-size: 1rem;
  }

  .foot-page {
    grid-template-columns: repeat(2, 1fr);
    margin: 20px 10px;
    gap: 10px;
  }

  .foot-page a {
    text-align: center;
    padding: 12px 10px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #265696;
  --blue: #1a4a8a;
  --blue-mid: #1e5599;
  --accent: #e8a020;
  --accent2: #f0c060;
  --light: #f0f4fa;
  --white: #ffffff;
  --text: #1e2d42;
  --muted: #5a6e88;
  --border: rgba(26, 74, 138, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  line-height: 1.8;
}

.overview-section {
  padding: 30px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.overview-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(26, 74, 138, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  color: var(--accent) !important;
  line-height: 1.3;
  margin-bottom: 24px;
}
.about-section {
  margin-bottom: 30px;
}
.section-title span {
  color: var(--blue);
}

.overview-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 14px;
}

.overview-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  font-weight: bold;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.spec-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  background: var(--white);
  transition:
    transform 0.28s,
    box-shadow 0.28s,
    border-color 0.28s;
  position: relative;
  overflow: hidden;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26, 74, 138, 0.12);
  border-color: rgba(26, 74, 138, 0.25);
}

.spec-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #2266bb);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.spec-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.spec-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.overview-callout {
  gap: 16px;
  border: 1px solid rgba(26, 74, 138, 0.15);
  border-radius: 14px;
  padding: 22px 24px;
}
.overview-callout i {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.overview-callout p {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.vm-section {
  padding: 90px 0;

  position: relative;
  overflow: hidden;
}

.vm-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(232, 160, 32, 0.1) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(26, 74, 138, 0.3) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.vm-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 32px 32px;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}

.vm-card {
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.vm-card.vision {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
}

.vm-card.mission {
  background: var(--text);
  border: 1px solid rgba(232, 160, 32, 0.25);
}

.vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.vision .vm-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission .vm-icon {
  background: rgba(232, 160, 32, 0.2);
  color: var(--accent);
  border: 1px solid rgba(232, 160, 32, 0.35);
}

.vm-card .vm-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.vision .vm-label {
  color: rgba(255, 255, 255, 0.5);
}
.mission .vm-label {
  color: var(--accent);
}

.vm-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.3;
}
.vision h3 {
  color: var(--white);
}
.mission h3 {
  color: var(--white);
}

.vm-card p {
  font-size: 0.96rem;
  line-height: 1.9;
}
.vision p {
  color: rgba(255, 255, 255, 0.75);
}
.mission p {
  color: rgba(255, 255, 255, 0.8);
}

.vm-quote {
  position: absolute;
  bottom: 16px;
  left: 24px;
  font-size: 6rem;
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.07;
  color: var(--white);
  pointer-events: none;
}

.goals-section {
  padding: 90px 0;
  background: var(--light);
  position: relative;
}

.goals-header {
  margin-bottom: 52px;
}

.stat-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-pill i {
  color: var(--accent);
}

.goals-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.goal-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 74, 138, 0.09);
  border-color: rgba(26, 74, 138, 0.22);
}

.goal-bullet {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.goal-item:nth-child(1) .goal-bullet {
  background: #eef4ff;
  color: #1a4a8a;
}
.goal-item:nth-child(2) .goal-bullet {
  background: #fff8ec;
  color: #c07a10;
}
.goal-item:nth-child(3) .goal-bullet {
  background: #edfbf0;
  color: #1a8a4a;
}
.goal-item:nth-child(4) .goal-bullet {
  background: #fdeef4;
  color: #8a1a4a;
}
.goal-item:nth-child(5) .goal-bullet {
  background: #f0eeff;
  color: #4a1a8a;
}
.goal-item:nth-child(6) .goal-bullet {
  background: #eef8ff;
  color: #1a6a8a;
}
.goal-item:nth-child(7) .goal-bullet {
  background: #fffaee;
  color: #8a6a1a;
}

.goal-item:nth-child(8) .goal-bullet {
  background: #fffaee;
  color: #8a6a1a;
}
.goal-item:nth-child(9) .goal-bullet {
  background: #fffaee;
  color: brown;
}
.goal-item:nth-child(10) .goal-bullet {
  background: #fffaee;
  color: coral;
}
.goal-item:nth-child(11) .goal-bullet {
  background: #fffaee;
  color: blueviolet;
}

.goal-item p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
}

.divider-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.divider-line::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--border), transparent);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .vm-card {
    padding: 28px 22px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}
.end-of-page {
  position: relative;
  padding: 80px 20px 90px;
  background: linear-gradient(
    160deg,
    var(--navy) 0%,
    #122d58 60%,
    #0d2040 100%
  );
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
}

.end-of-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(232, 160, 32, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(26, 74, 138, 0.25) 0%,
      transparent 55%
    );
  pointer-events: none;
}

.circuit-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

.foot-page-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.foot-page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
/* 
.foot-page-header .eyebrow::before,
.foot-page-header .eyebrow::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
} */

.foot-page-header h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
}

.foot-page-header h2 span {
  color: var(--accent);
}

.foot-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: var(--white);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.fp-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background: radial-gradient(
    circle at bottom right,
    rgba(232, 160, 32, 0.18),
    transparent 70%
  );
  border-radius: 0 0 16px 0;
  transition:
    width 0.3s,
    height 0.3s;
}

.fp-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 160, 32, 0.4);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(232, 160, 32, 0.2);
}

.fp-card:hover::after {
  width: 110px;
  height: 110px;
}

.fp-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(232, 160, 32, 0.22),
    rgba(232, 160, 32, 0.08)
  );
  border: 1px solid rgba(232, 160, 32, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition:
    background 0.28s,
    transform 0.28s;
}

.fp-card:hover .fp-icon {
  background: linear-gradient(
    135deg,
    rgba(232, 160, 32, 0.45),
    rgba(232, 160, 32, 0.18)
  );
  transform: scale(1.08);
}

.fp-label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.fp-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.7;
  transition:
    opacity 0.25s,
    gap 0.25s;
}

.fp-card:hover .fp-arrow {
  opacity: 1;
  gap: 10px;
}

/* Responsive*/
@media (max-width: 600px) {
  .foot-page {
    padding: 60px 16px 70px;
  }
  .foot-page-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fp-card {
    padding: 20px 16px;
  }
  .foot-page-header {
    margin-bottom: 36px;
  }
  .foot-page-header h2 {
    font-size: 1.3rem;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fp-card {
  animation: fadeUp 0.5s ease both;
}
.fp-card:nth-child(1) {
  animation-delay: 0.05s;
}
.fp-card:nth-child(2) {
  animation-delay: 0.1s;
}
.fp-card:nth-child(3) {
  animation-delay: 0.15s;
}
.fp-card:nth-child(4) {
  animation-delay: 0.2s;
}
.fp-card:nth-child(5) {
  animation-delay: 0.25s;
}
.fp-card:nth-child(6) {
  animation-delay: 0.3s;
}
.fp-card:nth-child(7) {
  animation-delay: 0.35s;
}
.fp-card:nth-child(8) {
  animation-delay: 0.4s;
}

r.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  tansform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}
.reveal-delay-6 {
  transition-delay: 0.6s;
}
.reveal-delay-7 {
  transition-delay: 0.7s;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow i {
  color: var(--accent);
  font-size: 0.9rem;
}

.goals-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.vm-section .section-title {
  color: var(--white) !important;
}
.vm-section .section-title span {
  color: var(--accent) !important;
}

.vm-card.vision {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
}
.vm-card.vision .vm-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.vm-card.vision .vm-label {
  color: rgba(255, 255, 255, 0.5);
}
.vm-card.vision h3,
.vm-card.vision p {
  color: rgba(255, 255, 255, 0.85);
}
