/* =========================================================
   DESIGN TOKENS (REFINED)
========================================================= */
:root {
  --primary: #ffc5c7;
  --primary-soft: #fff1f2;
  --primary-border: rgba(255, 182, 187, 0.55);

  --bg-page: radial-gradient(
    circle at top left,
    #fff1f2,
    #fff8f9 60%
  );

  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-soft: #6b7280;
  --heading: #0f172a;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 182, 187, 0.45);

  --shadow-glass:
    0 24px 60px rgba(31, 41, 55, 0.12),
    0 10px 24px rgba(31, 41, 55, 0.08);

  --radius: 22px;
}

/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   BASE
========================================================= */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.7;
}

/* =========================================================
   PAGE WRAPPER
========================================================= */
.about-page {
  max-width: 1280px;
  padding: 160px 96px 200px;
  margin: auto;
}

/* =========================================================
   HERO (MORE AIR + BETTER TYPOGRAPHY)
========================================================= */
.about-hero {
  max-width: 760px;
  margin-bottom: 140px;
  padding: 20px 40px;
}

.about-hero h1 {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--heading);
  margin-bottom: 22px;
}

.about-hero p {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 640px;
}

/* =========================================================
   GLASS BASE (CLEAN + READABLE)
========================================================= */
.glass-surface,
.glass-card {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.9),
      rgba(255,255,255,0.72)
    );

  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
}

/* =========================================================
   GRID
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

/* =========================================================
   CARD (REFINED SPACING + TYPE)
========================================================= */
.about-card {
  padding: 42px 40px 46px;
  position: relative;

  transition:
    transform 0.45s cubic-bezier(.22,1,.36,1),
    box-shadow 0.45s cubic-bezier(.22,1,.36,1);
}

/* ICON */
.about-card i {
  font-size: 24px;
  color: #cf333e;
  margin-bottom: 22px;
}

/* TITLE */
.about-card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--heading);
}

/* BODY */
.about-card p {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 95%;
}

/* WIDE CARD */
.about-card.wide {
  grid-column: span 3;
}

/* =========================================================
   HOVER (SUBTLE, NOT JUMPY)
========================================================= */
.about-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 36px 90px rgba(31,41,55,0.16),
    0 14px 36px rgba(31,41,55,0.12);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .about-page {
    padding: 130px 48px 160px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  /* .wide-2{
    grid-column: span 2;
  } */

  .about-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .about-page {
    padding: 110px 22px 140px;
  }

  .about-hero {
    margin-bottom: 90px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card.wide {
    grid-column: span 1;
  }

  .about-card {
    padding: 34px 30px 38px;
  }
}
/* =========================================================
   JOURNEY MAP / TIMELINE
========================================================= */
.journey-map {
  margin-top: 160px;
}

.journey-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--heading);
  margin-bottom: 90px;
  text-align: center;
  position: relative;
}
.journey-title::before{
  position: absolute;
  content: '';
  height: 3px;
  width: 245px;
  background-color: red;
  /* left: 0; */
  bottom: 0;
}

/* CENTRAL LINE */
.timeline {
  position: relative;
  max-width: 900px;
}

/* .timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(207,51,62,0.4),
    transparent
  );
  transform: translateX(-50%);
} */

/* ITEMS */
.timeline-item {
  width: 45%;
  margin-bottom: 90px;
  position: relative;
  padding: 20px;
   transition:
    transform 0.45s cubic-bezier(.22,1,.36,1),
    box-shadow 0.45s cubic-bezier(.22,1,.36,1);
}
.timeline-item:hover{
  transform: translateY(-8px);
  box-shadow:
    0 36px 90px rgba(31,41,55,0.16),
    0 14px 36px rgba(31,41,55,0.12);
}


.timeline-item.left {
  margin-right: auto;
}

.timeline-item.right {
  margin-left: auto;
}

/* YEAR BADGE */
.timeline-item .year {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #cf333e;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* TEXT */
.timeline-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 16px;
  color: var(--text-soft);
}

/* FUTURE CARD */
.timeline-item.future {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.92),
    rgba(255,255,255,0.8)
  );
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
  .timeline::before {
    left: 0;
  }

  .timeline-item {
    width: 100%;
    padding-left: 30px;
  }

  .timeline-item.left,
  .timeline-item.right {
    margin: 0 0 70px 0;
  }
}
/* =========================================================
   CURVY JOURNEY ROAD
========================================================= */
.journey-path {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 120px;
  pointer-events: none;
}

.journey-path path {
  fill: none;
  stroke: rgba(207, 51, 62, 0.35);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
}

/* =========================================================
   VISION SECTION (CENTERED + WIDER)
========================================================= */
.about-vision {
  max-width: 980px; /* wider section */
  margin: 0 auto 140px;
  padding: 10px 6px;
  text-align: center;
  margin-top: 2rem;
}

.about-vision h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 26px;
  position: relative;
}

.about-vision h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #cf333e;
  margin: 16px auto 0; /* centers underline */
  border-radius: 2px;
}

.about-vision p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 900px; /* wider paragraph */
  margin: 0 auto;
  text-align: left;
  font-style: italic;
  /* text-decoration: ; */
}

@media (max-width: 600px) {
  .about-vision {
    margin-bottom: 100px;
  }

  .about-vision p {
    font-size: 16.5px;
    line-height: 1.75;
  }
}
