/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #080808;
  line-height: 1.7;
    position: relative;
  height: 100%;
  background:url("/sikshantar_images/rms.png") center/cover no-repeat;
}

/* VARIABLES */
:root {
  --primary: #4b0000;
  --accent: #d4af37;
  --light: #f7f7f7;
  --muted: #666;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

/* HERO */
.page-hero {

}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 249, 0.6);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
}

.hero-content p {
  opacity: 0.9;
}

/* SECTIONS */
.section h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}

.section-light {
  background: var(--light);
}

/* INFO GRID */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 28px;
  color:#ffffff;
  background: var(--light);
  border-radius:20px;
}


.info-card {
  /* background: rgb(148, 23, 23); */
  padding: 28px;
  border-radius: 10px;
  background-color: #510000;
 font-family: 'Playfair Display', serif;
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* EXAM */
.exam-box {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  color:#000000;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th, td {
  padding: 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

th {
  background: #fafafa;
}

.note {
  font-size: 14px;
  color: var(--muted);
}

/* CTA */
.cta {
  background: linear-gradient(135deg,#4b0000,#7a1c1c);
  color: #fff;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-family:'Playfair Display',serif;
}

/* FOOTER */
.footer {
  background: #3a0000;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
.page-hero {
  height: 260px;
  background-image: url("navodaya-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  color: #ffffff;              /* text only */
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  margin-bottom: 6px;
}

.hero-content p {
  font-size: 15px;
}
.hero-content {
  background: rgba(0,0,0,0.45); /* affects text box only */
  padding: 20px 28px;
  border-radius: 6px;
  display: inline-block;
}
.page-hero {
  position: relative;
  height: 260px;

  /* IMAGE */
  background-image: url("navodaya-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* FORCE CLEAN */
  background-color: transparent !important;
  opacity: 1 !important;
  filter: none !important;
}
.page-hero::before,
.page-hero::after {
  content: none !important;
}
.hero-content {
  background: none !important;
  opacity: 1 !important;
}
section,
body,
.container {
  opacity: 1;
  filter: none;
}
.navodaya-about {
  background-color: #510000;
  color: #ffffff;
  border-radius:20px;
}
