/* ===================================================== */
/* FILE: css/core-school-modules.css */
/* ===================================================== */

.school-modules {
  padding: 100px 8%;
  background: #ffffff;
}

.modules-header {
  text-align: center;
  margin-bottom: 60px;
}

.modules-header .tag {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.modules-header h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
}

.modules-header p {
  max-width: 750px;
  margin: auto;
  color: #6b7280;
  font-size: 17px;
  line-height: 1.7;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.module-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 35px;
  transition: 0.3s ease;
  box-shadow: 0 10px 35px rgba(0,0,0,0.04);
}

.module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(79,70,229,0.12);
}

.module-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 25px;
}

.module-card h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}

.module-card p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.module-card a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 700;
}

.module-card a:hover {
  text-decoration: underline;
}



/* ================= RESPONSIVE ================= */

@media(max-width:768px){

  .school-modules{
    padding: 70px 20px;
  }

  .modules-header h2{
    font-size: 32px;
  }

}