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

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background-color: #ffffff;
  color: #111827;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* buttons & link style consistent with hero */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #1e3a2f;
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #1e3a2f;
  color: #1e3a2f;
}

.btn-outline:hover {
  background: #1e3a2f;
  color: white;
  transform: translateY(-2px);
}

.btn:hover {
  background-color: #0f2c21;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.15);
}

/* section spacing */
.section {
  padding: 80px 0;
}

/* cards & containers unified premium aesthetic */
.about-section-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow:
    0 20px 35px -12px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.02);
  border: 1px solid #f0f2f4;
  transition: box-shadow 0.2s;
}

.about-section-card--wide {
  width: 100%;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: #1a2c24;
}

/* ===== HERO SECTION (About background) ===== */
.about-hero {
  position: relative;
  padding: 70px 0 80px 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(6, 45, 57, 0.92) 0%,
      rgba(0, 108, 142, 0.55) 55%,
      rgba(0, 0, 0, 0.25) 100%
    ),
    url("../img/about.jpeg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(214, 190, 99, 0.22),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.14),
      transparent 45%
    );
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 58, 47, 0.08);
  backdrop-filter: blur(2px);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3a2f;
  margin-bottom: 28px;
  border: 1px solid rgba(30, 58, 47, 0.15);
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e3a2f, #2b5a44);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}

.about-hero p {
  font-size: 1.2rem;
  color: #2c3e35;
  max-width: 720px;
  margin: 0 auto 32px auto;
  line-height: 1.5;
}

.about-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.about-hero-card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
}

.about-hero-mini {
  background: white;
  padding: 20px 32px;
  border-radius: 32px;
  min-width: 180px;
  text-align: center;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9edeb;
}

.about-hero-mini h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1e3a2f;
  margin-bottom: 4px;
}

/* ===== FOUNDER SECTION (redesigned to match premium theme) ===== */
.about-founder-section {
  background: #ffffff;
  padding: 60px 0;
}
.about-founder-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.about-founder-inner {
  background: #fefef7;
  border-radius: 48px;
  background: linear-gradient(112deg, #ffffff 0%, #fafbf8 100%);
  border: 1px solid #eef0ea;
  padding: 56px 48px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.05);
}
.about-founder-content h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.about-founder-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 36px 0;
  list-style: none;
}
.about-founder-list li {
  background: #f0f4ef;
  padding: 10px 24px;
  border-radius: 60px;
  font-weight: 500;
  color: #1e3a2f;
  font-size: 1rem;
}
.about-timeline {
  margin: 40px 0 28px;
}
.about-timeline h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: #1f3c30;
}
.timeline-items {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  row-gap: 24px;
}
.timeline-item {
  background: white;
  padding: 12px 24px;
  border-radius: 60px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e3e8e0;
}
.timeline-year {
  font-weight: 800;
  color: #1e3a2f;
  background: #eef3ea;
  padding: 2px 10px;
  border-radius: 40px;
  font-size: 0.85rem;
}
.timeline-text {
  color: #2d4a3b;
}
.about-founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.about-founder-badge {
  background: #eef2ea;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1e3a2f;
}

/* ===== MISSION + VALUES (redesigned as elegant card) ===== */
.about-mission {
  background: #f9fbf7;
  padding: 60px 0;
}
.mission-card {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 48px;
  padding: 56px 32px;
  border: 1px solid #eef0e7;
}
.mission-card h2 {
  font-size: 2.3rem;
}
.mission-card p {
  font-size: 1.25rem;
  color: #2f493e;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 450;
}

/* ===== CERTIFICATION GALLERY (premium grid) ===== */
.cert-gallery {
  padding: 60px 0;
  background: #ffffff;
}
.cert-gallery-sub {
  text-align: center;
  margin-bottom: 48px;
  color: #4b6b58;
  font-weight: 500;
}
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 16px;
}
.cert-tile {
  background: #f8faf5;
  border: 1px solid #e2e9e1;
  border-radius: 32px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 150px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.cert-tile:hover {
  transform: translateY(-6px);
  border-color: #bcd0be;
  box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
  background: #fefffc;
}
.cert-icon i {
  font-size: 2.2rem;
  color: #1e3a2f;
}
.cert-label {
  font-weight: 700;
  font-size: 1rem;
  color: #1e3a2f;
}

/* ===== SUSTAINABILITY SECTION (grid refined) ===== */
.sustainability {
  background: #fafef8;
  padding: 60px 0;
}
.sustain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.sustain-card {
  background: white;
  border-radius: 28px;
  padding: 28px 24px;
  transition: all 0.2s;
  border: 1px solid #eaf0e6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.sustain-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1e3a2f;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sustain-card h3::before {
  content: "✓";
  font-weight: 800;
  background: #e7f0e3;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  color: #1e3a2f;
}
.sustain-card p {
  color: #2c4a3b;
  line-height: 1.5;
}

/* ===== MODAL (premium consistency) ===== */
.cert-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.2s,
    opacity 0.2s;
  z-index: 2000;
}
.cert-modal.open {
  visibility: visible;
  opacity: 1;
}
.cert-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}
.cert-modal-content {
  background: white;
  max-width: 480px;
  width: 90%;
  border-radius: 40px;
  position: relative;
  z-index: 10;
  padding: 32px 32px 40px;
  text-align: center;
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
}
.cert-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cert-modal-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e3a2f;
}
.cert-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: #6b7b6e;
}
.cert-modal-badge i {
  font-size: 3rem;
  color: #1e3a2f;
  background: #eef3ea;
  padding: 12px;
  border-radius: 60px;
}
.cert-modal-text {
  margin: 24px 0 20px;
  font-size: 1.1rem;
  color: #1f2f28;
  font-weight: 450;
}
.cert-modal-actions .btn {
  margin-top: 10px;
}

/* Responsive alignment */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .about-hero h1 {
    font-size: 2.4rem;
  }
  .about-hero p {
    font-size: 1rem;
  }
  .about-founder-inner {
    padding: 32px 24px;
  }
  .about-section-card {
    padding: 32px 24px;
  }
  .timeline-items {
    flex-direction: column;
    gap: 12px;
  }
  .cert-tile {
    min-width: 130px;
    padding: 18px 20px;
  }
}

/* extra polish for header integration (since header include exists, ensure spacing) */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
footer {
  margin-top: auto;
}
/* smooth alignment throughout */
.section,
.about-founder-section,
.about-mission,
.cert-gallery,
.sustainability {
  width: 100%;
}
.about-section-card,
.mission-card,
.about-founder-inner {
  transition: all 0.2s;
}
