/* Alumni List Page Specific Styles */

/* Alumni Cards */
.alumni-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(31, 109, 58, 0.1);
    border: 1px solid rgba(31, 109, 58, 0.15);
    height: 100%;
    position: relative;
    padding: 24px;
    text-align: center;
}

.alumni-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-gold));
    border-radius: 16px 16px 0 0;
}

.alumni-card:hover {
    box-shadow: 0 15px 40px rgba(31, 109, 58, 0.2);
    transform: translateY(-10px);
    border-color: rgba(31, 109, 58, 0.3);
}

.alumni-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(31, 109, 58, 0.25);
}

.alumni-card:hover .alumni-avatar {
    border-color: var(--brand-green);
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(31, 109, 58, 0.35);
}

.alumni-card h5 {
    margin: 16px 0 8px;
    font-weight: 600;
    color: var(--brand-dark);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.alumni-card:hover h5 {
    color: var(--brand-green);
}

.alumni-card p {
    margin: 4px 0;
    color: #718096;
    font-size: 0.95rem;
}

.alumni-card .badge {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-dark) 100%);
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 12px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(31, 109, 58, 0.2);
    transition: all 0.3s ease;
}

.alumni-card:hover .badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 109, 58, 0.3);
}

/* Result Cards */
.result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(31, 109, 58, 0.1);
    border: 1px solid rgba(31, 109, 58, 0.15);
    position: relative;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-gold));
    z-index: 10;
}

.result-card:hover {
    box-shadow: 0 15px 40px rgba(31, 109, 58, 0.2);
    transform: translateY(-10px);
    border-color: rgba(31, 109, 58, 0.3);
}

.result-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-dark) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 20;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(31, 109, 58, 0.2);
}

.result-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.result-card:hover img {
    transform: scale(1.08);
}

.result-card .card-body {
    padding: 20px;
}

.result-card .card-title {
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.result-card:hover .card-title {
    color: var(--brand-green);
}

.result-card .card-text {
    font-size: 0.95rem;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #718096;
}

/* Search Section */
#search-section {
    background: linear-gradient(135deg, rgba(31, 109, 58, 0.03) 0%, rgba(11, 60, 38, 0.03) 100%);
    padding: 40px 0;
    border-bottom: 1px solid rgba(31, 109, 58, 0.1);
    backdrop-filter: blur(10px);
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border: 2px solid rgba(31, 109, 58, 0.2);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    background: white;
    box-shadow: 0 4px 12px rgba(31, 109, 58, 0.08);
}

.search-input:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 4px rgba(31, 109, 58, 0.15), 0 4px 12px rgba(31, 109, 58, 0.12);
    outline: none;
}

/* Tabs */
.category-tabs {
    gap: 10px;
    border-bottom: 2px solid rgba(31, 109, 58, 0.15);
    margin: 30px 0;
}

.category-tabs .nav-link {
    color: #718096;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -2px;
}

.category-tabs .nav-link:hover {
    color: var(--brand-green);
    border-bottom-color: var(--brand-green);
}

.category-tabs .nav-link.active {
    color: var(--brand-green);
    background: transparent;
    border-bottom-color: var(--brand-green);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .alumni-card,
    .result-card {
        padding: 20px;
    }

    .alumni-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .stat-item {
        padding: 20px 15px!important;
    }

    .alumni-card,
    .result-card {
        padding: 16px;
    }

    .alumni-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
    }

    .alumni-card h5 {
        font-size: 1.1rem;
        margin: 12px 0 6px;
    }

    .category-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .search-input {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
}

@media (max-width: 576px) {
    .alumni-card h5 {
        font-size: 1rem;
    }

    .search-input {
        padding: 10px 14px;
        border-radius: 8px;
    }
}
