/* ============================================================
   about.css — About Us page specific styles
   ============================================================ */

/* ── ABOUT HERO ──────────────────────────────────────────────── */
.about-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
}

.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(49, 94, 109, 0.78);
}

.about-hero__deco {
  position: absolute;
  right: 75px;
  top: -5px;
  width: 420px;
  height: 330px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.about-hero__deco img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 132px 104px 0;
}

.about-hero__title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-display);
}

.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-family: var(--font-display);
}

.about-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.about-breadcrumb a:hover { color: #ffffff; }

.about-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.about-breadcrumb__current {
  color: #ffffff;
  font-weight: 500;
}

/* ── SHARED SECTION HELPERS ──────────────────────────────────── */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-container--narrow {
  max-width: 900px;
}

.about-section-title {
  font-size: 30px;
  font-weight: 800;
  color: #222222;
  margin: 0 0 34px;
  font-family: var(--font-display);
  line-height: 1.2;
}

.about-section-para {
  font-size: 15px;
  line-height: 1.6;
  color: #6f747c;
  margin: 0 0 16px;
  font-family: var(--font-display);
}

.about-section-para:last-of-type { margin-bottom: 0; }

/* Two-column layout shared by Who We Are and We Serve You */
.about-two-col {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-two-col--reverse { flex-direction: row-reverse; }

.about-two-col__text {
  flex: 1;
  min-width: 0;
}

/* ── WHO WE ARE ──────────────────────────────────────────────── */
.who-we-are {
  padding: 145px 0 75px;
  background-color: #eef5f7;
  background-image: url('../assets/placeholders/pattern_1.png');
  background-repeat: repeat;
  background-size: 900px auto;
}

.who-we-are__images {
  display: flex;
  gap: 50px;
  width: 600px;
  flex-shrink: 0;
  overflow: hidden;
  align-items: stretch;
}

.who-we-are__img {
  width: 360px;
  height: 512px;
  flex-shrink: 0;
  border-radius: 20px;
  object-fit: cover;
  background: #dde4e7;
}

/* ── WE SERVE YOU ────────────────────────────────────────────── */
.we-serve-you {
  padding: 80px 0 150px;
  background-color: #eef5f7;
  background-image: url('../assets/placeholders/pattern_1.png');
  background-repeat: repeat;
  background-size: 900px auto;
}

.we-serve-you__image {
  flex-shrink: 0;
  width: 555px;
}

.we-serve-you__image img {
  width: 555px;
  height: 445px;
  border-radius: 22px;
  object-fit: cover;
  background: #dde4e7;
  display: block;
}

/* App store buttons */
.about-store-btns {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.about-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1.5px solid #315e6d;
  border-radius: 10px;
  color: #315e6d;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  min-width: 148px;
}

.about-store-btn:hover {
  background: #315e6d;
  color: #ffffff;
}

.about-store-btn__text {
  display: flex;
  flex-direction: column;
}

.about-store-btn__sub {
  font-size: 10px;
  font-weight: 400;
  font-family: var(--font-display);
  line-height: 1.2;
  opacity: 0.8;
}

.about-store-btn__name {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1.2;
}

/* ── STATS SECTION ───────────────────────────────────────────── */
.about-stats {
  padding: 65px 0 160px;
  text-align: center;
  background-color: #eef5f7;
  background-image: url('../assets/placeholders/pattern_1.png');
  background-repeat: repeat;
  background-size: 900px auto;
}

.about-stats__title {
  font-size: 30px;
  font-weight: 800;
  color: #222222;
  margin: 0 0 70px;
  font-family: var(--font-display);
}

.about-stats__row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.about-stat__number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  font-family: var(--font-display);
}

.about-stat__value { color: #111111; }

.about-stat__plus { color: #d9bda8; }

.about-stat__label {
  font-size: 18px;
  font-weight: 600;
  color: #222222;
  margin: 0;
  font-family: var(--font-display);
}

/* ── TEAM SECTION ────────────────────────────────────────────── */
.team-section {
  padding: 40px 0 145px;
  background-color: #eef5f7;
  background-image: url('../assets/placeholders/pattern_1.png');
  background-repeat: repeat;
  background-size: 900px auto;
}

.team-header {
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  margin: 0 auto;
}

.team-header__title {
  font-size: 30px;
  font-weight: 800;
  color: #222222;
  margin: 0;
  font-family: var(--font-display);
}

.team-header__desc {
  font-size: 15px;
  line-height: 1.6;
  color: #7d7f86;
  margin: 22px auto 0;
  max-width: 650px;
  font-family: var(--font-display);
}

.team-carousel-wrap {
  margin-top: 56px;
}

.team-carousel-viewport {
  overflow: hidden;
  padding: 4px var(--container-px) 8px;
}

.team-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Team card */
.team-card {
  flex-shrink: 0;
  width: 282px;
  text-align: center;
}

.team-card__img-wrap {
  width: 282px;
  height: 310px;
  border-radius: 14px;
  overflow: hidden;
  background: #dde4e7;
}

.team-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__name {
  font-size: 17px;
  font-weight: 800;
  color: #222222;
  margin: 24px 0 0;
  font-family: var(--font-display);
}

.team-card__position {
  font-size: 15px;
  font-weight: 400;
  color: #7d7f86;
  margin: 10px 0 0;
  font-family: var(--font-display);
}

.team-card__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.team-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d7f86;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.team-social-btn:hover { color: #315e6d; }

/* Team carousel controls */
.team-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}

.team-ctrl {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.team-ctrl--prev {
  border: 1.5px solid #aab1b6;
  color: #aab1b6;
}

.team-ctrl--next {
  border: 1.5px solid #315e6d;
  color: #315e6d;
}

.team-ctrl:hover { opacity: 0.7; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .about-hero__content { padding-left: 40px; padding-right: 40px; }
  .who-we-are__images  { width: 480px; }
  .we-serve-you__image,
  .we-serve-you__image img { width: 420px; }
  .team-carousel-viewport { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 767px) {
  .about-hero { height: 260px; }
  .about-hero__content { padding: 80px 20px 0; }
  .about-hero__title  { font-size: 24px; }
  .about-hero__deco   { display: none; }

  .about-two-col,
  .about-two-col--reverse {
    flex-direction: column;
    gap: 40px;
  }

  .who-we-are { padding: 60px 0 40px; }
  .who-we-are__images {
    width: 100%;
    overflow: hidden;
  }
  .who-we-are__img { height: 320px; }

  .we-serve-you { padding: 40px 0 60px; }
  .we-serve-you__image,
  .we-serve-you__image img { width: 100%; }
  .we-serve-you__image img { height: 280px; }

  .about-stats { padding: 40px 0 60px; }
  .about-stats__row { gap: 32px; }
  .about-stat__number { font-size: 32px; }

  .about-section-title { font-size: 24px; }
  .about-stats__title  { font-size: 24px; }
  .team-header__title  { font-size: 24px; }

  .team-carousel-viewport { padding-left: 20px; padding-right: 20px; }
  .team-card { width: 240px; }
  .team-card__img-wrap { width: 240px; }
}
