/* ========== ROOT SYSTEM ========== */
:root {
  /* Colors */
  --dark-bg: #2e2e2e;
  --light-bg: #ffffff;
  --primary: #fba31a;
  --primary-dark: #ff9900;
  --text-dark: #222;
  --text-light: #f2f2f2;
  --gray: #777;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  /* UI */
  --border-radius: 12px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-main: 'Montserrat', sans-serif;
  --fs-sm: clamp(0.85rem, 1vw, 0.95rem);
  --fs-base: clamp(1rem, 1.2vw, 1.1rem);
  --fs-lg: clamp(1.3rem, 2vw, 1.6rem);
  --fs-xl: clamp(1.8rem, 3vw, 2.5rem);
  --fs-xxl: clamp(2.2rem, 4vw, 3rem);
  --lh-base: 1.6;
}

/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text-dark);
  background-color: var(--light-bg);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}
a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

/* ========== GLOBAL HEADINGS ========== */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important; /* Always bright white */
  text-shadow: 0 2px 6px rgba(0,0,0,0.65); /* Add lift on dark backgrounds */
  font-weight: 700;
  line-height: 1.2;
}

/* 🌆 Hero Section */
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: var(--space-xl) var(--space-sm);
  background: url('/assets/site/about.png') no-repeat center / cover;
  isolation: isolate;
  overflow: hidden;
}

/* Dark overlay for readability */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    rgba(0, 0, 0, 0.88),   /* top darker */
    rgba(0, 0, 0, 0.7),    /* middle */
    rgba(0, 0, 0, 0.88)    /* bottom darker */
  );
}

/* Optional extra soft overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.25);
}

/* Text wrapper */
.about-hero .hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: min(46rem, 94vw);
  padding: 0 var(--space-sm);
  color: #ffffff !important;
}

/* ✅ Strong heading — pure white */
.about-hero .hero-text h1 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  color: #ffffff !important;
  text-shadow: 0 3px 8px rgba(0,0,0,0.75), 0 0 14px rgba(255,255,255,0.35);
}

/* ✅ Brighter body text */
.about-hero .hero-text p {
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  margin: 0 0 var(--space-lg);
  color: #f2f6fa !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.65);
}

/* Stats (if used) */
.about-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-hero .stat-item {
  text-align: center;
  padding: var(--space-sm);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

.about-hero .stat-number {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 800;
  color: #ffffff !important;
  display: block;
  margin-bottom: var(--space-xs);
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

.about-hero .stat-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #e5e7eb !important;
  font-weight: 600;
}

/* ========== CONTENT SECTIONS ========== */
.about-content,
.certifications,
.about-cta {
  padding: var(--space-lg) var(--space-sm);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  margin: var(--space-md) auto;
  max-width: 1100px;
}

.about-content ul {
  margin-top: var(--space-sm);
  padding-left: 1.2rem;
}
.about-content li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  font-size: var(--fs-sm);
}

/* ========== BADGES ========== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}
.badges img {
  width: 90px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0,0,0,0.05);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.badges img:hover {
  transform: scale(1.05);
}

/* ========== CTA SECTION ========== */
.about-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.about-cta p {
  margin-bottom: var(--space-md);
}
.about-cta .cta-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: var(--fs-base);
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.about-cta .cta-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.spw-footer {
  background: rgba(46, 46, 46, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: var(--space-md) var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}
.footer-left h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
  color: var(--primary-dark);
}
.footer-left p {
  font-size: var(--fs-sm);
  color: #ccc;
}

/* ========== MEDIA QUERIES ========== */
@media screen and (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
@media screen and (min-width: 1024px) {
  .about-hero { height: 65vh; }
  .about-content, .certifications, .about-cta { padding: var(--space-xl) var(--space-md); }
}

/* ==========  🏅 Certifications  ========== */
.certifications.dark {
  padding: var(--space-xl) 0;
  background: var(--muted-dark); /* same as team-section */
}

.certifications.dark h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.3rem);
  margin-bottom: var(--space-md);
  font-weight: 700;
  position: relative;
  display: inline-block;
  color: var(--text-strong);
}

.certifications.dark h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.certifications.dark p {
  margin-bottom: var(--space-lg);
  color: var(--text-body);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Badge grid */
.certifications.dark .badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-lg);
}

/* Compact card for each badge */
.certifications.dark .badge-item {
  background: #ffffff; /* white so logos pop */
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .2s ease;
  width: 140px;
  height: 100px;
}

.certifications.dark .badge-item:hover {
  transform: translateY(-4px);
}

/* Logo styling */
.certifications.dark .badge-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: none !important;
  mix-blend-mode: normal;
}
