/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 24px 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, rgba(108,99,255,0.2) 0%, transparent 65%), #0b0e1a;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1; margin: 12px 0 16px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto; }

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 22px; background: var(--card);
  border: 1px solid var(--border); border-radius: 50px;
  color: var(--muted); font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* ===== COURSE DETAIL GRID ===== */
.course-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  background: rgba(108,99,255,0.06); border-radius: 10px; padding: 14px;
}
.cd-item { display: flex; gap: 10px; align-items: flex-start; }
.cd-item span { font-size: 18px; }
.cd-item strong { display: block; font-size: 13px; color: var(--text); }
.cd-item small { font-size: 12px; color: var(--muted); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #1a1f35, #141828);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-inner h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.cta-inner p { color: var(--muted); font-size: 15px; }

/* ===== ACTIVE NAV ===== */
.active-link { color: var(--text) !important; }

/* ===== ABOUT PAGE ===== */
.about-story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.story-card-big {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; position: relative;
  box-shadow: var(--glow);
}
.year-tag {
  display: inline-block; padding: 6px 16px;
  background: var(--accent); color: #fff; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px;
}
.story-stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ssl span { display: block; font-size: 36px; font-weight: 700; color: var(--accent2); line-height: 1; }
.ssl p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.story-text h2 { margin-bottom: 16px; }
.story-text p { color: var(--muted); line-height: 1.8; font-size: 15px; margin-bottom: 14px; }

/* VALUES */
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; text-align: center;
  transition: all 0.25s;
}
.value-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.val-icon { font-size: 36px; margin-bottom: 14px; }
.value-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* TEAM */
.team-grid { display: flex; flex-wrap: nowrap; gap: 20px; }
.team-grid .team-card { flex: 1 1 0; min-width: 0; }
.team-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; text-align: center;
  transition: all 0.25s;
}
.team-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff;
  margin: 0 auto 14px;
}
.team-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-role { color: var(--accent2); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.team-bio { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.team-tags span {
  padding: 3px 10px; background: rgba(108,99,255,0.12);
  border: 1px solid var(--border); border-radius: 50px;
  font-size: 11px; color: var(--accent);
}

/* RECOGNITION */
.recognition-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.rec-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.rec-icon { font-size: 36px; margin-bottom: 14px; }
.rec-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.rec-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ===== RESULTS PAGE ===== */
.toppers-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 0; }
.topper-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; text-align: center;
  position: relative; transition: all 0.25s;
}
.topper-card:hover { transform: translateY(-6px); }
.topper-card.gold { border-color: #f5c842; box-shadow: 0 0 30px rgba(245,200,66,0.2); }
.topper-card.silver { border-color: #b0b8d8; box-shadow: 0 0 20px rgba(176,184,216,0.15); }
.topper-card.bronze { border-color: #cd7f32; box-shadow: 0 0 20px rgba(205,127,50,0.15); }
.rank-badge { font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.topper-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  margin: 0 auto 14px;
}
.topper-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.topper-wpm { font-size: 28px; font-weight: 700; color: var(--accent2); margin-bottom: 8px; }
.topper-job { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.topper-batch { font-size: 12px; color: var(--accent); }

.testi-big-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-big-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.25s;
}
.testi-big-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.testi-big-card.highlight { border-color: var(--accent); box-shadow: var(--glow); }
.testi-big-card .testi-quote { font-size: 48px; font-family: 'Playfair Display', serif; color: var(--accent); line-height: 0.8; margin-bottom: 14px; }
.testi-big-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }

/* PLACEMENT TABLE */
.placement-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.placement-table { width: 100%; border-collapse: collapse; }
.placement-table th {
  background: rgba(108,99,255,0.15); color: var(--text);
  padding: 14px 20px; text-align: left; font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px;
}
.placement-table td {
  padding: 14px 20px; font-size: 14px; color: var(--muted);
  border-top: 1px solid var(--border);
}
.placement-table tr:hover td { background: rgba(108,99,255,0.05); color: var(--text); }
.placement-table td:nth-child(3) { color: var(--accent2); font-weight: 700; }

/* ===== GALLERY PAGE ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item.large { grid-column: span 1; }
.gallery-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s; cursor: pointer;
}
.gallery-item:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--glow); }
.gallery-item.hidden { display: none; }
.gal-visual { height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gal-visual svg { width: 100%; height: 100%; }
.gal-caption { padding: 14px 18px; }
.gal-caption strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.gal-caption span { font-size: 12px; color: var(--muted); }

/* ===== CONTACT PAGE ===== */
.contact-full-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-info-cards h2 em { font-style: italic; color: var(--accent); }
.contact-info-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: border-color 0.2s;
}
.contact-info-card:hover { border-color: var(--accent); }
.contact-info-card.highlight-card { border-color: var(--accent2); background: rgba(0,212,170,0.05); }
.cic-icon { font-size: 24px; flex-shrink: 0; padding-top: 2px; }
.contact-info-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.5px; color: var(--accent); }
.contact-info-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.map-placeholder { margin-top: 6px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }

.big-form { display: flex; flex-direction: column; gap: 16px; }
.big-form h3 { font-size: 24px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; }
.big-form input, .big-form select, .big-form textarea {
  width: 100%; padding: 13px 16px;
  background: #0b0e1a; border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-size: 14px;
  outline: none; transition: border-color 0.2s; resize: vertical;
}
.big-form input:focus, .big-form select:focus, .big-form textarea:focus { border-color: var(--accent); }
.big-form select option { background: #141828; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .team-grid { flex-wrap: wrap; }
  .team-grid .team-card { flex: 1 1 calc(50% - 10px); }
  .recognition-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .toppers-grid { grid-template-columns: 1fr; }
  .testi-big-grid { grid-template-columns: 1fr; }
  .contact-full-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .team-grid .team-card { flex: 1 1 100%; }
  .recognition-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .story-stat-list { grid-template-columns: 1fr 1fr; }
}

/* Real image gallery */
.gal-img-wrap {
  height: 200px; overflow: hidden; background: #1a1f35;
  display: flex; align-items: center; justify-content: center;
}
.gal-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gal-img-wrap img { transform: scale(1.05); }
