/* /* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: #dae4f1;
  color: #1f2937;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background-color: #00008B;
  color: #e8dfdf;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem;
}
.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f4f5f7;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  color: #7caaee;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}
.nav a:hover {
  color: #304278;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background-color: #ffffff;
  border-radius: 0 0 1rem 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.hero h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}
.hero p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.cta-button {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}
.cta-button:hover {
  background-color: #000088;
}

/* Subjects Section */
.subjects {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: auto;
}
.subjects h3 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #111827;
}
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
.subject-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: #0a0c12;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.subject-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background-color: #00008B;
  color: #ebeef6;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
  font-size: 0.95rem;
  border-top: 1px solid #1c1d1d;
}

 .footer {
    text-align: center;
    padding: 10px;
  }
  .footer .disclaimer {
    font-size: 0.8em; /* smaller than normal text */
    color: #666;      /* lighter color for subtle look */
    margin-top: 5px;
  }

/* Responsive */
@media (max-width: 640px) {
  .container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  .nav a {
    margin-left: 1rem;  
    font-size: 0.95rem;
  }
  .hero {
    padding: 3rem 1rem 1.5rem;
  }
  .subjects {
    padding: 2rem 1rem;
  }
.subjects p {
    font-size: 0.8rem;
  }

}
.questions-list {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.question {
  background: #f0f4f8;
  border-left: 4px solid #2563eb;
  margin: 1rem 0;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.question summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
}

.question summary::marker {
  font-size: 1.4rem;
}

.question p {
  padding: 0.5rem 0 0 1rem;
  margin: 0;
  color: #374151;
}
.subject-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.hero-image {
  max-width: 400px;
  margin-top: 2rem;
  animation: float 4s ease-in-out infinite;
}
.ans-img {
  max-width: 100%;   /* never overflow question box */
  height: auto;      /* keep aspect ratio */
  display: block;
  margin: 0.5rem auto; /* center images with spacing */
  border-radius: 6px;  /* (optional) smooth corners */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* (optional) subtle shadow */
}


@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
