/* =============================================================
   about.css — AT-EASE About Us Page
   Page-specific styles ONLY.
   Shared styles (navbar, footer, buttons, resets, CSS vars)
   live in css/styles.css — don't duplicate them here.

   TABLE OF CONTENTS
   1.  Page-level tokens
   2.  About Hero
   3.  About Intro (Our Team)
   4.  Vision / Mission tabs
   5.  Core Values grid
   6.  Value Card
   7.  CTA Banner
   8.  Responsive (≤1100px, ≤860px, ≤480px)
============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. Page-level tokens
   These extend (or reference) the tokens already in styles.css.
───────────────────────────────────────────────────────────── */
:root {
  --about-padding-x: 80px;
  --about-padding-y: 96px;
  --about-max-width: 1200px;

  /* Section-specific background accents */
  --about-bg-main:   radial-gradient(ellipse 120% 60% at 20% 20%, #1A0505 0%, #0A0505 50%);
  --about-bg-values: rgba(0, 0, 0, 0.30);
}


/* ─────────────────────────────────────────────────────────────
   2. About Hero
   Full-width banner with massive headline overlaid on image/GIF.
───────────────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  width: 100%;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px; /* offset fixed navbar */
  background: #0d0404;
}

/* Background image / GIF — swap src in HTML to change it */
.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark gradient overlay so headline stays readable */
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.70) 100%
  );
  z-index: 1;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 32px;
  text-align: center;
}

.about-hero__title {
  font-size: 110px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  /* Subtle red glow behind letters */
  text-shadow: 0 0 40px rgba(236, 19, 19, 0.20);
}

/* .text-red is declared in styles.css; listed here for reference:
   .text-red { color: #EC1313; } */


/* ─────────────────────────────────────────────────────────────
   3. About Intro — "Our Team"
   Two-column layout: image card left, company blurb right.
───────────────────────────────────────────────────────────── */
.about-intro {
  width: 100%;
  background: var(--about-bg-main);
  padding: var(--about-padding-y) var(--about-padding-x);
}

.about-intro__inner {
  max-width: var(--about-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}

/* ── Image column ── */
.about-intro__media {
  flex-shrink: 0;
  width: 500px;
  position: relative;
}

.about-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  /* Red glow border effect */
  box-shadow:
    0 0 0 1px rgba(236, 19, 19, 0.50),
    0 0 15px rgba(236, 19, 19, 0.20),
    0 24px 48px rgba(0, 0, 0, 0.60);
}

/* Decorative red radial glow positioned bottom-right of image */
.about-intro__media::after {
  content: '';
  position: absolute;
  width: 256px;
  height: 256px;
  bottom: -80px;
  right: -80px;
  background: rgba(236, 19, 19, 0.20);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

/* ── Text column ── */
.about-intro__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-intro__title {
  font-size: 65px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 0;
  text-shadow: 0 4px 4px rgba(236, 19, 19, 0.25);
}

.about-intro__desc {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  color: #CBD5E1;
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   4. Vision / Mission tabs
   A pill-style tab switcher above a quote card.
───────────────────────────────────────────────────────────── */
.about-vision {
  width: 100%;
  background: #180505;
  padding: var(--about-padding-y) var(--about-padding-x);
  display: flex;
  justify-content: center;
}

.about-vision__inner {
  max-width: 893px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Tab switcher pill */
.about-vision__tabs {
  display: inline-flex;
  gap: 0;
  background: rgba(30, 41, 59, 0.50);
  border: 1px solid rgba(236, 19, 19, 0.10);
  border-radius: 8px;
  padding: 4px;
}

.about-vision__tab {
  padding: 10px 32px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #94A3B8;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-vision__tab--active,
.about-vision__tab:hover {
  background: #EC1313;
  color: #fff;
  box-shadow:
    0 4px 6px -4px rgba(236, 19, 19, 0.20),
    0 10px 15px -3px rgba(236, 19, 19, 0.20);
}

/* Quote content card */
.about-vision__panel {
  width: 100%;
  position: relative;
  background: rgba(15, 23, 42, 0.40);
  border: 1px solid rgba(236, 19, 19, 0.05);
  border-radius: 12px;
  padding: 48px 40px;
  overflow: hidden;
}

/* Red left border accent */
.about-vision__panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #EC1313;
}

.about-vision__panel p {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.65;
  color: #F1F5F9;
  text-align: center;
  margin: 0;
}

/* Hidden panels — JS toggles the `hidden` attribute */
.about-vision__panel[hidden] {
  display: none;
}


/* ─────────────────────────────────────────────────────────────
   5. Core Values grid
   6 cards in a 3-column grid (2 rows).
───────────────────────────────────────────────────────────── */
.about-values {
  width: 100%;
  background: var(--about-bg-values);
  padding: var(--about-padding-y) var(--about-padding-x);
}

.about-values__inner {
  max-width: var(--about-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-values__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* "FOUNDATIONS" eyebrow label */
.about-values__eyebrow {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #EC1313;
  margin: 0;
}

.about-values__title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 0;
}

/* 3-column grid — becomes 2-col then 1-col on smaller screens */
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


/* ─────────────────────────────────────────────────────────────
   6. Value Card
───────────────────────────────────────────────────────────── */
.value-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(236, 19, 19, 0.30);
  border-radius: 40px;
  padding: 48px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.80);

  /* Column layout: header row on top, description below */
  display: flex;
  flex-direction: column;
  gap: 20px;

  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.value-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.value-card:nth-child(1) { transition-delay: 0.00s; }
.value-card:nth-child(2) { transition-delay: 0.08s; }
.value-card:nth-child(3) { transition-delay: 0.16s; }
.value-card:nth-child(4) { transition-delay: 0.24s; }
.value-card:nth-child(5) { transition-delay: 0.32s; }
.value-card:nth-child(6) { transition-delay: 0.40s; }

.value-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.80),
    0 0 30px rgba(236, 19, 19, 0.12);
  border-color: rgba(236, 19, 19, 0.50);
}

.value-card::after {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 96px;
  height: 96px;
  background: rgba(236, 19, 19, 0.10);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

/* ── Icon + Title row ── */
.value-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Icon container */
.value-card__icon-wrap {
  width: 64px;
  height: 64px;
  min-width: 64px;          /* prevents it from shrinking */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(236, 19, 19, 0.40);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(236, 19, 19, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon-wrap img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.value-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;               /* removed bottom margin — gap handles spacing now */
}

.value-card__desc {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   7. CTA Banner — "Enter the New Era"
───────────────────────────────────────────────────────────── */
.about-cta {
  width: 100%;
  padding: var(--about-padding-y) var(--about-padding-x);
  display: flex;
  justify-content: center;
}

.about-cta__inner {
  max-width: 1162px;
  width: 100%;
  position: relative;
  background: #0A0505;
  border-radius: 62px;
  padding: 64px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  text-align: center;
}

/* Subtle red tint overlay */
.about-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(236, 19, 19, 0.05);
  pointer-events: none;
}

.about-cta__title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 0;
  position: relative; /* above the ::before overlay */
  z-index: 1;
}

.about-cta__subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  color: #94A3B8;
  max-width: 640px;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* CTA button — add .btn--cta to styles.css if not already there */
.btn--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  background: #EC1313;
  border-radius: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(236, 19, 19, 0.40);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.btn--cta:hover {
  background: #c90f0f;
  box-shadow: 0 0 60px rgba(236, 19, 19, 0.60);
  transform: translateY(-2px);
}


/* ─────────────────────────────────────────────────────────────
   8. Responsive
───────────────────────────────────────────────────────────── */

/* Tablet — 1100 px and below */
@media (max-width: 1100px) {
  :root {
    --about-padding-x: 48px;
  }

  .about-hero__title {
    font-size: 72px;
  }

  .about-intro__media {
    width: 380px;
  }

  .about-intro__title {
    font-size: 48px;
  }

  .about-cta__inner {
    padding: 56px 64px;
  }

  .about-cta__title {
    font-size: 56px;
  }
}

/* Mobile — 860 px and below */
@media (max-width: 860px) {
  :root {
    --about-padding-x: 24px;
    --about-padding-y: 64px;
  }

  /* Hero */
  .about-hero {
    height: auto;
    min-height: 480px;
    padding: 100px 24px 60px;
  }

  .about-hero__title {
    font-size: 48px;
  }

  /* Intro — stack vertically */
  .about-intro__inner {
    flex-direction: column;
    gap: 40px;
  }

  .about-intro__media {
    width: 100%;
  }

  /* Values — 2 columns */
  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-values__title {
    font-size: 44px;
  }

  /* CTA */
  .about-cta__inner {
    padding: 48px 32px;
    border-radius: 32px;
  }

  .about-cta__title {
    font-size: 42px;
  }

  .about-cta__subtitle {
    font-size: 18px;
  }
}

/* Small phones — 480 px and below */
@media (max-width: 480px) {
  .about-hero__title {
    font-size: 36px;
  }

  .about-intro__title {
    font-size: 36px;
  }

  .about-intro__desc {
    font-size: 16px;
  }

  /* Values — 1 column */
  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-values__title {
    font-size: 36px;
  }

  .value-card {
    padding: 32px;
  }

  .about-vision__panel p {
    font-size: 20px;
  }

  .about-cta__title {
    font-size: 32px;
  }

  :root {
    --about-padding-x: 16px;
  }
}
