/* ===========================
   About Page — Wide + Animated
   Scope: .about-hero, .about-intro, .about-content
   =========================== */

/* Fallback brand vars */
:root{
  --brand:#0ea5e9;        /* primary blue */
  --brand-2:#22d3ee;      /* cyan accent */
  --ink:#0f172a;          /* text */
  --muted:#64748b;        /* subtle text */
  --line:#e5e7eb;         /* borders */
}

/* -------- HERO (full-bleed image only) -------- */
.about-hero{
  position: relative;
  min-height: 80vh;                 /* height of the picture area */
  background: url('../assets/4C0A0137.jpg')
              center 20% / cover no-repeat;  /* tweak 0–40% to reframe vertically */
}

.about-hero__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
  /* overlay only for readability of possible future content near the edge */
}

/* If you ever want the entire portrait visible on mobile, uncomment:
@media (max-width: 768px){
  .about-hero{
    background-size: contain;
    background-position: center top;
    background-color: #000; /* fills left/right gaps */
  


/* -------- About Intro Section -------- */
.about-intro {
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
}

.about-intro h1 {
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-intro .lead {
  max-width: 65ch;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
}

/* two-column layout */
.about-intro .cols {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .about-intro .cols {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

/* Each column styled as a card */
.about-intro .cols > div {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  padding: 1.75rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .25s ease;
}
.about-intro .cols > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
/* Mission Section */
.mission-section {
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
  background: linear-gradient(180deg, #f9fafb 0%, #f1f5f9 100%);
  border-radius: 16px;
  margin: 2rem auto;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.mission-section h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.mission-section h2 span {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Accent underline */
.mission-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
/* Mission block (from earlier suggestion) */
.mission-section {
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
  background: linear-gradient(180deg, #f9fafb 0%, #f1f5f9 100%);
  border-radius: 16px;
  margin: 2rem auto;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.mission-section h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
.mission-section h2 span {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mission-section h2::after {
  content: "";
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  width: 60px; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.mission-section p {
  max-width: 70ch;
  margin: 1.5rem auto 0;
  font-size: 1.1rem; line-height: 1.75; color: var(--muted);
}

/* Values block */
.values-section {
  padding: clamp(40px, 6vw, 72px) 0;
}
.values-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
  margin: 0 auto 1.5rem;
  font-weight: 800;
}
.values-section h2 .accent {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.values-grid {
  list-style: none; padding: 0; margin: 0 auto;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  max-width: 1100px;
}
@media (min-width: 900px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .22s ease;
  text-align: left;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
/* ===== Animation tokens ===== */
:root {
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-in: cubic-bezier(.5,0,.75,0);
  --dur: .7s;
}

/* Base reveal state */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  transition-delay: var(--d, 0s); /* optional per-element delay */
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Variants */
.reveal[data-anim="fade-up"]    { transform: translateY(18px); }
.reveal[data-anim="pop"]        { transform: translateY(10px) scale(.97); }
.reveal[data-anim="pop"].in-view{ transform: none; }

/* Underline grow for section titles */
.reveal[data-anim="underline"] {
  position: relative;
}
.reveal[data-anim="underline"]::after {
  content:"";
  position:absolute; left:50%; bottom:-10px; transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 72px; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: transform .6s var(--ease-out) var(--d, .0s);
}
.reveal[data-anim="underline"].in-view::after {
  transform: translateX(-50%) scaleX(1);
}

/* Stagger container (optional extra) */
.stagger.in-view > .reveal { /* already handled via inline --d */
  /* no-op, delays come from inline --d */
}

/* Card micro-interaction */
.value-card {
  will-change: transform, box-shadow;
  transition: transform .18s var(--ease-out), box-shadow .22s var(--ease-out);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.value-card:hover .value-icon { transform: scale(1.06); }
.value-icon {
  transition: transform .2s var(--ease-out);
}

/* Mission block subtle lift on hover (desktop) */
@media (hover:hover) and (pointer:fine) {
  .mission-section {
    transition: transform .25s var(--ease-out), box-shadow .3s var(--ease-out);
  }
  .mission-section:hover { transform: translateY(-2px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in-view,
  .value-card,
  .mission-section { transition: none !important; transform: none !important; opacity: 1 !important; }
}

.value-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: rgba(14,165,233,.12);
  margin-bottom: .6rem;
}
.value-card h3 {
  margin: .2rem 0 .4rem; font-size: 1.1rem; font-weight: 700; color: #0f172a;
}
.value-card p {
  margin: 0; color: #475569; line-height: 1.65; font-size: .98rem;
}

.mission-section p {
  max-width: 70ch;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
}

.about-intro p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

.about-intro strong {
  color: var(--brand);
  font-weight: 700;
}

.about-content.container{ width: min(1200px, 94%); }

.about-content h2{
  position: relative;
  margin: 22px 0 10px;
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2rem);
}
.about-content h2::after{
  content:"";
  position:absolute; left:0; bottom:-8px;
  width:64px; height:4px; border-radius:3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.about-content p{
  color: var(--muted);
  max-width: 75ch;
  margin: 12px 0 24px;
  font-size: clamp(1rem, .95rem + .3vw, 1.05rem);
}

.about-content ul{
  list-style: none; padding: 0; margin: 12px 0 0;
  display: grid; gap: clamp(12px, 2vw, 18px);
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.about-content li{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 12px 30px rgba(2,8,23,.06);
  display: flex; align-items: flex-start; gap: 10px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.about-content li:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(2,8,23,.08);
}
.about-content li::before{
  content:"";
  width: 8px; height: 8px; margin-top: 9px;
  border-radius: 999px; flex: 0 0 8px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

/* responsive breakpoints for the values list */
@media (max-width: 992px){
  .about-content ul{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .about-content ul{ grid-template-columns: 1fr; }
}

/* -------- Reveal Animations (optional) -------- */
.reveal{ opacity: 0; transform: translateY(12px) scale(.98); }
.reveal.is-visible{
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal.is-visible{ opacity:1 !important; transform:none !important; transition:none !important; }
}
