/* -----------------------------------
   SPRYLIFE MEDICAL CENTRE — ABOUT PAGE STYLES
   Version: 6.0 (Guaranteed Blue Background Match)
----------------------------------- */

/* Assumes all variables are loaded from style.css */

/* BANNER */
.banner {
  position: relative;
  background: url('../images/about1.png') center/cover no-repeat;
  color: var(--white);
  padding: 8rem 0 8rem;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  /* Lighter blue gradient for brightness */
  background: linear-gradient(135deg, rgba(25, 148, 209, 0.70) 0%, rgba(15, 23, 42, 0.40) 100%); 
}

.banner-inner {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

.banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white); 
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.banner p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  color: var(--white);
}

/* GENERAL SECTIONS */
.section {
  padding: 6rem 0;
}

.section h2 {
  text-align: center;
  font-size: 2.25rem;
  color: var(--color-primary); 
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.section p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* ABOUT STORY (White background) */
.about-story {
  background: var(--white);
  padding-bottom: 0; 
}

.about-story .wrap {
  max-width: 850px;
}

/* MISSION & VISION (Light Grey background - Separates Blue Sections) */
.mission-vision {
  padding-top: 3rem;
  background: var(--bg-light); 
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary); 
}

.mission-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.mission-card h3 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* CORE VALUES (SOLID BLUE BACKGROUND MATCH - LIKE HOME PAGE ANNOUNCEMENT) */
.values {
  background: var(--color-primary); /* RESTORED: Solid Blue Background */
  color: var(--white);
  text-align: center;
  border-top: none; /* No separator needed */
}

.values h2 {
  color: var(--white); /* White Heading on Blue Background */
  margin-bottom: 2rem;
}

.values-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.values-list li {
  /* Each value is a clean, white card on the solid blue background */
  flex: 0 0 calc(33% - 1.5rem); 
  min-width: 280px;
  background: var(--white); 
  color: var(--text-body); /* Dark text on white card */
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
  
  /* ACCENT LINE: Brand Green for visual pop */
  border-left: 5px solid var(--color-accent); 
  
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400; 
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.values-list li strong {
  color: var(--color-primary); /* Blue for the key term */
  font-weight: 700;
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.values-list li.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-toggle {
  display: none;
}