:root {
  --maroon: #781d22;
  --maroon-dark: #581216;
  --saffron: #d97706;
  --saffron-light: #fef3c7;
  --gold: #b45309;
  --cream: #fffdf9;
  --text-dark: #1c1917;
  --text-muted: #57534e;
  --border-color: #e7e5e4;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--cream); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top notification strip */
.top-strip {
  background: var(--maroon-dark);
  color: #fed7aa;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--saffron);
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tamil-tag {
  font-weight: 600;
  color: #fef3c7;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-emblem {
  width: 54px;
  height: 54px;
  background: var(--maroon);
  color: #fde68a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 2px solid var(--saffron);
}
.brand-title h1 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--maroon);
  line-height: 1.2;
}
.brand-title .tamil-sub {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--maroon);
}
.btn-saffron {
  background: var(--saffron);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.btn-saffron:hover {
  background: var(--gold);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(88, 18, 22, 0.92), rgba(120, 29, 34, 0.88)), url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #ffffff;
  padding: 80px 0 100px;
  text-align: center;
}
.hero-tag {
  background: rgba(217, 119, 6, 0.3);
  border: 1px solid var(--saffron);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fef3c7;
  margin-bottom: 20px;
}
.hero h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 1.1rem;
  color: #fed7aa;
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-maroon-fill {
  background: #ffffff;
  color: var(--maroon);
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Hall of Fame / Results Strip */
.results-strip {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}
.results-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 25px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.result-item {
  border-right: 1px solid var(--border-color);
}
.result-item:last-child { border-right: none; }
.result-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--maroon);
  font-weight: 700;
}
.result-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Sections */
.section { padding: 60px 0; }
.section-title-wrap { text-align: center; max-width: 650px; margin: 0 auto 40px; }
.section-title-wrap h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--maroon);
  margin-bottom: 10px;
}
.section-title-wrap p { color: var(--text-muted); }

/* Correspondent Desk */
.correspondent-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.correspondent-text h4 {
  font-size: 1.1rem;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
}
.correspondent-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--maroon);
  margin-bottom: 16px;
}
.correspondent-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.sign-box {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}
.sign-box strong { color: var(--maroon); font-size: 1.05rem; }

/* NEET/JEE Banner */
.neet-card {
  background: linear-gradient(135deg, #fef3c7, #fffbeb);
  border: 2px solid #fde68a;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.neet-text h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #78350f;
  margin-bottom: 6px;
}
.neet-text p { color: #92400e; font-size: 0.92rem; }

/* Result Verification Simulation (GuruDesk SIS) */
.verify-box {
  background: var(--maroon);
  color: #ffffff;
  border-radius: 10px;
  padding: 35px;
  box-shadow: var(--shadow-lg);
  margin-top: 30px;
}
.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.verify-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #fca5a5;
  background: #ffffff;
  color: #1c1917;
  font-size: 0.95rem;
  margin-top: 6px;
}
.marks-display {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 18px;
}
.marks-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #27090b;
  color: #d6d3d1;
  padding: 50px 0 20px;
  border-top: 4px solid var(--saffron);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}
.footer-col a { color: #d6d3d1; text-decoration: none; font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero h2 { font-size: 2rem; }
  .results-card { grid-template-columns: 1fr 1fr; }
  .correspondent-grid { grid-template-columns: 1fr; }
  .verify-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
