/* =============================================================
   About Us — Section Styles
   Faithfully ported from the Next.js SCSS modules.
   Covers: about_banner (mobileAppBanner.aboutUs), tech_team,
           what_drives_us, awards_recognition, industry_slider,
           trusted_partner, our_clients, join_cta
   ============================================================= */

/* ── Shared button ──────────────────────────────────────────── */
.av-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: #e80101;
  color: #fff;
  border: none;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
  width: 100%;
  border: 1px solid #e80101;
  width: auto;
}
.av-primary-btn:hover {
  background-color: rgba(0, 0, 0, 0);
  color: #e80101;
}

/* ─────────────────────────────────────────────────────────────
   ABOUT BANNER  (mobileAppBanner + aboutUs variant)
   Source: Banner.module.scss — base + &.aboutUs overrides
   ───────────────────────────────────────────────────────────── */
.mobileAppBanner {
  padding: 100px 0;
  position: relative;
}

/* aboutUs variant — light background, decorative ::before image (matches Next.js SCSS exactly) */
.mobileAppBanner.aboutUs {
  position: relative;
  background-color: #fff;
}

.mobileAppBanner.aboutUs::before {
  content: "";
  position: absolute;
  background-image: var(--about-banner-bg);
  width: 100%;
  height: 100%;
  left: 0;
  bottom: -4%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.mobileAppBanner__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1; /* sit above the ::before layer */
}

.mobileAppBanner__left h1 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.mobileAppBanner__left p {
  font-size: 18px;
  font-weight: 500;
  color: #2c2c2c;
  padding: 20px 0 30px;
  margin: 0;
  line-height: 1.5;
}

.mobileAppBanner__btnWrapper {
  width: 80%;
}

.mobileAppBanner__topButtons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.mobileAppBanner__right img {
  width: 100%;
  height: 550px;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   TECH TEAM
   Source: TechTeam.module.scss
   ───────────────────────────────────────────────────────────── */
.techTeamSec {
  padding: 50px 0;
}

.techTeamSec__content {
  display: flex;
  gap: 200px;
  justify-content: space-between;
  align-items: center;
}

.techTeamSec__left h2 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.techTeamSec__left h2 span {
  color: #e80101;
}

.techTeamSec__para p {
  font-size: 18px;
  font-weight: 500;
  color: #2c2c2c;
  margin: 0;
  padding: 10px 0 20px;
}

.techTeamSec__para ul {
  list-style: disc;
  padding-left: 20px;
}

.techTeamSec__para ul li {
  font-size: 18px;
  font-weight: 500;
  color: #2c2c2c;
  margin: 0;
}

.techTeamSec__right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Masonry gallery — exact nth-child grid-areas from source SCSS */
.techTeamSec__imageBox {
  padding-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 305px);
  column-gap: 20px;
  row-gap: 20px;
}

.techTeamSec__imageBox img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

/* img 1: wide — spans cols 1-2, row 1 */
.techTeamSec__imageBox img:nth-child(1) {
  grid-area: 1 / 1 / 2 / 3;
}

/* img 2: normal — col 3, row 1 */
.techTeamSec__imageBox img:nth-child(2) {
  grid-area: 1 / 3 / 2 / 4;
}

/* img 3: normal — col 1, row 2 */
.techTeamSec__imageBox img:nth-child(3) {
  grid-area: 2 / 1 / 3 / 2;
}

/* img 4: wide — spans cols 2-3, row 2 */
.techTeamSec__imageBox img:nth-child(4) {
  grid-area: 2 / 2 / 3 / 4;
}

/* ─────────────────────────────────────────────────────────────
   WHAT DRIVES US
   Source: WhatDrivesUsTabs.module.scss
   ───────────────────────────────────────────────────────────── */
.whatDriveUsSection {
  padding: 80px 0;
  background: #f6f7f8;
}

.whatDriveUsSection__head {
  text-align: center;
  margin-bottom: 2rem;
}

.whatDriveUsSection__head h2 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
}

.whatDriveUsSection__head h2 span {
  color: #e80101;
}

.whatDriveUsSection__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  justify-content: space-around;
  align-items: center;
  margin: 40px 0 30px;
  border-bottom: 1px solid #6e6e6e;
  row-gap: 20px;
}

.whatDriveUsSection__tab {
  padding: 5px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-align: center;
}

.whatDriveUsSection__tab h6 {
  font-size: 18px;
  font-weight: 600;
  color: rgba(51, 51, 51, 0.58);
  margin: 0;
  cursor: pointer;
}

.whatDriveUsSection__tab.active {
  border-bottom-color: #e80101;
}

.whatDriveUsSection__tab.active h6 {
  color: #333333;
}

.whatDriveUsSection__panels {
  margin-top: 10px;
}

.whatDriveUsSection__panel {
  display: none;
  text-align: center;
}

.whatDriveUsSection__panel.active {
  display: block;
}

.whatDriveUsSection__panel p {
  font-size: 20px;
  font-weight: 500;
  color: #666666;
  padding-bottom: 15px;
}

/* ─────────────────────────────────────────────────────────────
   AWARDS & RECOGNITION
   Source: AwardsRecognitions.module.scss — class names match original
   ───────────────────────────────────────────────────────────── */
.awardsRecognitions {
  padding: 100px 0;
  background: #000;
  position: relative;
}

.awardsRecognitions .awardsInfo {
  padding-bottom: 50px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.awardsRecognitions .awardsInfo h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

.awardsRecognitions .awardsInfo h2 span {
  color: #e80101;
}

.awardsRecognitions .awardsInfo p {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  padding: 10px 0 20px;
}

.awardsRecognitions .cont {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.awardsRecognitions .cont .box {
  width: 23.5%;
  text-align: center;
}

.awardsRecognitions .cont .box .imageWrapper {
  position: relative;
  height: 90px;
  width: 60%;
  margin: 0 auto;
}

/* Mimic Next.js Image fill=true: absolutely fill the wrapper */
.awardsRecognitions .cont .box .imageWrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Award name — sits between image and description */
.awardsRecognitions .cont .box h6 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 10px 0 4px;
}

.awardsRecognitions .cont .box p {
  font-size: 16px;
  font-weight: 500;
  color: #999999;
  padding-top: 4px;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   INDUSTRY SLIDER
   Source: IndustrySlider.module.scss — class names match original
   ───────────────────────────────────────────────────────────── */
.industrySlideSec {
  padding: 80px 0;
}

.industrySlideSec .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.industrySlideSec .head .content {
  padding-bottom: 20px;
}

.industrySlideSec .head .content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
}

.industrySlideSec .head .content h2 span {
  color: #e80101;
}

.industrySlideSec .head .award-pagination {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.industrySlideSec .head .award-pagination > div {
  cursor: pointer;
}

.industrySlideSec .head .award-pagination svg {
  fill: #e80101;
  display: block;
  transition: fill 0.3s;
}

.industrySlideSec .head .award-pagination > div:hover svg {
  fill: #000;
}

.about-industry-slider {
  width: 100%;
}

.industrySlideSec .sliderItem {
  background-color: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

.industrySlideSec .sliderItem img {
  object-fit: cover;
  width: 100%;
  display: block;
}

.industrySlideSec .sliderContent {
  padding: 20px 15px;
  height: 140px;
}

.industrySlideSec .sliderContent h6 {
  font-size: 24px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}

.industrySlideSec .sliderContent a {
  font-size: 20px;
  font-weight: 600;
  color: #e80101;
  text-decoration: none;
  border-bottom: 1px solid #e80101;
  transition: all 0.4s ease-in-out;
}

.industrySlideSec .sliderItem:hover {
  background-color: #e80101;
  border-color: #e80101;
}

.industrySlideSec .sliderItem:hover .sliderContent h6,
.industrySlideSec .sliderItem:hover .sliderContent a {
  color: #fff;
  border-bottom-color: transparent;
}

/* ─────────────────────────────────────────────────────────────
   TRUSTED PARTNER
   Source: TrustedPartner.module.scss
   ───────────────────────────────────────────────────────────── */
.trustedPartnerSec {
  padding: 50px 0;
  background: #f6f7f8;
}

.trustedPartnerSec__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  justify-content: space-between;
}

.trustedPartnerSec__left {
  padding-top: 60px;
}

.trustedPartnerSec__left h2 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.trustedPartnerSec__left h2 span {
  color: #e80101;
}

.trustedPartnerSec__left p {
  font-size: 18px;
  font-weight: 500;
  color: #2c2c2c;
  margin: 0;
  padding: 10px 0 20px;
}

.trustedPartnerSec__right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  position: relative;
}

.trustedPartnerSec__logoBox {
  border-bottom: 2px solid #000;
  text-align: center;
  padding: 10px;
  /* Reveal animation start state */
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.trustedPartnerSec__logoBox.av-revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.trustedPartnerSec__logoBox img {
  width: 100%;
  max-width: 145px;
  height: 145px;
  object-fit: contain;
}

/* ─────────────────────────────────────────────────────────────
   OUR CLIENTS
   Source: OurClients.module.scss — class names match original
   ───────────────────────────────────────────────────────────── */
.ourClientSec {
  padding: 80px 0;
  text-align: center;
}

.ourClientSec .heading {
  text-align: center;
  margin-bottom: 20px;
}

.ourClientSec .heading h2 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
}

.ourClientSec .heading h2 span {
  color: #e80101;
}

.ourClientSec .heading p {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin: 0;
  padding: 10px 0 20px;
}

.ourClientSec .clientList {
  position: relative;
  padding-bottom: 0px;
}

.ourClientSec .navigationButtons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
}

.ourClientSec .navBtn {
  border: none;
  display: grid;
  place-items: center;
  color: #ff4c4c;
  cursor: pointer;
  transition: color 0.3s;
  border-radius: 50%;
  background: none;
  padding: 0;
}

.ourClientSec .navBtn svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.ourClientSec .navBtn:hover {
  color: #000;
}

.ClientSwiper {
  width: 100%;
  padding: 30px 0;
}

.ourClientSec .sliderItem {
  display: flex;
  justify-content: center;
  opacity: 0.5 !important;
  transform: scale(0.8) !important;
  transition: all 0.3s !important;
}
.ClientSwiper .swiper-slide-active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.ourClientSec .client-card {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.ourClientSec .client-card .top .avatarWrapper {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.ourClientSec .client-card .top .avatar {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.ourClientSec .client-card .top .info h4 {
  font-size: 24px;
  font-weight: 700;
  color: #2c2c2c;
}

.ourClientSec .client-card .top .info h6 {
  font-size: 18px;
  font-weight: 500;
  color: #2c2c2c;
}

.ourClientSec .client-card .bottom .starWrapper {
  color: #f6b800;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.ourClientSec .client-card .bottom .starWrapper svg {
  fill: #f6b800;
}

.ourClientSec .client-card .bottom .content {
  width: 80%;
  margin: 0 auto;
}

.ourClientSec .client-card .bottom .content p {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin: 0;
  padding: 10px 0 20px;
}

/* ─────────────────────────────────────────────────────────────
   JOIN APPVERTICALS
   Source: JoinAppverticals.module.scss — class names match original
   ───────────────────────────────────────────────────────────── */
.joinAvSec {
  padding: 80px 0;
  background: #000;
}

.joinAvSec__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.joinAvSec__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 30%;
}

.joinAvSec__left h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

.joinAvSec__left h2 span {
  color: #e80101;
}

.joinAvSec__left p {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.joinAvSec__btn {
  width: max-content !important;
}

.joinAvSec__right {
  width: 45%;
}

.joinAvSec__right .cardGrid {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px;
  position: relative;
}

.joinAvSec__right .jav-grid {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

.joinAvSec__right .speech-bubble {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  height: 120px;
  width: 120px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  flex-shrink: 0;
}

.joinAvSec__right .jav-grid img {
  object-fit: contain;
  border-radius: 15px;
}

/* Grid 1: dog image — fixed 165×165 */
.joinAvSec__right .gridType1 > img {
  width: 165px;
  height: 165px;
  flex-shrink: 0;
}

/* Grid 2 & 3: manImg container shrink-prevent + explicit img sizes */
.joinAvSec__right .manImg {
  flex-shrink: 0;
}

/* .joinAvSec__right .gridType2 .manImg img {
  width: 165px;
  height: 207px;
} */

.joinAvSec__right .gridType3 .manImg img {
  width: 126px;
  height: 180px;
}

.joinAvSec__right .redCard {
  border-radius: 10px;
  background-color: #e80101;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.joinAvSec__right .redCard .icon svg {
  color: #fff;
  fill: #fff;
  display: block;
}

.joinAvSec__right .redCard p {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.joinAvSec__right .manImg img {
  object-fit: cover;
  border-radius: 10px;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* 1920px — source has 180px padding on very large screens */
@media (min-width: 1600px) {
  .mobileAppBanner {
    padding: 180px 0;
  }
}

/* 1600px */
@media (max-width: 1600px) {
  .mobileAppBanner {
    padding: 100px 0;
  }
}

/* 1440px */
@media (max-width: 1440px) {
  .techTeamSec__content {
    gap: 100px;
  }
  .techTeamSec__left h2 {
    font-size: 35px;
  }
  .joinAvSec__left {
    width: 40%;
  }
  .joinAvSec__right {
    width: 50%;
  }
  .joinAvSec__left h2 {
    font-size: 35px;
  }
  .joinAvSec__right .redCard p {
    font-size: 16px;
  }
}

/* 1366px */
@media (max-width: 1366px) {
  .techTeamSec__content {
    gap: 50px;
  }
}

/* 1200px */
@media (max-width: 1200px) {
  .mobileAppBanner__left h1 {
    font-size: 38px;
  }
  .mobileAppBanner__left p {
    font-size: 16px;
  }
  .mobileAppBanner__btnWrapper {
    width: 100%;
  }
  .mobileAppBanner__right img {
    height: 450px;
  }
  .industrySlideSec .head .content h2 {
    font-size: 38px;
  }
}

/* 1199px */
@media (max-width: 1199px) {
  .techTeamSec__content {
    gap: 30px;
    flex-direction: column;
  }
  .techTeamSec__left h2 {
    font-size: 35px;
  }
  .techTeamSec__para p,
  .techTeamSec__para ul li {
    font-size: 16px;
  }
  .techTeamSec__right {
    text-align: center;
    width: 100%;
  }
  .trustedPartnerSec__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .trustedPartnerSec__left {
    padding-top: 20px;
  }
  .trustedPartnerSec__left h2 {
    font-size: 35px;
  }
  .trustedPartnerSec__left p {
    font-size: 16px;
  }
  .joinAvSec__inner {
    flex-direction: column;
  }
  .joinAvSec__left {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .joinAvSec__right {
    display: none;
  }
  .joinAvSec__left h2 {
    font-size: 30px;
  }
}

/* 991px */
@media (max-width: 991px) {
  .mobileAppBanner {
    background-color: #f7f7f7 !important;
  }
  .mobileAppBanner.aboutUs::before {
    content: none;
  }
  .mobileAppBanner__main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mobileAppBanner__right {
    display: none;
  }
  .mobileAppBanner__left h1 {
    font-size: 35px;
  }
  .mobileAppBanner__left p {
    width: 100%;
  }
  .mobileAppBanner__btnWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .mobileAppBanner__topButtons {
    justify-content: center;
  }
  .techTeamSec__content {
    gap: 20px;
  }
  .techTeamSec__imageBox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .techTeamSec__imageBox img:nth-child(1),
  .techTeamSec__imageBox img:nth-child(2),
  .techTeamSec__imageBox img:nth-child(3),
  .techTeamSec__imageBox img:nth-child(4) {
    grid-area: unset;
    height: 200px;
  }
  .awardsRecognitions .awardsInfo h2 {
    font-size: 35px;
  }
  .awardsRecognitions .awardsInfo p {
    font-size: 16px;
  }
  .awardsRecognitions .cont .box {
    width: 48%;
  }
  .awardsRecognitions .cont .box .imageWrapper {
    width: 70%;
  }
  .industrySlideSec {
    padding: 60px 0;
  }
  .ourClientSec {
    padding: 60px 0;
  }
  .ourClientSec .client-card .top .info h4 {
    font-size: 20px;
  }
  .ourClientSec .client-card .top .info h6 {
    font-size: 17px;
  }
}

/* 767px */
@media (max-width: 767px) {
  .mobileAppBanner__left h1 {
    font-size: 30px;
  }
  .industrySlideSec {
    padding: 40px 0;
  }
  .industrySlideSec .head {
    grid-template-columns: 1fr;
  }
  .industrySlideSec .head .award-pagination {
    justify-content: flex-start;
    margin-top: 10px;
  }
  .techTeamSec__imageBox {
    grid-template-columns: 1fr;
  }
}

/* 575px */
@media (max-width: 575px) {
  .mobileAppBanner__left h1 {
    font-size: 26px;
  }
  .techTeamSec__left h2,
  .whatDriveUsSection__head h2,
  .awardsRecognitions .awardsInfo h2,
  .industrySlideSec .head .content h2,
  .trustedPartnerSec__left h2,
  .ourClientSec .heading h2,
  .joinAvSec__left h2 {
    font-size: 30px;
  }
  .techTeamSec__para p,
  .techTeamSec__para ul li {
    font-size: 14px;
  }
  .awardsRecognitions .cont .box {
    width: 100%;
  }
  .awardsRecognitions .cont .box .imageWrapper {
    width: 50%;
  }
  .whatDriveUsSection__tabs {
    flex-direction: column;
    gap: 15px;
  }
  .whatDriveUsSection__tab h6 {
    margin: 0;
  }
  .mobileAppBanner__topButtons {
    flex-direction: column;
  }
}

/* 480px */
@media (max-width: 480px) {
  .mobileAppBanner__left h1 {
    font-size: 26px;
  }
  .techTeamSec__left h2 {
    font-size: 25px;
  }
}

/* 426px */
@media (max-width: 426px) {
  .mobileAppBanner__topButtons {
    flex-direction: column;
  }
}

/* 320px */
@media (max-width: 320px) {
  .techTeamSec__left h2 {
    font-size: 20px;
  }
}
