/* about.css */

/* Specific styling for the About Us hero image */
.about-hero {
  background: linear-gradient(rgba(11, 30, 54, 0.75), rgba(11, 30, 54, 0.75)),
              url('s.hero.bg.jpeg') center center / cover no-repeat;
  background-attachment: fixed; /* Parallax effect */
  /* Remove padding-top from .hero for this specific page if desired, 
     or handle globally in style2.css if .hero is common across pages */
  padding-top: 80px; /* To prevent content from being hidden behind fixed navbar */
}


/* ===== Our Story Section ===== */
.about-story {
  background-color: #f9fafe;
  padding: 80px 0;
}

.story-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.story-text {
  flex: 1;
  min-width: 300px;
}

.story-text h3 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 20px;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

.story-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.story-image img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Our Mission & Vision Section ===== */
.mission-vision {
  background-color: #0b1e36; /* Dark background */
  color: white;
  padding: 80px 0;
  text-align: center;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-items: center;
}

.mv-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.mv-icon {
  font-size: 3.5rem;
  color: #00bcd4; /* Accent color */
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.mv-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

/* ===== Our Values Section ===== */
.about-values {
  background-color: #ffffff; /* White background */
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

.value-card {
  background-color: #f1f7ff; /* Light blue background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.value-card:hover {
  transform: translateY(-8px);
  background-color: #007BFF; /* Primary blue on hover */
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.value-card .value-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #007BFF; /* Default icon color */
  transition: color 0.3s ease;
}

.value-card:hover .value-icon {
  color: white; /* White icon on hover */
}

.value-card h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.value-card:hover h3 {
  color: white;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  transition: color 0.3s ease;
}

.value-card:hover p {
  color: #e0e0e0;
}

/* ===== Leadership Section ===== */
.leadership {
  background-color: #f9fafe;
  padding: 80px 0;
  text-align: center;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.leader-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.leader-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px auto;
  border: 4px solid #007BFF; /* Accent border */
}

.leader-card h3 {
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 5px;
}

.leader-card .leader-title {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 15px;
  font-style: italic;
}

.leader-card .leader-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

/* --- Responsive Adjustments for About Sections --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtext {
    font-size: 1.3rem;
  }
  .section-heading {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  .story-grid {
    flex-direction: column;
    text-align: center;
  }
  .story-text, .story-image {
    min-width: unset;
    width: 100%;
  }
  .story-text p {
    text-align: left; /* Keep text left-aligned on smaller screens */
  }
  .mv-grid {
    gap: 30px;
  }
  .mv-card {
    padding: 30px;
  }
  .values-grid, .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 60vh;
    background-attachment: scroll; /* Disable parallax on mobile */
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtext {
    font-size: 1.1rem;
  }
  section { /* General section padding for smaller screens */
    padding: 60px 0;
  }
  .section-heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .story-text h3 {
    font-size: 1.7rem;
  }
  .story-text p {
    font-size: 1rem;
  }
  .mv-grid {
    grid-template-columns: 1fr; /* Single column */
  }
  .mv-card {
    padding: 30px;
  }
  .mv-icon {
    font-size: 3rem;
  }
  .mv-card h3 {
    font-size: 1.6rem;
  }
  .mv-card p {
    font-size: 0.95rem;
  }
  .values-grid, .leadership-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
  .value-card {
    padding: 25px;
  }
  .value-card h3 {
    font-size: 1.3rem;
  }
  .leader-card {
    padding: 25px;
  }
  .leader-photo {
    width: 120px;
    height: 120px;
  }
  .leader-card h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    height: 50vh;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtext {
    font-size: 1rem;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  section {
    padding: 40px 0;
  }
  .section-heading {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  .story-text h3 {
    font-size: 1.4rem;
  }
  .story-text p {
    font-size: 0.9rem;
  }
  .story-image img {
    max-width: 95%;
  }
  .mv-card {
    padding: 25px;
  }
  .mv-icon {
    font-size: 2.5rem;
  }
  .mv-card h3 {
    font-size: 1.4rem;
  }
  .mv-card p {
    font-size: 0.85rem;
  }
  .value-card, .leader-card {
    padding: 20px;
  }
  .value-card h3 {
    font-size: 1.2rem;
  }
  .leader-photo {
    width: 100px;
    height: 100px;
  }
  .leader-card h3 {
    font-size: 1.2rem;
  }
  .leader-card .leader-bio {
    font-size: 0.85rem;
  }
}
