* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f9fc;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
}

.subject {
  background: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.subject:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.subject h2 {
  color: #282828;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.subject p {
  color: red;
  font-style: italic;
  margin-bottom: 15px;
}

.module {
  margin: 20px 0;
  padding-left: 15px;
  border-left: 4px solid #ddd;
}

.module h3 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.module:not(:last-child) {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 90px;
  text-align: center;
  border: 2px solid;
}

.btn-noji {
  border-color: #3498db;
  color: #3498db;
}

.btn-noji:hover {
  background: #3498db;
  color: white;
}

.btn-studykit {
  border-color: #e67e22;
  color: #e67e22;
}

.btn-studykit:hover {
  background: #e67e22;
  color: white;
}

.btn-gizmo {
  border-color:#E6B024;
  color:#E6B024;
  
} 

.bth-gizmo:hover {
  border-color:#E6B024;
  color: white;

}

/* View on GitHub Button */
.github-link {
  text-align: center;
  margin: 30px 0 20px;
}

.github-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #24292e;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.github-link a:hover {
  background: #000;
}

/* --- FAQ SECTION --- */
.faq {
  margin-top: 40px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: #f8f9fa;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-bottom: 8px;
}

.faq-toggle:hover {
  background: #e9ecef;
}

.faq-toggle::after {
  content: ' ▶';
  float: right;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle::after {
  content: ' ▼';
}

.faq-content {
  padding: 0 16px 12px;
  line-height: 1.6;
  display: none;
  color: #555;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-content p,
.faq-content ul {
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
