/* ==========================================================================
   sales-policy.css - ASG Commodities
   ========================================================================== */

/* -------------------------------------
   Hero Section
------------------------------------- */
.sales-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 120px 0 60px;
  background-color: var(--primary);
  overflow: hidden;
}

.sales-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/contact_hero_bg.png') center/cover no-repeat; /* Reuse an abstract/clean bg */
  z-index: 0;
  animation: bgZoom 20s infinite alternate linear;
}

.sales-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(20,40,29,0.92) 0%, rgba(10,20,15,0.85) 100%);
  z-index: 1;
}

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

.sales-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(223, 148, 33, 0.2);
  color: var(--secondary);
  border: 1px solid rgba(223, 148, 33, 0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.sales-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.sales-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* -------------------------------------
   Intro Section
------------------------------------- */
.policy-intro {
  background-color: var(--bg-light);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* -------------------------------------
   Policy Layout & Navigation
------------------------------------- */
.policy-body {
  position: relative;
  background-color: var(--white);
}

.policy-container {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Sidebar Navigation */
.policy-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.policy-nav-sticky {
  position: sticky;
  top: 100px; /* Below standard navbar */
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.05);
}

.policy-nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0,0,0,0.05);
}

.policy-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-nav-list a {
  display: block;
  padding: 10px 16px;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.policy-nav-list a:hover,
.policy-nav-list a.active {
  background: rgba(43, 85, 61, 0.05);
  color: var(--primary);
  border-left-color: var(--primary);
}

/* Content Area */
.policy-content {
  flex-grow: 1;
}

.policy-section {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0,0,0,0.05);
  scroll-margin-top: 100px; /* Offset for sticky header when anchored */
}

.policy-section:last-child {
  margin-bottom: 0;
}

.sec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sec-icon {
  width: 48px;
  height: 48px;
  background: rgba(223, 148, 33, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sec-header h2 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 700;
}

.policy-section p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* Step List inside Sections */
.policy-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.policy-steps li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
  color: var(--text-mid);
  line-height: 1.7;
}

.policy-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

ul.policy-steps {
  counter-reset: step-counter;
}

/* Fees Cards */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.fee-card {
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-color: rgba(223, 148, 33, 0.3);
}

.fee-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.fee-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

/* Contact Block inside content */
.contact-block {
  background: rgba(43, 85, 61, 0.03);
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 30px;
}

.contact-block h5 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-block p {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.contact-block a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* -------------------------------------
   Responsive
------------------------------------- */
@media (max-width: 991px) {
  .policy-container {
    flex-direction: column;
  }
  
  .policy-sidebar {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .policy-nav-sticky {
    position: relative;
    top: 0;
  }
  
  .policy-section {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .sales-hero {
    min-height: 40vh;
    padding: 100px 0 40px;
  }
}


/* ─── Industry Hero ─────────────────────────────────────── */
.ind-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
  padding-top: 120px;
  padding-bottom: 80px;
}

.ind-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_cocoa_farm.png');
  background-size: cover;
  background-position: center 60%;
  filter: brightness(.3);
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}

.ind-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,17,12,.92) 0%,
    rgba(69,37,26,.7) 50%,
    rgba(38,98,134,.3) 100%
  );
}

.ind-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Breadcrumb */
.ind-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.ind-breadcrumb a {
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .3s;
}
.ind-breadcrumb a:hover { color: var(--secondary); }
.ind-breadcrumb .active { color: rgba(255,255,255,.8); }

.ind-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin: 16px 0 18px;
  letter-spacing: -.01em;
}

.ind-hero-content h1 span { color: var(--secondary); }

.ind-hero-content > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.78;
  margin-bottom: 36px;
}