/* ==========================================================================
   Kazi Nazrul Academy - Dedicated Stylesheet for About Us (about.html)
   Scope: Page-specific styles only (Base/header/footer loaded via style.css)
   ========================================================================== */

/* Page Container Styling */
.about-page-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero / Story Lead Banner */
.about-lead-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-left: 6px solid var(--brand);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.about-lead-box p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: #0369a1;
  font-weight: 500;
}

/* Rich Narrative Prose */
.about-prose {
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
}

.about-prose p {
  margin: 0 0 16px;
  text-align: justify;
}

.about-prose strong {
  color: #0f172a;
}

/* Stat Highlights Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.about-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.15);
  border-color: #bae6fd;
}

.about-stat-card .stat-icon {
  font-size: 26px;
  color: #0284c7;
  margin-bottom: 8px;
  display: inline-block;
}

.about-stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 4px;
}

.about-stat-card .stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Two-Column Story Showcase */
.about-story-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin: 24px 0;
}

.about-media-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.1);
  border: 3px solid #fff;
}

.about-media-frame img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-media-frame:hover img {
  transform: scale(1.03);
}

.about-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
  color: #ffffff;
  padding: 16px 18px 10px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Founder & Leadership Card */
.founder-profile-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px;
  margin: 28px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.05);
}

.founder-avatar-wrap {
  flex: 0 0 110px;
  text-align: center;
}

.founder-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border: 3px solid #e0f2fe;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.25);
  margin: 0 auto 10px;
}

.founder-title-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-bio {
  flex: 1 1 auto;
}

.founder-bio h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: #0f172a;
}

.founder-bio .founder-role {
  color: #0284c7;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.founder-quote {
  font-style: italic;
  color: #334155;
  border-left: 3px solid #0284c7;
  padding-left: 14px;
  margin: 10px 0 14px;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Campus Network Cards */
.campuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.campus-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.campus-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.08);
  border-color: #38bdf8;
}

.campus-item-card h3,
.campus-item-card h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.campus-item-card h3 i,
.campus-item-card h4 i {
  color: #0284c7;
  font-size: 0.95rem;
}

.campus-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}

.campus-item-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}


/* Call to Action Bar */
.about-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  padding: 22px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 14px;
}

.about-cta-bar h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.about-cta-bar p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.95;
}

.about-cta-bar .btn-white {
  background: #ffffff;
  color: #0284c7;
  font-weight: 700;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-cta-bar .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-lead-box {
    padding: 18px 20px;
  }
  .about-story-row {
    grid-template-columns: 1fr;
  }
  .about-media-frame img {
    height: clamp(200px, 48vw, 280px);
  }
  .founder-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
  }
  .founder-quote {
    border-left: none;
    border-top: 2px solid #0284c7;
    padding-left: 0;
    padding-top: 8px;
  }
  .about-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .authority-phone-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .about-lead-box {
    padding: 14px 16px;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .about-stat-card {
    padding: 14px 10px;
  }
  .about-stat-card .stat-number {
    font-size: 1.6rem;
  }
  .founder-profile-card {
    padding: 16px 14px;
  }
  .about-cta-bar {
    padding: 16px 14px;
  }
  .about-cta-bar .btn-white {
    width: 100%;
    justify-content: center;
  }
  .authority-contact-strip {
    padding: 12px 14px;
  }
  .auth-phone-pill {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
}

/* Authority Direct Contact Strip */
.authority-contact-strip {
  margin-top: 18px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--brand, #0284c7);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
}

.authority-contact-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.96rem;
  color: #0369a1;
  margin-bottom: 6px;
}

.authority-contact-header i {
  color: #0284c7;
}

.authority-contact-desc {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
}

.authority-phone-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid #0284c7;
  border-radius: 8px;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
  transition: all 0.2s ease;
}

.auth-phone-pill:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.authority-contact-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
