/* ==========================================================
   ABOUT US PAGE - AnnamPOS
   File: css/about-us.css
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- Variables ---------- */
#annam-about {
  --ap-primary: #1565f0;
  --ap-primary-dark: #0d4fc2;
  --ap-primary-soft: #e3edfe;
  --ap-navy: #0b1d3a;
  --ap-text: #4f5a6e;
  --ap-bg-soft: #f4f7fc;
  --ap-bg-hero: #f2f6fd;
  --ap-border: #e1e8f3;

  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ap-navy);
  overflow: hidden;
}

#annam-about *,
#annam-about *::before,
#annam-about *::after { box-sizing: border-box; }

#annam-about h1, #annam-about h2, #annam-about h3,
#annam-about h4, #annam-about p { margin: 0; }

#annam-about img { display: block; width: 100%; }

/* ---------- Layout helpers ---------- */
.ap-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ap-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.ap-stack    { display: flex; flex-direction: column; gap: 18px; }
.ap-stack-sm { display: flex; flex-direction: column; gap: 14px; }

.ap-section      { padding: clamp(60px, 8vw, 110px) 0; }
.ap-section-flat { padding: 0 0 clamp(60px, 8vw, 110px); }
.ap-bg-soft      { background: var(--ap-bg-soft); }

/* ---------- Typography ---------- */
.ap-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ap-primary);
}

.ap-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ap-navy);
  text-wrap: balance;
}

.ap-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ap-text);
}

.ap-text-strong { color: var(--ap-navy); font-weight: 700; }

/* ---------- Buttons ---------- */
.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.ap-btn-primary { background: var(--ap-primary); color: #fff; }
.ap-btn-primary:hover { background: var(--ap-primary-dark); color: #fff; }

.ap-btn-outline {
  background: #fff;
  color: var(--ap-navy);
  border: 1.5px solid #cfdaeb;
}
.ap-btn-outline:hover { border-color: var(--ap-primary); color: var(--ap-primary); }

.ap-btn-lg { padding: 17px 30px; font-size: 17px; }

/* ==========================================================
   1. HERO
   ========================================================== */
.ap-hero {
  padding: clamp(130px, 14vw, 170px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, var(--ap-bg-hero) 0%, #ffffff 100%);
}

.ap-hero-content { display: flex; flex-direction: column; gap: 22px; }

.ap-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--ap-primary-soft);
  color: var(--ap-primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ap-hero-title {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ap-navy);
  text-wrap: balance;
}

.ap-hero-text {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--ap-text);
  max-width: 540px;
  text-wrap: pretty;
}

.ap-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.ap-hero-media { position: relative; padding-bottom: 40px; }

.ap-hero-img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(11, 29, 58, .35);
}

.ap-hero-stat {
  position: absolute;
  left: clamp(-28px, -2vw, -10px);
  bottom: 0;
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 20px 40px -12px rgba(11, 29, 58, .25);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ap-hero-stat-icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--ap-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-hero-stat-text { display: flex; flex-direction: column; gap: 2px; }
.ap-hero-stat-text strong { font-size: 22px; font-weight: 800; color: var(--ap-navy); line-height: 1.1; }
.ap-hero-stat-text span { font-size: 14px; color: var(--ap-text); }

/* ==========================================================
   2. OUR STORY
   ========================================================== */
.ap-story-media { position: relative; }

.ap-story-img {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  object-fit: cover;
  border-radius: 20px;
}

.ap-founded {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--ap-navy);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ap-founded span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a9c3f5;
  font-weight: 600;
}
.ap-founded strong { font-size: 26px; font-weight: 800; line-height: 1.1; }

.ap-highlight {
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--ap-bg-hero);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ap-navy);
  font-weight: 600;
}

/* ==========================================================
   3. WHAT WE DO / ECOSYSTEM
   ========================================================== */
.ap-eco-wrap { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }

.ap-eco-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.ap-eco-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  border-radius: 22px;
  overflow: hidden;
  background: var(--ap-navy);
}

.ap-eco-banner-img { height: 100%; min-height: 280px; object-fit: cover; }

.ap-eco-banner-body {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.ap-eco-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: #fff; }
.ap-eco-sub  { font-size: 16px; line-height: 1.7; color: #b9c7de; }

.ap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ap-tag {
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid #2f4a78;
  color: #dbe6f8;
  font-size: 14px;
  font-weight: 600;
}

.ap-integrations { display: flex; flex-direction: column; gap: 28px; }

.ap-integrations-title {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ap-navy);
  max-width: 640px;
}

.ap-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}

.ap-card {
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -18px rgba(11, 29, 58, .25);
}

.ap-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ap-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-card-head { display: flex; flex-direction: column; gap: 4px; }
.ap-card-head h4 { font-size: 19px; font-weight: 800; color: var(--ap-navy); }
.ap-card-head span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ap-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ap-card p { font-size: 15.5px; line-height: 1.65; color: var(--ap-text); }

/* ==========================================================
   4. MISSION & VISION
   ========================================================== */
.ap-mv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
}

.ap-mv-card {
  color: #fff;
  border-radius: 22px;
  padding: clamp(30px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ap-mv-mission { background: var(--ap-primary); }
.ap-mv-vision  { background: var(--ap-navy); }

.ap-mv-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .16);
}
.ap-mv-vision .ap-mv-icon { background: rgba(255, 255, 255, .1); }

.ap-mv-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ap-mv-mission .ap-mv-label { color: #d6e4ff; }
.ap-mv-vision  .ap-mv-label { color: #a9c3f5; }

.ap-mv-lead { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.4; font-weight: 700; color: #fff; }

.ap-mv-text { font-size: 16px; line-height: 1.75; }
.ap-mv-mission .ap-mv-text { color: #e6eeff; }
.ap-mv-vision  .ap-mv-text { color: #c3cfe2; }

/* ==========================================================
   5. NUMBERS
   ========================================================== */
.ap-numbers {
  border-radius: 22px;
  background: var(--ap-bg-soft);
  padding: clamp(30px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.ap-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
}

.ap-number {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 3px solid var(--ap-primary);
}
.ap-number strong {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  font-weight: 800;
  color: var(--ap-navy);
  letter-spacing: -.02em;
}
.ap-number span { font-size: 16px; font-weight: 600; color: var(--ap-text); }

/* ==========================================================
   6. WHY ANNAMPOS
   ========================================================== */
.ap-why { align-items: start; }

.ap-why-intro { display: flex; flex-direction: column; gap: 24px; }

.ap-why-img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

.ap-why-list { display: flex; flex-direction: column; }

.ap-why-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ap-border);
}
.ap-why-item:last-child { border-bottom: 0; }

.ap-why-num { font-size: 15px; font-weight: 800; color: var(--ap-primary); padding-top: 3px; }

.ap-why-body { display: flex; flex-direction: column; gap: 6px; }
.ap-why-body h4 { font-size: 19px; font-weight: 800; color: var(--ap-navy); }
.ap-why-body p  { font-size: 16px; line-height: 1.65; color: var(--ap-text); }

/* ==========================================================
   7. CONTACT CTA
   ========================================================== */
.ap-cta { background: var(--ap-navy); }

.ap-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ap-cta-content { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.ap-cta .ap-eyebrow { color: #a9c3f5; }
.ap-cta .ap-title { color: #fff; }
.ap-cta .ap-text  { color: #c3cfe2; }
