/* =========================
   ABOUT PAGE STYLES
   ========================= */

.about-hero {
  position: relative;
  background: linear-gradient(rgba(31, 42, 68, 0.75), rgba(31, 42, 68, 0.75)),
    url("../images/bg_2.webp") center center / cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 100px 0 60px;
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-hero p {
  margin-top: 1rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* =========================
   OUR STORY
   ========================= */
.our-story {
  background: #fff;
  padding: 5rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.story-text p {
  margin-top: 1rem;
  line-height: 1.8;
  color: #333;
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* =========================
   MISSION & VISION
   ========================= */
.mission-vision {
  background: #f8f9fa;
  padding: 5rem 0;
  text-align: center;
}

.mv-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.mv-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.mv-card h3 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* =========================
   CORE VALUES
   ========================= */
.core-values {
  background: #fff;
  padding: 5rem 0;
  text-align: center;
}

.values-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.value-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.value-card i {
  font-size: 2rem;
  color: #27ae60;
  margin-bottom: 1rem;
}

.value-card:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* =========================
   IMPACT JOURNEY (TIMELINE)
   ========================= */
.impact-journey {
  background: #f8f9fa;
  padding: 5rem 0;
}

.timeline {
  position: relative;
  margin-top: 4rem;
  padding-left: 2rem;
  border-left: 3px solid var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 5px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
}

.timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.timeline-content h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-image {
    order: -1;
  }

  .timeline {
    padding-left: 1rem;
    border-left-width: 2px;
  }
}

@media (max-width: 600px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }

  .mv-card,
  .value-card {
    padding: 1.5rem;
  }

  .timeline-content {
    padding: 1.2rem;
  }
}

/* =============================
   OUR TEAM SECTION
============================= */
.our-team {
  background-color: #f9fafb;
  padding: 60px 0;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.team-member {
  background: #fff;
  border-radius: 14px;
  padding: 20px 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px; /* slightly reduced */
  border: 3px solid #f0f0f0;
  transition: border-color 0.3s ease;
}

.team-member:hover img {
  border-color: var(--primary, #1e90ff);
}

.team-member h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .our-team {
    padding: 50px 0;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }

  .team-member img {
    width: 100px;
    height: 100px;
  }
}

/* =========================
   Founder’s Corner Section
========================= */
.founder-corner {
  background: linear-gradient(180deg, #f9fafb 0%, #f3f6fb 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Abstract soft blobs in background */
.founder-corner::before,
.founder-corner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  z-index: 0;
}

.founder-corner::before {
  top: -120px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: #1e90ff;
}

.founder-corner::after {
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: #ff7b54;
}

/* Container layout */
.founder-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Left Text Section */
.founder-message {
  flex: 1;
  min-width: 320px;
}

.founder-corner .section-title {
  margin-bottom: 20px;
}

.founder-corner .section-desc {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.founder-quote {
  font-style: italic;
  color: #1e90ff;
  font-weight: 500;
  border-left: 3px solid #1e90ff;
  padding-left: 12px;
  line-height: 1.6;
}

/* Right Image & Info Box */
.founder-info-box {
  flex: 0 0 340px;
  position: relative;
  text-align: center;
}

.founder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 144, 255, 0.15),
    rgba(255, 123, 84, 0.1)
  );
  border-radius: 24px;
  z-index: 1;
  transform: rotate(-2deg);
}

.founder-photo {
  position: relative;
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.founder-info {
  position: relative;
  z-index: 2;
  margin-top: 15px;
}

.founder-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.founder-role {
  font-size: 0.95rem;
  color: #666;
}

@media (max-width: 992px) {
  .founder-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .founder-message {
    max-width: 700px;
  }

  .founder-info-box {
    margin-bottom: 40px;
  }

  .founder-photo {
    width: 180px;
    height: 210px;
  }
}
