/* ===== About Page Specific Styles ===== */

/* Ensure header/footer span entire width */
.main-header, .main-footer {
  width: 100vw;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  background-color: var(--jet-blue);
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 1000;
}

.main-header .container,
.main-footer .container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Body styling for About page */
body.about-page {
  background-color: #e8effb;
  color: #222;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.55;
}

/* Main container */
.about-page main.container {
  max-width: 1140px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Section headlines */
.section-headline {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--jet-blue);
  border-bottom: 3px solid var(--accent-blue);
  padding-bottom: 0.3rem;
}

/* Highlighted text */
.highlight {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Article boxes */
.about-section > article {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.07);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}

.about-section > article:hover {
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.12);
}

/* Mission box */
.mission-box {
  background-color: #e8f0fe;
  border-left: 6px solid var(--accent-blue);
  padding-left: 1.5rem;
  box-shadow: 0 3px 12px rgb(0 0 0 / 0.05);
  margin-bottom: 2.5rem;
}

/* Headline icons */
.about-section h2 i,
.about-section h3 i {
  color: #ffb700;
}

/* .text-primary overrides */
.text-primary {
  color: var(--accent-blue) !important;
  font-weight: 700;
}

/* About page image styling */
.about-header-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 0 auto 2.5rem auto;
  object-fit: cover;
}

/* Core principles section */
.core-principles-section {
  background: linear-gradient(135deg, #c8ddff 0%, #dff4ff 100%);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  color: var(--jet-blue);
  text-align: center;
}

.core-principles-section h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--jet-blue);
}

.core-principles-section p {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--jet-blue);
}

/* === CTA Section Matching Index === */
#cta-section {
  background-color: var(--jet-blue);
  color: white;
  padding: 3rem 1rem;
  margin-top: 3rem;
  border-radius: 0; /* Remove or set to 0 for square corners */
  box-shadow: none; /* Optional: match index.html */
}


#cta-section h3,
#cta-section p {
  color: #fff;
}

#cta-section .btn.btn-light {
  background-color: #fff;
  color: var(--jet-blue);
  font-weight: 700;
  border-radius: 0; 
  padding: 0.75rem 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 64, 128, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s;
}

#cta-section .btn.btn-light:hover,
#cta-section .btn.btn-light:focus {
  background-color: #f2f2f2;
  color: var(--jet-blue);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Pulse animation */
.pulse-hover {
  transition: transform 0.3s ease;
}
.pulse-hover:hover {
  animation: pulse 0.6s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .about-section > article {
    padding: 1rem 1rem;
  }

  .mission-box {
    padding-left: 1rem;
  }

  .section-headline {
    font-size: 1.5rem;
  }

  .core-principles-section {
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
  }

  .about-header-img {
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .about-section > article {
    padding: 0.75rem 0.75rem;
  }

  .section-headline {
    font-size: 1.25rem;
  }
}
