body {
  font-family: "Cairo", sans-serif;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  color: #222;
}

.header {
  background: linear-gradient(135deg, #1a73e8, #4dabf7);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.header h1 {
  font-size: 2.5rem;
  margin: 0;
}

.conte/* المواد */
.h2-subjects {
  display: flex;
  justify-content: center;
  color: #004aad;
  margin-top: 30px;
}
.subjects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
}

.circle {
  background: white;
  border-radius: 20px;
  width: 250px;
  height: 250px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

.circle span {
  font-weight: 600;
  color: #014f9d;
  z-index: 2;
  transition: color 0.3s ease;
  font-weight: bold;
}

/* زرار الدخول */
.circle a {
  margin-top: 10px;
  padding: 6px 14px;
  background: #00c184;
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(10px);
  transition: all 0.5s ease;
}
.circle {
  margin-top: 10px;
  padding: 6px 14px;
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(10px);
  transition: all 1s ease;
  border: 2px rgba(1, 79, 157, 0.5) solid;
}

/* لما  امر بالماوس */
.circle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  background: #014f9d;
}
.circle:hover span {
  color: white;
}
nt {
  padding: 30px 20px;
  max-width: 800px;
  margin: auto;
}

.section {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.section h2 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #1a73e8;
}

footer {
  background: #004aad;
  color: #fff;
  text-align: center;
  padding: 20px;
}
@media (max-width: 425px) {
  .subjects {
    grid-template-columns: repeat(1, 1fr);
  }
}
