/* ===============================================
   ABOUT PAGE CSS
   Navbar styles → navbar-responsive.css
   Shared tokens match main style.css
   =============================================== */

:root {
  --navbar: #5DADE2;
  --bg: #F8FBFF;
  --mint: #7ED6A5;
  --mint-hover: #66c491;
  --hover-blue: #4A90E2;
  --text: #2C3E50;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(44, 62, 80, 0.08);
}

.about-hero,
.about,
.mv-section,
.principal-message,
.our-story {
  max-width: 100%;
  box-sizing: border-box;
}

/* ========== ABOUT HERO ========== */
.about-hero {
  padding: 60px 40px 0;
}

.about-hero-container {
  max-width: 1280px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

.about-hero-text h1 span {
  color: var(--navbar);
  display: block;
}

.slider-image {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  border: 4px solid var(--mint-hover);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slider-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: slideUp 15s linear infinite;
}

.slider-track img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

@keyframes slideUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-66.6667%); }
}

.slider-image:hover .slider-track {
  animation-play-state: paused;
}

/* ========== ABOUT TEXT BOX ========== */
.about {
  padding: 80px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-text {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-text .eyebrow {
  color: var(--navbar);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text);
}

.about-content {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 350px;
  background-image: url("../images/school-building.png");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 4px solid var(--mint-hover);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 40px 45px;
  box-shadow: var(--shadow);
}

.about-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(218, 221, 223, 0.58);
}

.about-content p {
  position: relative;
  z-index: 2;
  color: #0f161e;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.8;
}

/* ========== MISSION & VISION ========== */
.mv-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 60px 50px;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-box {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.mv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.icon-blue {
  background: rgba(93, 173, 226, 0.12);
  color: var(--navbar);
}

.icon-green {
  background: rgba(126, 214, 165, 0.15);
  color: var(--mint-hover);
}

.mv-box h3 {
  font-size: 1.5rem;
}

.text-blue { color: var(--navbar); }
.text-green { color: var(--mint-hover); }

.mv-box p {
  color: #5A6B7B;
  font-size: 1rem;
  line-height: 1.8;
}

/* ========== PRINCIPAL'S MESSAGE ========== */
.principal-message {
  max-width: 1280px;
  margin: 30px auto;
  padding: 40px;
}

.principal-message h3 {
  font-size: 2.1rem;
  color: var(--text);
  margin-bottom: 50px;
  text-align: center;
}

.pm-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.pm-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.pm-info h4 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 4px;
}

.pm-title {
  color: var(--navbar);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.pm-school {
  color: #6B7C8C;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.pm-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #E2EEFB;
  padding-top: 16px;
}

.pm-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #5A6B7B;
}

.pm-details i {
  color: var(--navbar);
  width: 16px;
}

.pm-right h2 {
  font-size: 1.8rem;
  color: var(--navbar);
  margin-bottom: 24px;
  line-height: 1.3;
}

.pm-right p {
  color: #5A6B7B;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.pm-right p:last-child {
  margin-bottom: 0;
}

/* ========== OUR STORY ========== */
.our-story {
  max-width: 1300px;
  margin: 60px auto;
  padding: 40px;
}

.story-content {
  overflow: hidden;
}

.story-image {
  float: left;
  width: 550px;
  max-width: 100%;
  margin: 0 20px 20px 0;
}

.story-image img {
  width: 90%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--mint-hover);
  box-shadow: var(--shadow);
}

.story-content .eyebrow {
  color: var(--navbar);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.story-content span {
  color: var(--navbar);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: block;
}

.story-content p:not(.eyebrow) {
  color: #5A6B7B;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 1024px) {
  .about-hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .slider-image,
  .slider-track img {
    height: 380px;
  }

  .story-image {
    width: 42%;
  }
}

@media (max-width: 900px) {
  .pm-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pm-image img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 40px 20px 0;
  }

  .about-hero-text h1 {
    font-size: 2.2rem;
  }

  .about-hero-container {
    margin-bottom: 48px;
  }

  .slider-image,
  .slider-track img {
    height: 280px;
  }

  .about {
    padding: 48px 0;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-content {
    min-height: auto;
    padding: 28px 22px;
  }

  .about-content p {
    font-size: 1rem;
  }

  /* Mission & Vision: 2 side by side when possible */
  .mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .mv-section {
    padding: 36px 16px;
    margin: 24px auto;
  }

  .principal-message {
    padding: 32px 16px;
  }

  .principal-message h3 {
    font-size: 1.7rem;
    margin-bottom: 32px;
  }

  .pm-right h2 {
    font-size: 1.4rem;
  }

  .story-image {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }

  .story-image img {
    width: 100%;
    height: 220px;
  }

  .our-story {
    margin: 40px auto;
    padding: 28px 16px;
  }

  /*
    Footer columns side by side:
    Brand full width
    Quick Links | Academics
    Campus Life | Resources
    Newsletter full width
  */
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-links h4 {
    font-size: 0.95rem;
  }

  .footer-links ul li a {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .about-hero-text h1 {
    font-size: 1.75rem;
  }

  .slider-image,
  .slider-track img {
    height: 220px;
  }

  .about-text .eyebrow {
    font-size: 0.95rem;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }
}
