@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@400;700;900&display=swap');

:root {
  --primary-color: #0ea5e9;
  --secondary-color: #3b82f6;
  --bg-color: #0f172a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  background-image: 
    linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)),
    url('../img/bg-students.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Outfit', sans-serif; }

nav {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 1px; color: var(--text-main); }
.logo span { color: var(--primary-color); }

.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 1s ease-out;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeUp 1s ease-out 0.2s both;
}
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeUp 1s ease-out 0.4s both;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-main);
}
.section-title span { color: var(--primary-color); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s, background 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.glass-card.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}
.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.9);
}
.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #38bdf8;
}
.glass-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.tf-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  margin-top: 4rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
}
