/* ═══════════════════════════════════════════════════════════
   About Page — CSS
   Uses site variables: --blue #0878c9, --blue-dark #005a9e, --white
   ═══════════════════════════════════════════════════════════ */

:root {
  --blue:      #0878c9;
  --blue-dark: #005a9e;
  --white:     #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  background: var(--white);
  overflow-x: hidden;
}

/* ── Shared section tag + heading ── */
.ab-section__tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}

.ab-section__heading {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #0d1b2e;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════
   Hero
   ══════════════════════════════════════════════════════════ */
.ab-hero {
  position: relative;
  height: 520px;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0; /* clear absolute header */
  padding-top: 106px; /* Height of fixed header on desktop */
  overflow: hidden;
}

.ab-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,15,30,0.78) 0%, rgba(8,120,201,0.45) 100%);
}

.ab-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 24px;
}

.ab-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.ab-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.ab-hero__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto;
}

/* Animated scroll indicator */
.ab-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.ab-hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollBob 1.4s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}

/* ══════════════════════════════════════════════════════════
   Mission
   ══════════════════════════════════════════════════════════ */
.ab-mission {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 90px 80px;
  background: var(--white);
}

.ab-mission__img {
  flex: 0 0 44%;
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

.ab-mission__img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(8,120,201,0.18);
  display: block;
}

/* Floating badge */
.ab-mission__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue);
  color: var(--white);
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(8,120,201,0.35);
}

.ab-mission__badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.ab-mission__badge span {
  font-size: 0.75rem;
  opacity: 0.85;
  font-weight: 500;
}

.ab-mission__text {
  flex: 1;
}

.ab-mission__body {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.ab-mission__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ab-mission__pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: rgba(8,120,201,0.07);
  border: 1px solid rgba(8,120,201,0.18);
  padding: 7px 16px;
  border-radius: 50px;
}

.ab-mission__pills span i {
  color: var(--blue);
  font-size: 0.75rem;
}

/* ══════════════════════════════════════════════════════════
   Stats Bar
   ══════════════════════════════════════════════════════════ */
.ab-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 56px 80px;
}

.ab-stats__item {
  flex: 1;
  text-align: center;
}

.ab-stats__num {
  display: block;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.ab-stats__item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

.ab-stats__divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  margin: 0 40px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   Values
   ══════════════════════════════════════════════════════════ */
.ab-values {
  padding: 90px 80px;
  background: #f5f9ff;
  text-align: center;
}

.ab-values__header {
  margin-bottom: 52px;
}

.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.ab-values__card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 24px 32px;
  box-shadow: 0 6px 28px rgba(8,120,201,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-values__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(8,120,201,0.15);
}

.ab-values__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(8,120,201,0.08);
  color: var(--blue);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s, color 0.3s;
}

.ab-values__card:hover .ab-values__icon {
  background: var(--blue);
  color: var(--white);
}

.ab-values__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b2e;
  margin-bottom: 10px;
}

.ab-values__card p {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   Team
   ══════════════════════════════════════════════════════════ */
.ab-team {
  padding: 90px 80px;
  background: var(--white);
  text-align: center;
}

.ab-team__header {
  margin-bottom: 52px;
}

.ab-team__sub {
  font-size: 0.9rem;
  color: #777;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.ab-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 320px));
  justify-content: center;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.ab-team__card {
  background: #f5f9ff;
  border-radius: 20px;
  padding: 36px 20px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-team__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(8,120,201,0.12);
  background: var(--white);
}

.ab-team__img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid rgba(8,120,201,0.2);
  transition: border-color 0.3s;
}

.ab-team__card:hover .ab-team__img-wrap {
  border-color: var(--blue);
}

.ab-team__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-team__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b2e;
  margin-bottom: 4px;
}

.ab-team__card > p {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 16px;
}

.ab-team__socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ab-team__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(8,120,201,0.25);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ab-team__socials a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ══════════════════════════════════════════════════════════
   Why Choose Us
   ══════════════════════════════════════════════════════════ */
.ab-why {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 90px 80px;
  background: linear-gradient(135deg, #eaf4ff 0%, #f5f9ff 100%);
}

.ab-why__content {
  flex: 0 0 40%;
}

.ab-why__body {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
}

.ab-why__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s;
}

.ab-why__cta:hover {
  background: var(--blue-dark);
  transform: translateX(4px);
  color: var(--white);
}

.ab-why__cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ab-why__card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 6px 24px rgba(8,120,201,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-why__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(8,120,201,0.14);
}

.ab-why__card i {
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}

.ab-why__card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d1b2e;
  margin-bottom: 8px;
}

.ab-why__card p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   CTA Banner
   ══════════════════════════════════════════════════════════ */
.ab-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 90px 80px;
  text-align: center;
}

.ab-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.ab-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.ab-cta p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 36px;
}

.ab-cta__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ab-cta__btn {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  transition: transform 0.2s ease, background 0.25s, color 0.25s;
}

.ab-cta__btn--primary {
  background: var(--white);
  color: var(--blue-dark);
}

.ab-cta__btn--primary:hover {
  transform: translateY(-3px);
  background: #e8f2ff;
  color: var(--blue-dark);
}

.ab-cta__btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}

.ab-cta__btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-3px);
  color: var(--white);
}

/* ==============================
   RESPONSIVE DESIGN (MOBILE)
================================ */
@media (max-width: 768px) {
  /* Hero */
  .ab-hero {
    height: auto !important;
    min-height: 340px !important;
    margin-top: 0 !important;
    padding-top: 130px !important;
    padding-bottom: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  .ab-hero__content h1 {
    font-size: 2.2rem;
  }
  .ab-hero__sub {
    font-size: 0.9rem;
  }

  /* Mission Section */
  .ab-mission {
    flex-direction: column !important;
    padding: 50px 20px !important;
    gap: 40px !important;
  }
  .ab-mission__img {
    width: 100% !important;
    flex: none !important;
  }
  .ab-mission__img img {
    height: auto !important;
    max-height: 320px !important;
  }
  .ab-mission__badge {
    right: 10px !important;
    bottom: -15px !important;
    padding: 12px 18px !important;
  }
  .ab-mission__badge strong {
    font-size: 1.6rem !important;
  }
  .ab-mission__text {
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
  }
  .ab-mission__pills {
    justify-content: center !important;
  }

  /* Stats Section */
  .ab-stats {
    flex-wrap: wrap !important;
    padding: 36px 20px !important;
    gap: 20px 10px !important;
  }
  .ab-stats__item {
    flex: 0 0 calc(50% - 10px) !important;
  }
  .ab-stats__divider {
    display: none !important;
  }
  .ab-stats__num {
    font-size: 2.2rem !important;
  }

  /* Values Section */
  .ab-values {
    padding: 50px 20px !important;
  }
  .ab-values__grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Team Section */
  .ab-team {
    padding: 50px 20px !important;
  }
  .ab-team__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Why Choose Us Section */
  .ab-why {
    flex-direction: column !important;
    padding: 50px 20px !important;
    gap: 40px !important;
  }
  .ab-why__content {
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
  }
  .ab-why__cards {
    width: 100% !important;
    flex: none !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* CTA Section */
  .ab-cta {
    padding: 60px 20px !important;
  }
  .ab-cta h2 {
    font-size: 1.8rem !important;
    line-height: 1.3;
  }
  .ab-cta__btns {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .ab-cta__btn {
    text-align: center !important;
    width: 100% !important;
  }
}