/* ─── Global & Section Styles ────────────────────────────────────── */
:root {
  --section-padding: 4rem 1.5rem;
  --section-max-width: 1100px;
}
.section { max-width: var(--section-max-width); margin: 0 auto; padding: var(--section-padding); }
.light-bg { background-color: var(--background-white); }
.section-title { text-align: center; font-size: 2.25rem; color: var(--text-dark); margin-bottom: 3rem; }

/* ─── About Hero Section ─────────────────────────────────────────── */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 400px; /* CHANGE this from height to min-height */
  background-image: url('../images/about/background.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 4rem 2rem; /* INCREASE vertical padding for better spacing */
  z-index: 1;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(47, 62, 76, 0.7); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.about-hero .section-title { font-size: clamp(2.5rem, 6vw, 3.5rem); color: var(--text-light); margin-bottom: 1rem; }
.about-hero .section-subtitle { font-size: clamp(1rem, 2.5vw, 1.2rem); color: rgba(255, 255, 255, 0.9); margin: 0 auto; }

/* ─── Our Story Section ──────────────────────────────────────────── */
.story-section { background-color: var(--background-white); border-radius: 24px; }
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.story-text h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 1rem; }
.story-text p { color: var(--text-medium); line-height: 1.7; margin-bottom: 1rem; }
.story-image img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

/* ─── Mission & Vision Section ───────────────────────────────────── */
.mv-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  text-align: left;
}
.mv-item h2 { font-size: 1.75rem; color: var(--text-dark); margin-bottom: 0.75rem; }
.mv-item p { color: var(--text-medium); line-height: 1.6; }

/* ─── Values Section ─────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.value-card {
  display: flex;
  flex-direction: column;
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-green);
}
.value-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-yellow-light);
  color: var(--primary-blue);
  font-size: 1.5rem;
}
.value-card h3 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.95rem; color: var(--text-medium); line-height: 1.6; flex-grow: 1; }

/* ─── Meet the Team Section ──────────────────────────────────────── */
.team-section .section-title { margin-bottom: 2.5rem; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.team-member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--background-white);
}
.team-member h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.team-member p { font-size: 0.9rem; color: var(--primary-green); font-weight: 500; }

/* ─── CTA Section ────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background-color: var(--footer-bg);
  color: var(--text-light);
  border-radius: 24px;
  padding: 3.5rem 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.cta-section h2 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255, 255, 255, 0.9); max-width: 550px; margin: 0 auto 2rem auto; }
.cta-section .btn-primary {
  background-color: var(--accent-yellow); color: var(--text-dark); border-color: var(--accent-yellow);
}
.cta-section .btn-primary:hover { background-color: #ffcf40; border-color: #ffcf40; box-shadow: 0 4px 15px rgba(255,196,0,0.2); }

/* ─── Animation & Responsive ─────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .story-content { grid-template-columns: 1fr; }
  .story-image { order: -1; margin-bottom: 2rem; }
  .story-text { text-align: center; }
  .story-text h2 { text-align: center; }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 576px) {
  .about-hero { height: 350px; }
  .mv-section, .values-grid, .team-grid { grid-template-columns: 1fr; }
}