/* ========================================
   ABOUT PAGE - Final Clean Version
   ======================================== */

:root {
  --about-hero-h: 640px;
  --brand-red: #d3142a;
  --brand-red-dark: #b40f22;
  --brand-green: #0a7c48;
  --border: #e0e0e0;
}

.section-pad {
  padding: 100px 0;
}

.section-alt {
  background: #fafafa;
  padding: 100px 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================
   BUTTONS - White text on red
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  border: 1px solid var(--brand-red);
}

.btn-primary:hover {
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
}

.btn-outline {
  background: #fff;
  color: #121212;
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

/* ========================================
   HERO - NO GRADIENT, just dark + floating boxes
   ======================================== */

.about-hero {
  position: relative;
  min-height: var(--about-hero-h);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.about-hero__inner h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.about-hero__inner p {
  margin: 0;
  font-size: 20px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 0 auto;
}

/* KEEP Floating Boxes Animation */
.hero-boxes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-boxes span {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  opacity: 0.5;
  animation: floatBox linear infinite;
}

.hero-boxes span:nth-child(1) {
  left: 8%;
  bottom: -20px;
  animation-duration: 12s;
  transform: rotate(12deg);
}

.hero-boxes span:nth-child(2) {
  left: 22%;
  bottom: -30px;
  animation-duration: 14s;
  width: 20px;
  height: 20px;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-boxes span:nth-child(3) {
  left: 38%;
  bottom: -24px;
  animation-duration: 16s;
  width: 12px;
  height: 12px;
}

.hero-boxes span:nth-child(4) {
  left: 54%;
  bottom: -26px;
  animation-duration: 18s;
  width: 18px;
  height: 18px;
}

.hero-boxes span:nth-child(5) {
  left: 66%;
  bottom: -30px;
  animation-duration: 20s;
}

.hero-boxes span:nth-child(6) {
  left: 74%;
  bottom: -20px;
  animation-duration: 17s;
  width: 14px;
  height: 14px;
}

.hero-boxes span:nth-child(7) {
  left: 86%;
  bottom: -28px;
  animation-duration: 19s;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-boxes span:nth-child(8) {
  left: 12%;
  bottom: -26px;
  animation-duration: 15s;
  width: 22px;
  height: 22px;
}

@keyframes floatBox {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 0.15;
  }
  15% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-120vh) rotate(180deg);
    opacity: 0;
  }
}

/* ========================================
   AT A GLANCE
   ======================================== */

.glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0 16px;
}

.chip {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.chip:hover {
  border-color: var(--brand-green);
}

.chip__num {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.chip__label {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

/* ========================================
   CHARTER GRID
   ======================================== */

.charter__image .media,
.charter__image img,
.charter__image video {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.5s ease;
}

.charter__image:hover .media,
.charter__image:hover img,
.charter__image:hover video {
  transform: scale(1.02);
}

.charter__grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.charter__image {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.charter__text h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 20px;
  font-weight: 800;
  color: #000;
}

.charter__text p {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 16px;
}

/* ========================================
   RAIL TIMELINE
   ======================================== */

.rail {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.rail::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--brand-red);
}

[dir="rtl"] .rail::before {
  left: auto;
  right: 10px;
}

.rail li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.rail__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(211, 20, 42, 0.3);
  background: #fff;
  position: relative;
  transition: all 0.3s ease;
}

.rail__dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--brand-red);
  transition: all 0.3s ease;
}

.rail li:hover .rail__dot {
  border-color: var(--brand-green);
}

.rail li:hover .rail__dot::after {
  background: var(--brand-green);
}

.rail__content h3 {
  margin: 0 0 8px;
  color: var(--brand-red);
  font-size: 20px;
  font-weight: 700;
}

.rail__content p {
  margin: 0;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

/* ========================================
   MILESTONES
   ======================================== */

.reasons-milestones {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reasons-milestones__head {
  margin-bottom: 32px;
  border-left: 5px solid var(--brand-red);
  padding-left: 20px;
}

[dir="rtl"] .reasons-milestones__head {
  border-left: none;
  padding-left: 0;
  border-right: 5px solid var(--brand-red);
  padding-right: 20px;
}

.reasons-milestones__head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #000;
  letter-spacing: -0.01em;
}

.reasons-milestones__head .tagline {
  margin: 8px 0 0;
  font-weight: 500;
  color: #555;
  padding-left: 0;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.7;
}

.milestones {
  display: block;
}

.milestone {
  background: transparent;
  border: none;
  padding: 24px 0;
  margin: 0;
  display: block;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.milestone:first-child {
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.milestone:hover {
  background: rgba(211, 20, 42, 0.02);
  padding-left: 16px;
  padding-right: 16px;
}

.milestone__year {
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background: var(--brand-red);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  margin-bottom: 12px;
}

.milestone__row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
}

.milestone__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.milestone:hover .milestone__thumb {
  border-color: var(--brand-green);
}

.milestone h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #000;
  font-weight: 700;
}

.milestone p {
  margin: 0;
  color: #666;
  line-height: 1.8;
  font-size: 15px;
}

/* ========================================
   RTA RIBBON
   ======================================== */

.rta-ribbon {
  background: #fff;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.rta-ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-red);
}

.ribbon__inner {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.ribbon__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand-red);
  transition: all 0.3s ease;
}

.ribbon__inner:hover .ribbon__icon {
  background: var(--brand-red-dark);
}

.ribbon__text h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #000;
}

.ribbon__text p {
  margin: 0 0 16px;
  color: #444;
  line-height: 1.8;
  font-size: 16px;
}

.checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #333;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-left: 8px;
}

.checklist span {
  color: var(--brand-green);
  font-weight: 800;
  font-size: 18px;
}

/* ========================================
   MISSION & VISION
   ======================================== */

.mv__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mv-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.mv-card:hover {
  border-color: var(--brand-green);
}

.mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 2px solid var(--border);
  background: #fafafa;
  transition: all 0.3s ease;
}

.mv-card:hover .mv-icon {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.mv-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--brand-red);
  transition: fill 0.3s ease;
}

.mv-card:hover .mv-icon svg {
  fill: #fff;
}

.mv-card h3 {
  margin: 8px 0 12px;
  font-weight: 700;
  color: var(--brand-red);
  font-size: 22px;
}

.mv-card p {
  margin: 0;
  color: #444;
  line-height: 1.8;
  font-size: 15px;
}

/* ========================================
   VALUES
   ======================================== */

.values-switch {
  width: 100%;
  display: block;
  background: #fafafa; 
}

.values-switch .container {
  position: relative;
  z-index: 2;
}
.values-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.values-switch > * {
  position: relative;
  z-index: 1;
}

.values__shell {
  border: none;
  background: transparent;
  padding-top: 24px;
}

.values__tabs {
  display: none !important;
}

.values__panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 0;
}

.vpanel {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.vpanel:hover {
  border-color: var(--brand-green);
}

.vpanel h3 {
  margin: 20px 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #000;
}

.vpanel p {
  margin: 0;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

/* ========================================
   CALL TO ACTION - NO RED LINE
   ======================================== */

.cta {
  padding: 60px 0 100px;
}

.cta__card.cta--split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}


.cta__copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #000;
}

.cta__copy p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1100px) {
  :root {
    --about-hero-h: 480px;
  }
  
  .glance {
    grid-template-columns: 1fr 1fr;
  }
  
  .charter__grid.two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .charter__image {
    order: -1;
  }
  
  .values__panels {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mv__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --about-hero-h: 360px;
  }
  
  .section-pad,
  .section-alt {
    padding: 60px 0;
  }
  
  .glance {
    grid-template-columns: 1fr;
  }
  
  .values__panels {
    grid-template-columns: 1fr;
  }
  
  .vpanel {
    text-align: center;
  }
  
  .ribbon__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .ribbon__icon {
    margin: 0 auto 20px;
  }
  
  .cta__card.cta--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta__actions {
    justify-content: center;
  }
  
  .milestone__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .milestone__thumb {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-boxes span {
    animation: none !important;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  margin-top: 10px;
  color: var(--brand);
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media(max-width: 900px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .grid4 {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   UNIVERSAL MOBILE FIXES — MATCH ALL OTHER PAGES (Installments / VIP)
   ============================================================ */

/* ---------- Under 1100px ---------- */
@media (max-width: 1100px) {
  .container,
  .section-pad,
  .section-alt {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .about-hero__inner {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* ---------- Under 800px ---------- */
@media (max-width: 800px) {
  .about-hero__inner {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .about-hero__inner h1 {
    font-size: 40px !important;
    line-height: 1.15;
  }

  .about-hero__inner p {
    font-size: 17px !important;
  }
}

/* ---------- Under 700px ---------- */
@media (max-width: 700px) {

  /* Soft side padding */
  .container,
  .section-pad,
  .section-alt {
    padding-left: 26px !important;
    padding-right: 26px !important;
  }

  /* Stacked charter section */
  .charter__grid.two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .charter__image {
    order: -1 !important;
  }

  /* Glance cards */
  .glance {
    grid-template-columns: 1fr !important;
  }

  /* Milestones */
  .milestone__row {
    grid-template-columns: 1fr !important;
  }

  .milestone__thumb {
    margin: 0 auto !important;
  }

  /* RTA ribbon */
  .ribbon__inner {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .ribbon__icon {
    margin: 0 auto 16px !important;
  }

  /* Values grid */
  .values__panels {
    grid-template-columns: 1fr !important;
  }

  /* CTA */
  .cta__card.cta--split {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 26px !important;
    gap: 20px !important;
  }

  .cta__actions {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100%;
  }

  .cta__actions .btn {
    width: 100% !important;
    max-width: 300px !important;
  }
}

/* ---------- Under 600px ---------- */
@media (max-width: 600px) {

  .container,
  .section-pad,
  .section-alt {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .about-hero__inner {
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-top: 40px !important;
  }

  .about-hero__inner h1 {
    font-size: 32px !important;
  }

  .cta__actions .btn {
    max-width: 280px !important;
  }
}

/* ---------- Under 480px ---------- */
@media (max-width: 480px) {
  .about-hero__inner h1 {
    font-size: 28px !important;
  }

  .cta__actions .btn {
    max-width: 260px !important;
  }
}
