/* ============ RESET & VARIABLES ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1e3a8a;
  --primary-dark: #1a2b6d;
  --secondary: #d4af37; /* Gold accent */
  --light: #ffffff;
  --gray: #64748b;
  --light-gray: #f8fafc;
  --card-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: var(--light-gray);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }

/* ============ HEADER ============ */
header {
  background: var(--light);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 60px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

/* ============ HERO SECTION ============ */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tagline {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.btn.primary {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn.primary:hover {
  background: #c69c2d;
  transform: translateY(-3px);
}

.btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* ============ VISION & MISSION ============ */
.vision-mission {
  padding: 80px 0;
}

.vision-mission .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.card h2 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* ============ QUICK LINKS ============ */
.quick-links {
  padding: 60px 0;
  background: white;
}

.quick-links h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 2rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.quick-link-card {
  background: var(--light);
  padding: 30px 20px;
  text-align: center;
  border-radius: 14px;
  text-decoration: none;
  color: var(--primary);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.quick-link-card i {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.quick-link-card h3 {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* ============ TRENDING NEWS ============ */
.trending-news {
  padding: 80px 0;
  background: var(--light-gray);
}

.trending-news h2 {
  color: var(--primary);
  margin-bottom: 40px;
  text-align: center;
  font-size: 2rem;
}

.trending-news h2 i {
  margin-right: 10px;
  color: var(--secondary);
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.news-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  position: relative;
  border-top: 4px solid var(--primary);
}

.news-card .tag {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.tag.exam { background: #ef4444; }
.tag.event { background: #3b82f6; }
.tag.holiday { background: #10b981; }

.news-card h3 {
  margin: 10px 0;
  color: var(--primary-dark);
}

.news-card p {
  color: var(--gray);
  margin: 10px 0;
}

.news-card small {
  color: #94a3b8;
  font-size: 0.85rem;
}

.view-all {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ============ FOOTER ============ */
footer {
  background: var(--primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-col p, .footer-col i {
  margin-bottom: 8px;
  color: #cbd5e1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
  z-index: 2000;
  font-size: 24px;
  text-decoration: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu { 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    display: none;
  }
  .nav-menu.show { display: block; }
  .nav-menu ul { flex-direction: column; padding: 20px; gap: 15px; }
  .hero-content h1 { font-size: 2.2rem; }
  .tagline { font-size: 1.1rem; }
  .btn { display: block; margin: 10px auto; width: 80%; max-width: 250px; }
}