/* =============================================
   about.css — Styles for About page
   W.R.C. ENERGY
   ============================================= */

/* ---------- SECTION 5 – CTA Full Width ---------- */
.about-cta-section {
  display: flex;
  align-items: stretch;
  min-height: 596px;
  overflow: hidden;
  background-image: url('../images/about-cta-bg.png');
  background-size: cover;
}

.about-cta-left {
  width: 50%;
  flex-shrink: 0;
  background-color: rgba(4, 85, 151, 0.80);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 80px 64px 120px;
}

.about-cta-title {
  font-family: var(--font-main);
  font-size: var(--fs-40);
  font-weight: 400;
  line-height: var(--lh-1-45);
  color: var(--white);
  margin-bottom: var(--sp-32);
}

.about-cta-desc {
  font-family: var(--font-main);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-1-8);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--sp-16);
}

.about-cta-desc:last-child {
  margin-bottom: 0;
}

.about-cta-right {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.about-cta-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- HERO ---------- */
.about-hero {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44, 44, 44, 0.72);
}

.about-hero-title {
  font-family: var(--font-main);
  font-size: var(--fs-48);
  font-weight: 700;
  line-height: var(--lh-1-3);
  color: var(--white);
  margin-bottom: var(--sp-20);
}

.about-hero-sub {
  font-family: var(--font-main);
  font-size: var(--fs-20);
  font-weight: 400;
  color: var(--white);
  margin: 0;
}

/* ---------- SECTION 1 – Intro / Stats (full-width flex) ---------- */
.about-intro-section {
  background-color: #ffffff;
  overflow: hidden;
}

.about-intro-inner {
  display: flex;
  align-items: stretch;
  min-height: 654px;
}

/* Left: text panel */
.about-intro-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 120px;
  flex-shrink: 0;
}

.about-sub-label {
  font-family: var(--font-main);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--sp-8);
}

.about-intro-title {
  font-family: var(--font-main);
  font-size: var(--fs-48);
  font-weight: 700;
  line-height: var(--lh-1-3);
  color: var(--primary-blue);
  margin-bottom: var(--sp-24);
}

.about-intro-desc {
  font-family: var(--font-main);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-1-8);
  color: var(--text-dark);
  margin: 0;
}

/* Right: stat grid — fills the other 50% edge-to-edge */
.about-intro-right {
  width: 50%;
  flex-shrink: 0;
}

/* 2×2 stat grid */
.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
}

.about-grid-photo {
  overflow: hidden;
}

.about-grid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-grid-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-40);
}

.about-grid-card--green {
  background-color: var(--primary-green);
  color: #fff;
}

.about-grid-card--dark {
  background-color: var(--dark-blue);
}

/* Stat cards use shared .stat-* classes from style.css */

/* ---------- SECTION 2 – Team / Company (full-width flex) ---------- */
.about-team-section {
  background-color: #f8fcff;
  overflow: hidden;
}

.about-team-inner {
  display: flex;
  align-items: stretch;
  min-height: 620px;
}

/* Left: aerial video fills the full left panel edge-to-edge */
.about-team-left {
  width: 57%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.about-video-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 100px;
  z-index: 10;
}

.about-video-thumb {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.about-play-btn:hover {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.08);
}

.about-play-btn i {
  font-size: 28px;
  color: var(--primary-blue);
  margin-left: var(--sp-4);
}

/* Right: text content */
.about-team-right {
  width: 43%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-60) var(--sp-80) var(--sp-60) var(--sp-60);
}

.about-team-tag {
  font-family: var(--font-main);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--sp-12);
}

.about-team-title {
  font-family: var(--font-main);
  font-size: var(--fs-36);
  font-weight: 700;
  line-height: var(--lh-1-4);
  color: var(--primary-blue);
  margin-bottom: var(--sp-20);
}

.about-company-pill {
  display: inline-block;
  font-family: var(--font-main);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--sp-24);
}

.about-team-desc {
  font-family: var(--font-main);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-1-8);
  color: var(--text-dark);
  margin-bottom: var(--sp-16);
}

/* ---------- SECTION 3 – ISO ---------- */
.about-iso-section {
  background-color: #ffffff;
  padding: 80px 0 60px;
}

.about-iso-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: center;
}

.about-iso-title {
  font-family: var(--font-main);
  font-size: var(--fs-36);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--sp-16);
}

.about-iso-desc {
  font-family: var(--font-main);
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: var(--sp-48);
}

.about-iso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.about-iso-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 412 / 505;
  background: #d9d9d9;
}

.about-iso-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- SECTION 4 – Our Partners ---------- */
.about-partners-section {
  background-color: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #e8f0f8;
}

.about-partners-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-partners-left {
  flex-shrink: 0;
  min-width: 200px;
}

.about-partners-title {
  font-family: var(--font-main);
  font-size: var(--fs-36);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--sp-8);
}

.about-partners-desc {
  font-family: var(--font-main);
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
}

.about-partners-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-48);
  flex: 1;
}

.about-partner-logo {
  display: flex;
  align-items: center;
}

.about-partner-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.2s;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .about-hero {
    height: 420px;
  }

  .about-hero-title {
    font-size: 32px;
  }

  /* Section 1: stack vertically */
  .about-intro-inner {
    flex-direction: column;
    min-height: unset;
  }

  .about-intro-left {
    width: 100%;
    padding: 60px 40px;
  }

  .about-intro-right {
    width: 100%;
  }

  .about-stat-grid {
    min-height: 480px;
  }

  .about-intro-title {
    font-size: 32px;
  }

  /* Section 2: stack vertically */
  .about-team-inner {
    flex-direction: column;
    min-height: unset;
  }

  .about-team-left {
    width: 100%;
    min-height: 360px;
  }

  .about-team-right {
    width: 100%;
    padding: 50px 40px;
  }

  .about-team-title {
    font-size: 28px;
  }

  /* Section 5 */
  .about-cta-section {
    flex-direction: column;
    min-height: unset;
    background-color: red;
    background-size: cover;
    background-position: center;
  }

  .about-cta-left {
    width: 50%;
    padding: 60px 40px;
  }

  .about-cta-title {
    font-size: 28px;
  }

  .about-iso-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-partners-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 40px;
  }

  .about-iso-inner {
    padding: 0 40px;
  }
}

@media (max-width: 575.98px) {
  .about-hero-title {
    font-size: 24px;
  }

  .about-intro-left {
    padding: 48px 24px;
  }

  .about-intro-title {
    font-size: 28px;
  }

  .about-stat-number {
    font-size: 48px;
  }

  .about-stat-label {
    font-size: 18px;
  }

  .about-grid-card {
    padding: 28px 24px;
  }

  .about-team-right {
    padding: 40px 24px;
  }

  .about-company-pill {
    font-size: 16px;
    padding: 6px 18px;
  }

  .about-partner-logo img {
    height: 44px;
  }

  .about-partners-logos {
    gap: 28px;
  }

  .about-iso-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-iso-inner,
  .about-partners-inner {
    padding: 0 24px;
  }

  .about-iso-title,
  .about-partners-title {
    font-size: 26px;
  }

  .about-cta-left {
    padding: 48px 24px;
  }

  .about-cta-title {
    font-size: 24px;
  }
}
