:root {
  --primary:#4b0000;
  --accent:#d4af37;
  --bg:#f7f7f7;
  --text:#222;
  --muted:#666;
}

* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body {
  font-family:'Inter',sans-serif;
  color:var(--text);
  line-height:1.7;

    position:relative;
  height:100%;
  background:url("/sikshantar_images/rimc.png") center/cover no-repeat;
}

.container {
  max-width:1100px;
  margin:auto;
  padding:60px 20px;
}


.container{
	.section {
    background: #f7f7f7;
  padding: 40px 20px;
  border-bottom: 1px solid #eee;
}
}


/* HERO */
.rimc-hero {
  position:relative;
  height:280px;
  background:
    url("rimc-bg.jpg") center/cover no-repeat;
}

.hero-overlay {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,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:48px;
}

.hero-content p {
  opacity:0.9;
}

/* INTRO */
.intro h2 {
  font-family:'Playfair Display',serif;
  margin-bottom:16px;
}

.intro p {
  max-width:900px;
}

/* INFO GRID */
.info-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:28px;
}

.info-card {
  background:var(--bg);
  padding:26px;
  border-radius:10px;
}

.info-card h3 {
  color:var(--primary);
  margin-bottom:10px;
}

.info-card ul {
  padding-left:18px;
}

/* EXAM */
.exam-section h2 {
  font-family:'Playfair Display',serif;
  margin-bottom:20px;
}

.exam-card {
  background:#fff;
  padding:32px;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,0.06);
}

table {
  width:100%;
  border-collapse:collapse;
  margin-bottom:20px;
}

th, td {
  padding:14px;
  border-bottom:1px solid #eee;
  text-align:left;
}

th {
  background:#fafafa;
}

tfoot td {
  font-weight:600;
}

.note {
  font-size:14px;
  color:var(--muted);
}

/* CTA */
.rimc-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:
  font-weight:600;
}

/* FOOTER */
.footer {
  background:#3a0000;
  color:#fff;
  text-align:center;
  padding:20px;
  font-size:14px;
}

/* RESPONSIVE */
@media(max-width:768px) {
  .hero-content h1 { font-size:36px; }
  .cta-inner { flex-direction:column; text-align:center; }
}
