/* =============================================
   Customs Clearance Page Styles
   ============================================= */

/* Section 1: Pain Points / Document Automation */
.cc-pain-points {
  padding: 96px 0 96px;
  text-align: center;
}
.cc-section-title {
  font-size: 36px;
  font-weight: 600;
  color: #171922;
  margin: 0 0 48px;
  line-height: 1.3;
}
.cc-pain-desc {
  max-width: 847px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 24px;
  color: #4D5567;
}
.cc-pain-desc p {
  margin-bottom: 24px;
}
.cc-pain-desc p:last-child {
  margin-bottom: 0;
}

/* Section 2: Eliminate Manual Splitting */
.cc-split-section {
  padding: 68px 0;
  background: #E6ECF6;
}
.cc-split-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}
.cc-split-content {
  flex: 0 0 45%;
}
.cc-split-content h3 {
  font-size: 36px;
  font-weight: 600;
  color: #171922;
  line-height: 48px;
  margin: 0 0 32px;
}
.cc-split-text {
  font-size: 14px;
  line-height: 24px;
  color: #4D5567;
}
.cc-split-text p {
  margin-bottom: 24px;
}
.cc-split-text p:last-child {
  margin-bottom: 0;
}
.cc-split-image {
  flex: 1;
  text-align: center;
}
.cc-split-image img {
  width: 80%;
  height: auto;
}

/* Section 3: Accelerate Time to Billing */
.cc-billing-section {
  padding: 70px 0 55px;
  text-align: center;
}
.cc-billing-title {
  font-size: 32px;
  font-weight: 600;
  color: #171922;
  margin: 0 0 16px;
  max-width: 940px;
  margin: 0 auto 15px;
}
.cc-billing-desc {
  max-width: 893px;
  margin: 16px auto 36px;
  font-size: 14px;
  line-height: 20px;
  color: #4D5567;
}
.cc-billing-cols {
  display: flex;
  justify-content: space-between;
  /* gap: 60px; */
  max-width: 996px;
  margin: 0 auto;
}
.cc-billing-col {
  width: 305px;
  text-align: center;
}
.cc-billing-img {
  width: 290px;
  height: 290px;
  margin: 0 auto 45px;
  border-radius: 20px;
  overflow: hidden;
}
.cc-billing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cc-billing-col h4 {
  font-size: 24px;
  font-weight: 600;
  color: #171922;
  margin: 0;
  line-height: 28px;
}
.cc-billing-col h4 del {
  color: #8d99b0;
  text-decoration: line-through;
}

/* Section 4: Video Section */
.cc-video-section {
  padding: 0;
  position: relative;
}
.cc-video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 645px;
  background: linear-gradient(132deg, #114a9f 0%, #0b1323 19%);
}
.cc-video-bg {
  position: relative;
  z-index: 1;
}
.cc-video-bg .container {
  position: relative;
  height: 755px;
}
.cc-video-title {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 50px;
  white-space: nowrap;
}
.cc-video-wrapper {
  position: absolute;
  top: 192px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 996px;
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  aspect-ratio: 996/564;
}
.cc-video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 991px) {
  .cc-billing-cols {
    gap: 30px;
  }
  .cc-billing-col {
    width: auto;
    flex: 1;
  }
  .cc-billing-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
}

@media (max-width: 767px) {
  .cc-billing-section .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .cc-video-section .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  /* Pain Points */
  .cc-pain-points {
    padding: 48px 0 40px;
  }
  .cc-section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .cc-pain-desc {
    font-size: 14px;
    line-height: 22px;
  }

  /* Split Section */
  .cc-split-section {
    padding: 40px 0 48px;
  }
  .cc-split-grid {
    flex-direction: column;
    gap: 32px;
  }
  .cc-split-content {
    flex: none;
    width: 100%;
  }
  .cc-split-content h3 {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 16px;
  }

  /* Billing Section */
  .cc-billing-section {
    padding: 32px 0 28px;
  }
  .cc-billing-title {
    font-size: 24px;
    line-height: 1.25;
    max-width: 280px;
    margin: 0 auto 12px;
  }
  .cc-billing-desc {
    max-width: 320px;
    margin: 0 auto 20px;
    line-height: 22px;
  }
  .cc-billing-cols {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .cc-billing-col {
    width: 100%;
    max-width: 290px;
  }
  .cc-billing-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    margin-bottom: 24px;
    border-radius: 18px;
  }
  .cc-billing-col h4 {
    max-width: 220px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.3;
  }

  /* Video Section */
  .cc-video-section {
    padding: 0;
  }
  .cc-video-section::before {
    top: 0;
    height: 76.2667vw;
    background: linear-gradient(140deg, #114a9f 0%, #0b1323 52%);
  }
  .cc-video-bg {
    padding: 0;
  }
  .cc-video-bg .container {
    position: relative;
    height: 89.7867vw;
  }
  .cc-video-title {
    position: absolute;
    top: 11.7333vw;
    left: 4.2667vw;
    width: 91.4667vw;
    max-width: none;
    margin: 0;
    transform: none;
    font-size: 6.4vw;
    line-height: 9.0667vw;
    font-weight: 700;
    white-space: normal;
  }
  .cc-video-wrapper {
    position: absolute;
    top: 41.6vw;
    left: 7.4667vw;
    transform: none;
    width: 85.3333vw;
    max-width: none;
    margin: 0;
    border: none;
    border-radius: 0.9413vw;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    aspect-ratio: 640/361.4;
  }
}

@media (max-width: 575px) {
  .cc-billing-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
