/* ============================================================
   HIGH STANDARD MEDICAL — Corporate Homepage Styles
   ============================================================ */

/* ---------- Base & Reset ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  color: #0F3A67;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Decorative Elements ---------- */
.decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(80px);
}

.deco-circle-1 {
  width: 600px;
  height: 600px;
  background: #2FA7D8;
  top: -200px;
  right: -100px;
}

.deco-circle-2 {
  width: 400px;
  height: 400px;
  background: #44C6C7;
  bottom: 20%;
  left: -100px;
}

.deco-circle-3 {
  width: 500px;
  height: 500px;
  background: #0F3A67;
  top: 60%;
  right: -150px;
}

.deco-dna {
  position: absolute;
  width: 300px;
  height: 800px;
  top: 10%;
  right: 5%;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 19px,
    #0F3A67 19px,
    #0F3A67 20px
  ),
  repeating-linear-gradient(
    30deg,
    transparent,
    transparent 38px,
    #2FA7D8 38px,
    #2FA7D8 40px
  );
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ---------- Navbar ---------- */
.navbar-glass {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1320px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(15, 58, 103, 0.06);
  z-index: 1000;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar-glass.scrolled {
  box-shadow: 0 8px 32px rgba(15, 58, 103, 0.10);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px 24px;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo svg,
.navbar-logo-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
}

.navbar-brand {
  font-size: 13px;
  font-weight: 900;
  color: #0F3A67;
  line-height: 1.1;
  letter-spacing: 0.5px;
  display: none;
}

.navbar-brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 2px;
}

@media (min-width: 1024px) {
  .navbar-brand {
    display: block;
  }
}

/* Nav Links */
.navbar-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  align-items: center;
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #0F3A67;
  background: #EEF5FA;
}

/* Actions */
.navbar-actions {
  display: none;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .navbar-actions {
    display: flex;
  }
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.4;
}

.lang-btn.active {
  background: #0F3A67;
  color: #FFFFFF;
}

.lang-divider {
  width: 1px;
  height: 16px;
  background: #E2E8F0;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #0F3A67;
  background: #FFFFFF;
  border: 1.5px solid #0F3A67;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0F3A67;
  color: #FFFFFF;
  transform: scale(1.03);
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0F3A67;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-drawer.active {
  pointer-events: auto;
}

.mobile-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 58, 103, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-drawer.active .mobile-drawer-bg {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow-y: auto;
}

.mobile-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: #0F3A67;
  text-decoration: none;
  border-bottom: 1px solid #EEF5FA;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #2FA7D8;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-lang {
  align-self: flex-start;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 850px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFC 40%, #FFFFFF 100%);
}

.hero-container {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #2FA7D8;
  text-transform: uppercase;
}

.hero-heading {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
  color: #0F3A67;
  max-width: 620px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 56px;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 72px;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #0F3A67 0%, #2FA7D8 50%, #44C6C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 17px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.8;
  max-width: 520px;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 18px;
  }
}

/* Outlined Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  color: #0F3A67;
  background: transparent;
  border: 1.5px solid #0F3A67;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.35s ease;
  cursor: pointer;
  align-self: flex-start;
}

.btn-outline:hover {
  background: #0F3A67;
  color: #FFFFFF;
  transform: scale(1.03);
}

.btn-outline:hover .btn-icon {
  color: #FFFFFF;
  transform: translateX(4px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  color: #0F3A67;
  transition: all 0.35s ease;
}

/* Hero Image Container */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 58, 103, 0.10);
}

/* ---------- Image Placeholders (Shared) ---------- */
.img-placeholder-bg {
  position: absolute;
  inset: 0;
}

.img-placeholder-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,58,103,0.04) 0%, rgba(47,167,216,0.03) 100%);
  pointer-events: none;
}

.img-placeholder-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.75);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 32px rgba(15,58,103,0.08);
}

.ph-icon-lg {
  width: 40px;
  height: 40px;
  color: #0F3A67;
  stroke-width: 1.6;
}

.ph-icon-md {
  width: 32px;
  height: 32px;
  color: #0F3A67;
  stroke-width: 1.6;
}

.ph-icon-sm {
  width: 28px;
  height: 28px;
  color: #0F3A67;
  stroke-width: 1.6;
}

.img-placeholder-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 30%, #0F3A67 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, #2FA7D8 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, #44C6C7 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, #0F3A67 1px, transparent 1px),
    radial-gradient(circle at 10% 55%, #2FA7D8 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
}

/* Hero Image Placeholder */
.hero-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 28px;
  overflow: hidden;
}

.hero-ph-bg {
  background: linear-gradient(160deg, #EEF5FA 0%, #DCEAF5 30%, #C5DEF0 60%, #EEF5FA 100%);
}

/* Hero Image */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  border-radius: 28px;
}

/* Timeline Image Placeholder */
.timeline-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 28px;
  overflow: hidden;
}

.tl-ph-bg {
  background: linear-gradient(150deg, #DCEAF5 0%, #C5DEF0 30%, #B8D4E8 60%, #DCEAF5 100%);
}

/* Project Image Placeholder */
.project-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.pr1-ph-bg {
  background: linear-gradient(145deg, #EEF5FA 0%, #DCEAF5 35%, #C5DEF0 65%, #EEF5FA 100%);
}

.pr2-ph-bg {
  background: linear-gradient(155deg, #DCEAF5 0%, #C5DEF0 35%, #B8D4E8 65%, #DCEAF5 100%);
}

.pr3-ph-bg {
  background: linear-gradient(140deg, #EEF5FA 0%, #C5DEF0 35%, #DCEAF5 65%, #EEF5FA 100%);
}

/* News Image Placeholder */
.news-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 5/3;
  overflow: hidden;
}

.nw1-ph-bg {
  background: linear-gradient(150deg, #EEF5FA 0%, #DCEAF5 40%, #C5DEF0 70%, #EEF5FA 100%);
}

.nw2-ph-bg {
  background: linear-gradient(160deg, #DCEAF5 0%, #C5DEF0 40%, #B8D4E8 70%, #DCEAF5 100%);
}

.nw3-ph-bg {
  background: linear-gradient(145deg, #EEF5FA 0%, #C5DEF0 40%, #DCEAF5 70%, #EEF5FA 100%);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 58, 103, 0.06) 0%, rgba(47, 167, 216, 0.04) 100%);
  border-radius: 28px;
  pointer-events: none;
}

/* Glass Card (Vision) */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(15, 58, 103, 0.10);
}

.vision-card {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.vision-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF5FA;
  border-radius: 14px;
}

.vision-icon {
  width: 22px;
  height: 22px;
  color: #0F3A67;
}

.vision-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vision-card-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.5px;
}

.vision-card-desc {
  font-size: 14px;
  font-weight: 500;
  color: #0F3A67;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Statistics Section ---------- */
.statistics-section {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 120px;
  background: #FFFFFF;
}

@media (min-width: 1024px) {
  .statistics-section {
    padding-top: 0;
    margin-top: -60px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid #EEF5FA;
  border-radius: 28px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(15, 58, 103, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(15, 58, 103, 0.12);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF5FA;
  border-radius: 16px;
}

.stat-icon {
  width: 26px;
  height: 26px;
  color: #0F3A67;
  stroke-width: 1.8;
}

.stat-number {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 40px;
  font-weight: 900;
  color: #0F3A67;
  line-height: 1;
}

.stat-suffix {
  font-size: 32px;
  font-weight: 800;
  color: #2FA7D8;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  text-align: center;
}

/* ---------- Timeline Section ---------- */
.timeline-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFC 100%);
}

@media (min-width: 1024px) {
  .timeline-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  color: #0F3A67;
  text-align: center;
  margin: 0;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 44px;
  }
}

.timeline-header {
  margin-bottom: 80px;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .timeline-layout {
    grid-template-columns: 1fr 420px;
    gap: 80px;
  }
}

/* Timeline Track */
.timeline-track-wrapper {
  position: relative;
}

.timeline-track {
  position: relative;
  padding: 60px 0;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0F3A67 0%, #2FA7D8 50%, #44C6C7 100%);
  transform: translateY(-50%);
  border-radius: 1px;
}

.timeline-milestones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
  min-width: 0;
}

.milestone-dot {
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  border: 3px solid #2FA7D8;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(47, 167, 216, 0.12);
  transition: all 0.35s ease;
}

.milestone:hover .milestone-dot {
  background: #2FA7D8;
  border-color: #2FA7D8;
  box-shadow: 0 0 0 10px rgba(47, 167, 216, 0.20);
}

.milestone-year {
  font-size: 18px;
  font-weight: 900;
  color: #0F3A67;
  line-height: 1;
}

.milestone-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Vertical Timeline for Mobile */
@media (max-width: 639px) {
  .timeline-track {
    padding: 0;
  }

  .timeline-line {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
    background: linear-gradient(180deg, #0F3A67 0%, #2FA7D8 50%, #44C6C7 100%);
  }

  .timeline-milestones {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding-left: 32px;
  }

  .milestone {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .milestone-dot {
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
  }

  .milestone-year,
  .milestone-label {
    text-align: left;
  }
}

/* Timeline Image Card */
.timeline-image-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 58, 103, 0.10);
  transition: transform 0.5s ease;
}

.timeline-image-wrapper:hover {
  transform: scale(1.02);
}

.timeline-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
  border-radius: 28px;
}

.timeline-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 58, 103, 0.08) 0%, rgba(47, 167, 216, 0.06) 100%);
  border-radius: 28px;
  pointer-events: none;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 12px 40px rgba(15, 58, 103, 0.12);
}

.play-button:hover {
  background: #0F3A67;
  border-color: #0F3A67;
  transform: translate(-50%, -50%) scale(1.08);
}

.play-button:hover .play-icon {
  color: #FFFFFF;
}

.play-icon {
  width: 24px;
  height: 24px;
  color: #0F3A67;
  fill: #0F3A67;
  margin-left: 3px;
  transition: color 0.35s ease;
}

.timeline-caption {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
  text-align: center;
  letter-spacing: 0.5px;
}

/* ---------- Values Section ---------- */
.values-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #FFFFFF;
}

.values-header {
  margin-bottom: 72px;
}

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

@media (min-width: 480px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.value-card {
  background: #FFFFFF;
  border: 1px solid #EEF5FA;
  border-radius: 28px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(15, 58, 103, 0.08);
  border-color: #DCEAF5;
}

.value-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF5FA;
  border-radius: 16px;
  transition: background 0.35s ease;
}

.value-card:hover .value-icon-wrapper {
  background: #DCEAF5;
}

.value-icon {
  width: 28px;
  height: 28px;
  color: #0F3A67;
  stroke-width: 1.8;
  transition: color 0.35s ease;
}

.value-card:hover .value-icon {
  color: #2FA7D8;
}

.value-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F3A67;
  margin: 0;
  line-height: 1.3;
}

.value-desc {
  font-size: 15px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Solutions Section ---------- */
.solutions-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 100%);
}

@media (min-width: 1024px) {
  .solutions-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.solutions-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #2FA7D8;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.7;
  max-width: 600px;
  margin: 16px auto 0;
}

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

@media (min-width: 640px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.solution-card {
  background: #FFFFFF;
  border: 1px solid #EEF5FA;
  border-radius: 28px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(15, 58, 103, 0.08);
  border-color: rgba(47, 167, 216, 0.25);
}

.solution-icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EEF5FA 0%, #DCEAF5 100%);
  border-radius: 18px;
  transition: background 0.35s ease;
}

.solution-card:hover .solution-icon-wrapper {
  background: linear-gradient(135deg, #DCEAF5 0%, #C5DEF0 100%);
}

.solution-icon {
  width: 30px;
  height: 30px;
  color: #0F3A67;
  stroke-width: 1.8;
  transition: color 0.35s ease;
}

.solution-card:hover .solution-icon {
  color: #2FA7D8;
}

.solution-title {
  font-size: 22px;
  font-weight: 800;
  color: #0F3A67;
  margin: 0;
  line-height: 1.3;
}

.solution-desc {
  font-size: 15px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.7;
  margin: 0;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0F3A67;
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.solution-link:hover {
  color: #2FA7D8;
  gap: 12px;
}

.solution-link-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.solution-link:hover .solution-link-icon {
  transform: translateX(3px);
}

/* ---------- Projects Section ---------- */
.projects-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #FFFFFF;
}

.projects-header {
  text-align: center;
  margin-bottom: 72px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.project-card {
  background: #FFFFFF;
  border: 1px solid #EEF5FA;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(15, 58, 103, 0.10);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/2;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: #0F3A67;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.project-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-title {
  font-size: 19px;
  font-weight: 800;
  color: #0F3A67;
  margin: 0;
  line-height: 1.35;
}

.project-desc {
  font-size: 14px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.project-stats {
  display: flex;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid #EEF5FA;
}

.project-stat {
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
}

.project-stat strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #0F3A67;
  line-height: 1.2;
}

/* ---------- Partners Section ---------- */
.partners-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFC 100%);
}

.partners-header {
  text-align: center;
  margin-bottom: 72px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.partner-card {
  background: #FFFFFF;
  border: 1px solid #EEF5FA;
  border-radius: 24px;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: default;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(15, 58, 103, 0.08);
  border-color: rgba(47, 167, 216, 0.20);
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.partner-card:hover .partner-logo {
  opacity: 0.85;
}

.partner-placeholder-icon {
  width: 32px;
  height: 32px;
  color: #64748B;
  stroke-width: 1.5;
  transition: color 0.35s ease;
}

.partner-card:hover .partner-placeholder-icon {
  color: #0F3A67;
}

.partner-placeholder-name {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.3px;
}

/* ---------- News Section ---------- */
.news-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #FFFFFF;
}

.news-header {
  text-align: center;
  margin-bottom: 72px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.news-card {
  background: #FFFFFF;
  border: 1px solid #EEF5FA;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(15, 58, 103, 0.08);
}

.news-image-wrapper {
  position: relative;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 5/3;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #2FA7D8;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.news-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-date {
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
}

.news-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F3A67;
  margin: 0;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 14px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0F3A67;
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  margin-top: 4px;
}

.news-link:hover {
  color: #2FA7D8;
  gap: 12px;
}

.news-link-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.news-link:hover .news-link-icon {
  transform: translateX(3px);
}

/* ---------- Contact CTA Section ---------- */
.cta-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: linear-gradient(180deg, #F7FAFC 0%, #EEF5FA 100%);
}

.cta-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-label {
  margin-bottom: 0;
}

.cta-heading {
  font-size: 36px;
  font-weight: 900;
  color: #0F3A67;
  line-height: 1.15;
  margin: 0;
}

@media (min-width: 768px) {
  .cta-heading {
    font-size: 52px;
  }
}

.cta-description {
  font-size: 17px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  background: #0F3A67;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.35s ease;
  cursor: pointer;
}

.btn-cta-primary:hover {
  background: #0C2F52;
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(15, 58, 103, 0.20);
}

.btn-icon-cta {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

.btn-cta-primary:hover .btn-icon-cta {
  transform: translateX(4px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  color: #0F3A67;
  background: #FFFFFF;
  border: 1.5px solid #0F3A67;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.btn-cta-secondary:hover {
  background: #0F3A67;
  color: #FFFFFF;
  transform: scale(1.03);
}

/* ---------- Footer ---------- */
.footer {
  padding-top: 80px;
  padding-bottom: 32px;
  background: #F8FAFC;
  border-top: 1px solid #EEF5FA;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-link svg,
.footer-logo-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
}

.footer-brand {
  font-size: 13px;
  font-weight: 900;
  color: #0F3A67;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.footer-brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 2px;
}

.footer-desc {
  font-size: 14px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 0 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #EEF5FA;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: #0F3A67;
  border-color: #0F3A67;
}

.footer-social-link:hover .footer-social-icon {
  color: #FFFFFF;
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  color: #64748B;
  transition: color 0.3s ease;
}

.footer-heading {
  font-size: 14px;
  font-weight: 800;
  color: #0F3A67;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  font-weight: 400;
  color: #64748B;
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-link:hover {
  color: #0F3A67;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.6;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: #2FA7D8;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid #EEF5FA;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 13px;
  font-weight: 400;
  color: #64748B;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal-link {
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal-link:hover {
  color: #0F3A67;
}

.footer-legal-divider {
  width: 4px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 50%;
}

/* ---------- GSAP Initial States ---------- */
.stat-card {
  opacity: 0;
  transform: translateY(30px);
}

.value-card {
  opacity: 0;
  transform: translateY(30px);
}

.milestone {
  opacity: 0;
  transform: translateY(20px);
}

.timeline-image-card {
  opacity: 0;
  transform: scale(0.94);
}

.solution-card {
  opacity: 0;
  transform: translateY(40px);
}

.project-card {
  opacity: 0;
  transform: translateY(40px);
}

.partner-card {
  opacity: 0;
  transform: translateY(30px);
}

.news-card {
  opacity: 0;
  transform: translateY(40px);
}

.cta-content {
  opacity: 0;
  transform: translateY(40px);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1023px) {
  .hero-section {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .vision-card {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: -40px;
    z-index: 2;
  }

  .solutions-section,
  .projects-section,
  .partners-section,
  .news-section,
  .cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-title {
    font-size: 30px;
  }

  .cta-heading {
    font-size: 32px;
  }
}

@media (max-width: 639px) {
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- RTL Support (Arabic) ---------- */
[dir="rtl"] .nav-link {
  font-size: 15px;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .hero-description {
  text-align: right;
}

[dir="rtl"] .btn-outline {
  align-self: flex-end;
}

[dir="rtl"] .btn-outline .btn-icon {
  transform: rotate(180deg);
}

[dir="rtl"] .btn-outline:hover .btn-icon {
  transform: rotate(180deg) translateX(-4px);
}

[dir="rtl"] .vision-card-text {
  text-align: right;
}

[dir="rtl"] .section-title {
  text-align: center;
}

[dir="rtl"] .section-subtitle {
  text-align: center;
}

[dir="rtl"] .solution-link-icon {
  transform: rotate(180deg);
}

[dir="rtl"] .solution-link:hover .solution-link-icon {
  transform: rotate(180deg) translateX(-3px);
}

[dir="rtl"] .news-link-icon {
  transform: rotate(180deg);
}

[dir="rtl"] .news-link:hover .news-link-icon {
  transform: rotate(180deg) translateX(-3px);
}

[dir="rtl"] .btn-cta-primary .btn-icon-cta {
  transform: rotate(180deg);
}

[dir="rtl"] .btn-cta-primary:hover .btn-icon-cta {
  transform: rotate(180deg) translateX(-4px);
}

[dir="rtl"] .project-tag,
[dir="rtl"] .news-category {
  left: auto;
  right: 16px;
}

[dir="rtl"] .btn-primary:hover {
  transform: scale(1.03);
}

[dir="rtl"] .mobile-drawer-content {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

[dir="rtl"] .mobile-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

[dir="rtl"] .footer-link:hover {
  padding-left: 0;
  padding-right: 4px;
}

[dir="rtl"] .footer-social-icon,
[dir="rtl"] .footer-contact-icon {
  margin-right: 0;
  margin-left: 0;
}

[dir="rtl"] .milestone-label {
  text-align: center;
}

@media (max-width: 639px) {
  [dir="rtl"] .timeline-line {
    left: auto;
    right: 7px;
  }

  [dir="rtl"] .timeline-milestones {
    padding-left: 0;
    padding-right: 32px;
  }

  [dir="rtl"] .milestone {
    flex-direction: row;
  }

  [dir="rtl"] .milestone-dot {
    left: auto;
    right: -32px;
  }
}

[dir="rtl"] .lang-switch {
  direction: ltr;
}

/* ---------- Video Modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 58, 103, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.video-close-icon {
  width: 20px;
  height: 20px;
  color: #FFFFFF;
}

.video-modal-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.30);
}

.video-modal-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

body.modal-open {
  overflow: hidden;
}
