/* style.css */
:root {
  --primary: #064e3b; /* Emerald Green */
  --primary-light: #d1fae5;
  --secondary: #d97706; /* Golden Amber */
  --secondary-light: #fef3c7;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* ========== NAVBAR GLASSMORPHISM ========== */
header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav {
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-left { display: flex; align-items: center; gap: 1rem; }

.logo-img { width: 45px; height: 45px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }

.school-name { display: flex; flex-direction: column; }
.school-name span:first-child { font-size: 0.75rem; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.school-name span:last-child { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

.nav-menu { display: flex; gap: 1.5rem; align-items: center; }
.nav-menu a { font-size: 0.9rem; font-weight: 500; color: var(--dark); position: relative; padding: 0.5rem 0; }
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
  background: var(--secondary); border-radius: 2px; transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }

.nav-toggle { display: none; font-size: 1.8rem; background: none; border: none; color: var(--primary); cursor: pointer; }

/* ========== HERO CINEMATIC ========== */
.hero {
  padding: 8rem 1.5rem 5rem;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(209, 250, 229, 0.4)), url('assets/hero-bg.jpg') center/cover no-repeat;
  position: relative; overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; top: -10%; right: -5%; width: 400px; height: 400px;
  background: var(--primary-light); filter: blur(80px); border-radius: 50%; z-index: 0;
}

.hero-content {
  max-width: 1200px; width: 100%; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.4rem 1rem;
  background: white; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--primary); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
  border: 1px solid var(--primary-light);
}

.hero-title { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 1rem; }
.hero-title span { color: var(--primary); }

.hero-subtitle { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; max-width: 90%; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  padding: 0.8rem 1.8rem; border-radius: 999px; background: var(--primary); color: white;
  font-weight: 600; font-size: 0.95rem; box-shadow: 0 10px 20px rgba(6, 78, 59, 0.2);
  display: inline-flex; align-items: center; gap: 0.5rem; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(6, 78, 59, 0.3); }

.btn-outline {
  padding: 0.8rem 1.8rem; border-radius: 999px; background: transparent; color: var(--primary);
  font-weight: 600; font-size: 0.95rem; border: 2px solid var(--primary);
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
}
.btn-outline:hover { background: var(--primary-light); }

/* Glass Card Hero */
.hero-card {
  background: var(--glass-bg); backdrop-filter: blur(20px); border: var(--glass-border);
  padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg); transition: transform 0.5s ease;
}
.hero-card:hover { transform: perspective(1000px) rotateY(0deg) translateY(-10px); }
.card-label { font-size: 0.8rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.card-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; }
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-item { background: white; padding: 1rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; }
.stat-value { font-size: 1.25rem; font-weight: 800; color: var(--primary); display: block; }
.stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* ========== SECTIONS ========== */
.section { padding: 6rem 1.5rem; }
.section-light { background: white; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 4rem; }
.section-kicker { display: inline-block; padding: 0.4rem 1.2rem; background: var(--secondary-light); color: var(--secondary); border-radius: 999px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.section-title { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; color: var(--dark); margin-bottom: 1rem; }
.section-desc { font-size: 1.05rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ========== CARDS & GRIDS ========== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.feature-card {
  background: white; padding: 2.5rem 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid #f1f5f9; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--secondary); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 60px; height: 60px; background: var(--primary-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 1.5rem; }
.feature-title { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }

/* ========== FOOTER ========== */
footer { background: var(--dark); color: #e2e8f0; padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { width: 60px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-title { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.1); margin: 2rem 0; }
.footer-bottom { font-size: 0.9rem; color: var(--muted); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
  .hero-actions { justify-content: center; }
  .hero-card { transform: none; margin: 0 auto; max-width: 500px; }
  .hero-card:hover { transform: translateY(-10px); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute; top: 70px; left: 0; width: 100%; background: var(--surface);
    flex-direction: column; padding: 1.5rem; box-shadow: var(--shadow-lg);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out;
  }
  .nav-menu.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .nav-menu a { width: 100%; text-align: center; padding: 1rem 0; border-bottom: 1px solid #f1f5f9; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
}