/* ==================================================
   PAGES-KIDS CSS
   Purpose:
   - Highlights
   - Cards (grid-3, grid-4)
   - Mission & Vision grids
   - Gallery previews
   - Any page-specific sections for kids/overview
   ================================================== */

/* ================= HIGHLIGHTS SECTION ================= */
.highlights {
  padding: 50px 20px;
  background: #f9f9f9;
}

.highlights .container.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.highlights .card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.highlights .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.highlights .card .image-box {
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.highlights .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.highlights .card img:hover {
  transform: scale(1.05);
}

.highlights .card h3 {
  padding: 15px;
  font-size: 1.2rem;
  color: var(--primary);
}

.highlights .card p {
  padding: 0 15px 15px 15px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive highlights */
@media (max-width: 992px) {
  .highlights .card h3 { font-size: 1.1rem; }
  .highlights .card p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .highlights .container.grid-3 {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .highlights .card h3 { font-size: 1rem; }
  .highlights .card p { font-size: 0.88rem; }
}

/* ================= CARDS SECTION ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* ================= MISSION & VISION GRID ================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.info-box {
  background: #f8f8f8;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  background: #e2e6f2;
}

.info-box h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-box p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

/* Responsive Mission/Vision */
@media (max-width: 992px) {
  .grid-2 { grid-template-columns: 1fr; gap: 25px; }
}

/* ================= GALLERY PREVIEW ================= */
.gallery-preview {
  padding: 60px 20px;
  background: #f9f9f9;
}

.gallery-preview .container { max-width: 1200px; margin: auto; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.grid-4 .image-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: #eaeaea;
}

.grid-4 .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover
}