:root{
  --primary:#38bdf8;
  --secondary:#6366f1;
  --bg-dark:#0f172a;
  --bg-light:#1e293b;
  --text-light:#fff;
  --text-muted:#cbd5e1;
  --card-bg:#162033;
  --card-hover:#22304a;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI',sans-serif;
}

html{
  overflow-y:scroll;
}

/* 🔵 Background overall dark hi rahega (nav/footer match) */
body{
  background:var(--bg-dark);
  color:var(--text-light);
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* 🔵 Cursor Glow – same as home, z-index upar */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, .2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}

/* NAVBAR (EXACT SAME AS HOME) */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 8%;
  background:rgba(15,23,42,.75);
  backdrop-filter:blur(8px);
  position:fixed;
  width:100%;
  z-index:1000;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 32px;         /* size yaha se control hoga */
  object-fit: contain;
  display: block;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:30px;
}

.nav-links a{
  color:var(--text-light);
  text-decoration:none;
  position:relative;
  font-weight:500;
}

.nav-links a::after{
  content:"";
  position:absolute;
  width:0;
  height:2px;
  background:var(--primary);
  left:0;
  bottom:-5px;
  transition:.3s;
}

.nav-links a:hover::after{
  width:100%;
}

/* MAIN */
/* 🟦 Nav ke neeche poora area light / whitish feel */
.main-content{
  flex:1;
  padding-top:120px;
  background:#f1f5f9;        /* light bluish / grey */
  color:#0f172a;             /* text dark for contrast */
}

/* SECTION */
.notes-section{
  padding:0 8% 80px;
  text-align:center;
  background: #f1f5f9;        /* ensure section bhi light background pe ho */
}

.section-title{
  font-size:32px;
  margin-bottom:40px;
  color:#0f172a;             /* heading dark */
}

/* FILTERS */
.filters{
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:40px;
}

/* Filter dropdowns dark hi rahenge – blue tone preserved */
.filters select{
  padding:10px 15px;
  border-radius:10px;
  border:1px solid var(--primary);
  background:var(--card-bg);
  color:var(--text-light);
  outline:none;
  transition:.3s;
}

.filters select:hover{
  box-shadow:0 0 10px var(--primary);
}

/* TYPING FORMULA */
.typing-box{
  min-height:40px;
  font-size:20px;
  color:var(--primary);
  font-weight:600;
  letter-spacing:1px;
  margin-bottom:15px;
}

.typing-box::after{
  content:"|";
  margin-left:5px;
  animation:blink 1s infinite;
}

@keyframes blink{
  0%,100%{opacity:1}
  50%{opacity:0}
}

/* SUBJECT CARDS */
.subjects-container{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  justify-content:center;
  margin-top:40px;
}

/* Dark glassy cards, light background ke upar nicely pop karenge */
.subject-card{
  background:rgba(22,32,51,.9);
  backdrop-filter:blur(10px);
  padding:30px;
  width:320px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.1);
  transition:.4s;
  box-shadow:0 15px 35px rgba(0,0,0,.35);
  color:var(--text-light);      /* card ke andar text white */
}

.subject-card:hover{
  transform:translateY(-12px) scale(1.02);
  border:1px solid var(--primary);
}

.subject-card h3{
  margin-bottom:20px;
  font-size:22px;
  color:var(--text-light);      /* ensure white on dark card */
}

.subject-card button{
  width:100%;
  margin:8px 0;
  padding:12px;
  border:none;
  border-radius:10px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  color:white;
  cursor:pointer;
  font-weight:600;
  transition:.3s;
}

.subject-card button:hover{
  transform:scale(1.05);
}

/* FOOTER */
.footer{
  background:var(--bg-dark);
  padding:40px 8%;
  text-align:center;
  color:var(--text-light);
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:center;
}

.footer-links a{
  color:var(--text-muted);
  text-decoration:none;
  transition:.25s ease;
}

.footer-links a:hover{
  color:var(--primary);
}

.copyright{
  margin-top:20px;
  font-size:14px;
  color:var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .navbar{
    padding: 10px 6%;
  }

  .logo-img{
    height: 26px;
  }

  .nav-links{
    gap: 18px;
  }

  .nav-links a{
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  .nav-links{
    gap: 14px;
  }

  .nav-links a{
    font-size: 13px;
  }
}

