/* Odisha Board 10th - Premium Educational Platform CSS */
:root {
  --navy: #0f2744;
  --navy-light: #1a3a5c;
  --indigo: #3b5bdb;
  --indigo-hover: #2f4ac0;
  --saffron: #f59e0b;
  --saffron-soft: #fef3c7;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 39, 68, 0.08), 0 1px 2px rgba(15, 39, 68, 0.04);
  --shadow-hover: 0 10px 25px rgba(15, 39, 68, 0.08);
  --transition: all 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-hover); }
img { max-width: 100%; height: auto; display: block; }
button, .btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: var(--indigo);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
button:hover, .btn:hover { background: var(--indigo-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--indigo);
  border: 1.5px solid var(--indigo);
}
.btn-outline:hover { background: var(--indigo); color: white; }
.btn-saffron { background: var(--saffron); color: #1e293b; }
.btn-saffron:hover { background: #d97706; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-title { font-size: 1.875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.section-sub { color: var(--text-muted); margin-bottom: 2rem; }

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--indigo);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}
.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--indigo); }
.search-btn, .menu-toggle { background: none; color: var(--navy); padding: 0.5rem; }
.menu-toggle { display: none; font-size: 1.5rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.hero p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.75rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}
.hero-visual svg { width: 180px; height: 180px; margin: 0 auto; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; background: var(--saffron-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--saffron); font-size: 1.5rem; }
.card h3 { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; flex-grow: 1; margin-bottom: 1rem; }
.card a { font-weight: 600; color: var(--indigo); }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--indigo); }

/* Footer */
.footer { background: var(--navy); color: #cbd5e1; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer h4 { color: white; margin-bottom: 1rem; font-size: 1rem; }
.footer a { color: #94a3b8; display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 1.5rem; font-size: 0.85rem; text-align: center; color: #94a3b8; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.1); }

/* Tables / Lists */
.resource-list { display: flex; flex-direction: column; gap: 0.75rem; }
.resource-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.resource-meta { font-size: 0.85rem; color: var(--text-muted); }

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .resource-item { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0; }
}
