/* ============================================================
   MYLEARNIFY – about.css
   Page-specific styles for About page
============================================================ */

/* ===== PAGE HERO ===== */
.abt-hero {
  position: relative;
  padding: 130px 0 80px;
  background: linear-gradient(135deg, #071438 0%, #0f2260 40%, #1a3c8f 75%, #1e4fc0 100%);
  overflow: hidden;
  text-align: center;
}
.abt-hero .stc-eyebrow  { margin-bottom: 20px; }
.abt-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900; color: #fff; line-height: 1.15;
  margin-bottom: 16px; position: relative; z-index: 2;
}
.abt-hero h1 span {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.abt-hero > .container > .abt-hero-inner p {
  font-size: 1.05rem; color: rgba(255,255,255,.68);
  max-width: 560px; margin: 0 auto 24px; line-height: 1.75;
  position: relative; z-index: 2;
}

/* breadcrumb inside hero */
.abt-hero-breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .88rem; color: rgba(255,255,255,.55);
  margin-bottom: 40px; position: relative; z-index: 2;
}
.abt-hero-breadcrumb a { color: #93c5fd; text-decoration: none; }
.abt-hero-breadcrumb a:hover { color: #fff; }
.abt-sep { font-size: .65rem; opacity: .5; }

/* stats row */
.abt-hero-stats {
  display: inline-flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px; padding: 14px 32px;
  backdrop-filter: blur(10px);
  position: relative; z-index: 2;
  flex-wrap: wrap; justify-content: center;
}
.abt-hs {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 24px;
}
.abt-hs strong { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.abt-hs span   { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.abt-hs-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ===== OVERRIDE: wye-section used for Mission/Vision & Infra ===== */
/* Force 2-col & 3-col grids when wye-grid gets overridden inline */
@media (max-width: 768px) {
  .abt-hero-stats        { gap: 8px; padding: 12px 20px; }
  .abt-hs                { padding: 6px 14px; }
  .abt-hs-divider        { display: none; }
  .abt-hero h1           { font-size: 1.85rem; }
  /* Force single column on achievements / core values on mobile */
  .lfe-usp-grid[style*="5"]  { grid-template-columns: repeat(2,1fr) !important; }
  .lfe-usp-grid[style*="4"]  { grid-template-columns: repeat(2,1fr) !important; }
  .wye-grid[style*="2"]      { grid-template-columns: 1fr !important; }
  .wye-grid[style*="3"]      { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .lfe-usp-grid[style*="5"]  { grid-template-columns: 1fr !important; }
  .lfe-usp-grid[style*="4"]  { grid-template-columns: 1fr !important; }
}


/* ---- Page Banner ---- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 120px 0 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&auto=format&fit=crop&q=40') center/cover no-repeat;
  opacity: .08;
}
.page-banner h1 { font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 14px; position: relative; }
.page-banner p  { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 580px; margin: 0 auto 20px; position: relative; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.7); position: relative; }
.breadcrumb a { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }

/* ---- Story ---- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.text-primary { color: var(--primary); }
.story-milestones { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.sm-item { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: var(--bg-light); border-radius: var(--radius); border-left: 3px solid var(--primary); }
.sm-year { font-weight: 700; color: var(--primary); font-size: .95rem; min-width: 48px; }
.sm-desc { font-size: .9rem; color: var(--text-muted); }
.story-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.story-img img { width: 100%; height: 450px; object-fit: cover; }
.story-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--accent); color: #fff;
  padding: 14px 22px; border-radius: var(--radius);
  font-weight: 700; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(249,115,22,.4);
}
.story-badge i { font-size: 1.3rem; }

/* ---- Mission & Vision ---- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mv-card {
  padding: 48px 36px; border-radius: var(--radius-lg);
  background: var(--bg-white); box-shadow: var(--shadow-md);
  border-top: 4px solid transparent; transition: var(--transition);
  position: relative; overflow: hidden;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card.mission { border-color: var(--primary); }
.mv-card.vision  { border-color: var(--accent); }
.mv-card .icon { width: 64px; height: 64px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 24px; }
.mv-card.mission .icon { background: rgba(26,60,143,.1); color: var(--primary); }
.mv-card.vision  .icon { background: rgba(249,115,22,.1); color: var(--accent); }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.mv-card p  { color: var(--text-muted); line-height: 1.8; }

/* ---- Core Values ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  text-align: center; padding: 40px 28px; border-radius: var(--radius-lg);
  background: var(--bg-white); box-shadow: var(--shadow);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.vc-emoji {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(26,60,143,.25);
}
.value-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(26,60,143,.25);
}
.value-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p  { font-size: .9rem; color: var(--text-muted); }

/* ---- Why We Started ---- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-img img { width: 100%; height: 420px; object-fit: cover; }
.why-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.why-list li { display: flex; align-items: flex-start; gap: 14px; }
.why-list li i { color: var(--success); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.why-list li span { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

/* ---- Leadership Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-avatar { position: relative; overflow: hidden; }
.team-avatar img { width: 100%; height: 240px; object-fit: cover; transition: var(--transition-slow); }
.team-card:hover .team-avatar img { transform: scale(1.06); }
.team-overlay { position: absolute; inset: 0; background: rgba(26,60,143,.85); display: flex; align-items: center; justify-content: center; gap: 14px; opacity: 0; transition: var(--transition); }
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .95rem; border: 1px solid rgba(255,255,255,.3); transition: var(--transition); }
.team-overlay a:hover { background: var(--accent); }
.team-info { padding: 20px; }
.team-info h4 { font-size: 1rem; margin-bottom: 4px; }
.team-info .role { font-size: .85rem; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.team-info p { font-size: .82rem; color: var(--text-muted); }

/* ---- Faculty Overview ---- */
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.faculty-card { display: flex; align-items: center; gap: 18px; padding: 24px; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); }
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.faculty-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--border); }
.faculty-meta h4 { font-size: .98rem; margin-bottom: 3px; }
.faculty-meta .dept { font-size: .82rem; color: var(--primary); font-weight: 600; }
.faculty-meta .exp  { font-size: .8rem; color: var(--text-muted); }

/* ---- Achievements ---- */
.achieve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.achieve-card { text-align: center; padding: 36px 20px; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); border-bottom: 3px solid var(--primary); }
.achieve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.achieve-card .num { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.achieve-card .label { font-size: .9rem; color: var(--text-muted); margin-top: 8px; }

/* ---- Infrastructure ---- */
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.infra-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.infra-card img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition-slow); }
.infra-card:hover img { transform: scale(1.07); }
.infra-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600; font-size: .95rem; }

/* ---- Student Success ---- */
.success-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.success-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.success-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.success-img img { width: 100%; height: 200px; object-fit: cover; }
.success-body { padding: 24px; }
.success-body .company-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-light); border-radius: var(--radius-full); padding: 4px 12px; font-size: .8rem; font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.success-body h4 { font-size: 1.05rem; margin-bottom: 6px; }
.success-body p  { font-size: .88rem; color: var(--text-muted); }
.success-body .package { margin-top: 14px; font-weight: 700; color: var(--success); font-size: .95rem; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 90px 0; text-align: center; color: #fff;
}
.cta-section h2 { font-size: 2.5rem; color: #fff; margin-bottom: 16px; }
.cta-section p  { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 36px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- Footer (shared across pages) ---- */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,.75);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .logo-icon { width: auto; height: 48px; background: none; border-radius: 0; display: flex; align-items: center; justify-content: center; }
.footer-brand .logo-text .name { font-size: 1.2rem; font-weight: 700; color: #fff; }
.footer-brand .logo-text .tagline { font-size: .7rem; color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: var(--transition); }
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-col h5 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; margin-top: 60px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: var(--accent); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.4); transition: var(--transition); }
.footer-legal a:hover { color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .story-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .achieve-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .page-banner h1 { font-size: 2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .infra-grid  { grid-template-columns: repeat(2, 1fr); }
  .success-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .achieve-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
