/* ==========================================================================
   ABOUT US PAGE STYLES - PROVERT SYSTEMS & SOLUTIONS
   Scoped styles to prevent merge conflicts & fully responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --about-primary: #116E4A;
  --about-primary-dark: #116e4a;
  --about-primary-light: #ecfdf5;
  --about-primary-glow: rgba(22, 163, 74, 0.15);
  --about-dark-text: #111827;
  --about-body-text: #4b5563;
  --about-muted-text: #6b7280;
  --about-card-bg: #ffffff;
  --about-border-color: #e5e7eb;
  --about-section-alt: #f8fafc;
  --about-section-values: #f6f9f7;
  --about-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --about-radius-sm: 8px;
  --about-radius-md: 14px;
  --about-radius-lg: 20px;
}

body.about-page {
  font-family: var(--about-font);
  background-color: #ffffff;
  color: var(--about-body-text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── BANNER SECTION ─────────────────────────────────────────── */
.banner {
  position: relative;
  width: 100%;
  height: 520px;
  background-image: url('../Assets/about-us-banner-new.jpg');
  background-position: center 30%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.88) 28%,
    rgba(0, 0, 0, 0.65) 55%,
    rgba(0, 0, 0, 0.30) 80%,
    rgba(0, 0, 0, 0.15) 100%
  ),
  linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.20) 40%,
    rgba(0, 0, 0, 0.10) 100%
  );
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 130px 140px 0 140px;
}

.banner-content h1 {
  color: #ffffff;
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 66px);
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.banner-content span.highlight {
  font-weight: 700;
  color: #ffffff;
}

.breadcrumb {
  color: #ffffff;
  font-weight: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #116E4A;
}

.breadcrumb .crumb-separator {
  color: var(--about-primary);
  font-size: 16px;
  line-height: 1;
}

.breadcrumb .active-crumb {
  color: #116E4A;
  font-weight: 500;
}

/* ─── COMMON SECTION CONTAINERS & TYPOGRAPHY ──────────────────── */
.about-section {
  width: 100%;
  padding: 90px 0;
  position: relative;
  box-sizing: border-box;
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section-tag {
  display: inline-block;
  color: var(--about-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--about-font);
}

.about-main-heading {
  color: var(--about-dark-text);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-bottom: 28px;
}

.about-main-heading.uppercase {
  text-transform: uppercase;
}

/* ─── SECTION 1: INTRO & OVERVIEW ────────────────────────────── */
.about-intro-section {
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 70px;
}

.about-intro-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 28px;
  margin-bottom: 50px;
}

.intro-lead-heading {
  color: #111827;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.3px;
  margin: 0;
  max-width: 1100px;
}

.about-intro-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.about-intro-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.intro-p {
  color: var(--about-body-text);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* Bottom Stats Bar */
.about-stats-bar {
  display: grid;
  grid-template-columns: 1.3fr 2.7fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 10px 0;
  border-top: 1px solid var(--about-border-color);
  margin-top: 20px;
}

.stats-info-col p {
  color: var(--about-body-text);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.stats-items-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 24px;
  border-left: 1px solid #e5e7eb;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-item:hover {
  transform: translateX(4px);
  border-left-color: var(--about-primary);
}

.stat-number {
  color: var(--about-primary);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: transform 0.25s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.03);
}

.stat-label {
  color: var(--about-muted-text);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

/* ─── SECTION 2: OUR DIRECTION (MISSION & VISION) ────────────── */
.about-direction-section {
  background-color: var(--about-section-alt);
  padding: 85px 0;
}

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}

.direction-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--about-radius-lg);
  padding: 44px 38px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.direction-card:hover {
  transform: translateY(-5px);
  border-color: #86efac;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.08);
}

.direction-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--about-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.direction-card:hover .direction-num-badge {
  transform: scale(1.08);
  background-color: #dcfce7;
}

.direction-badge-title {
  color: var(--about-primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.direction-card-title {
  color: var(--about-dark-text);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.direction-card-text {
  color: var(--about-body-text);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
}

/* ─── SECTION 3: CERTIFICATIONS & COMPLIANCE ─────────────────── */
.about-cert-section {
  background-color: #ffffff;
  padding: 95px 0;
}

.cert-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  gap: 52px;
  align-items: stretch;
}

.cert-highlight-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--about-radius-lg);
  padding: 48px 36px 36px 36px;
  text-align: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.cert-highlight-card:hover {
  transform: translateY(-4px);
  border-color: #86efac;
  box-shadow: 0 22px 50px rgba(22, 163, 74, 0.10);
}

.cert-card-top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

.cert-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.cert-highlight-card:hover .cert-top-accent {
  transform: scaleX(1);
  opacity: 1;
}

.cert-seal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #15803d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.25);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.cert-highlight-card:hover .cert-seal-icon {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.35);
}

.cert-standard-code {
  color: var(--about-dark-text);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.cert-status-badge {
  display: inline-block;
  color: var(--about-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cert-card-desc {
  color: var(--about-body-text);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.cert-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid #f1f5f9;
  width: 100%;
}

.cert-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-value {
  color: var(--about-dark-text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.metric-label {
  color: var(--about-muted-text);
  font-size: 12px;
  font-weight: 500;
}

.cert-content-col {
  display: flex;
  flex-direction: column;
}

.cert-main-desc {
  color: var(--about-body-text);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cert-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #eef2f6;
  border-radius: 6px;
  margin-top: 10px;
  overflow: hidden;
}

.cert-feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 26px;
  box-sizing: border-box;
  background-color: #ffffff;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.cert-feature-item:hover {
  background-color: #f7fbf8;
}

.cert-feature-item:nth-child(1) {
  border-right: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

.cert-feature-item:nth-child(2) {
  border-bottom: 1px solid #eef2f6;
}

.cert-feature-item:nth-child(3) {
  border-right: 1px solid #eef2f6;
}

.feature-num {
  color: var(--about-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cert-feature-item:hover .feature-num {
  transform: translateX(2px);
  color: #116E4A;
}

.feature-title {
  color: var(--about-dark-text);
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-sub {
  color: var(--about-body-text);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

/* ─── SECTION 4: WHAT WE STAND FOR (OUR CORE VALUES) ─────────── */
.about-values-section {
  background-color: var(--about-section-values);
  padding: 95px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.value-card {
  background: #ffffff;
  border-radius: var(--about-radius-md);
  border: 1px solid #e5e7eb;
  padding: 34px 28px 36px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: #86efac;
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.08);
}

.value-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.value-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--about-primary);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.value-card:hover .value-num-badge {
  transform: scale(1.08);
  background-color: var(--about-primary);
  color: #ffffff;
  border-color: var(--about-primary);
}

.value-badge-label {
  color: var(--about-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.value-dash {
  width: 26px;
  height: 2px;
  background-color: var(--about-primary);
  margin-bottom: 16px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.value-card:hover .value-dash {
  width: 38px;
}

.value-title {
  color: var(--about-dark-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.value-desc {
  color: var(--about-body-text);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ─── SECTION 5: CTA BANNER ───────────────────────────────────── */
.about-cta-section {
  background-color: #ffffff;
  padding: 80px 0 100px 0;
}

.cta-banner-wrapper {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 56px;
  align-items: center;
  box-shadow: none;
}

.cta-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-tag-sm {
  color: var(--about-muted-text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-heading {
  color: var(--about-dark-text);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.cta-desc {
  font-family: var(--about-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--about-body-text);
  margin-bottom: 28px;
}

.cta-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--about-primary-dark);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.cta-contact-btn:hover {
  background-color: var(--about-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.25);
}

.cta-contact-btn svg {
  transition: transform 0.2s ease;
}

.cta-contact-btn:hover svg {
  transform: translate(2px, -2px);
}

.cta-image-col {
  border-radius: var(--about-radius-sm);
  overflow: hidden;
}

.cta-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cta-banner-wrapper:hover .cta-img {
  transform: scale(1.02);
}

/* ─── RESPONSIVE BREAKPOINTS (ALL DIMENSIONS) ─────────────────── */

/* Large screens & Laptops (max-width: 1200px) */
@media (max-width: 1200px) {
  .banner-content {
    padding: 120px 60px 0 60px;
  }

  .about-stats-bar {
    grid-template-columns: 1.2fr 2.8fr;
    gap: 32px;
  }
}

/* Medium Tablets & Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
  .about-intro-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-stats-bar {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-items-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-item:first-child {
    padding-left: 0;
    border-left: none;
  }

  .cert-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cta-banner-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 36px;
    gap: 32px;
  }

  .cta-img {
    height: 260px;
  }
}

/* Small Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  .about-section {
    padding: 70px 0;
  }

  .banner {
    height: 420px;
  }

  .banner-content {
    padding: 100px 24px 0 24px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .direction-card {
    padding: 34px 28px;
  }

  .cert-highlight-card {
    padding: 40px 24px 32px 24px;
  }

  .cert-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .cta-banner-wrapper {
    padding: 32px 20px;
  }
}

/* Mobile Devices (max-width: 580px) */
@media (max-width: 580px) {
  .about-section {
    padding: 55px 0;
  }

  .banner {
    height: 400px;
    background-position: center 25%;
  }

  .banner-content {
    padding: 90px 20px 0 20px;
  }

  .banner-content h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .stats-items-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
  }

  .stat-item:first-child {
    border-top: none;
    padding-top: 0;
  }

  .cert-features-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid #eef2f6;
  }

  .cert-feature-item {
    padding: 22px 0 !important;
    border-right: none !important;
    border-bottom: 1px solid #eef2f6 !important;
  }

  .cert-feature-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .cert-metrics-row {
    gap: 10px;
  }

  .metric-value {
    font-size: 17px;
  }

  .metric-label {
    font-size: 11.5px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-card {
    padding: 28px 20px 30px 20px;
  }

  .cta-img {
    height: 200px;
  }
}