/* =========================================
   About Us Page Components
   Used on: about-us.html
   Follow BEM naming: .block__element--modifier
   ========================================= */

/* =========================================
   About Us Banner
   ========================================= */
.about-us-banner {
  width: 100%;
}

.about-us-banner__inner {
  width: 100%;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
@media (max-width: 990px) {
  .about-us-banner__inner {
    gap: 24px;
  }
}

.about-us-banner__title {
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-primary);
}

.about-us-banner__desc {
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-secondary);
}

.about-us-banner__image {
  width: 100%;
  background-image: url("../assets/images/banners/mission-banner-web.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 6/1.68;
  padding: 70px 18%;
  position: relative;
  overflow: hidden;
}

@media (max-width: 990px) {
  .about-us-banner__image {
    padding: 30px;
  }
}

/* =========================================
               Mission Banner Orbs
               ========================================= */
.about-us-banner__orb {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.about-us-banner__orb--1 {
  width: 15%;
  right: 28%;
  top: 3%;
}

.about-us-banner__orb--2 {
  width: 13%;
  right: 12%;
  bottom: 15%;
}

.about-us-banner__orb--3 {
  width: 12%;
  right: 41%;
  bottom: 3%;
}

@media (max-width: 990px) {
  .about-us-banner__orb--1 {
    width: 27%;
    right: 15%;
    top: 10%;
    bottom: auto;
  }

  .about-us-banner__orb--2 {
    width: 20%;
    right: 2%;
    top: auto;
    bottom: 25%;
  }

  .about-us-banner__orb--3 {
    width: 23%;
    right: 22%;
    top: auto;
    bottom: 3%;
  }
}

.about-us-banner__image-inner {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 990px) {
  .about-us-banner__image-inner {
    width: 55%;
    gap: 10px;
  }
}

.about-us-banner__image-title {
  font-weight: 800;
  font-size: 3vw;
  line-height: 1.2;
  letter-spacing: 0%;
  color: var(--color-white);
  position: relative;
}

@media (max-width: 990px) {
  .about-us-banner__image-title {
    font-size: 5.5vw;
  }
}

.about-us-banner__image-title .spark-tl {
  position: absolute;
  top: -25px;
  left: -17px;
  width: 20px;
  height: 20px;
}

.about-us-banner__image-title .spark-br {
  position: absolute;
  bottom: 20px;
  right: -27px;
  width: 18px;
  height: 18px;
}

.about-us-banner__image-desc {
  font-weight: 400;
  font-size: 1.3vw;
  line-height: 1.4;
  letter-spacing: 0%;
  color: var(--color-light);
}

@media (max-width: 990px) {
  .about-us-banner__image-desc {
    font-size: 3vw;
  }
}

@media (max-width: 990px) {
  .about-us-banner {
    padding: 0 16px;
  }

  .about-us-banner__title {
    font-size: 28px;
  }

  .about-us-banner__desc {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .about-us-banner__image {
    background-image: url("../assets/images/banners/mission-banner-mobile.webp");
    aspect-ratio: 6/4.3;
  }
}

/* =========================================
                                                                       Who We Are
                                                                       ========================================= */
.who-we-are {
  width: 100%;
  max-width: 1200px;
  padding: 80px 40px;
  margin: 0 auto;
}

.who-we-are__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.who-we-are__title {
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-primary);
}

.who-we-are__desc {
  font-weight: 400;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-secondary);
}

@media (max-width: 990px) {
  .who-we-are {
    padding: 16px;
    max-width: 550px;
  }

  .who-we-are__inner {
    gap: 28px;
  }

  .who-we-are__title {
    font-size: 28px;
  }

  .who-we-are__desc {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* =========================================
                                                                       Core Values
                                                                       ========================================= */
.core-values {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}

.core-values__inner {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.core-values__container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.core-values__title {
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-primary);
}

.core-values__row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.core-values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 1;
}

.core-values__item img {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
}

.core-values__item-title {
  font-weight: 700;
  font-size: 25.82px;
  line-height: 1.3;
  letter-spacing: 0px;
  text-align: center;
  color: var(--color-text-primary);
}

.core-values__item-desc {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0px;
  text-align: center;
  color: var(--color-text-secondary);
}

@media (max-width: 990px) {
  .core-values__inner {
    padding: 24px;
    gap: 28px;
    margin-top: 30px;
  }

  .core-values__title {
    font-size: 28px;
  }

  .core-values__container {
    gap: 10px;
    flex-direction: column;
    max-width: 550px;
  }

  .core-values__row {
    gap: 18px;
    width: 100%;
  }

  .core-values__item {
    gap: 6px;
    max-width: 35%;
  }

  .core-values__item img {
    width: 68px;
    height: 68px;
  }

  .core-values__item-title {
    font-size: 14px;
  }

  .core-values__item-desc {
    font-size: 12px;
  }
}

/* =========================================
                                                                       Game Thinking
                                                                       ========================================= */
.game-thinking {
  padding: 80px 24px;
}

.game-thinking__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.game-thinking__title {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-primary);
}

.game-thinking__video {
  width: 100%;
  max-width: 788px;
  border-radius: 16px;
  aspect-ratio: 6/3.7;
  border-radius: 16px;
  overflow: hidden;
}

.game-thinking__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-thinking__subtitle {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-secondary);
}

.game-thinking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  width: 100%;
}

/* .swiper-scrollbar.game-thinking__swiper-scrollbar (0,2,0) beats Swiper's base
   .swiper-scrollbar{background:#0000001a} regardless of load order (portal lazy-loads
   swiper CSS last) — otherwise the faint gray track ("long line") shows behind the thumb. */
.swiper-scrollbar.game-thinking__swiper-scrollbar {
  bottom: 0 !important;
  height: 4px;
  background: transparent;
}

.game-thinking__swiper-scrollbar .swiper-scrollbar-drag {
  background: var(--color-brand-primary);
  border-radius: 2px;
  cursor: grab;
  opacity: 0.2;
}

.game-thinking__swiper-wrap {
  display: none;
}

.game-thinking__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  border-radius: 16px;
  background: var(--color-white);
}

.game-thinking__card--1 {
  border: 2px solid #ffc8a4;
}
.game-thinking__card--2 {
  border: 2px solid #a3c9ff;
}
.game-thinking__card--3 {
  border: 2px solid #ace0bc;
}
.game-thinking__card--4 {
  border: 2px solid #ddbeff;
}

.game-thinking__card-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-thinking__card-icon img {
  width: 100%;
  height: 100%;
}

.game-thinking__card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-thinking__card-title {
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0%;
  color: var(--color-text-primary);
}

.game-thinking__card-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0%;
  color: var(--color-text-secondary);
}

@media (max-width: 980px) {
  .game-thinking {
    padding: 35px 20px;
    overflow: hidden;
    margin-top: 20px;
    border-bottom: 1px solid #e6e6e6;
  }

  .game-thinking__inner {
    gap: 24px;
    /* padding-right: 20px; */
  }

  .game-thinking__title {
    font-size: 26px;
  }

  .game-thinking__video {
    border-radius: 12px;
    max-width: 100%;
  }

  .game-thinking__subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  .game-thinking__grid {
    display: none;
  }

  .game-thinking__swiper-wrap {
    display: block;
    width: 100%;
  }

  .game-thinking__card {
    padding: 12px;
    gap: 12px;
  }

  .game-thinking__card-title {
    font-size: 16px;
  }

  .game-thinking__card-desc {
    font-size: 13px;
  }

  /* .swiper.game-thinking__swiper (0,2,0) beats Swiper's base .swiper{overflow:hidden;padding:0}
     regardless of load order (portal lazy-loads swiper CSS last) — keeps slides peeking out and
     the bottom gap so the scrollbar sits below the cards, not on top of them. */
  .swiper.game-thinking__swiper {
    overflow: visible;
    padding-bottom: 10px;
  }

  .game-thinking__swiper .swiper-slide {
    width: 85%;
    height: auto;
  }

  .game-thinking__swiper .game-thinking__card {
    height: 100%;
  }
}

/* =========================================
                                                                       Games Info Banner
                                                                       ========================================= */
.games-info-banner {
  width: 100%;
  margin: 0 auto;
}

.games-info-banner__inner {
  width: 100%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-image: url("../assets/images/banners/game-info-banner-web.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 6/1.2;
  margin-top: 20px;
}

.games-info-banner__desc {
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0px;
  text-align: center;
  color: var(--color-text-secondary);
}

.games-info-banner__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0px;
  text-align: center;
  color: var(--color-text-primary);
  margin-top: 10px;
}

.games-info-banner__images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 37px;
}

.games-info-banner__images img {
  width: 180px;
  height: 80px;
  flex-shrink: 0;
}

@media (max-width: 990px) {
  .games-info-banner__inner {
    padding: 24px;
    gap: 6px;
    background-image: url("../assets/images/banners/game-info-banner-mobile.svg");
    aspect-ratio: 6/2.7;
  }

  .games-info-banner__desc {
    font-size: 14px;
  }

  .games-info-banner__title {
    font-size: 20px;
    margin-top: 0px;
  }

  .games-info-banner__images {
    gap: 16px;
    margin-top: 16px;
  }

  .games-info-banner__images img {
    width: 112px;
    height: 50px;
  }
}
@media (min-width: 750px) and (max-width: 990px) {
  .games-info-banner__inner {
    aspect-ratio: 6/1.7;
  }
}

/* =========================================
                                                                       Trusted Learning
                                                                       ========================================= */
.trusted-learning {
  width: 100%;
  padding: 60px 24px;
}

.trusted-learning__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.trusted-learning__title {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-primary);
}

.trusted-learning__desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-secondary);
}

@media (max-width: 990px) {
  .trusted-learning {
    padding: 16px;
    margin-top: 35px;
  }

  .trusted-learning__inner {
    gap: 8px;
  }

  .trusted-learning__title {
    font-size: 22px;
  }

  .trusted-learning__desc {
    font-size: 13px;
  }
}

/* =========================================
                                      Simple Awards
                                      ========================================= */
.simple-awards--trusted-learning {
  margin-top: 24px;
}

@media (max-width: 990px) {
  .simple-awards--trusted-learning {
    margin-top: 16px;
    margin-bottom: 16px;
  }
}
