/*
  Hero section
*/

.hero-section-home .banner {
  background-color: transparent !important;
}

.imexco-hero-banner-home img {
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center bottom !important;
}

.imexco-hero-banner-home {
  height: auto !important;
  aspect-ratio: 1958 / 803 !important;
}

.imexco-hero-banner-home .height-fix {
  display: none !important;
}

/*
  Product section
*/

.imexco-section-header .col-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.imexco-section-header .badge-green {
     background: linear-gradient(to right, #0ba2dc, #0041b8);

  padding: 6px 20px !important;
  border-radius: 50px !important;
  display: inline-block;
}

.imexco-section-header .badge-green p {
    color: white;
    font-size: 17px ;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 !important;
}

.imexco-section-header .section-title-container {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  max-width: 100%;
}

.section-title-normal span {
  border-bottom: none !important;
}

.imexco-section-header .section-title-container b {
  display: none !important;
}

.imexco-section-header .section-title-main {
  color: #000000 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 43px !important;
  text-transform: none !important;
  display: block;
}

.imexco-section-header .is-divider {
  max-width: 70px !important;
  width: 70px !important;
  height: 5px !important;
  background-color: #028e37 !important;
  border-radius: 16777200px !important;
  margin: 0 !important;
  border: none !important;
}

.imexco-section-header .section-desc p {
  color: #444444 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  max-width: 640px;
}

/* ==========================================================================
   COMPONENT: STATS ROW (THANH THỐNG KÊ)
   ========================================================================== */

.imexco-stats-row {
  border-radius: 16px !important;
  overflow: hidden !important;
  outline: 1px solid rgba(2, 142, 55, 0.15) !important;
  outline-offset: -1px !important;
  margin-bottom: 30px !important;
}

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

.imexco-stats-row .col-inner {
  height: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 28px 15px !important;
  text-align: center;
}

.imexco-stats-row .col:nth-child(odd) .col-inner {
  background: #028e37 !important;
}

.imexco-stats-row .col:nth-child(even) .col-inner {
  background: linear-gradient(135deg, #1b5e20 0%, #2757a0 100%) !important;
}

.imexco-stats-row .stat-num {
  color: #ffffff !important;

  font-size: 45px !important;
    font-weight: 700 !important;
  line-height: 1 !important;
}

.imexco-stats-row .stat-label {
  color: rgba(255, 255, 255, 0.8) !important;

  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.imexco-market-banner {
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
  margin-bottom: 0 !important;
}

.imexco-market-banner:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.18) !important;
}

.imexco-market-banner .banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%) !important; */
  z-index: 1;
}

.imexco-market-banner .banner-layers {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.imexco-market-banner .text-box,
.imexco-market-banner .text-box-inner,
.imexco-market-banner .text {
  height: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.imexco-market-banner .text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.imexco-market-banner .market-header-badge {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 20px 0 0 20px !important;
}

.imexco-market-banner .market-body-content {
  position: relative !important;
  z-index: 2 !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  bottom: -230px !important;
}

.imexco-market-banner .market-flag {
  font-size: 28px !important;
  line-height: 1 !important;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.15));
}

.imexco-market-banner .market-year-tag {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50px !important;
  outline: 1px rgba(255, 255, 255, 0.3) solid !important;
  outline-offset: -1px !important;
  padding: 5px 12px !important;
  color: #ffffff !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  line-height: 1.5 !important;
  backdrop-filter: blur(4px);
}

.imexco-market-banner .market-country-title {
  color: #ffffff !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.imexco-market-banner .market-green-line {
  width: 36px !important;
  height: 2px !important;
  background: #028e37 !important;
  border-radius: 50px !important;
}

.imexco-market-banner .market-info-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.imexco-market-banner .market-info-list li {
  display: flex !important;
  align-items: flex-start !important;
  margin: 0;
}

.imexco-market-banner .market-info-list .emoji-icon {
  font-size: 18px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin-top: 2px;
}

.imexco-market-banner .market-info-list .text-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin-left: 10px;
}

/* ==========================================================================
   COMPONENT: FACTORY PROCESSING ROWS (XEN KẼ ẢNH VÀ CHỮ)
   ========================================================================== */

.imexco-factory-row {
  background-color: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow:
    0 1px 2px -1px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 32px !important;
  border: none !important;
  display: flex !important;
  align-items: stretch !important;
}

@media (min-width: 850px) {
  .imexco-factory-row {
    height: 400px !important;
  }
}

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

.imexco-factory-row .col-inner,
.imexco-factory-row .col-inner .img,
.imexco-factory-row .col-inner .img-inner {
  height: 100% !important;
}

.imexco-factory-row .col-inner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.factory-card-content {
  padding: 40px 48px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 100% !important;
}

.factory-badge {
  color: #028e37 ;
  font-size: 28px ;
  font-weight: 500 ;
  text-transform: uppercase ;
  letter-spacing: 1.2px ;
  margin-bottom: 4px ;
  display: block;
}

.factory-title {
  color: #000000 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 35px !important;
  margin: 0 0 20px 0 !important;
}

.factory-divider {
  width: 40px !important;
  height: 3px !important;
  background-color: #028e37 !important;
  border-radius: 50px !important;
  margin-bottom: 20px !important;
}

.factory-desc {
  color: #555555 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
  max-width: 520px;
}

.factory-specs-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.factory-specs-group .spec-box {
  flex: 1 1 0px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  align-items: flex-start !important;

  background-color: #f7faf8 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(2, 142, 55, 0.15) !important;
}

.factory-specs-group .spec-label {
    color: var(--primary-color) !important;
    font-size: 13px !important;
    font-weight: bold;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}
.factory-specs-group .spec-value {
  color: #000000 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* ==========================================================================
   [HOMEPAGE] TỰ ĐỘNG ANIMATE ZÍC-ZẮC CHO FACTORY ROWS
   ========================================================================== */

.imexco-factory-row {
  opacity: 0 !important;
  transition: opacity 1.5s ease-out, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.imexco-factory-row:nth-child(odd) {
  transform: translateX(-50px) !important;
}

.imexco-factory-row:nth-child(even) {
  transform: translateX(50px) !important;
}

.imexco-factory-row.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.imexco-factory-row.is-revealed:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/*=============================================================================
 * RESPONSIVE HEADER (TABLET & MOBILE)
 *=============================================================================*/

@media (max-width: 849px) {

  .home-row-products h2.section-title.section-title-normal,
  span.section-title-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .imexco-hero-banner-home img {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  .imexco-section-header .badge-green p {
    font-size: 12px !important;
  }

  .imexco-section-header .section-desc p {
    font-size: 14px !important;
  }

  .home-row-products h2.section-title.section-title-normal,
  span.section-title-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* ==========================================================================
   COMPONENT: FACTORY PROCESSING ROWS (XEN KẼ ẢNH VÀ CHỮ)
   ========================================================================== */

  .imexco-factory-row {
    flex-direction: column !important;
    border-radius: 20px !important;
  }

  .factory-card-content {
    padding: 30px 24px !important;
  }

  .imexco-factory-row .col:has(img) {
    height: 250px !important;
  }

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

  .factory-specs-group .spec-box {
    flex: 1 1 calc(50% - 8px);
  }
}