/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  color: #222;
  line-height: 1.6;
}
.top-header img,
.topbar img,
.topbar {
  height: 60px;                  /* give it a visible height */
  background-color: #004080;     /* dark blue background */
  color: #fff;                   /* text color */
  display: flex;
  align-items: center;           /* vertical centering */
  justify-content: space-between;/* space between left/right content */
  padding: 0 20px;               /* horizontal spacing */
}

.logo {
  display: none !important;
}

/* =====================
   TOP HEADER
===================== */
/* =====================
   TOP HEADER
===================== */
.top-header {
  display: flex;
  align-items: center;            /* logo + text vertical center */
  gap: 12px;
  padding: 10px 20px;
  background-color: #0b3c6f;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* ✅ LOGO FINAL SIZE CONTROL */
.top-header img.logo {
  height: 32px;        /* 🔥 यही main control है */
  width: auto;
  max-width: 32px;
  object-fit: contain;
}

/* Academy name */
.site-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

}

/* =====================
   CONTAINER & CARDS
===================== */
.container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px;
}

.card {
  background: #ffffff;
  padding: 22px;
  margin-bottom: 22px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #2b59ff, #1f45cc);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
}

.btn:hover {
  opacity: 0.9;
}

/* =====================
   CLASS LIST
===================== */
.class-list a {
  display: block;
  background: linear-gradient(135deg, #2b59ff, #1f45cc);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  text-decoration: none;
}

.class-list a:hover {
  opacity: 0.9;
}

/* =====================
   MATERIAL LINKS
===================== */
.material-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.material-links a {
  display: inline-block;
  margin: 6px 10px 6px 0;
  padding: 8px 14px;
  background: #eef3ff;
  border-radius: 8px;
  text-decoration: none;
  color: #1f45cc;
  font-weight: 500;
}

.material-links a:hover {
  background: #dbe5ff;
}

/* =====================
   BACK LINK
===================== */
.back {
  text-decoration: none;
  font-weight: 600;
  color: #5a2ca0;
}

/* =====================
   FOOTER
===================== */
footer {
  text-align: center;
  padding: 25px;
  font-size: 14px;
  color: #555;
}
/* FORCE REMOVE LOGO - FINAL */
.top-header img,
.logo {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}
/* ================================
   STUDY MATERIAL PAGE – FINAL
================================ */

/* Material container */
.material-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin: 20px 0;
}

/* PDF links grid */
.material-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* Each PDF button */
.material-links a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  text-decoration: none;

  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;

  transition: all 0.25s ease;
}

/* Hover effect */
.material-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37,99,235,0.35);
}

/* PDF icon look (emoji safe) */
.material-links a::before {
  content: "📄";
  font-size: 18px;
}

/* Back button */
a.back {
  display: inline-block;
  margin-top: 14px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

a.back:hover {
  text-decoration: underline;
}

/* Mobile polish */
@media (max-width: 480px) {
  .material-links a {
    font-size: 14px;
    padding: 10px 12px;
  }
}
/* ===== FORCE FIX FOR PDF LIST ===== */
.material-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.material-links a {
  flex: 1 1 240px !important;
  background: #2563eb !important;
  color: #fff !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.material-links a::before {
  content: "📄";
}

/* Academy name under What You Get */
.academy-name {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #0b3c6f;
  margin: 25px 0 10px;
  letter-spacing: 0.5px;
}

.academy-center {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0;
  color: #0b3c6f;
}
