/* Bokai Custom About Section */
.bokai_custom_about_main {
  position: relative;
  width: 100%;
  padding-bottom: var(--section-padding);
  overflow: hidden;
}

/* Container */
.bokai_custom_about_main .bokai_custom_about_container {
  display: flex;
  gap: 5rem;
}

/* Left Content Area */
.bokai_custom_about_main .bokai_custom_about_left {
  padding: 2.5rem;
  max-width: 40rem;
  width: 100%;
  background-color: rgba(121, 232, 163, 0.1);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Title */
.bokai_custom_about_main .bokai_custom_about_title {
  font-family: var(--title-font-family);
  font-size: var(--font-size-h3);
  font-weight: 700;
  line-height: 1.222;
  color: var(--title-text-color);
  margin: 0;
}

/* Description */
.bokai_custom_about_main .bokai_custom_about_desc {
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color-second);
  margin: 0;
}

/* Statistics Container */
.bokai_custom_about_main .bokai_custom_about_stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Stat Item */
.bokai_custom_about_main .bokai_custom_about_stat-item {
  display: flex;
  flex-direction: column;
}

/* Number Wrapper */
.bokai_custom_about_main .bokai_custom_about_stat-number-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
}

/* Stat Number */
.bokai_custom_about_main .bokai_custom_about_stat-number {
  font-family: var(--title-font-family);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.091;
  color: var(--color-primary);
}

/* Stat Unit */
.bokai_custom_about_main .bokai_custom_about_stat-unit {
  font-family: var(--title-font-family);
  font-size: var(--font-size-md);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
  padding-bottom: 0.5rem;
}

/* Stat Label */
.bokai_custom_about_main .bokai_custom_about_stat-label {
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color-second);
  margin: 0;
}

/* Right Certificates Area */
.bokai_custom_about_main .bokai_custom_about_right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 2.5rem;
}

/* Certificate Column */
.bokai_custom_about_main .bokai_custom_about_cert-column {
}

/* Certificate Item */
.bokai_custom_about_main .bokai_custom_about_cert-item {
  position: relative;
  width: 100%;
  aspect-ratio: 33 / 42;
}

/* Certificate Tray (3D Polygon) */
.bokai_custom_about_main .bokai_custom_about_cert-tray {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 39%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bokai_custom_about_main .bokai_custom_about_polygon-fill {
  position: absolute;
  width: 70%;
  aspect-ratio: 1 / 1;
  background-color: var(--color-primary);
  transform: rotateX(77deg) rotateY(0deg) rotateZ(45deg);
}

.bokai_custom_about_main .bokai_custom_about_polygon-line {
  position: absolute;
  width: 70%;
  aspect-ratio: 1 / 1;
  background-color: var(--color-primary);
  opacity: 0.2;
  transform: rotateX(77deg) rotateY(0deg) rotateZ(45deg) translateZ(-25px);
}

/* Certificate Frame */
.bokai_custom_about_main .bokai_custom_about_cert-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 73%;
  aspect-ratio: 24 / 34;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.bokai_custom_about_main .bokai_custom_about_cert-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.bokai_custom_about_main .bokai_custom_about_cert-border {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.bokai_custom_about_main .bokai_custom_about_cert-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  border-radius: 0.5rem;
}

/* ==========================================
   Responsive Design
   ========================================== */

/* 1400px */
@media screen and (max-width: 1400px) {
  .bokai_custom_about_main .bokai_custom_about_stat-number {
    font-size: 5rem;
  }
}

/* 1200px */
@media screen and (max-width: 1024px) {
  .bokai_custom_about_main .bokai_custom_about_container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .bokai_custom_about_main .bokai_custom_about_left {
    max-width: 100%;
  }

  .bokai_custom_about_main .bokai_custom_about_stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 992px */
@media screen and (max-width: 992px) {
  .bokai_custom_about_main .bokai_custom_about_stat-number {
    font-size: 5rem;
  }
}

/* 768px */
@media screen and (max-width: 768px) {
  .bokai_custom_about_main .bokai_custom_about_stat-number {
    font-size: 5rem;
  }
}

/* 576px */
@media screen and (max-width: 576px) {

  

  .bokai_custom_about_main .bokai_custom_about_left {
    border-radius: 2px!important;
    padding: 1rem 0px!important;
  }
  .bokai_custom_about_main .bokai_custom_about_stat-number {
    /* font-size: 4rem; */
    font-size: 18px;
  }

  .bokai_custom_about_main .bokai_custom_about_stat-label  {
    font-size: 14px!important;
  }

  .bokai_custom_about_stat-number-wrapper {
    gap: 0px!important;
  }

  .bokai_custom_about_stat-unit {
    font-size: 14px!important;
    padding: 0px!important;
    line-height: normal!important;
  }

  .bokai_custom_about_main .bokai_custom_about_left,
  .bokai_custom_about_main .bokai_custom_about_container,
  .bokai_custom_about_main .bokai_custom_about_right,
  .bokai_custom_about_main .bokai_custom_about_stats {
    gap: 12px;
  }
}
