/* ===========================
   ABOUT PAGE ONLY
=========================== */

.about-page section {
  padding: 80px 0;
}

/* HERO */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(31, 78, 146, 0.08), rgba(241, 126, 1, 0.08)),
    url("../images/about_hero.jpg") center / cover no-repeat;
}

.about-eyebrow {
  display: inline-block;
  /* margin-top: 18px; */
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}

.about-hero h1 {
  font-size: 42px;
  margin-bottom: 14px;
  color: var(--text-color);
}

.about-hero p {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* INTRO */
.about-intro {
  max-width: 900px;
  text-align: center;
  font-size: 17px;
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

/* VALUES */
.about-values {
  background: linear-gradient(180deg, #ffffff, #eef3fa);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: #fff;
  padding: 34px;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  max-width: 900px;
  margin: 0 auto;
}

/* STATS */
.about-stats {
  background: linear-gradient(135deg, var(--primary-color), #163a70);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stats-grid h3 {
  font-size: 36px;
  margin-bottom: 6px;
}

/* CTA */
.about-cta {
  background: linear-gradient(135deg, var(--primary-color), #163a70);
  color: #fff;
  text-align: center;
}

.about-cta h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.about-cta p {
  margin-bottom: 20px;
  color: #e6e6e6;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .about-grid,
  .values-grid,
  .stats-grid,
  .why-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .about-hero h1 {
    font-size: 28px;
  }
}

/* =========================
   ABOUT IMAGE STYLING
========================= */

.about-page .about-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  max-width: 520px;
}

.about-page .about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(31, 78, 146, 0.15),
      rgba(241, 126, 1, 0.15));
  z-index: 1;
}

.about-page .about-image::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  border: 2px solid rgba(31, 78, 146, 0.25);
  z-index: 0;
}

.about-page .about-image img {
  width: 100%;
  height: 340px;
  /* 🔒 fixed height */
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 50px rgba(7, 19, 52, 0.18);
  transition: transform 0.4s ease;
}

.about-page .about-image:hover img {
  transform: scale(1.03);
}

/* Mobile fix */
@media (max-width: 600px) {
  .about-page .about-image {
    margin: 0 auto;
  }

  .about-page .about-image img {
    height: 240px;
  }
}