/* ============================================================
   Seeds of Success — ourstudents.css
   Page-specific styles only. Shared styles are in common.css.
   ============================================================ */

/* ---------------------------------------------------------
       Seeds of Success — Our Students Page
       --------------------------------------------------------- */

    /* 1. Reset & base */

    /* 2. Header & nav */

    /* 3. Hamburger */

    /* 4. Page hero */

    /* 5. Sections */

    /* 6. Student cards */
    .students-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 26px;
    }
    .student-card {
      background: #ffffff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(13,110,79,0.08);
      border: 1px solid #e8efec;
      transition: all 0.3s ease;
    }
    .student-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 14px 30px rgba(13,110,79,0.15);
    }

    /* Top decorative band with initials */
    .student-banner {
      width: 100%;
      aspect-ratio: 1 / 1;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-family: "Playfair Display", serif;
      font-size: 38px;
      font-weight: 700;
      background: linear-gradient(135deg, #0d6e4f, #14906a);
      position: relative;
      overflow: hidden;
    }
    .student-banner img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%;
      display: block;
    }
    .student-banner.b-1 { background: linear-gradient(135deg, #0d6e4f, #14906a); }
    .student-banner.b-2 { background: linear-gradient(135deg, #f5a623, #f7b945); color: #1f2d2a; }
    .student-banner.b-3 { background: linear-gradient(135deg, #102a23, #0d6e4f); }
    .student-banner.b-4 { background: linear-gradient(135deg, #14906a, #1fb585); }
    .student-banner.b-5 { background: linear-gradient(135deg, #d97706, #f5a623); }
    .student-banner.b-6 { background: linear-gradient(135deg, #0a5239, #14906a); }
    .student-banner.b-7 { background: linear-gradient(135deg, #f7b945, #d97706); color: #1f2d2a; }

    .student-body {
      padding: 22px 22px 26px;
      text-align: center;
    }
    .student-body h3 {
      font-family: "Playfair Display", serif;
      font-size: 20px;
      color: #0d6e4f;
      margin-bottom: 6px;
    }
    .grade {
      display: inline-block;
      background: #f5f9f7;
      color: #0d6e4f;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 14px;
      margin-bottom: 12px;
    }
    .school {
      color: #5a6b66;
      font-size: 13px;
      line-height: 1.55;
    }
    .school strong { color: #1f2d2a; font-weight: 500; }

    /* 7. Closing message band */
    .closing-band {
      background: #f5f9f7;
      padding: 70px 0;
      text-align: center;
    }
    .closing-band .quote {
      font-family: "Playfair Display", serif;
      font-style: italic;
      font-size: clamp(20px, 2.6vw, 26px);
      color: #0d6e4f;
      max-width: 760px;
      margin: 0 auto;
      line-height: 1.5;
    }

    /* 8. Footer */

    /* 9. Responsive */
    @media (max-width: 1100px) {
      .students-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 800px) {
      .students-grid { grid-template-columns: repeat(2, 1fr); }
      
    }
    
    @media (max-width: 520px) {
      .students-grid { grid-template-columns: 1fr; }
      
    }

    /* 10. Page transitions */

    @keyframes pageFadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes pageFadeOut {
      from { opacity: 1; transform: translateY(0); }
      to   { opacity: 0; transform: translateY(-6px); }
    }
