/* ════════════════════════════════════════════
   Aerofy About — widget styles
   All rules scoped to .about-section so nothing
   leaks onto the host theme (Blocksy) or others.
   ════════════════════════════════════════════ */
:root {
    --bg: #f4f7f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f4f6;
    --text: #1e2a33;
    --text-dim: #4a5d6a;
    --text-muted: #7a8d9a;
    --accent: #2ea8b8;
    --accent2: #1d8fa8;
    --accent-glow: rgba(46,168,184,0.18);
    --accent-subtle: rgba(46,168,184,0.07);
    --white: #ffffff;
    --heading: #0f1c24;
    --border: rgba(0,0,0,0.07);
    --border-hover: rgba(0,0,0,0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-display: 'Instrument Serif', Georgia, serif;
  }

/* scoped reset + base */
.about-section, .about-section *, .about-section *::before, .about-section *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
.about-section {
  width: 100%;
  font-family: var(--font-body); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.about-section img { display: block; max-width: 100%; }
.about-section a { color: inherit; text-decoration: none; }
.about-section em { font-style: italic; }
.about-section .about-wrap { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 32px; box-sizing: border-box; }
/* timeline's inner wrapper uses .about-wrap.section — keep vertical padding */
.about-section .about-wrap.section { padding: 120px 32px; }

/* Let the widget sit naturally in Elementor's container (no full-bleed
   breakout — that miscalculates inside boxed/padded containers and pushes
   content off to one side). The inner .about-wrap centers the content. */
.elementor-widget[class*="elementor-widget-aerofy-about-"] {
  width: 100%;
  margin-block-end: 0 !important;
}
.elementor-widget[class*="elementor-widget-aerofy-about-"] > .elementor-widget-container {
  width: 100%; padding: 0;
}



  /* shared section header pattern (matches homepage) */
  .about-section .section-tag {
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--accent); margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
  }
.about-section .section-tag.center { justify-content: center; }
.about-section .section-tag::before {
    content: ''; width: 28px; height: 3px;
    background: var(--accent); border-radius: 2px;
  }
.about-section .section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.12; color: var(--heading);
    margin-bottom: 16px;
  }
.about-section .section-title em { color: var(--accent); }
.about-section .section-sub {
    font-size: 18px; color: var(--text-dim);
    max-width: 560px; line-height: 1.75;
  }


  /* ── STORY ──────────────────────────────── */
  .about-section.section { padding: 120px 0; }

  /* first section sits at the top of the page now (no hero), give it room */
  .about-section.section.first { padding-top: 160px; }
.about-section .story-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 72px; align-items: center;
  }
.about-section .story-copy p { font-size: 17px; color: var(--text-dim); line-height: 1.85; margin-top: 18px; }
.about-section .story-copy p:first-of-type { margin-top: 28px; }
.about-section .story-copy strong { color: var(--heading); font-weight: 600; }
.about-section .story-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: linear-gradient(150deg, #14323b 0%, var(--accent2) 60%, var(--accent) 100%);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(20,50,59,0.28);
    display: flex; align-items: center; justify-content: center;
  }
.about-section .story-visual .ring { position: absolute; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; }
.about-section .story-visual .ring.r1 { width: 260px; height: 260px; }
.about-section .story-visual .ring.r2 { width: 400px; height: 400px; }
.about-section .story-visual .ring.r3 { width: 540px; height: 540px; }
.about-section .story-visual .pin {
    position: relative; z-index: 2; text-align: center; color: #fff;
  }
.about-section .story-visual .pin .flag { font-size: 56px; }
.about-section .story-visual .pin .place { font-family: var(--font-display); font-size: 34px; margin-top: 8px; }
.about-section .story-visual .pin .coords { font-size: 12px; letter-spacing: 2px; opacity: 0.7; margin-top: 6px; text-transform: uppercase; }


  /* ── VALUES ─────────────────────────────── */
  .about-section .values-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.about-section .values-head .section-sub { margin: 0 auto; }
.about-section .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-section .value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 34px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  }
.about-section .value-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.about-section .value-card .ico {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--accent-subtle);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 22px;
  }
.about-section .value-card h3 { font-size: 20px; color: var(--heading); font-weight: 600; margin-bottom: 10px; }
.about-section .value-card p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }


  /* ── VISION & MISSION ───────────────────── */
  .about-section.vm-wrap {
    background:
      linear-gradient(180deg, var(--bg) 0%, #eef3f6 100%);
    position: relative;
    padding: 120px 0;
  }

  /* subtle geometric texture echoing the reference layout */
  .about-section.vm-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(30deg, var(--border) 1px, transparent 1px),
      linear-gradient(-30deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.5; pointer-events: none;
  }
.about-section .vm-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.4fr 0.9fr;
    gap: 56px; align-items: start;
  }
.about-section .vm-block + .vm-block { margin-top: 44px; }
.about-section .vm-block h3 { font-size: 22px; color: var(--heading); font-weight: 600; margin-bottom: 14px; }
.about-section .vm-block p { font-size: 16px; color: var(--text-dim); line-height: 1.85; margin-top: 14px; }
.about-section .vm-block p:first-of-type { margin-top: 0; }
.about-section .vm-block strong { color: var(--heading); font-weight: 600; }
.about-section .vm-list { list-style: none; margin: 18px 0 0; }
.about-section .vm-list li {
    position: relative; padding-left: 26px; margin-top: 12px;
    font-size: 16px; color: var(--text-dim); line-height: 1.7;
  }
.about-section .vm-list li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  }
.about-section .vm-list li strong { color: var(--heading); }


  /* accent info card on the side (matches reference's colored card) */
  .about-section .vm-card {
    position: sticky; top: 40px;
    border-radius: var(--radius);
    padding: 48px 38px;
    background: linear-gradient(155deg, var(--accent2) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 30px 70px rgba(29,143,168,0.32);
    overflow: hidden;
  }
.about-section .vm-card::after {
    content: ''; position: absolute; right: -40px; top: -40px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
  }
.about-section .vm-card .vc-mark {
    width: 54px; height: 54px; border-radius: 14px;
    background: rgba(255,255,255,0.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 22px;
  }
.about-section .vm-card h4 { font-family: var(--font-display); font-size: 32px; line-height: 1.12; margin-bottom: 14px; position: relative; }
.about-section .vm-card p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.9); position: relative; }
.about-section .vm-card .vc-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 26px; background: #fff; color: var(--accent2);
    padding: 13px 26px; border-radius: 100px;
    font-weight: 600; font-size: 14px; position: relative;
    transition: transform 0.3s;
  }
.about-section .vm-card .vc-btn:hover { transform: translateY(-2px); }


  /* ── OUR VALUES (2x2, reference-style) ──── */
  .about-section .values2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-section .value2-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 52px 44px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  }
.about-section .value2-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.about-section .value2-card .ico2 { font-size: 40px; margin-bottom: 22px; line-height: 1; }
.about-section .value2-card h3 { font-size: 24px; color: var(--heading); font-weight: 600; margin-bottom: 14px; }
.about-section .value2-card p { font-size: 16px; color: var(--text-dim); line-height: 1.7; max-width: 30ch; margin: 0 auto; }


  /* ── TIMELINE ───────────────────────────── */
  .about-section .timeline { max-width: 780px; margin: 56px auto 0; position: relative; }

  /* gradient spine that fades at both ends */
  .about-section .timeline::before {
    content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, transparent 0%, var(--accent) 12%, var(--accent) 88%, transparent 100%);
    opacity: 0.55;
  }
.about-section .tl-item { position: relative; padding: 0 0 28px 86px; }
.about-section .tl-item:last-child { padding-bottom: 0; }


  /* dimensional year marker */
  .about-section .tl-item .yr {
    position: absolute; left: 0; top: 6px;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(150deg, var(--accent) 0%, var(--accent2) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
    box-shadow: 0 8px 22px rgba(46,168,184,0.35), 0 0 0 7px var(--bg), 0 0 0 8px var(--border);
    z-index: 2;
  }


  /* each milestone becomes a connected card */
  .about-section .tl-item .tl-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  }

  /* little arrow connecting card to the spine */
  .about-section .tl-item .tl-card::before {
    content: ''; position: absolute; left: -9px; top: 22px;
    width: 16px; height: 16px;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(45deg);
  }
.about-section .tl-item .tl-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }
.about-section .tl-item h4 { font-size: 19px; color: var(--heading); margin-bottom: 7px; font-weight: 600; }
.about-section .tl-item p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }


  /* ── BRAND LINE ─────────────────────────── */
  .about-section.brandline {
    position: relative;
    text-align: center !important;
    padding: 120px 0;
    background:
      radial-gradient(700px 360px at 50% 0%, var(--accent-subtle), transparent 70%),
      linear-gradient(180deg, #eef3f6 0%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
  }

  /* soft glowing orb behind the words */
  .about-section.brandline::before {
    content: '';
    position: absolute; left: 50%; top: 50%;
    width: 520px; height: 520px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.7; pointer-events: none;
  }
  .about-section.brandline .bl-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }

  /* decorative quote mark */
  .about-section.brandline .bl-mark {
    font-family: var(--font-display);
    font-size: 120px; line-height: 0.5;
    color: var(--accent); opacity: 0.22;
    height: 56px; display: block; text-align: center;
  }
  .about-section.brandline .bl-inner p {
    font-family: var(--font-display) !important;
    font-size: clamp(28px, 4.2vw, 52px);
    color: var(--heading);
    line-height: 1.2;
    max-width: 18ch; margin: 0 auto;
    text-align: center;
  }
  .about-section.brandline .bl-inner p .acc { color: var(--accent); font-style: italic; }

  /* little accent rule under the line */
  .about-section.brandline .bl-rule {
    width: 60px; height: 4px; border-radius: 3px;
    background: var(--accent); margin: 34px auto 0;
  }


  /* ── CTA ────────────────────────────────── */
  .about-section.cta {
    text-align: center; padding: 120px 0;
    position: relative; overflow: hidden;
  }
.about-section.cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% 0%, var(--accent-subtle), transparent 70%);
  }
.about-section.cta .cta-inner { position: relative; z-index: 2; }
.about-section.cta h2 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 60px); color: var(--heading); margin-bottom: 18px; }
.about-section.cta p { font-size: 18px; color: var(--text-dim); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.about-section.cta .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.about-section .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #fff;
    padding: 15px 34px; border-radius: 100px;
    font-weight: 600; font-size: 15px; border: none; cursor: pointer;
    transition: all 0.3s;
  }
.about-section .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(46,168,184,0.3); }
.about-section .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--heading);
    padding: 15px 34px; border-radius: 100px;
    font-weight: 600; font-size: 15px;
    border: 1px solid var(--border-hover);
    transition: all 0.3s;
  }
.about-section .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }


  /* reveal animation */
  /* Reveal animation is opt-in via JS: the script adds .reveal-on to the
   section, which enables the hidden start state. Without JS (or before the
   script runs, or in the editor) content is simply visible — never stuck
   invisible. */
.about-section.reveal-on .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.about-section.reveal-on .reveal.in { opacity: 1; transform: none; }


  @media (max-width: 900px) {
.about-section .story-grid { grid-template-columns: 1fr; gap: 48px; }
.about-section .story-visual { aspect-ratio: 16/12; max-width: 480px; margin: 0 auto; }
.about-section .values-grid { grid-template-columns: 1fr; }
.about-section .vm-grid { grid-template-columns: 1fr; gap: 40px; }
.about-section .vm-card { position: static; }
.about-section .values2-grid { grid-template-columns: 1fr; }
.about-section.section { padding: 90px 0; }
.about-section.vm-wrap { padding: 90px 0; }
.about-section.section.first { padding-top: 120px; }

  }

  @media (max-width: 520px) {
    .about-section .about-wrap { padding: 0 22px; }
  }

