/* ==========================================================================
   COMPONENT: ABOUT US HOME SLIDER (650PX FIGMA SPEC OVERRIDE)
   ========================================================================== */

.imexco-about-slider {
  border-radius: 0 0 24px 24px !important;
  overflow: hidden !important;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.imexco-about-slider .flickity-viewport {
  height: 650px !important;
}

.imexco-about-slider .text-box-content {
  padding-left: 0 !important;
}

.imexco-about-slider .about-slide-content {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.about-slide-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 10px;
}

.about-slide-content .about-title {
  color: #028e37 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 50px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

.about-slide-content .about-desc {
  color: #ffffff !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.imexco-about-slider .flickity-prev-next-button svg:hover {
  background: #028e37 !important;
  border-color: #028e37 !important;
}

.flickity-page-dots {
  bottom: -20% !important;
}

.imexco-about-slider .flickity-page-dots .dot {
  background: #ffffff !important;
  opacity: 0.4 !important;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease !important;
}

.imexco-about-slider .flickity-page-dots .dot.is-selected {
  background: #068f35 !important;
  opacity: 1 !important;
  transform: scale(1.2);
}

.row-web-logo .img {
  width: 220px !important;
  height: 150px !important;
  margin: 0 auto !important;
}

.row-web-logo .img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.section-why-choosing-us h1 {
  font-size: 40px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  word-wrap: break-word !important;
}

/* ==========================================================================
   COMPONENT: COMPANY PROFILE CARD ROWS (SPEC FIGMA 100%)
   ========================================================================== */

.imexco-profile-row {
  background-color: #ffffff !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 20px !important;
  border: none !important;

  display: flex !important;
  align-items: center !important;

  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.12) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}

.imexco-profile-row:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.18) !important;
}

.imexco-profile-row .col {
  padding-bottom: 0 !important;
}

.imexco-profile-row .col-inner {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.imexco-profile-row .col-inner img {
  width: 100% !important;
  max-width: 456px !important;
  height: 200px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  display: block;
}

.profile-card-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100%;
}

.profile-card-title {
  color: #3974ba !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.profile-intro-text {
  color: #525252 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.profile-bullet-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.profile-bullet-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.profile-bullet-list .bullet-arrow {
  color: #068f35 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  flex-shrink: 0;
}

.profile-bullet-list .bullet-txt {
  color: #525252 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

.profile-bullet-list .bullet-txt strong {
  color: #222222 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   COMPONENT: 3D FOCUS CERTIFICATION SLIDER (FIGMA SPEC 100%)
   ========================================================================== */

.imexco-center-header {
  text-align: center;
  max-width: 765px;
  margin: 0 auto 35px auto;
}

.imexco-center-header .cert-section-title {
  color: #000000 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 55px !important;
  margin: 0 0 12px 0 !important;
}

.imexco-center-header .cert-section-desc {
  color: #3f3e3e !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 27px !important;
  margin: 0 !important;
}

.imexco-cert-slider {
  max-width: 1280px !important;
  margin: 0 auto !important;
}

.imexco-cert-slider .flickity-viewport {
  width: 100% !important;
  overflow: visible !important;
  padding: 40px 0 !important;
}

.imexco-cert-slider .flickity-slider .banner {
  transform: scale(0.92) !important;
  opacity: 0.5 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05) !important;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    box-shadow 0.4s ease !important;
}

.imexco-cert-slider .flickity-slider .banner.is-selected {
  transform: scale(1.06) !important;
  opacity: 1 !important;
  z-index: 5 !important;
  box-shadow: 0px 20px 45px rgba(0, 0, 0, 0.2) !important;
}

.imexco-cert-slider .flickity-slider .banner.is-selected~.banner {
  transform: scale(0.92) translateX(-7%) !important;
}

.imexco-cert-slider .text-box-content {
  padding: 0 !important;
}

.cert-card-overlay {
  background: linear-gradient(0deg,
      rgba(30, 30, 30, 0.75) 0%,
      rgba(45, 45, 45, 0.5) 70%,
      rgba(60, 60, 60, 0) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 20px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100%;
  text-align: left;
}

.cert-card-name {
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  word-wrap: break-word;
}

.cert-card-action {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 0 !important;
  padding-top: 4px;
}

.cert-action-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.cert-action-arrow {
  color: #ffffff !important;
  font-size: 16px !important;
  transition: transform 0.3s ease !important;
}

.imexco-cert-slider .banner:hover .cert-action-arrow {
  transform: translateX(5px);
}

.imexco-cert-slider .flickity-prev-next-button {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
}

.imexco-cert-slider .flickity-prev-next-button .arrow {
  fill: #01006a !important;
}

.imexco-cert-slider .flickity-page-dots .dot.is-selected {
  background: #068f35 !important;
  border: none !important;
}

/* ==========================================================================
   COMPONENT: ACTIVITY GALLERY ITEMS (EQUAL HEIGHT SPEC)
   ========================================================================== */

.activity-items {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  display: flex !important;
  align-items: stretch !important;
}

.section-activities h1 {
  font-size: 40px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700 !important;
  line-height: 55px !important;
  word-wrap: break-word !important;
  margin-top: 20px !important;
}

.activity-items {
  display: flex !important;
  align-items: stretch !important;
}

.activity-items .col,
.activity-items .col-inner,
.activity-items .img,
.activity-items .img-inner {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.product-cate .specs-list li {
    display: flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    gap: 20px;
}
.activity-items img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    flex-grow: 1 !important;
    padding: 7px;
    border: 2px solid black;
    border-radius: 10px;
}

/* ==========================================================================
   [HOMEPAGE] HIỆU ỨNG MARQUEE CHO SECTION ACTIVITIES
   ========================================================================== */

.imexco-marquee-wrapper {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding-top: 10px;
  padding-bottom: 20px;
}


.imexco-marquee-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;

  animation: imexcoMarquee 25s linear infinite !important;

}


.imexco-marquee-row>.col {
  flex: 0 0 280px !important;

  max-width: 280px !important;
  padding: 0 15px !important;

}


.imexco-marquee-row:hover {
  animation-play-state: paused !important;
}


@keyframes imexcoMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   COMPONENT: OVERLAP IMAGE CLUSTER & CHECKLIST (FIGMA SPEC)
   ========================================================================== */

.imexco-overlap-section {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 40px !important;
}

.col-image-cluster .col-inner {
  position: relative !important;
  width: 100% !important;

  height: 420px !important;
}

.img-bg-corporate {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 75% !important;
  z-index: 1 !important;
}

.img-bg-corporate img {
  border-radius: 24px !important;
  object-fit: cover !important;
  height: 280px !important;
}

.img-fg-cassava {
  position: absolute !important;
  bottom: 10px !important;
  right: 20px !important;
  width: 60% !important;
  z-index: 2 !important;
}

.img-fg-cassava img {
  border: 8px solid #ffffff !important;
  border-radius: 28px !important;
  object-fit: cover !important;
  height: 280px !important;
}

.badge-customers {
  position: absolute !important;
  bottom: 65px !important;
  left: 75px !important;
  z-index: 3 !important;
  background: #3974ba !important;
  border-radius: 12px !important;
  border-bottom: 5px #068f35 solid !important;
  padding: 15px !important;
  width: 200px !important;
  box-shadow: 0px 10px 25px rgba(57, 116, 186, 0.25) !important;
}

.badge-customers-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 18px !important;
  width: 100% !important;
}

.badge-customers .badge-number {
  align-self: stretch !important;
  text-align: center !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.badge-customers .badge-text {
  align-self: stretch !important;
  text-align: center !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.feature-list-wrapper h1 {
  font-size: 40px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700 !important;
  line-height: 40px !important;
  word-wrap: break-word !important;
}

.col-feature-list .col-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.feature-check-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.feature-check-list li {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.feature-check-list .check-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  background-color: transparent !important;
  border: 2px solid #028e37 !important;
  color: #028e37 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}

.feature-check-list .check-txt {
  color: #888888 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   DEFENSIVE RESPONSIVE FOR IMAGE OVERLAP (MOBILE FIX)
   ========================================================================== */
@media (max-width: 849px) {
  .imexco-overlap-section {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .col-image-cluster .col-inner {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .img-bg-corporate,
  .img-fg-cassava,
  .badge-customers {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .img-bg-corporate img,
  .img-fg-cassava img {
    height: 220px !important;
    border: none !important;
    border-radius: 16px !important;
  }

  .badge-customers {
    position: relative !important;
    bottom: 25px !important;
    left: auto !important;
    width: 100% !important;
    max-width: 240px !important;
    margin: 15px auto 0 auto !important;
    padding: 20px !important;
  }

  .badge-customers .badge-number {
    font-size: 48px !important;
  }
}

/* ==========================================================================
   RESPONSIVE CHO MOBILE (TRÁNH ẢNH BỊ THU QUÁ NHỎ HOẶC QUÁ TO)
   ========================================================================== */
@media (max-width: 550px) {
  .activity-items img {
    height: 250px !important;
  }

  .feature-list-wrapper h1 {
    font-size: 30px !important;
    text-align: center;
  }

  .feature-check-list {
    padding: 10px !important;
    gap: 10px !important;
  }

  .feature-check-list li {
    gap: 8px !important;
  }
}

/* ==========================================================================
   DEFENSIVE RESPONSIVE FOR LARGE TYPOGRAPHY
   ========================================================================== */

@media (min-width: 850px) {
  .imexco-about-slider .banner-layers.container {
    max-width: 1280px !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
  }

  .imexco-about-slider .text-box {
    width: 668px !important;
  }
}

@media (max-width: 849px) {
  .imexco-about-slider .banner-layers.container {
    max-width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  .imexco-about-slider .flickity-viewport {
    height: 480px !important;
  }

  .about-slide-content .about-title {
    font-size: 38px !important;
  }

  .about-slide-content .about-desc {
    font-size: 18px !important;
  }

  .imexco-profile-row {
    flex-direction: column !important;
    padding: 24px 20px !important;
    gap: 24px !important;
  }

  .imexco-profile-row .col-inner img {
    max-width: 100% !important;
    height: 220px !important;
  }

  .imexco-profile-row.row-reverse {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  .imexco-cert-slider .flickity-viewport {
    overflow: hidden !important;
  }

  .imexco-cert-slider .flickity-slider .banner {
    transform: scale(1) translateX(0) !important;
    opacity: 1 !important;
  }

  .imexco-cert-slider .flickity-slider .banner.is-selected~.banner {
    transform: scale(1) translateX(0) !important;
  }

  .imexco-center-header .cert-section-title {
    font-size: 30px !important;
    line-height: 40px !important;
  }
}

@media (max-width: 768px) {
  .imexco-marquee-row>.col {
    flex: 0 0 200px !important;
    max-width: 200px !important;
  }
}

@media (max-width: 550px) {
  .imexco-about-slider .flickity-viewport {
    height: 420px !important;
  }

  .imexco-about-slider .text-box {
    width: 100% !important;
  }

  .about-slide-content {
    padding: 0 24px;
    text-align: center;
  }

  .about-slide-content .about-title {
    font-size: 32px !important;
  }

  .about-slide-content .about-desc {
    font-size: 16px !important;
  }

  .flickity-page-dots {
    display: none !important;
  }

  .activity-items img {
    height: 250px !important;
  }
}