.gw-story-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.95));
  padding: clamp(3rem, 5vw, 6rem) 0;
  border-top: 1px solid rgba(13, 110, 253, 0.08);
  border-bottom: 1px solid rgba(13, 110, 253, 0.08);
  overflow: hidden;
}

.gw-story-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.05), transparent 70%);
  pointer-events: none;
}

.gw-story-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.75rem;
  box-shadow: 0 25px 70px rgba(15, 36, 84, 0.12);
  border: 1px solid rgba(13, 110, 253, 0.1);
  padding: clamp(2rem, 3vw, 3rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gw-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(13, 110, 253, 0.15);
}

.gw-story-card.secondary {
  background: linear-gradient(160deg, rgba(247, 249, 255, 0.95), rgba(235, 240, 255, 0.96));
}

.gw-story-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--bs-dark);
  margin-bottom: 1rem;
}

.gw-story-card p {
  color: rgba(15, 36, 84, 0.78);
  font-size: 0.97rem;
  line-height: 1.65;
}

.gw-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.gw-values-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-radius: 1.25rem;
  background: rgba(13, 110, 253, 0.05);
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.gw-values-item:hover {
  background: rgba(13, 110, 253, 0.08);
  transform: translateY(-2px);
}

.gw-values-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(90, 141, 238, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  font-size: 1.3rem;
}

.gw-values-title {
  font-weight: 700;
  color: var(--bs-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gw-values-text {
  color: rgba(33, 37, 41, 0.75);
  font-size: 0.9rem;
}

/* Vision / Mission Cards */
.gw-vision-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 60px rgba(15, 36, 84, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.gw-vision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 80px rgba(13, 110, 253, 0.18);
}

.gw-vision-card h4 {
  font-weight: 700;
  color: var(--bs-dark);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.gw-vision-card p {
  color: rgba(15, 36, 84, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.gw-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(13, 110, 253, 0.12);
  color: var(--bs-primary);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  width: fit-content;
}

/* Why cards inside story secondary section */
.gw-story-card .gw-why-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  text-align: start;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(15, 36, 84, 0.08);
  height: 100%;
}

.gw-story-card .gw-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(13, 110, 253, 0.15);
}

.gw-why-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(90, 141, 238, 0.22));
  color: var(--bs-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .gw-story-section {
    padding: 3rem 0;
  }

  .gw-story-card {
    padding: 1.75rem;
  }

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

  .gw-vision-card {
    text-align: center;
  }

  .gw-why-card {
    text-align: center;
  }
}

[dir='rtl'] .gw-why-card,
[dir='rtl'] .gw-values-item {
  text-align: end;
}
.gw-story-card,
.gw-vision-card {
    height: auto !important;
}

@media (min-width: 992px) {
    .gw-story-section .gw-story-card.secondary {
        min-height: 360px; /* مثال: اجعليه مناسب لطول عمود التنمية المستدامة */
    }
}
/* GRID 2×2 for Story Section */
.gw-story-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .gw-story-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }

    .gw-grid-item > div {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}
