/* Page sections: International Trade Support cards and commodity flip-card polish */

/* ==========================================================================
   HIGHLIGHTED INTERNATIONAL TRADE SUPPORT CARDS
   ========================================================================== */
.nz-box {
  position: relative;
  background: #fbf6ea;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid #b99a50;
  border-top: 2px solid #b99a50;
  border-radius: 20px;
  padding: 30px 24px;
  margin-bottom: 30px;
  box-shadow:
    0 14px 36px -6px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(185, 154, 80, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

/* Equal-height boxes: columns stretch, each box fills its column */
.nz-box-row {
  display: flex;
  flex-wrap: wrap;
}

.nz-box-row::before,
.nz-box-row::after {
  display: none;
}

.nz-box-row>[class*="col-"] {
  display: flex;
}

.nz-box-row .nz-box {
  width: 100%;
  flex: 1 1 auto;
  justify-content: flex-start;
}

/* Keep headings two lines tall on wide screens so paragraphs line up */
@media (min-width: 768px) {
  .nz-box-row .nz-box h4 {
    min-height: 2.7em;
  }
}

.nz-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b99a50, transparent);
  opacity: 0.9;
}

.nz-box:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: #d4af37;
  box-shadow:
    0 22px 50px -8px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(212, 175, 55, 0.4);
}

.nz-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nz-box-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0c04a 0%, #f857a6 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(248, 87, 166, 0.35);
  transition: transform 0.35s ease;
}

.nz-box:hover .nz-box-badge {
  transform: scale(1.08) rotate(-4deg);
}

.nz-box-index {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #b99a50;
  letter-spacing: 1px;
  line-height: 1;
}

.nz-box h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2b1d14;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}

.nz-box p {
  font-family: 'Karla', 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #5a5048;
  line-height: 1.6;
  margin: 0;
}

/* ---------- About: label with side lines ---------- */
.nz-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.nz-eyebrow::before,
.nz-eyebrow::after {
  content: '';
  width: 44px;
  height: 1px;
  background: currentColor;
}

/* ---------- About: heading with hand icon ---------- */
.nz-about-title {
  text-wrap: balance;
}

.nz-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fde3ef;
  color: #f857a6;
  font-size: 26px;
}

/* ---------- About: paragraphs with icons and dashed line ---------- */
.nz-about-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.nz-about-item:last-child {
  margin-bottom: 0;
}

.nz-about-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -16px;
  border-left: 1.5px dashed #b99a50;
}

.nz-about-icon {
  flex: none;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fde3ef;
  color: #f857a6;
  font-size: 22px;
}

/* About + Commodities: subtitle and paragraph text */
#about .section-heading p,
#commodities .section-heading p {
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Karla', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: #4a5470;
}

.nz-about-item p {
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
  color: #4a5470;
}

.nz-about-item strong {
  color: inherit;
  font-weight: 600;
}

@media (max-width: 600px) {

  #about .section-heading p,
  #commodities .section-heading p {
    font-size: 17px;
  }

  .nz-about-item p {
    font-size: 16px;
  }
}

/* ---------- About: 35+ Years card ---------- */
.nz-exp {
  padding: 6px;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px -8px rgba(16, 43, 63, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.nz-exp-ghost {
  position: absolute;
  right: -28px;
  bottom: -40px;
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.nz-exp-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 22px;
  border: 1px solid #f5d98a;
  border-radius: 15px;
}

.nz-exp-globe {
  flex: none;
  font-size: 44px;
  color: #fff;
}

.nz-exp-divider {
  align-self: stretch;
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
}

.nz-exp-text {
  font-size: 14px;
  line-height: 1.4;
}

.nz-exp strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
}

@media (max-width: 991px) {
  .nz-exp {
    margin-top: 24px;
  }
}

/* Commodity Experience 3D Flipper Card Polish (Existing Flip Animation Untouched) */
.service-box-style-04 .main-box,
.service-box-style-04 .box-front,
.service-box-style-04 .box-back {
  border-radius: 18px;
  overflow: hidden;
}

.service-box-style-04 .box-front {
  border: 1px solid #e8edf0;
  box-shadow: 0 10px 30px -8px rgba(16, 43, 63, 0.08);
  transition: box-shadow 0.3s ease;
}

.service-box-style-04 .main-box:hover .box-front {
  box-shadow: 0 16px 40px -6px rgba(16, 43, 63, 0.14);
}

.service-box-style-04 .icon-wrap {
  border-radius: 16px;
}

/* Heading/sub-heading colour used on the dark Trade Support section */
.nz-light-text {
  color: #fff;
}

/* ---------- Animation: icon circles (soft ripple + floating icon) ---------- */
@keyframes nzRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 87, 166, 0.45);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(248, 87, 166, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(248, 87, 166, 0);
  }
}

@keyframes nzFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.nz-title-icon,
.nz-about-icon {
  animation: nzRipple 2.4s ease-out infinite;
}

.nz-about-item:nth-child(2) .nz-about-icon {
  animation-delay: 0.8s;
}

.nz-title-icon i,
.nz-about-icon i {
  display: inline-block;
  animation: nzFloat 3s ease-in-out infinite;
}

/* ---------- Animation: 35+ Years card ---------- */
@keyframes nzShine {
  0% {
    transform: translateX(-120%) skewX(-20deg);
  }

  60%,
  100% {
    transform: translateX(420%) skewX(-20deg);
  }
}

@keyframes nzGlow {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(245, 217, 138, 0);
  }

  50% {
    box-shadow: 0 0 16px rgba(245, 217, 138, 0.6);
  }
}

@keyframes nzBreathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.nz-exp {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nz-exp:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -8px rgba(248, 87, 166, 0.45);
}

/* light streak sweeping across the card */
.nz-exp::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
  animation: nzShine 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

/* gold border glows softly */
.nz-exp-inner {
  animation: nzGlow 3s ease-in-out infinite;
}

/* globes breathe slowly */
.nz-exp-globe,
.nz-exp-ghost {
  animation: nzBreathe 4s ease-in-out infinite;
}


/* ---------- Section spacing (was 120px top + bottom on every section) ---------- */
#about {
  padding-top: 70px;
  padding-bottom: 30px;
}

#commodities {
  padding-top: 50px;
}

/* ---------- Headings: full width, one line ---------- */
#about .section-heading,
#commodities .section-heading {
  width: 100%;
  padding-bottom: 15;
}

#about .nz-about-title,
#commodities .nz-about-title {
  font-size: clamp(26px, 3.6vw, 40px);
}

@media (min-width: 768px) {

  #about .nz-about-title,
  #commodities .nz-about-title {
    white-space: nowrap;
  }
}

/* ---------- Commodity cards: smaller size + readable text ---------- */

/* keep the 4 cards in a neat centred block instead of full width */
#commodities .service-box-style-04 {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

/* card height (was 300px) and space below each card (was 50px) */
#commodities .height-300px {
  height: 250px;
}

#commodities .main-box.mb-50 {
  margin-bottom: 30px;
}

/* tighter inner spacing so long names like "Petroleum Products" fit */
#commodities .service-box-style-04 .content-wrap {
  padding: 30px 16px;
}

/* icon circle (was 100px) */
#commodities .service-box-style-04 .content-wrap .icon-wrap {
  width: 76px;
  height: 76px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#commodities .service-box-style-04 .content-wrap .icon-wrap i {
  font-size: 30px;
}

/* card title */
#commodities .service-box-style-04 .content-wrap h4 {
  font-size: 20px;
  margin: 14px 0 10px;
}

/* small text under the line: "Commodity trade", "Industrial trade"... */
#commodities .service-box-style-04 .box-front .content-wrap p {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #4a5470;
}

/* same text on the flipped (pink) side stays white */
#commodities .service-box-style-04 .box-back .content-wrap p {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}