/* ==========================================================================
   ESCO LOGISTICS LLC - PAGES & SECTION SPECIFIC STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HOMEPAGE HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/ending-image-1.jpg') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 6rem 1.5rem 8rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(26, 61, 99, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  letter-spacing: 0.5px;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   2. HOW OUR PLATFORM WORKS SECTION
   -------------------------------------------------------------------------- */
.platform-works-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.feature-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-step-card:hover {
  transform: translateX(6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.step-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.step-card-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.step-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.platform-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.platform-visual-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.platform-visual-card:hover img {
  transform: scale(1.04);
}

.platform-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.platform-badge-float h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.platform-badge-float p {
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 991px) {
  .platform-works-grid {
    grid-template-columns: 1fr;
  }
  .platform-visual-card img {
    height: 380px;
  }
}

/* --------------------------------------------------------------------------
   3. TRUSTED PATH TO GLOBAL SHIPPING & SECURITY DEPOSIT
   -------------------------------------------------------------------------- */
.deposit-section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.deposit-image-wrapper {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.deposit-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.deposit-details-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.deposit-box-callout {
  background: var(--surface-tint);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.deposit-box-callout h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deposit-box-callout p {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
}

.deposit-article-block {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.deposit-article-block h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deposit-article-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.deposit-article-block p:last-child {
  margin-bottom: 0;
}

.refundable-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(2, 132, 199, 0.1) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.refundable-highlight h3 {
  font-size: 1.25rem;
  color: #065f46;
  margin-bottom: 0.75rem;
}

.refundable-highlight p {
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .deposit-section-grid {
    grid-template-columns: 1fr;
  }
  .deposit-image-wrapper {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   4. WHAT WE ARE OFFERING (SERVICES SHOWCASE)
   -------------------------------------------------------------------------- */
.service-showcase-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.service-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-showcase-card:hover .service-card-img-wrap img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card-link:hover {
  color: var(--primary);
  gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   5. SUBPAGE HERO & INNER BANNER
   -------------------------------------------------------------------------- */
.subpage-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.subpage-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.subpage-hero .breadcrumb a {
  color: #cbd5e1;
}

.subpage-hero .breadcrumb a:hover {
  color: #ffffff;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.subpage-hero p {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   6. SERVICE DETAIL PAGE ELEMENTS
   -------------------------------------------------------------------------- */
.service-detail-header {
  background: var(--surface-tint);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.price-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(26, 61, 99, 0.25);
}

.feature-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.content-box-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.content-box-card h2, .content-box-card h3 {
  margin-bottom: 1rem;
}

.content-box-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-box-card p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. PAYMENT PROCESS PAGE
   -------------------------------------------------------------------------- */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.payment-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.payment-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.payment-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}

.payment-card-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.payment-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.payment-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. CARRIER SETUP / AGREEMENT MULTI-STEP FORM
   -------------------------------------------------------------------------- */
.agreement-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.step-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.step-nav-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.step-pill {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.step-pill.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.step-pill.completed .step-circle {
  background: var(--success);
  border-color: var(--success);
  color: #ffffff;
}

.step-title-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-pill.active .step-title-text {
  color: var(--primary);
  font-weight: 700;
}

.agreement-step-content {
  display: none;
}

.agreement-step-content.active {
  display: block;
}

.agreement-terms-box {
  max-height: 240px;
  overflow-y: auto;
  padding: 1.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .agreement-form-card {
    padding: 1.75rem;
  }
  .step-title-text {
    display: none;
  }
}
