/* Root colors */
:root {
  --primary: hsl(142, 71%, 45%);
  --secondary: hsl(45, 93%, 54%);
  --light-bg: hsl(140, 25%, 96%);
  --gradient-start: hsl(25, 95%, 73%);
  --gradient-end: hsl(45, 93%, 54%);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #374151;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-container {
  max-width: 1300px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 55px;
}

.nav-buttons a {
  margin-left: 20px;
  text-decoration: none;
  font-size: 16px;
  color: #555;
  font-weight: 500;
}

.nav-buttons a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-buttons a:hover {
  color: var(--primary);
}



/* HERO */
.hub-hero {
  margin-top: 120px;
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
}

.hub-hero h1 {
  font-size: 42px;
  font-weight: 800;
}

.hub-hero p {
  font-size: 18px;
  margin-top: 15px;
}



/* RESOURCES SECTION */
.resources-section {
  background: var(--light-bg);
  padding: 60px 0;
}

.resource-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.resource-card {
  background: white;
  width: 350px;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.card-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 10px;
}

.resource-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
}

.resource-card p {
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}

.resource-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 15px;
}

.resource-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.resource-card ul i {
  color: var(--primary);
  margin-right: 6px;
}


/* BUTTON */
.btn {
  margin-top: 20px;
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  background: #0f9b3d;
}
/* Footer Section */
.footer {
  background: hsl(220, 14%, 95%);
  padding: 40px 20px 30px; /* reduced top/bottom padding */
  color: hsl(220, 14%, 28%);
  font-size: 16px;
}

.footer-container {
  max-width: 900px; /* reduced container width */
  margin: auto;
}

.footer h3 {
  font-size: 22px; /* smaller heading */
  font-weight: 700;
  margin-bottom: 25px; /* reduced space below heading */
}

/* Logo + Title Layout */
.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 12px; /* smaller gap */
  margin-bottom: 30px; /* reduced space below */
}

.footer-logo {
  width: 40px; /* smaller logo */
  height: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px; /* slightly smaller gap between columns */
  margin-bottom: 30px; /* reduced bottom margin */
}

.footer-column h4 {
  font-size: 18px; /* slightly smaller */
  font-weight: 600;
  margin-bottom: 12px;
}

/* Links styling */
.footer-column a {
  display: block;
  text-decoration: none;
  color: hsl(220, 14%, 28%);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

/* Plain text styling */
.footer-column p {
  display: block;
  font-size: 16px; /* match link size */
  color: hsl(220, 14%, 28%);
  margin-bottom: 10px;
}

/* Footer copyright */
.footer-copy {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* Social icons in one line */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  display: block;
}
