 body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #f9c5d1, #9795ef, #f6d365, #fda085);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  color: #222;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== HEADER ===== */
header {
  background: rgba(0,0,0,0.6);
  padding: 30px 20px;
  text-align: center;
  color: #fff;
  font-size: 2.8em;
  font-weight: bold;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.7);
  letter-spacing: 2px;
  border-bottom: 3px solid rgba(255,255,255,0.3);
}

section {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin: 20px auto;
  padding: 20px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------------- Plain sections (no white box) ---------------- */
.plain {
  width: 92%;
  margin: 28px auto;
  color: #000;          
  text-shadow: none;    
  line-height: 1.6;
  text-align: left;      /* ✅ force text left align */
}
.plain h2 {
  margin: 0 0 12px 0;
  font-size: 1.6rem;
}
.plain h2 {
  margin: 0 0 12px 0;
  font-size: 1.6rem;
}
.plain p { margin: 10px 0; font-size: 1rem; }

/* Flex layout used for Meaning and Spotlight */
.flex-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.flex-row .text {
  flex: 1.2 1 360px;
  min-width: 260px;
}
.flex-row img {
  flex: 0.9 1 320px;
  max-width: 420px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  object-fit: cover;
  animation: float 3s ease-in-out infinite;
}
/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Roles cards (Mother, Father, Brother, Sister, Grandparents) */
.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  width: 92%;            /* ✅ same width as .plain */
  margin: 28px auto;     /* ✅ same margin as .plain */
  text-align: left;      /* ✅ align text to left */
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.card h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #333;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #4CAF50;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.read-more:hover {
  background-color: #388E3C;
}


   