/* about.css - blue/red theme, zoom transitions */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #0f172a;
  line-height: 1.5;
}

/* Header */
.about-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
  background: #520606;
  color: #fff;
}
.about-header .logo { width: 70px; height: auto; }
.about-nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.about-nav a:hover { color: #FF3131; }

/* Hero */
.hero {
  background:rgb(15, 15, 70);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero .highlight { color: #fff; text-shadow: 0 3px 10px rgba(0,0,0,0.2); }
.hero p { font-size: 1.1rem; margin-top: 10px; max-width: 700px; margin-inline: auto; }
/* 🌐 OUR MISSION SECTION */
.mission {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafc 100%);
  padding: 90px 20px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Zoom Animation (on scroll reveal) */
.zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
}
.zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Mission container */
.mission .container {
  max-width: 950px;
  margin: 0 auto;
}

/* Mission Heading */
.mission h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #520606; /* You can switch to #007BFF for blue theme */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

/* Decorative underline */
.mission h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #007BFF, #FF3131);
}

/* Mission paragraph */
.mission p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-top: 30px;
  opacity: 0.9;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  white-space: pre-line; /* preserves paragraph spacing */
}

/* Optional subtle background texture */
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(82, 6, 6, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Reveal transition */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission {
    padding: 70px 15px;
  }

  .mission h2 {
    font-size: 1.8rem;
  }

  .mission p {
    font-size: 1rem;
    line-height: 1.6;
  }
}



/* Team */
.team {
  background: #f8fafc;
  padding: 60px 20px;
}
.team h2 { text-align: center; margin-bottom: 30px; color: #FF3131; }
.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}
.member {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  padding: 18px;
  transition: transform 0.3s ease;
}
.member:hover { transform: scale(1.05); }
.member img { width: 120px; border-radius: 50%; margin-bottom: 10px; }

/* Values */
.values {
  padding: 60px 20px;
}
.values h2 { text-align: center; color:rgb(15, 15, 70); margin-bottom: 20px; }
.values-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.value-card {
  background: #fff;
  border: 5px solid #520606;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.value-card:hover { transform: translateY(-5px); }

/* Footer */
.footer {
  background: #071133;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.footer-logo { width: 60px; margin-bottom: 10px; }

/* Zoom transitions on scroll */
.zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero { padding: 60px 10px; }
  .mission, .team, .values { padding: 40px 10px; }
}
