/* About Us — Figma frame 89:980 */

.page-about {
  --about-teal: #3cbeb2;
  --about-teal-icon: #2c9aab;
  --about-ink: #000000;
  --about-body: #2e2e2e;
  --about-muted: #656565;
  --about-surface: #f4f4f4;
  background: #fff;
  color: var(--about-body);
}

.page-about .about-page,
.page-about .site-footer {
  position: relative;
  z-index: 1;
}

.page-about main {
  padding-top: clamp(0.5rem, 2vw, 1rem);
}

.about-page {
  padding-bottom: 0;
}

.page-about .figma-contact {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.about-page__inner {
  
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.about-page__header {
  margin-bottom: 0;
}

.about-page__title {
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.35rem);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.375rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--about-ink);
}

/* —— Hero: title → wide image → intro copy (Figma About Us) —— */
.about-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-bottom: clamp(2.5rem, 5vw, 3.2rem);
}

.about-hero__visual {
  position: relative;
  width: 100%;
  margin: 0 0 clamp(1.35rem, 2.8vw, 1.85rem);
}

.about-hero__frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--about-surface);
  aspect-ratio: 1376 / 437;
  box-shadow:
    0 0 0 1px rgba(60, 190, 178, 0.14),
    0 0 32px rgba(60, 190, 178, 0.2),
    0 14px 36px rgba(15, 27, 46, 0.1);
}

.about-hero__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
}

.about-hero__copy {
  max-width: 100%;
  padding-inline: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
  text-align: left;
  color: #4d4d4d;
}

.about-hero__copy p {
  margin: 0 0 1.1rem;
}

.about-hero__copy p:last-child {
  margin-bottom: 0;
}

/* —— Our Legacy: text (left) + single image (right) —— */
.about-legacy {
  margin: clamp(2.5rem, 5vw, 3.6rem) 0;
}

.about-legacy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.25rem);
}

.about-legacy__grid--full {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.about-legacy__title {
  margin: 0 0 clamp(1rem, 2vw, 1.4rem);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--about-ink);
}

.about-legacy__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #4d4d4d;
}

.about-legacy__body p {
  margin: 0 0 1.1rem;
}

.about-legacy__body p:last-child {
  margin-bottom: 0;
}

.about-legacy__visual {
  margin: 0;
}

.about-legacy__frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--about-surface);
  aspect-ratio: 4 / 3;
  box-shadow:
    0 0 0 1px rgba(60, 190, 178, 0.14),
    0 0 32px rgba(60, 190, 178, 0.2),
    0 14px 36px rgba(15, 27, 46, 0.1);
}

.about-legacy__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
}

@media (max-width: 900px) {
  .about-legacy__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-legacy__frame {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 900px) {
  .about-page__title {
    margin-bottom: 1.25rem;
    line-height: 1;
  }

  .about-hero {
    margin-bottom: 2.2rem;
  }

  .about-hero__visual {
    margin-bottom: 1.25rem;
  }

  .about-hero__frame {
    border-radius: 16px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .about-page__inner {
    padding-top: 5rem;
  }

  .about-page__title {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .about-hero__frame {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
  }

  .about-hero__copy {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* —— Vision / mission band —— */
.about-vm {
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
  position: relative;
}

.about-vm__band {
  padding-top: 32px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.3vw, 1.45rem);
  align-items: start;
  padding-inline: clamp(1rem, 5vw, 3.75rem);

  margin-inline: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow: clip;
}

.about-vm__band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(14.5rem, 22vw, 22.6rem);
  background:
    linear-gradient(180deg, #3CBEB2 0%, #3CBEB2 100%),
    url("../img/bhagwati-mv-bg.png") center 18% / cover no-repeat;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 0;
}

@media (max-width: 900px) {
  .about-vm__band {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    padding-bottom: 0.25rem;
  }

  .about-vm__band::before {
    height: clamp(10rem, 30vw, 13rem);
  }
}

.about-vm__card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 2px solid var(--about-teal);
  border-radius: 20px;
  padding: clamp(1.4rem, 2.6vw, 2.15rem) clamp(1.35rem, 2.6vw, 2.5rem) clamp(1.6rem, 3vw, 2.3rem);
  min-height: auto;
  box-shadow: 0 5px 4px rgba(0, 0, 0, 0.09);
}

.about-vm__icon-wrap {
  width: 78px;
  height: 79px;
  border-radius: 14px;
  background: rgba(169, 226, 221, 0.44);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.about-vm__icon-wrap img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.about-vm__icon {
  width: 46px;
  height: 46px;
  color: var(--about-teal-icon);
}

.about-vm__card-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-body);
  font-size: clamp(1.95rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--about-muted);
}

.about-vm__list {
  margin: 0;
  padding: 0 0 0 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--about-muted);
  display: grid;
  gap: 0.7rem;
}

.about-vm__list li {
  margin-bottom: 0.2rem;
  padding-left: 0.18rem;
}

@media (max-width: 640px) {
  .about-vm {
    margin-bottom: 2.6rem;
  }

  .about-vm__band {
    gap: 1rem;
    padding: 1.35rem 0.85rem 0;
  }

  .about-vm__band::before {
    height: 7.5rem;
  }

  .about-vm__card {
    padding: 1rem 0.85rem 1.2rem;
    border-radius: 18px;
  }

  .about-vm__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    margin-bottom: 0.9rem;
  }

  .about-vm__icon-wrap img,
  .about-vm__icon {
    width: 32px;
    height: 32px;
  }

  .about-vm__card-title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    line-height: 1.05;
  }

  .about-vm__list {
    padding: 0 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.35;
    gap: 0.4rem;
  }

  .about-vm__list li {
    margin-bottom: 0.15rem;
  }
}

/* —— Meet the team —— */
.about-team {
  margin-bottom: clamp(2.8rem, 6vw, 4.6rem);
}

.about-team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 960px) {
  .about-team__grid {
    grid-template-columns: 1fr;
  }
}

.about-team__media {
  display: flex;
  justify-content: flex-start;
}

.about-team__photos {
  display: grid;
  grid-template-columns: minmax(0, 315px) minmax(0, 315px);
  grid-template-rows: auto auto;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  width: min(100%, 41.5rem);
}

.about-team__photo {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #eef4f7;
  box-shadow: 0 18px 32px rgba(15, 27, 46, 0.08);
  cursor: pointer;
  outline-offset: 4px;
}

.about-team__photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: auto;
  object-fit: cover;
  aspect-ratio: 315 / 273;
  transition: transform 0.45s ease;
}

.about-team__photo:hover img {
  transform: scale(1.03);
}
.about-team__photo:focus-visible img {
  transform: scale(1.03);
}

.about-team__photo:focus-visible {
  outline: 3px solid #3cbeb2;
}

.about-team__photo--1 {
  grid-column: 1;
  grid-row: 1;
}

.about-team__photo--2 {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin-top: clamp(1.75rem, 4vw, 2.9rem);
  height: auto;
}

.about-team__photo--3 {
  grid-column: 1;
  grid-row: 2;
}

.about-team__caption {
  padding: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--about-muted);
}

.about-team__caption strong {
  display: block;
  color: var(--about-ink);
}

.about-team__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  color: #252525;
}

.about-team__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--about-muted);
  max-width: 34rem;
  margin-inline: auto;
}

.about-team__body p {
  margin: 0 0 1rem;
}

.about-team__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .about-team__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 2rem;
  }

  .about-team__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .about-team__photo--2 {
    height: auto;
  }
}

@media (max-width: 960px) {
  .about-team {
    margin-bottom: 3rem;
  }

  .about-team__media {
    justify-content: center;
  }

  .about-team__photos {
    width: min(100%, 34rem);
  }

  .about-team__copy {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .about-team__grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    align-items: stretch;
    gap: 1.65rem;
  }

  .about-team__photos {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: clamp(1rem, 4.7vw, 1.25rem);
    width: min(100%, 315px);
    margin-inline: auto;
  }

  .about-team__photo {
    grid-column: 1;
    grid-row: auto;
    height: auto;
    box-shadow: 0 10px 22px rgba(15, 27, 46, 0.08);
  }

  .about-team__photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 315 / 273;
  }

  .about-team__photo--2 {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
    height: auto;
    margin-top: 0;
  }

  .about-team__copy {
    text-align: left;
    padding-inline: 0.25rem;
  }

  .about-team__title {
    margin-bottom: 0.85rem;
    font-size: clamp(2.1rem, 8.2vw, 2.25rem);
    line-height: 1.05;
    text-align: left;
  }

  .about-team__body {
    max-width: none;
    margin-inline: 0;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
  }

  .about-team__body p {
    margin-bottom: 1.55rem;
  }
}

/* —— Clients —— */
.about-clients {
  text-align: center;
}

.about-clients__title {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.625rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--about-ink);
  text-transform: uppercase;
}

.about-clients__carousel {
  position: relative;
  margin-top: 0.35rem;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.about-clients__swiper {
  padding: 0.2rem 0 0.3rem;
}

.about-clients__slide {
  height: auto;
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0.8;
}

.about-clients__slide.swiper-slide-active,
.about-clients__slide.swiper-slide-next,
.about-clients__slide.swiper-slide-prev {
  opacity: 1;
}

.about-clients__tile {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  aspect-ratio: 2.15 / 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border-radius: 22px;
  border: none;
  background: #ffffff;
  box-sizing: border-box;
  box-shadow: 0 10px 26px rgba(15, 27, 46, 0.08);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Override legacy .client-logo sizing when used inside the clients carousel */
.about-clients__tile.client-logo {
  width: 100%;
  height: auto;
  max-width: none;
  padding: 0.55rem 0.75rem;
  border-radius: 22px;
  border: none;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 27, 46, 0.08);
}

.about-clients__slide.swiper-slide-active .about-clients__tile {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 27, 46, 0.14);
}

.about-clients__tile img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96%;
  max-height: 96%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.about-clients__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(128, 128, 128, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.about-clients__nav::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.about-clients__nav:hover {
  transform: translateY(-50%) scale(1.04);
  background: rgba(88, 88, 88, 0.96);
}

.about-clients__nav--prev {
  left: 0;
}

.about-clients__nav--prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.about-clients__nav--next {
  right: 0;
}

.about-clients__nav--next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.about-clients__nav.swiper-button-disabled {
  opacity: 0.45;
  cursor: default;
}

.about-clients__pagination {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.about-clients__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #b8b8b8;
  opacity: 1 !important;
  margin: 0;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    background-color 0.28s ease,
    opacity 0.28s ease,
    width 0.28s ease;
}

.about-clients__pagination .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 999px;
  background-color: var(--about-teal) !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

.about-clients__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--about-teal) !important;
  opacity: 1 !important;
}

.about-clients__trust {
  margin: 1rem auto 0;
  width: fit-content;
  max-width: 100%;
  padding: 0.58rem 1.35rem;
  border-radius: 999px;
  background: #1f1f1f;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.6vw, 1.12rem);
  line-height: 1.2;
  text-align: center;
}

.about-clients__trust strong {
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-clients__carousel {
    padding-inline: 1.1rem;
  }
}

@media (max-width: 640px) {
  .about-clients__title {
    font-size: clamp(1.65rem, 9vw, 2.1rem);
  }

  .about-clients__carousel {
    padding-inline: 0.2rem;
  }

  .about-clients__tile,
  .about-clients__tile.client-logo {
    padding: 0.25rem 0.35rem;
    border-radius: 16px;
    aspect-ratio: 2.2 / 1;
  }

  .about-clients__tile img {
    max-width: 98%;
    max-height: 98%;
  }

  .about-clients__nav {
    display: none;
  }

  .about-clients__pagination {
    margin-top: 0.9rem;
    gap: 0.5rem;
  }

  .about-clients__trust {
    margin-top: 0.75rem;
    padding: 0.5rem 0.95rem;
    font-size: 0.86rem;
  }
}

/* —— Empty state —— */
.about-empty {
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
}

.about-empty__text {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  color: var(--about-muted);
}

.about-empty__link {
  color: var(--about-teal-icon);
  font-weight: 600;
  text-decoration: none;
}

.about-empty__link:hover {
  text-decoration: underline;
}
