/* ============================================================================
   PAGE STYLESHEET: About Us (public/css/about.css)
   ============================================================================ */

/* --- Hero Banner & Vision Cards ----------------------------------------- */
.about-hero {
  background: var(--primary, #2B78C5);
  color: #FFFFFF;
  padding: 4rem 1.5rem;
  border-radius: 1.75rem;
  box-shadow: 0 16px 36px rgba(17, 82, 138, 0.18);
  position: relative;
  overflow: hidden;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* --- Story / Timeline Section ------------------------------------------- */
.about-story-section {
  padding: 5rem 0;
  background: rgba(249,250,251,0.5);
}
.dark .about-story-section { background: rgba(17,24,39,0.5); }
.about-story-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .about-story-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .about-story-container { padding: 0 2rem; } }
.about-story-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.about-story-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-family: 'Outfit', sans-serif;
}
@media (min-width: 768px) { .about-story-header h2 { font-size: 3rem; } }
.about-story-header p {
  color: #4b5563;
  margin-top: 0.75rem;
  font-size: 1.125rem;
}
.dark .about-story-header p { color: #9ca3af; }
.about-story-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .about-story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-story-grid { grid-template-columns: repeat(3, 1fr); } }

/* Story cards inherit .story-card from style.css */
.about-story-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.about-story-card-header i { font-size: 1.5rem; }
.about-story-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.about-story-card:hover h3 { color: #2563eb; }
.dark .about-story-card:hover h3 { color: #60a5fa; }
.about-story-card p {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.75;
}
.dark .about-story-card p { color: #9ca3af; }

/* Future card (dark gradient) */
.about-future-card {
  background: var(--primary, #2B78C5) !important;
  color: #fff !important;
  border: none !important;
}
.about-future-card .timeline-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.about-future-card h3 { color: #fff; }
.about-future-card p { color: #bfdbfe; }

/* --- Founder's Message Section ------------------------------------------ */
.founder-section {
  padding: 4rem 0;
}
.founder-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .founder-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .founder-container { padding: 0 2rem; } }
.founder-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  background: var(--primary, #2B78C5);
  color: #fff;
}
@media (min-width: 768px) { .founder-card { padding: 3rem; } }
.founder-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .founder-inner { flex-direction: row; } }
.founder-avatar-wrap { flex-shrink: 0; text-align: center; }
.founder-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 4px solid rgba(245,158,11,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fbbf24;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .founder-avatar { width: 10rem; height: 10rem; font-size: 3rem; }
}
.founder-role {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(245,158,11,0.2);
  color: #fcd34d;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.founder-quote-icon {
  font-size: 1.875rem;
  color: rgba(251,191,36,0.5);
  margin-bottom: 0.75rem;
}
.founder-title {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .founder-title { font-size: 1.5rem; } }
.founder-message {
  color: #bfdbfe;
  font-size: 0.875rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .founder-message { font-size: 1rem; } }
.founder-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.founder-meta-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
}
.founder-meta-org {
  font-size: 0.75rem;
  color: #fbbf24;
  font-weight: 600;
}

/* --- Core Values Section ------------------------------------------------ */
.values-section {
  padding: 4rem 0;
  background: #f9fafb;
}
.dark .values-section { background: rgba(31,41,55,0.4); }
.values-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .values-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .values-container { padding: 0 2rem; } }
.values-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}
.values-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: box-shadow 0.3s;
}
.dark .value-card {
  background: #1f2937;
  border-color: #374151;
}
.value-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.value-card i { font-size: 1.5rem; margin-bottom: 0.5rem; }
.value-card h4 { font-weight: 700; font-size: 0.875rem; }

/* --- Mission & Vision Section ------------------------------------------- */
.mission-section {
  padding: 4rem 0;
}
.mission-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .mission-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .mission-container { padding: 0 2rem; } }
.mission-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .mission-grid { grid-template-columns: repeat(2, 1fr); } }
.mission-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
  transition: border-color 0.3s;
}
.dark .mission-card {
  background: #4185e4;
  border-color: #374151;
}
.mission-card.blue-accent:hover { border-color: #3b82f6; }
.mission-card.gold-accent:hover { border-color: #f59e0b; }
.mission-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.mission-card-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}
.dark .mission-card-icon.blue { background: rgba(38, 107, 246, 0.858); }
.mission-card-icon.gold {
  background: #fef3c7;
  color: #d97706;
}
.dark .mission-card-icon.gold { background: rgba(180,83,9,0.3); }
.mission-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
}
.mission-card.blue-accent h3 { color: #2563eb; }
.dark .mission-card.blue-accent h3 { color: #60a5fa; }
.mission-card.gold-accent h3 { color: #d97706; }
.dark .mission-card.gold-accent h3 { color: #fbbf24; }
.mission-card p {
  color: #4b5563;
  line-height: 1.75;
}
.dark .mission-card p { color: #d1d5db; }

/* --- Existing ----------------------------------------------------------- */
.about-card {
  border: 1px solid rgba(26, 123, 204, 0.15);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark .about-card {
  background: rgba(15, 31, 51, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(17, 82, 138, 0.14);
  border-color: rgba(26, 123, 204, 0.35);
}

/* Timeline & Milestone History */
.milestone-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px dashed rgba(43, 120, 197, 0.25);
  margin-top: 2rem;
}
.milestone-item {
  position: relative;
  margin-bottom: 2rem;
}
.milestone-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #F39C12;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25);
}
.milestone-year {
  font-weight: 800;
  color: #2B78C5;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Faculty Grid */
.faculty-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.dark .faculty-card { background: #1f2937; border-color: #374151; }
.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border-color: #2B78C5;
}
.faculty-img { width: 100%; height: 220px; object-fit: cover; }
.faculty-body { padding: 1.25rem; text-align: center; }
.faculty-name { font-weight: 800; font-size: 1.1rem; }
.faculty-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #F39C12;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}
