/* =======================
   GLOBAL LAYOUT & CONTENT
   ======================= */

/* Section spacing */
section {
  padding: 60px 0;
}

section:nth-child(even) {
  background: #f8f8f8;
}

/* Headings */
section h2 {
  color: var(--green);
  margin-bottom: 25px;
  text-align: center;
}

/* Paragraph text */
section p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Grid helpers */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 25px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Card */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Responsive text */
@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  section h2 {
    font-size: 1.6rem;
  }
  section p {
    font-size: 1rem;
  }
}
