.alumni-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.alumni-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto 2rem;
    display: block;
    width: fit-content;
}

.register-btn::before {
    content: '🎓';
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.alumni-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.alumni-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.alumni-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.alumni-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    margin: 0 auto 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.alumni-card:hover .alumni-photo {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.alumni-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.alumni-info p {
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.alumni-info p strong {
    color: #374151;
    font-weight: 600;
}

.alumni-description {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #3b82f6;
    margin-top: 1.25rem;
    font-style: italic;
    color: #475569;
    height: 300px;
    overflow: scroll;
    text-align: left;
    line-height: 1.6;
}
.alumni-description p{
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .alumni-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .alumni-card {
        padding: 1.5rem;
    }
    
    .alumni-photo {
        width: 100px;
        height: 100px;
    }
    
    .register-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .alumni-section {
        padding: 1.5rem 0;
    }
    
    .alumni-card {
        padding: 1.25rem;
    }
    
    .alumni-info h3 {
        font-size: 1.25rem;
    }
    
    .alumni-description {
        padding: 1rem;
        font-size: 0.875rem;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .alumni-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 30px 0 40px;
  font-family: 'Poppins', sans-serif;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: 25px;
  font-weight: 500;
  color: #3498db;
  background-color: #f0f4f8;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(52, 152, 219, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.pagination span {
  pointer-events: none;
}

.pagination a:hover {
  background-color: #3498db;
  color: #fff;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

/* Disabled links appearance (for completeness if you add styles) */
.pagination a[disabled], 
.pagination a.disabled {
  color: #bbb;
  pointer-events: none;
  background-color: #e1e5eb;
  box-shadow: none;
}

.alert {
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
