/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #E8F5E9;
  color: #2d3748;
}

/* ✅ NAVBAR SAFE WRAPPER */
.page-content {
  margin-top: 90px; /* 🔥 navbar height ke according */
  padding: 20px;
}

/* ===== CONTAINER ===== */
.resources-container {
  max-width: 1000px;
  margin: auto;
  position: relative;
}

/* ===== WATERMARK (SAFE FIX) ===== */
.page-content::before {
  content: "";
  position: fixed; /* 🔥 absolute → fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 280px;
  height: 280px;

  background: url('images/logo.png') no-repeat center;
  background-size: contain;

  opacity: 0.06;
  pointer-events: none;

  z-index: -1; /* 🔥 navbar safe */
}

/* ===== HEADINGS (SCOPED) ===== */
.resources-container h1 {
  font-family: 'Cinzel', serif;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.resources-container h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

/* ===== NOTE TEXT ===== */
.note {
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #333;
  animation: fadeIn 0.8s ease forwards;
}

/* ===== RESOURCE ROW ===== */
.resource-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 12px;

  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover */
.resource-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* LEFT TEXT */
.resource-row span {
  font-size: 0.95rem;
}

/* RIGHT SIDE */
.resource-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* DESCRIPTION */
.small-text {
  font-size: 0.8rem;
  color: #666;
}

/* LINK */
.resource-row a {
  font-size: 0.85rem;
  color: #187A6F;
  text-decoration: none;
  font-weight: 600;
}

.resource-row a:hover {
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DELAYS ===== */
.fade {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.9s; }
