/* --- ABOUT PAGE SPECIFIC STYLES --- */

.about-hero {
  position: relative;
  background-image: url("../images/hero2.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: calc(100vh - 93px);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 93px;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--rgba-darker-teal-8),
    var(--rgba-darker-teal-4)
  );
}

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

.about-hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--primary-light);
  text-shadow: 0 4px 10px var(--rgba-black-5);
}

.about-hero-content p {
  font-size: 1.2rem;
  color: var(--rgba-white-9);
  line-height: 1.8;
}

/* --- MISSION & VISION --- */
.mission-vision {
  background-color: var(--white);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-card {
  background: var(--bg-main);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--primary-color);
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.mv-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.mv-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Team Styles */
.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  width: 100%;
  max-width: 380px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.team-info {
  padding: 25px 20px;
}

.team-info h4 {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-bottom: 5px;
}

.team-info p {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--bg-main);
  color: var(--text-light);
  margin: 0 5px;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* --- ABOUT INTRO SECTION --- */
.about-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
}

.about-intro-content h2 {
  font-size: 2.8rem;
  color: var(--text-main);
  margin-bottom: 25px;
  text-transform: capitalize;
}

.about-intro-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--rgba-black-05);
  padding-top: 30px;
}

.stat-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-item h4 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.about-intro-image {
  position: relative;
  padding: 20px 20px 0 0;
}

.about-intro-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  width: 100%;
}

.image-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 90%;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-lg);
  z-index: 1;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  padding: 80px 20px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--rgba-white-9);
}

.cta-banner .btn {
  background: var(--text-main);
  color: var(--white);
  border: none;
}

.cta-banner .btn:hover {
  background: var(--white);
  color: var(--text-main);
}

/* ======================================
   ABOUT PAGE — RESPONSIVE BREAKPOINTS
   ====================================== */

/* --- Tablet (≤ 992px) --- */
@media (max-width: 992px) {
  /* Hero */
  .about-hero {
    background-attachment: scroll; /* fix iOS parallax bug */
    min-height: 480px;
    height: 60vh;
  }
  .about-hero-content h1 {
    font-size: 2.8rem;
  }
  .about-hero-content p {
    font-size: 1rem;
  }

  /* About Intro — stack image below text */
  .about-intro-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 5%;
  }
  .about-intro-image {
    order: -1; /* image on top */
    padding: 15px 15px 0 0;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .about-intro-content h2 {
    font-size: 2rem;
  }
  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* Mission & Vision — stack cards */
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 5%;
  }
  .mv-card {
    padding: 35px 30px;
  }

  /* Team */
  .team-grid {
    gap: 25px;
    padding: 0 5%;
  }

  /* Features: 2 columns on tablet */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA */
  .cta-banner h2 {
    font-size: 2rem;
  }
  .cta-banner {
    padding: 60px 20px;
  }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
  /* Hero */
  .about-hero {
    min-height: 380px;
    height: 55vh;
  }
  .about-hero-content h1 {
    font-size: 2.2rem;
  }
  .about-hero-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .about-hero-content .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px !important;
  }
  .about-hero-content .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  /* About Intro */
  .about-intro-content h2 {
    font-size: 1.6rem;
  }
  .about-intro-content p {
    font-size: 0.95rem;
  }

  /* Hide decorative border accent on mobile (causes overflow) */
  .image-accent {
    display: none;
  }
  .about-intro-image {
    padding: 0;
  }

  /* Stats — wrap to 2 per row */
  .about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
  }
  .stat-item h4 {
    font-size: 1.5rem;
  }
  .stat-item i {
    font-size: 1.5rem;
  }

  /* Mission & Vision cards */
  .mv-card {
    padding: 28px 22px;
    overflow: hidden;
  }
  .mv-card h3 {
    font-size: 1.6rem;
  }
  .mv-icon {
    font-size: 2.2rem;
  }

  /* Team — stack to 1 column on small mobile */
  .team-grid {
    max-width: 400px;
    margin: 0 auto;
  }
  .team-card img {
    height: 280px;
  }
  .team-info h4 {
    font-size: 1.3rem;
  }

  /* Features: single column */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-item {
    padding: 25px 20px;
  }

  /* CTA */
  .cta-banner h2 {
    font-size: 1.7rem;
  }
  .cta-banner p {
    font-size: 0.95rem;
  }
  .cta-banner {
    padding: 50px 20px;
  }
}

/* --- Small Mobile (≤ 480px) --- */
@media (max-width: 480px) {
  .about-hero-content h1 {
    font-size: 1.8rem;
  }

  /* Stats — single column on very small screens */
  .about-stats {
    grid-template-columns: 1fr;
  }

  /* mv-card inner text */
  .mv-card {
    padding: 22px 18px;
  }
  .mv-card h3 {
    font-size: 1.4rem;
  }

  /* Badge */
  .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Section titles */
  .section-title {
    font-size: 1.6rem !important;
  }
}
