/* General Body & Typography */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif; /* A clear, readable font */
  color: #333; /* Darker text for better contrast */
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: linear-gradient(to bottom right, #f8fcfd, #eaf5f7); /* Very light, cool gradient */
  min-height: 100vh;
}

/* Header Section */
.header {
  background: linear-gradient(to right, #008080, #005a5a); /* Deep Teal */
  color: white;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  margin: 0;
  padding: 0 20px;
  line-height: 1.2;
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  width: 90%;
  max-width: 900px;
  padding: 40px 0;
  box-sizing: border-box;
}

.intro-section,
.resource-section {
  background-color: #ffffff; /* Pure white content blocks */
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.intro-section p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.resource-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  color: #005a5a; /* Darker Teal */
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
}

.resource-card {
  border: 1px solid #e0e0e0; /* Softer border */
  border-radius: 8px;
  padding: 25px;
  margin-top: 25px;
  text-align: left;
  background-color: #fcfcfc; /* Slightly off-white for cards */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.resource-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  color: #008080; /* Primary Teal */
  margin-top: 0;
  margin-bottom: 15px;
}

.resource-card p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: left;
}

/* Links and Buttons */
a {
  color: #008080; /* Teal for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #005a5a; /* Darker Teal on hover */
  text-decoration: underline;
}

.button {
  display: inline-block;
  background-color: #5f9ea0; /* Cadet Blue accent */
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.button:hover {
  background-color: #4a8082; /* Darker Cadet Blue on hover */
  text-decoration: none;
}

/* Article List */
.article-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.article-list li {
  margin-bottom: 10px;
}

.article-list li a {
  display: block;
  padding: 8px 10px;
  background-color: #e6f7f9; /* Lighter teal-tinted background for list items */
  border-radius: 5px;
  border: 1px solid #d0edef;
  transition: background-color 0.3s ease;
}

.article-list li a:hover {
  background-color: #c9e0e3; /* Slightly darker on hover */
  text-decoration: none;
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background-color: #2c3e50; /* Deep Charcoal Blue for strong contrast */
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer a:hover {
  color: #aed6e0; /* Lighter color on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .resource-section h2 {
    font-size: 1.8rem;
  }

  .resource-card h3 {
    font-size: 1.5rem;
  }

  .intro-section p,
  .resource-card p,
  .article-list li a {
    font-size: 1rem;
  }

  .main-content {
    width: 95%;
    padding: 20px 0;
  }
}
