/* =============================================================
   about.css — Metal Scrap India
   Styles for About Us Page components.
   ============================================================= */



.page-hero {
    position: relative;
    background-image: 
      linear-gradient(
            rgba(10,20,30,0.65),
            rgba(10,20,30,0.65)
        ),
      url("../images/about_us.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 120px 0;
    color: #fff;
    overflow: hidden;
}


/* ===== Our Journey Timeline ===== */
.section-journey {
  padding: 80px 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #d4a843 10%, #d4a843 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 48px 56px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
}

.timeline-item:nth-child(odd) .timeline-marker { right: -9px; }
.timeline-item:nth-child(even) .timeline-marker { left: -9px; }

.timeline-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0f1923;
  border: 3px solid #d4a843;
  box-shadow: 0 0 0 4px #ffffff;
}

.timeline-year {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #0f1923;
  background: #d4a843;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.timeline-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0f1923;
  margin: 6px 0 8px;
}

.timeline-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555f66;
  margin: 0;
}

.timeline-text strong {
  color: #0f1923;
}

/* Mobile: single column, line moves to left */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 0 40px 56px;
  }

  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 12px;
    right: auto;
  }
}

/* Small phones: tighten timeline spacing further */
@media (max-width: 380px) {
  .timeline { margin-top: 40px; }
  .timeline-item { padding: 0 0 32px 44px; }
  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 4px;
  }
  .timeline-year { font-size: 0.75rem; padding: 3px 11px; }
  .timeline-title { font-size: 1.02rem; }
  .timeline-text { font-size: 0.88rem; }
}




/* ── 1. SUSTAINABILITY SECTION ──────────────────────────────── */
.sustain-section { padding: 88px 0; background: var(--white); }
.sustain-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sustain-visual { position: relative; display: flex; align-items: center; justify-content: center; padding-bottom: 28px; }
.sustain-svg-wrap {
  width: 100%; max-width: 420px; background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 50%, #e3f2fd 100%);
  border-radius: 24px; padding: 36px 36px 64px; box-shadow: 0 8px 40px rgba(76, 175, 80, 0.12);
  position: relative; overflow: visible;
}
.sustain-svg-wrap::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%; background: rgba(76, 175, 80, 0.08);
}
.sustain-badge {
  position: absolute; bottom: -18px; right: 24px; background: var(--green); color: var(--white);
  font-size: 11.5px; font-weight: 600; padding: 8px 18px; border-radius: 20px;
  display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3); letter-spacing: 0.3px; white-space: nowrap;
}
.sustain-badge i { font-size: 14px; }
.sustain-content .eyebrow { color: var(--green); }
.sustain-content .section-title { color: var(--text-1); line-height: 1.3; padding-bottom: 8px; margin-bottom: 16px; overflow: visible; }
.sustain-lead { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.sustain-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.sustain-stat { background: #f1f8f1; border: 1px solid #c8e6c9; border-radius: var(--radius-md); padding: 16px 14px; text-align: center; }
.sustain-stat .s-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--green); line-height: 1; }
.sustain-stat .s-label { font-size: 11px; color: #558b2f; margin-top: 4px; line-height: 1.4; }
.sustain-points { display: flex; flex-direction: column; gap: 12px; }
.sustain-point { display: flex; gap: 12px; align-items: flex-start; }
.sustain-point-icon {
  width: 34px; height: 34px; border-radius: 8px; background: #e8f5e9;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.sustain-point-icon i { font-size: 17px; color: var(--green); }
.sustain-point-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.sustain-point-text span { font-size: 12.5px; color: var(--text-2); line-height: 1.55; }

/* ── 2. WHY US SECTION ──────────────────────────────────────── */
.why-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
  margin: 44px 0 56px;
  height: 420px;
}
.why-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; transition: box-shadow var(--transition), border-color var(--transition);
}
.why-card:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06); border-color: rgba(212, 168, 67, 0.35); }
.why-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 67, 0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.why-icon i { font-size: 22px; color: var(--gold); }
.why-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.why-text { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* =============================================================
   RESPONSIVE
   Breakpoints: 900px (tablet), 768px (timeline switch — existing),
   600px (large phones), 480px (standard iPhone/Android widths),
   380px (small phones)
   ============================================================= */

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .page-hero { padding: 100px 0 60px; }
  .sustain-inner { grid-template-columns: 1fr; gap: 40px; }
  .sustain-svg-wrap { max-width: 100%; }
  .why-feature-img { height: 300px; margin: 32px 0 40px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Large phones ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .page-hero { padding: 84px 0 48px; }
  .section-journey { padding: 56px 0; }

  .sustain-section { padding: 60px 0; }
  .sustain-svg-wrap { padding: 28px 24px 52px; }
  .sustain-svg-wrap::before { width: 120px; height: 120px; top: -28px; right: -28px; }
  .sustain-badge { right: 16px; bottom: -16px; font-size: 11px; padding: 7px 14px; }
  .sustain-stats { gap: 10px; }
  .sustain-stat { padding: 12px 8px; }
  .sustain-stat .s-num { font-size: 18px; }
  .sustain-stat .s-label { font-size: 10px; }
  .sustain-lead { font-size: 14.5px; }
  .why-feature-img { height: 220px; margin: 24px 0 32px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 20px; }
  .why-title { font-size: 15px; }
  .why-text { font-size: 12.5px; }
}

/* ── Standard iPhone / Android widths ───────────────────────── */
@media (max-width: 480px) {
  .page-hero { padding: 78px 0 40px; }

  /* Stat boxes get tight at this width with 3 columns — reduce padding
     and font further rather than break the row, so the layout still
     reads as a neat trio of stats instead of stacking oddly */
  .sustain-stats { gap: 8px; }
  .sustain-stat { padding: 10px 6px; }
  .sustain-stat .s-num { font-size: 16px; }
  .sustain-stat .s-label { font-size: 9px; }

  .sustain-svg-wrap { padding: 22px 18px 46px; border-radius: 18px; }
  .sustain-badge { position: static; margin-top: 14px; display: inline-flex; }

  .why-feature-img { height: 180px; }
}

/* ── Small phones (iPhone SE 1st gen, compact Android) ──────── */
@media (max-width: 380px) {
  .page-hero { padding: 72px 0 36px; }
  .why-card { padding: 16px; }
  .why-icon { width: 38px; height: 38px; margin-bottom: 14px; }
  .why-icon i { font-size: 19px; }
}