/* ==========================================
   COMPONENTS — Premium School Website
   ========================================== */

/* ═══════════════════════
   NAVIGATION
   ═══════════════════════ */
.glass-nav {
  width: var(--container-width);
  margin: var(--space-3) auto 0;
  border-radius: 999px;
  padding: 14px var(--space-4);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  position: sticky;
  top: 14px;
  z-index: 100;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
  white-space: nowrap;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-indigo), var(--accent-blue));
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
  color: white;
  font-weight: bold;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu a:hover {
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.06);
}

.menu a.active {
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.08);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

/* ═══════════════════════
   BUTTONS
   ═══════════════════════ */
.icon-btn,
.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.icon-btn {
  width: 42px;
  height: 42px;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-blue);
}

.btn {
  padding: 13px 30px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-blue));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.4);
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
  background: var(--surface-muted);
  box-shadow: var(--shadow-md);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.menu a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ═══════════════════════
   HERO
   ═══════════════════════ */
.hero {
  padding: 64px 0 var(--space-8);
}

.hero-badge {
  display: inline-flex;
  color: rgba(165, 180, 252, 0.95);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

.hero-title {
  margin-top: var(--space-4);
  color: var(--white);
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-description {
  margin-top: var(--space-3);
  color: rgba(203, 213, 225, 0.9);
  max-width: 540px;
  font-size: 1.12rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  margin-top: var(--space-5);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.trust-indicator {
  margin-top: var(--space-5);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(203, 213, 225, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 40px;
  height: 40px;
  margin-right: -10px;
  border-radius: 999px;
  border: 2.5px solid rgba(6, 11, 24, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-scene {
  min-height: 520px;
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.floating-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.9rem;
}

.scene-layer {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 30px rgba(59, 130, 246, 0.2);
}

/* ═══════════════════════
   NEUMORPHIC BLOCK
   ═══════════════════════ */
.neumorphic-block {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), var(--neu-light);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* ═══════════════════════
   SECTION HEADINGS
   ═══════════════════════ */
.section-heading {
  margin-bottom: var(--space-5);
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-heading p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 1.08rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════
   CARDS
   ═══════════════════════ */
.card-neu {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.card-neu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(59, 130, 246, 0.02));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-neu:hover::before {
  opacity: 1;
}

.card-neu:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════
   FEATURES
   ═══════════════════════ */
.feature-card,
.faculty-card {
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.icon-clay {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  position: relative;
}

/* ═══════════════════════
   ABOUT
   ═══════════════════════ */
.about-panel {
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.08));
  color: var(--accent-indigo);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.about-points {
  margin: var(--space-4) 0 var(--space-4);
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-points li {
  list-style: none;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 1.05rem;
  position: relative;
}

.about-points li::before {
  content: "";
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, var(--soft-green));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.about-points li::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(-45deg);
  left: 10px;
  top: calc(50% - 4px);
}

/* ═══════════════════════
   FACULTY
   ═══════════════════════ */
.faculty-card {
  text-align: center;
}

.faculty-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  margin: 0 auto var(--space-3);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 3px solid white;
  position: relative;
}

.faculty-avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-blue));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faculty-card:hover .faculty-avatar::after {
  opacity: 1;
}

.faculty-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.faculty-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════
   STATS
   ═══════════════════════ */
.stats-pill {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-blue) 50%, var(--accent-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: 0 24px 48px rgba(99, 102, 241, 0.3);
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.9);
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.stat-item strong {
  color: var(--white);
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ═══════════════════════
   EVENTS
   ═══════════════════════ */
.events-list,
.cta-panel {
  padding: var(--space-5);
}

.events-list h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.event-card + .event-card {
  margin-top: var(--space-2);
}

.event-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.event-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

.event-date {
  width: 66px;
  height: 66px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--accent-indigo), var(--accent-blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.event-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ═══════════════════════
   CTA
   ═══════════════════════ */
.cta-panel {
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #e0e7ff 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(99, 102, 241, 0.08);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent);
  top: -60px;
  right: -60px;
}

.cta-panel h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-3d {
  margin-top: var(--space-4);
  display: flex;
  gap: 16px;
}

.clay-object {
  border-radius: var(--radius-md);
  box-shadow: var(--clay-shadow);
}

/* ═══════════════════════
   FOOTER
   ═══════════════════════ */
.footer {
  margin-top: var(--space-7);
  background: linear-gradient(180deg, #0c1425, #060b18);
  color: #94a3b8;
  padding: var(--space-7) 0 0;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.footer .brand {
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: 0.3px;
}

.footer a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.92rem;
}

.footer a:hover {
  color: rgba(165, 180, 252, 0.9);
}

.footer ul {
  margin: var(--space-3) 0 0;
  padding: 0;
}

.footer li {
  list-style: none;
  margin-bottom: 10px;
}

.social-row {
  margin-top: var(--space-4);
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: bold;
  color: #94a3b8;
}

.social-row a:hover {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-blue));
  color: white;
  border-color: transparent;
}

.footer-bottom {
  margin-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-3) 0;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #475569;
}
