/* ========================================
   OPTIMIZED PREMIUM PAGE HEADER
======================================== */
.optimized-alumni-header {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

[data-theme="dark"] .optimized-alumni-header {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.header-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(201, 48, 44, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(243, 156, 18, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.header-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Breadcrumb */
.header-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 48, 44, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.header-breadcrumb:hover {
    background: rgba(201, 48, 44, 0.15);
    transform: translateY(-2px);
}

.header-breadcrumb a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.header-breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Header Main Content */
.header-main-content {
    margin-bottom: 3rem;
}

.header-icon-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 
        0 10px 30px rgba(201, 48, 44, 0.25),
        0 0 0 8px rgba(201, 48, 44, 0.1);
    transition: transform 0.3s ease;
}

.header-icon-badge:hover {
    transform: scale(1.05);
}

.optimized-page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.optimized-page-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Optimized Quick Stats - Simplified */
.header-quick-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(201, 48, 44, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .header-quick-stats {
    background: rgba(22, 33, 62, 0.8);
    border-color: rgba(201, 48, 44, 0.2);
}

.quick-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon-mini {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    border-radius: 12px;
    color: white;
    font-size: 1.25rem;
}

.stat-info {
    text-align: left;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(201, 48, 44, 0.3), transparent);
}

/* ========================================
   OPTIMIZED FILTER SECTION
======================================== */
.optimized-filter-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 10;
}

.filter-container {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(201, 48, 44, 0.05);
    transition: all 0.3s ease;
}

/* Search Bar */
.filter-search-wrapper {
    margin-bottom: 2rem;
}

.search-input-group {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.125rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.modern-search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 3.5rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.modern-search-input:focus {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(201, 48, 44, 0.1);
}

.modern-search-input:focus ~ .search-icon {
    color: var(--primary-color);
}

.modern-search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.search-clear-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 48, 44, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-clear-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Filter Controls */
.filter-controls-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Filters Row */
.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.select-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.select-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.modern-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6c7d' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.modern-select:hover {
    background-color: var(--bg-primary);
    border-color: rgba(201, 48, 44, 0.2);
}

.modern-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(201, 48, 44, 0.1);
}

/* Reset Button */
.reset-filters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--primary-color);
    background: rgba(201, 48, 44, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.reset-filters-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 48, 44, 0.3);
}

.reset-filters-btn i {
    transition: transform 0.3s ease;
}

.reset-filters-btn:hover i {
    transform: rotate(-360deg);
}

/* Active Filters */
.active-filters-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    flex-wrap: wrap;
}

.active-filters-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.active-filters-label i {
    color: var(--primary-color);
}

.active-filters-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.filter-chip i {
    cursor: pointer;
    opacity: 0.8;
}

.filter-chip:hover i {
    opacity: 1;
}

/* ========================================
   OPTIMIZED ALUMNI CARDS - REDESIGNED
======================================== */
.alumni-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.results-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.results-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-primary);
    padding: 0.25rem;
    border-radius: 12px;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: rgba(201, 48, 44, 0.1);
    color: var(--primary-color);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
}

.alumni-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.alumni-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.alumni-grid.list-view {
    grid-template-columns: 1fr;
}

/* ========================================
   OPTIMIZED ALUMNI CARD - CLEAN DESIGN
======================================== */
.optimized-alumni-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 48, 44, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.optimized-alumni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(201, 48, 44, 0.2);
}

/* Card Image */
.alumni-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.alumni-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.optimized-alumni-card:hover .alumni-card-image img {
    transform: scale(1.05);
}

/* ========================================
   BADGE POSITIONING - ANGKATAN (KIRI) & TAHUN LULUS (KANAN)
======================================== */
/* Angkatan Badge - Pojok Kiri Atas */
.angkatan-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    z-index: 5;
    white-space: nowrap;
}

.angkatan-badge i {
    font-size: 0.7rem;
}

/* Graduation Badge - Pojok Kanan Atas */
.graduation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.graduation-badge i {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

/* Image Overlay - Social Links */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.optimized-alumni-card:hover .image-overlay {
    opacity: 1;
    pointer-events: auto;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-link i {
    pointer-events: none;
}

.social-link.linkedin { color: #0077b5; }
.social-link.facebook { color: #1877f2; }
.social-link.instagram { color: #e4405f; }
.social-link.twitter { color: #1da1f2; }

/* ========================================
   CARD BODY - CLEAN & ORGANIZED LAYOUT
======================================== */
.alumni-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Alumni Name */
.alumni-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

/* NIM Badge */
.alumni-nim {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(201, 48, 44, 0.08);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    width: fit-content;
}

.alumni-nim i {
    font-size: 0.75rem;
}

/* Info Section - Thesis, Profession, Workplace */
.alumni-info-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-item i {
    color: var(--primary-color);
    width: 16px;
    min-width: 16px;
    font-size: 0.8rem;
    margin-top: 3px;
}

.info-item .info-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 0.25rem;
}

.info-item span {
    flex: 1;
    word-break: break-word;
}

/* Bio Section */
.alumni-bio {
    margin-bottom: 1rem;
}

.alumni-bio p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Achievement Badge */
.alumni-achievement {
    display: flex;
    gap: 0.6rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.08) 0%, rgba(201, 48, 44, 0.08) 100%);
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--secondary-color);
}

.alumni-achievement i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 2px;
}

.alumni-achievement p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contact Section */
.alumni-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-top: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 16px;
    font-size: 0.8rem;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Card Footer */
.alumni-card-footer {
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.btn-view-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 48, 44, 0.4);
}

.btn-view-profile i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.btn-view-profile:hover i {
    transform: translateX(4px);
}

/* ========================================
   LIST VIEW STYLES
======================================== */
.alumni-grid.list-view .optimized-alumni-card {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    grid-template-rows: 1fr;
}

.alumni-grid.list-view .alumni-card-image {
    padding-top: 0;
    height: 100%;
    min-height: 250px;
}

.alumni-grid.list-view .alumni-card-body {
    padding: 1.5rem 2rem;
}

.alumni-grid.list-view .alumni-card-footer {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-top: none;
    border-left: 1px solid var(--border-color);
}

.alumni-grid.list-view .btn-view-profile {
    width: auto;
    white-space: nowrap;
}

/* List View - Angkatan Badge Position */
.alumni-grid.list-view .angkatan-badge {
    top: 1rem;
    left: 1rem;
}

/* ========================================
   NO RESULTS STYLES
======================================== */
.no-results-message,
.no-alumni-found {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.no-results-message h3,
.no-alumni-found h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.no-results-message p,
.no-alumni-found p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-reset-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 48, 44, 0.4);
}

/* ========================================
   CTA SECTION
======================================== */
.alumni-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .alumni-cta-section {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.alumni-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 48, 44, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content-wrapper {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    border-radius: 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(201, 48, 44, 0.3);
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-modern.btn-primary {
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    color: white;
    border: none;
}

.btn-cta-modern.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 48, 44, 0.4);
}

.btn-cta-modern.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-cta-modern.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE DESIGN - OPTIMIZED
======================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
    .alumni-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .filters-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reset-filters-btn {
        grid-column: 1 / -1;
    }
    
    .alumni-grid.grid-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .alumni-grid.list-view .optimized-alumni-card {
        grid-template-columns: 180px 1fr auto;
    }
}

/* Small Tablets */
@media (max-width: 768px) {
    .optimized-alumni-header {
        padding: 120px 0 60px;
    }
    
    .header-icon-badge {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .optimized-page-title {
        font-size: 2rem;
    }
    
    .header-quick-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .quick-stat-card {
        width: 100%;
        justify-content: center;
    }
    
    .quick-stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .filter-container {
        padding: 1.5rem;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
    }
    
    .reset-filters-btn {
        width: 100%;
    }
    
    /* Grid View - 2 columns on tablets */
    .alumni-grid.grid-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* List View - Stack vertically */
    .alumni-grid.list-view .optimized-alumni-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .alumni-grid.list-view .alumni-card-image {
        padding-top: 60%;
        height: auto;
        min-height: auto;
    }
    
    .alumni-grid.list-view .alumni-card-body {
        padding: 1.5rem;
    }
    
    .alumni-grid.list-view .alumni-card-footer {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .results-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-modern {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .optimized-alumni-header {
        padding: 100px 0 50px;
    }
    
    .header-icon-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 16px;
    }
    
    .optimized-page-title {
        font-size: 1.75rem;
    }
    
    .optimized-page-description {
        font-size: 1rem;
    }
    
    .header-quick-stats {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-icon-mini {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Grid View - Single column on mobile */
    .alumni-grid.grid-view {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .optimized-filter-section {
        padding: 2rem 0;
    }
    
    .filter-container {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .modern-search-input {
        padding: 0.875rem 3rem 0.875rem 3rem;
        font-size: 0.9375rem;
    }
    
    .modern-select {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    /* Card adjustments for mobile */
    .alumni-card-body {
        padding: 1.25rem;
    }
    
    .alumni-name {
        font-size: 1.125rem;
    }
    
    .angkatan-badge,
    .graduation-badge {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .angkatan-badge i,
    .graduation-badge i {
        font-size: 0.65rem;
    }
    
    .info-item {
        font-size: 0.8rem;
    }
    
    .alumni-achievement {
        padding: 0.625rem;
    }
    
    .alumni-achievement p {
        font-size: 0.75rem;
    }
    
    .alumni-contact {
        padding: 0.625rem;
    }
    
    .contact-item {
        font-size: 0.75rem;
    }
    
    .alumni-card-footer {
        padding: 1rem 1.25rem;
    }
    
    .btn-view-profile {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .active-filters-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .filter-chip {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* CTA Section Mobile */
    .alumni-cta-section {
        padding: 3rem 0;
    }
    
    .cta-content-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 16px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .btn-cta-modern {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .alumni-grid.grid-view {
        gap: 1rem;
    }
    
    .alumni-card-body {
        padding: 1rem;
    }
    
    .alumni-name {
        font-size: 1rem;
    }
    
    .angkatan-badge,
    .graduation-badge {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
======================================== */
.header-icon-badge,
.optimized-alumni-card,
.btn-view-profile {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   DARK MODE ENHANCEMENTS
======================================== */
[data-theme="dark"] .optimized-alumni-card {
    background: #1e2a4a;
    border-color: rgba(201, 48, 44, 0.15);
}

[data-theme="dark"] .alumni-card-image {
    background: linear-gradient(135deg, #0d1321 0%, #1a1a2e 100%);
}

[data-theme="dark"] .graduation-badge {
    background: rgba(30, 42, 74, 0.95);
    color: var(--secondary-color);
}

[data-theme="dark"] .alumni-card-footer {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .alumni-contact {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .alumni-info-section {
    border-color: rgba(255, 255, 255, 0.1);
}