/* =============================================
   pages/about.css — About Page: Foundation, Hero, Orbital Viz, Sections
   ============================================= */

/* ============================= */
/* ABOUT PAGE FOUNDATION         */
/* ============================= */

.about-section {
  padding: 120px 0;
}

.container {
  max-width: 1200px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #0f1c3f;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #f19839, #f58220);
  display: block;
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 750px;
  margin: 0 auto 70px;
  text-align: center;
  line-height: 1.7;
}

.about-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
}

/* ============================= */
/* ABOUT HERO                    */
/* ============================= */

.about-hero-section {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

.about-hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, #0a1228 0%, #122246 55%, #1a3060 100%);
}

.about-hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
}

.about-hero-section::before,
.about-hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  animation: aboutOrbDrift 14s ease-in-out infinite;
}
.about-hero-section::before {
  width: 320px;
  height: 320px;
  background: #1e4fd8;
  opacity: 0.13;
  top: -80px;
  left: -60px;
}
.about-hero-section::after {
  width: 220px;
  height: 220px;
  background: #f19839;
  opacity: 0.09;
  bottom: -60px;
  left: 30%;
  animation-delay: -7s;
}
@keyframes aboutOrbDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -14px);
  }
}

/* Layout */
.about-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* ---- LEFT ---- */
.about-hero-text {
  color: #fff;
  opacity: 0;
  animation: aboutFadeUp 0.6s ease forwards;
  animation-delay: 0.1s;
}

.about-hero-text .hero-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}

.about-hero-text .hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 28px;
}

.about-hero-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #f19839, #f58220);
  border-radius: 2px;
  margin-bottom: 28px;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px;
  border-radius: 10px;
  position: relative;
  transition: background 0.2s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f19839, #f58220);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- RIGHT — ORBITAL VIZ ---- */
.about-hero-viz {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: aboutFadeUp 0.7s ease forwards;
  animation-delay: 0.4s;
}

.solar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solar-system {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

.solar-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.solar-ring-1 {
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.solar-ring-2 {
  width: 380px;
  height: 380px;
  border: 1px dashed rgba(241, 152, 57, 0.2);
}

.solar-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(8, 18, 48, 0.85);
  border: 2px solid rgba(241, 152, 57, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 8px rgba(13, 59, 136, 0.2),
    0 0 0 18px rgba(13, 59, 136, 0.08);
  animation: solarHubPulse 3s ease-in-out infinite;
  z-index: 10;
  overflow: hidden;
}

.solar-hub img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes solarHubPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 8px rgba(13, 59, 136, 0.2),
      0 0 0 18px rgba(13, 59, 136, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 13px rgba(13, 59, 136, 0.28),
      0 0 0 26px rgba(13, 59, 136, 0.06);
  }
}

.solar-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
}

.solar-orbit-1 {
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  animation: solarSpin1 45s linear infinite;
}
.solar-orbit-2 {
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  animation: solarSpin2 70s linear infinite;
}

@keyframes solarSpin1 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes solarSpin2 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.solar-node {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 20, 52, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.solar-node-accent {
  background: rgba(15, 28, 70, 0.95);
  border-color: rgba(241, 152, 57, 0.55);
}

.solar-orbit-1 .solar-node[data-pos="a"] {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.solar-orbit-1 .solar-node[data-pos="b"] {
  top: 75%;
  left: 88%;
  transform: translate(-50%, -50%);
}
.solar-orbit-1 .solar-node[data-pos="c"] {
  top: 75%;
  left: 12%;
  transform: translate(-50%, -50%);
}

.solar-orbit-2 .solar-node[data-pos="a"] {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.solar-orbit-2 .solar-node[data-pos="b"] {
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
}
.solar-orbit-2 .solar-node[data-pos="c"] {
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.solar-orbit-2 .solar-node[data-pos="d"] {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.solar-orbit-1 .solar-node {
  animation: solarCR1 45s linear infinite;
}
.solar-orbit-2 .solar-node {
  animation: solarCR2 70s linear infinite;
}

@keyframes solarCR1 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes solarCR2 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.solar-label {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.solar-tagline {
  margin-top: 36px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}
.solar-tagline span {
  color: #f19839;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

@media (max-width: 992px) {
  /* FIX (CRITICAL): hero collapses to 1 column instead of squeezing
     text + orbital viz side by side on tablet/mobile */
  .about-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-hero-text .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  /* FIX: center stats row now that hero text is centered */
  .about-stats {
    justify-content: center;
  }

  /* FIX: space between text block and orbital viz when stacked */
  .about-hero-viz {
    margin-top: 30px;
  }

  .solar-system {
    width: 340px;
    height: 340px;
  }
  .solar-ring-1 {
    width: 200px;
    height: 200px;
  }
  .solar-ring-2 {
    width: 310px;
    height: 310px;
  }
  .solar-orbit-1 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
  }
  .solar-orbit-2 {
    width: 310px;
    height: 310px;
    margin: -155px 0 0 -155px;
  }
}

@media (max-width: 576px) {
  /* FIX: reduce hero padding on small phones */
  .about-hero-section {
    padding: 50px 0 40px;
  }

  /* FIX: hide divider lines — they misalign once stats wrap to new rows */
  .stat-item + .stat-item::before {
    display: none;
  }

  .solar-system {
    width: 280px;
    height: 280px;
  }
  .solar-ring-1 {
    width: 160px;
    height: 160px;
  }
  .solar-ring-2 {
    width: 252px;
    height: 252px;
  }
  .solar-orbit-1 {
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
  }
  .solar-orbit-2 {
    width: 252px;
    height: 252px;
    margin: -126px 0 0 -126px;
  }
}

/* ============================= */
/* VISION & MISSION               */
/* ============================= */

.vision-mission-section {
  background: #ffffff;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  margin-top: 30px;
}

.mission-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mission-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f19839, #f58220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.vision-title {
  padding-top: 60px;
}

@media (max-width: 992px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 576px) {
  /* FIX: 30px padding + 60px icon + 20px gap left only ~190px for
     text on a 375px phone — switch to stacked centered layout */
  .mission-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    gap: 14px;
  }

  .vision-title {
    padding-top: 30px; /* FIX: was 60px — too much on mobile */
  }
}

/* ============================= */
/* GROWTH STORY                  */
/* ============================= */

.growth-story-section {
  background: #f8fafc;
}

.growth-text {
  font-size: 1.2rem;
  color: #374151;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 576px) {
  .growth-text {
    font-size: 1.02rem;
  }
}

/* ============================= */
/* WHY CHOOSE                    */
/* ============================= */

.why-choose-section {
  background: #f8fafc;
}

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

.why-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  transition: 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.why-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f19839, #f58220);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: #fff;
}

.why-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0f1c3f;
  font-weight: 700;
}

.why-card p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.8;
}

/* ============================= */
/* CTA                           */
/* ============================= */

.about-cta {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  text-align: center;
  color: #ffffff;
  margin-bottom: 0 !important;
}

.about-cta h2,
.about-cta h3,
.about-cta h4 {
  color: #ffffff;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.about-cta .btn-primary {
  background: linear-gradient(135deg, #f19839, #f58220);
  border: none;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.3s ease;
}

.about-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(241, 152, 57, 0.35);
  color: #ffffff;
}
.about-cta .btn-primary:focus {
  outline: 2px solid #f19839;
  outline-offset: 3px;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 80px 0;
  }

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

  .about-stats {
    gap: 40px;
  }

  .about-cta {
    padding: 80px 0 60px; /* FIX: 120px too tall on mobile CTA */
  }
}
