/* General Body */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #0a1d37, #2c3e50);  /* Gradient from deep navy to steel blue */
  color: #d0d0d0;  /* Soft light gray for text */
}

/* Header */
header {
  background: rgba(10, 29, 55, 0.9);  /* Slightly transparent dark navy for header */
  color: white;
  padding: 1.5em 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);  /* Slight shadow for depth */
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

nav a:hover {
  color: #00bcd4;  /* Sky blue for hover effects */
}

/* Hero Section */
.hero-section {
  padding: 3em 2em;
  background-color: rgba(10, 29, 55, 0.8);  /* Darker, semi-transparent overlay for hero */
  color: white;
  text-align: center;
  border-bottom: 5px solid #00bcd4;  /* Sky blue border */
}

.hero-section h2 {
  font-size: 3em;
  margin-bottom: 0.5em;
  color: #00bcd4;  /* Bright sky blue */
}

.hero-section p {
  font-size: 1.2em;
  color: #b0b0b0;  /* Soft gray text for description */
}

/* CTA Button */
.cta-button {
  background: #00bcd4;  /* Sky blue for CTA button */
  padding: 0.8em 1.6em;
  border: none;
  color: #121212;  /* Dark background for contrast */
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1.5em;
  display: inline-block;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  background: #008c99;  /* Slightly darker sky blue for hover */
}

/* Main Content Sections */
section {
  padding: 4em 2em;
  text-align: center;
  background-color: rgba(10, 29, 55, 0.8);  /* Dark background for content sections */
}

.features-grid,
.subject-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Feature Cards & Subject Cards */
.feature, .subject-card {
  background: #2a3a50;  /* Subtle steel gray for cards */
  color: #d0d0d0;  /* Light gray text for readability */
  margin: 1.5em;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover, .subject-card:hover {
  transform: translateY(-8px);  /* Hover lift effect */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);  /* Stronger shadow */
  border-top: 5px solid #00bcd4;  /* Highlight border on hover */
}

.feature h3, .subject-card h3 {
  margin-top: 0;
  font-size: 1.5em;
  color: #00bcd4;  /* Sky blue for titles */
}

.feature p, .subject-card p {
  color: #b0b0b0;  /* Soft gray description text */
  font-size: 1em;
  line-height: 1.6em;
}

/* Footer */
footer {
  background: rgba(10, 29, 55, 0.9);  /* Transparent dark navy for footer */
  color: white;
  padding: 3em 1em;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

footer a {
  color: #00bcd4;  /* Sky blue for footer links */
}

footer a:hover {
  color: #ffffff;  /* White text on hover for contrast */
}
