/* ================================
   style.css — shared for all pages
   ================================ */
 
/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');
 
/* --- Colors --- */
:root {
  --green: #1a5fa8;
  --green-light: #e6eef8;
  --navy: #0d1b2a;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text: #222222;
  --muted: #777777;
}
 
/* --- Base Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}
 
a {
  color: var(--green);
  text-decoration: none;
}
 
a:hover {
  text-decoration: underline;
}
 
/* ================================
   NAVBAR
   ================================ */
nav {
  position: sticky;       /* sticks to top when you scroll */
  top: 0;
  background: #b6d4f5;
  border-bottom: 2px solid #9abfe0;
  z-index: 100;           /* stays on top of other content */
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
 
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
 
.logo span { color: var(--green); }
 
/* Logo image — fits exactly inside the navbar height */
.logo-img {
  height: 60px;    /* matches the nav height */
  width: auto;     /* keeps proportions correct */
  display: block;
}
 
nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
 
nav ul a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
}
 
nav ul a:hover,
nav ul a.active {
  background: var(--green-light);
  color: var(--green);
  text-decoration: none;
}
 
/* Special style for the Apply button */
nav ul a.apply-btn {
  background: var(--green);
  color: var(--white);
}
 
nav ul a.apply-btn:hover {
  background: var(--navy);
}
 
/* ================================
   PAGE HEADER
   ================================ */
.page-header {
  background: var(--light-gray);
  padding: 48px 32px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
}
 
.page-header h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
 
.page-header p {
  color: var(--muted);
}
 
/* ================================
   MAIN CONTENT
   ================================ */
main {
  max-width: 1000px;
  margin: 0 auto;       /* centers the content */
  padding: 48px 32px;
}
 
section {
  margin-bottom: 48px;
}
 
h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 16px;
  border-left: 4px solid var(--green);  /* green bar on the left */
  padding-left: 12px;
}
 
p {
  color: #444;
  margin-bottom: 12px;
}
 
/* ================================
   CARDS
   ================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
 
.card {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 24px;
  border: 1.5px solid #e0e0e0;
  transition: transform 0.2s;   /* smooth hover effect */
}
 
.card:hover { transform: translateY(-4px); }
 
.card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
 
.card p {
  font-size: 0.9rem;
  color: var(--muted);
}
 
/* Small label tag on cards */
.tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
 
/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s;
}
 
.btn-green {
  background: var(--green);
  color: var(--white);
}
 
.btn-green:hover { background: var(--navy); text-decoration: none; }
 
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
 
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  text-decoration: none;
}
 
/* ================================
   FOOTER
   ================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 28px 32px;
  font-size: 0.85rem;
}
 
footer a { color: rgba(255,255,255,0.8); }
footer a:hover { color: white; }
 