/* =========================================================
   ABOUT PAGE — Charismight
   Path: assets/css/pages/about.css
   ========================================================= */

/* ============ HERO ============ */
/* ======== HERO ======== */
.about-hero {
    position: relative;
    padding: 160px 20px 120px;
    text-align: center;
    color: #fff;

    background:
        linear-gradient(
            rgba(7, 45, 74, 0.88),
            rgba(56, 182, 255, 0.75)
        ),
        url("C:\\Users\\Charismight\\Downloads\\charismight-website\\charismight-website\\assets\\images\\site\\photo-1518623489648-a173ef7824f3.jpg")
        center / cover no-repeat;

    overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: #f4f9ff;
  clip-path: ellipse(70% 100% at 50% 100%);
}

.about-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.about-hero p {
  font-size: 1.15rem;
  max-width: 780px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* ============ WHO WE ARE (INTRO) ============ */
.about-intro {
  padding-top: 40px;
}

/* ============ JOURNEY / TIMELINE ============ */
.journey {
  padding: 90px 8% 60px;
  background: #f4fbff;
  text-align: center;
}

.journey h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #002b45;
  margin-bottom: 55px;
  letter-spacing: -0.5px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
}

.journey-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0, 50, 80, 0.08);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s;
  border: 1px solid rgba(0, 150, 200, 0.12);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.journey-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #006994, #00b4e6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}

.journey-card:hover::after {
  transform: scaleX(1);
}

.journey-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 65px rgba(0, 110, 160, 0.18);
  border-color: #00b4e6;
}

.journey-card .year {
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #003f5c, #0077a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.journey-card p {
  color: #345;
  line-height: 1.8;
  font-size: 1.02rem;
  margin: 0;
}

/* ============ ECOSYSTEM / VERTICALS ============ */
.ecosystem {
  padding: 90px 8%;
  background: #021a2b;
  background-image: radial-gradient(circle at 30% 40%, #003451 0%, #01121f 90%);
  text-align: center;
}

.ecosystem h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.ecosystem-subtitle {
  color: #8ecae6;
  font-size: 1.15rem;
  margin-bottom: 60px;
  opacity: 0.9;
}

.eco-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  max-width: 1450px;
  margin: 0 auto;
}

.eco-card {
  padding: 35px 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  transition: all .45s cubic-bezier(.34, 1.56, .64, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(35px);
}

.eco-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.eco-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 210, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity .5s;
}

.eco-card:hover::before {
  opacity: 1;
}

.eco-card:hover {
  transform: translateY(-12px);
  background: rgba(0, 180, 230, 0.12);
  box-shadow: 0 30px 60px rgba(0, 180, 230, 0.28);
  border-color: rgba(0, 212, 255, 0.5);
}

.eco-card h3 {
  color: #00dcff;
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.eco-card p {
  color: #cfe6ff;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 2;
}

.eco-card a {
  color: #00dcff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.eco-card a:hover {
  color: #fff;
}

/* ============ CERTIFICATION + POLICIES ============ */
.about-outro {
  background: #f4f9ff;
}

.cert-box {
  background: #fff;
  border-left: 6px solid #0077a8;
  border-radius: 16px;
  padding: 30px 35px;
  box-shadow: 0 15px 40px rgba(0, 50, 80, 0.06);
  margin: 30px 0 50px;
}

.cert-box p {
  margin-bottom: 12px;
}

.cert-box p:last-child {
  margin-bottom: 0;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 25px 0 50px;
}

.policy-list li {
  background: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  border: 1px solid rgba(0, 120, 160, 0.12);
  box-shadow: 0 8px 22px rgba(0, 50, 80, 0.05);
  transition: .3s ease;
}

.policy-list li:hover {
  transform: translateY(-4px);
  border-color: #00b4e6;
  box-shadow: 0 14px 30px rgba(0, 110, 160, 0.12);
}

.policy-list a {
  color: #003f5c;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-list a i {
  color: #00b4e6;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .journey h2,
  .ecosystem h2 {
    font-size: 2rem;
  }

  .about-hero {
    padding: 130px 20px 100px;
  }

  .about-hero::after {
    height: 50px;
  }

  .journey,
  .ecosystem {
    padding-left: 5%;
    padding-right: 5%;
  }

  .cert-box {
    padding: 22px 24px;
  }
}