.alumni-section {
    max-width: 400px;
    height: 400px;
    margin: 50px auto;
    perspective: 1200px;
    outline: none;
    position: relative; /* allow positioning children */
}

.alumni-banner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #153677, #2b68b5);
    border-radius: 30px; /* rounded corners */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    color: #cfe0f5;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;

    /* diamond shape */
    transform: rotate(45deg);
    box-sizing: border-box;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1; /* above the background diamond */
}

/* Background diamond using ::before */
.alumni-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, #0f2b57, #224f8b);
    border-radius: 40px;
    transform: translate(-50%, -50%) rotate(-45deg);
    box-shadow: 0 8px 24px rgba(9, 44, 92, 0.5);
    z-index: 0;
    filter: brightness(0.8);
    pointer-events: none; /* don't block mouse events */
}

.alumni-banner:hover {
    transform: rotate(45deg) translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Content rotated back to normal inside the diamond */
.alumni-content {
    transform: rotate(-45deg);
    text-align: center;
    max-width: 320px;
}

.alumni-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #e6f0ff;
    text-transform: uppercase;
}

.alumni-quote {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 16px;
}

.alumni-desc {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #d7e6ff;
}

.alumni-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: #a9c4ff;
}

.alumni-icon {
    font-size: 2.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.alumni-icon:hover {
    color: #fff;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 520px) {
    .alumni-section {
      max-width: 90vw;
      height: 90vw;
    }
    .alumni-content {
      max-width: 90%;
    }
    .alumni-title {
      font-size: 1.4rem;
    }
    .alumni-icon {
      font-size: 1.8rem;
    }
}
