/* ==========================================================
   ThinkAIQ — About page (simple, clean, professional)
   About · Co-Founders · Team. No gradients, no effects.
   ========================================================== */

.ab-page {
  background: #ffffff;
}

.ab-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.ab-section {
  padding: 80px 0;
}

/* ---------- About ---------- */
.ab-about {
  text-align: center;
  padding: 100px 0 80px;
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.06);
  color: #06b6d4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ab-about h1 {
  font-size: 44px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto;
}

.ab-about-sub {
  margin: 16px 0 0;
  font-size: 20px;
  color: #64748b;
}

.ab-about-para {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
}

/* ---------- Section heading ---------- */
.ab-h2 {
  margin: 0 0 40px;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
}

/* ---------- Co-Founders ---------- */
.ab-founders-slider {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}

.ab-founders-swiper {
  overflow: hidden;
  padding: 2px;
  border-radius: 22px;
}

.ab-founders-swiper .swiper-wrapper {
  align-items: stretch;
}

.ab-founders-swiper .swiper-slide {
  height: auto;
}

.ab-founders-prev,
.ab-founders-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ab-founders-prev:hover,
.ab-founders-next:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.ab-founders-prev {
  left: 10px;
}

.ab-founders-next {
  right: 10px;
}

/* Name-based navigation — sits above the carousel and doubles as its
   pagination. Kept deliberately flat: no gradients, no glow. */
.cofounder-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}

.cf-tab {
  padding: 10px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.cf-tab:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.cf-tab.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15), inset 0 -2px 0 #06b6d4;
}

.cf-tab:focus-visible {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
  /* The base rule uses `transition: all`, which would fade the focus ring in
     from currentColor (white on the active pill). Show it instantly instead. */
  transition-property: background-color, color, border-color, box-shadow;
}

/* Dots under the mobile carousel. Desktop shows both cards at once, so the
   tab pills and dots are redundant there and are hidden. */
.ab-founders-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.ab-founders-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
  opacity: 1;
  transition: width 0.2s ease, background 0.2s ease;
}

.ab-founders-pagination .swiper-pagination-bullet-active {
  width: 24px;
  background: #06b6d4;
}

@media (min-width: 1024px) {
  .cofounder-nav,
  .ab-founders-pagination {
    display: none;
  }
}

.ab-founder-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  height: 100%;
  gap: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease;
}

.ab-founder-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ab-founder-photo {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(160deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
}

.ab-founder-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 34px 30px;
}

.ab-initials {
  font-weight: 700;
  color: #94a3b8;
}

.ab-founder-photo .ab-initials {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.28);
}

.ab-founder-name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.ab-founder-role {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #06b6d4;
}

.ab-founder-divider {
  display: block;
  width: 60px;
  height: 1px;
  margin: 20px 0;
  background: #f1f5f9;
}

.ab-founder-bio {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: #64748b;
}

.ab-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ab-skill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  background: #f1f5f9;
  color: #475569;
}

.ab-bullets {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.ab-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #64748b;
}

.ab-bullets li + li {
  margin-top: 10px;
}

.ab-bullets li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: #06b6d4;
}

.ab-founder-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

.ab-email-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ab-email-btn:hover {
  background: #1e293b;
}

.ab-founder-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ab-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.ab-social:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.ab-social--placeholder {
  color: #cbd5e1;
  cursor: default;
}

/* ---------- Team ---------- */
.ab-team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1500px;
  margin: 0 auto;
}

.ab-team-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ab-team-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ab-team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef1f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
  transition: transform 0.4s ease;
}

.ab-team-card:hover .ab-team-photo img {
  transform: scale(1.03);
}

.ab-team-photo .ab-initials {
  font-size: 32px;
}

.ab-team-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ab-team-info {
  padding: 20px 16px;
}

.ab-team-name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.ab-team-role {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

.ab-team-divider {
  display: block;
  width: 32px;
  height: 1px;
  margin: 12px auto 0;
  background: #e5e7eb;
}

/* ---------- Certifications ---------- */
.ab-certs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ab-certs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ab-cert {
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ab-cert img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .ab-founder-details {
    padding: 30px 28px;
  }
}

@media (min-width: 768px) {
  .ab-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Enough room for the arrows to sit outside the 1100px slider without
   pushing past the viewport edge. */
@media (min-width: 1180px) {
  .ab-founders-prev {
    left: -22px;
  }

  .ab-founders-next {
    right: -22px;
  }
}

@media (min-width: 1024px) {
  .ab-team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ab-section {
    padding: 48px 0;
  }

  .ab-about {
    padding: 60px 0 48px;
  }

  .ab-about h1 {
    font-size: 32px;
  }

  .ab-about-sub {
    font-size: 17px;
  }

  .ab-h2 {
    font-size: 26px;
    margin-bottom: 28px;
  }

  /* On phones the card is far taller than the viewport, so side arrows would
     land on top of the body copy. Swipe + the dots are the mobile controls. */
  .ab-founders-prev,
  .ab-founders-next {
    display: none;
  }

  .ab-founders-swiper {
    padding: 2px 6px;
  }

  /* Keep both names on one row down to 320px. */
  .cofounder-nav {
    gap: 8px;
    margin-bottom: 20px;
  }

  .cf-tab {
    padding: 8px 16px;
    font-size: 14px;
  }

  .ab-founder-card {
    grid-template-columns: 1fr;
  }

  .ab-founder-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .ab-founder-details {
    padding: 24px;
  }

  .ab-founder-name {
    font-size: 24px;
  }

  .ab-founder-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .ab-email-btn {
    justify-content: center;
  }

  .ab-founder-socials {
    justify-content: center;
  }
}
