*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}


.wrapper {
  text-align: center;
  background: #edf2f7;
  padding: 2.5rem 1rem;
}

.wrapper h1 {
  font-size: 2.2rem;
  color: green;
  margin-bottom: 0.5rem;
}

.wrapper a {
  color: #555;
  font-size: 0.9rem;
}

/* Content Styling */
.wrapper-content,
.school-content {
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

    .cards-wrapper {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      width: 100%;
      max-width: 1200px;
      margin: 2rem 2.45rem;
    }

    /* --- Card styling --- */
    .portfolio-card {
      background: #ffffff;
      border-radius: 1rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
      min-height: 380px; /* good height for most images */
    }
    .portfolio-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    /* --- Image container (replace placeholder with <img>) --- */
    .image-holder {
      flex: 1 0 0;          /* fills available vertical space */
      background: #e2e8f0;
      display: flex;  /* light gray placeholder */
      align-items: center;
      justify-content: center;
      color: #94a3b8;       /* muted text for placeholder */
      font-size: 1rem;
      font-weight: 600;
    }
    /* If you add an <img> tag inside .image-holder, it auto-fits */
    .image-holder img {
      width: 100%;
      height: 100%;
      object-fit: cover;

    }

    /* --- Caption --- */
    .caption {
      padding: 1rem;
      text-align: center;
      font-size: 1.1rem;
      font-weight: 600;
      color: #0f172a;
    }

    @media(max-width: 480px){
        .portfolio-card {
    min-height: 300px; /* smaller card on tiny screens */
  }
  .caption {
    font-size: 1rem;
    padding: 0.75rem;
  }
  .cards-wrapper {
    padding: 0 0.5rem;
    margin: 2rem 0rem;
  }
    }