/* General Body */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #1a1f2b; /* Dark background for the whole page */
  color: #ddd; /* Light gray text for contrast */
}

/* Header */
header {
  background: #003366; /* Deep navy for header */
  color: white;
  padding: 2em 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Hero Section */
.hero-section h2 {
  font-size: 2.5em;
  margin-bottom: 0.2em;
  color: white;
}

.hero-section p {
  font-size: 1.2em;
  color: #ffcc00; /* Light yellow for emphasis */
  font-weight: bold;
}

/* Subject Selection Section */
.subject-selection {
  padding: 3em 2em;
  background: #2a2f3d; /* Darker background for subject section */
  min-height: 80vh;
}

/* Subject Grid Layout */
.subject-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2em;
}

/* Subject Cards */
.subject-card {
  background: #333; /* Dark background for cards */
  border-radius: 15px;
  padding: 2em;
  text-align: left;
  width: 270px;
  text-decoration: none;
  color: #ddd; /* Light gray text for contrast */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border-top: 4px solid #003366; /* Deep navy border on top */
}

.subject-card:hover {
  transform: translateY(-5px); /* Slight lift effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
  border-top: 4px solid #00bcd4; /* Yellow highlight border on hover */
}

/* Card Heading */
.subject-card h3 {
  margin-top: 0;
  font-size: 1.4em;
  color: #00bcd4; /* Yellow text for headings */
  font-weight: bold;
}

/* Card Description */
.subject-card p {
  color: #bbb; /* Lighter gray text for description */
  font-size: 0.95em;
  line-height: 1.6em;
}

/* Main Title (h1) */
h1 {
  background: #003366; /* Deep navy background */
  color: white;
  padding: 2em 0;
  text-align: center;
  text-transform: uppercase; /* Title case for emphasis */
  letter-spacing: 1px; /* Slight spacing between letters */
}
