body {
  font-family: 'Cairo', sans-serif;
  color: white;
  overflow-x: hidden;
}

/* HERO */
.about-hero {
  text-align: center;
  margin-top: 120px;
  padding: 0 20px;
}

.about-hero h1 {
  font-size: 50px;
  color: #ff2d2d;
}

.about-hero p {
  color: #ccc;
  margin-top: 10px;
}

/* TEXT */
.about-section {
  max-width: 900px;
  margin: 50px auto;
  line-height: 1.9;
  text-align: center;
  color: #ddd;
  padding: 0 20px;
}

.about-section h2 {
  color: #ff2d2d;
  margin: 40px 0 15px;
  font-size: 32px;
}

/* WHY */
.why {
  margin: 80px auto;
  text-align: center;
}

.why h2 {
  color: #ff2d2d;
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.feature {
  background: rgba(255,255,255,.05);
  border-radius: 22px;
  overflow: hidden;
  transition: .4s ease;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.feature:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 25px rgba(255,45,45,.35), 0 0 50px rgba(255,45,45,.15);
}

.feature img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.feature-content {
  padding: 20px;
}

.feature h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 20px;
}

.feature p {
  color: #bbb;
  line-height: 1.8;
  font-size: 14px;
}

.timeline {
  text-align: center;
  margin: 80px 0;
}

.timeline h2 {
  color: #ff2d2d;
  margin-bottom: 40px;
}

.timeline-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.timeline-item {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 15px;
  width: 200px;
  position: relative;
  transition: 0.3s;
}

.timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255,45,45,.6);
}

.timeline-item span {
  display: block;
  font-weight: bold;
  font-size: 20px;
  color: #ff2d2d;
}

.stats {
  display: flex;
  justify-content: center;
  margin: 80px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.05);
  min-width: 150px;
  transition: 0.3s;
}

.stat:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(76,201,240,.5);
}

.stat h3 {
  font-size: 30px;
  color: #ff2d2d;
}

.stat p {
  color: #aaa;
}

/* ================= JOURNEY (ABOUT PAGE) ================= */
.journey {
  margin: 80px auto 60px;
  text-align: center;
  position: relative;
  padding: 0 10px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.journey h2 {
  color: #ff2d2d;
  margin-bottom: 80px;
  font-size: 36px;
}

/* ===== حاوية الشريط ===== */
.timeline-wrapper {
  position: relative;
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
}

/* ===== الشريط ===== */
.journey-line {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 30px;
}

.journey-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff2d2d;
  width: 0%;
  animation: lineMoveLTR 25s linear infinite;
  border-radius: 20px;
}

/* ===== الشعار المتحرك ===== */
.moving-logo {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: moveLogoLTR 25s linear infinite;
  z-index: 5;
}

.moving-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #111;
  padding: 6px;
  box-shadow: 0 0 30px rgba(255, 45, 45, 0.6);
  animation: pulse 0.5s infinite;
}

/* ===== محطات ثابتة (نقاط صغيرة) ===== */
.station {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 16px;
  height: 16px;
  background: #ff2d2d;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.5);
}

.station1 { left: 5%; }
.station2 { left: 24%; }
.station3 { left: 43%; }
.station4 { left: 62%; }
.station5 { left: 81%; }

/* ===== مربع عرض المحطة الحالية (في المنتصف) ===== */
.current-station {
  margin-top: 30px;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 45, 45, 0.3);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.current-station .year {
  font-size: 32px;
  font-weight: bold;
  color: #ff2d2d;
  margin-bottom: 8px;
}

.current-station .description {
  font-size: 18px;
  color: #ddd;
  line-height: 1.6;
}

/* ===== إخفاء المحطات القديمة ===== */
.station-info {
  display: none;
}

/* ===== إظهار المحطة الحالية فقط ===== */
.station-info.active {
  display: block;
  animation: fadeInUp 0.6s ease;
}

/* ===== JavaScript هيتحكم في الظهور ===== */

/* ===== KEYFRAMES ===== */
@keyframes moveLogoLTR {
  0% { left: 0%; }
  100% { left: 100%; }
}

@keyframes lineMoveLTR {
  0% { width: 0%; left: 0; right: auto; }
  100% { width: 100%; left: 0; right: auto; }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 45, 45, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 45, 45, 0.8), 0 0 50px rgba(255, 45, 45, 0.4);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 45, 45, 0.3);
  }
}

/* FOOTER */
footer {
  text-align: center;
  margin-top: 60px;
  color: #aaa;
  padding: 20px;
}

/* ===== MEDIA QUERIES ===== */

/* Tablet */
@media (max-width: 992px) {
  .about-hero h1 {
    font-size: 38px;
  }

  .features {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 15px;
  }

  .feature img {
    height: 190px;
  }

  .timeline-wrapper {
    width: 94%;
  }

  .moving-logo img {
    width: 50px;
    height: 50px;
  }

  .station {
    width: 14px;
    height: 14px;
  }

  .current-station .year {
    font-size: 28px;
  }

  .current-station .description {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-hero {
    margin-top: 80px;
  }

  .about-hero h1 {
    font-size: 28px;
  }

  .about-hero p {
    font-size: 14px;
    padding: 0 15px;
  }

  .about-section {
    margin: 30px 15px;
    padding: 0 10px;
  }

  .about-section p {
    font-size: 15px;
  }

  .about-section h2 {
    font-size: 24px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }

  .feature img {
    height: 170px;
  }

  .feature-content {
    padding: 15px;
  }

  .feature h3 {
    font-size: 18px;
  }

  .feature p {
    font-size: 13px;
  }

  .journey {
    margin: 50px auto 40px;
    padding: 0 8px;
  }

  .journey h2 {
    font-size: 26px;
    margin-bottom: 60px;
  }

  .timeline-wrapper {
    width: 96%;
  }

  .journey-line {
    height: 4px;
    margin-bottom: 25px;
  }

  .moving-logo img {
    width: 38px;
    height: 38px;
    padding: 4px;
  }

  .station {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .station1 { left: 2%; }
  .station2 { left: 22%; }
  .station3 { left: 42%; }
  .station4 { left: 62%; }
  .station5 { left: 82%; }

  .current-station {
    padding: 20px;
    min-height: 100px;
  }

  .current-station .year {
    font-size: 24px;
  }

  .current-station .description {
    font-size: 15px;
  }

  footer {
    padding: 15px;
    font-size: 14px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 24px;
  }

  .feature img {
    height: 150px;
  }

  .journey h2 {
    font-size: 22px;
    margin-bottom: 50px;
  }

  .timeline-wrapper {
    width: 98%;
  }

  .journey-line {
    height: 3px;
    margin-bottom: 20px;
  }

  .station {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .station1 { left: 1%; }
  .station2 { left: 21%; }
  .station3 { left: 41%; }
  .station4 { left: 61%; }
  .station5 { left: 81%; }

  .moving-logo img {
    width: 30px;
    height: 30px;
    padding: 3px;
  }

  .current-station {
    padding: 15px;
    min-height: 80px;
  }

  .current-station .year {
    font-size: 20px;
  }

  .current-station .description {
    font-size: 13px;
  }
}