/* ========================================
   AOS OVERRIDE FOR FILTERING
   Ensures cards are visible when filtered
======================================== */
.faculty-card-wrapper {
    /* Override AOS hidden states when JavaScript has initialized */
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.faculty-card-wrapper[data-aos] {
    /* Allow initial AOS animation but ensure visibility */
    pointer-events: auto;
}

/* Ensure cards that should be hidden by filter stay hidden */
.faculty-card-wrapper[style*="display: none"] {
    display: none !important;
}

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

[data-theme="dark"] .modern-faculty-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);
    animation: float 3s ease-in-out infinite;
    transition: all 0.4s ease;
}

.header-icon-badge:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 15px 40px rgba(201, 48, 44, 0.35),
        0 0 0 12px rgba(201, 48, 44, 0.15);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modern-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;
}

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

/* Quick Stats */
.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 {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    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.5rem;
}

.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);
}

/* ========================================
   MODERN ADVANCED FILTER SECTION
======================================== */
.modern-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;
}

.filter-container:hover {
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(201, 48, 44, 0.1);
}

/* 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: 2rem;
}

/* 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);
}

/* Results Count Display */
.results-count-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 2px solid transparent;
}

#resultsCount {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 800;
}

/* View Toggle Buttons */
.view-toggle-buttons {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.25rem;
    border-radius: 12px;
    border: 2px solid transparent;
}

.view-toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.view-toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(201, 48, 44, 0.3);
}

/* 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);
}

/* ========================================
   FACULTY CARDS
======================================== */
/* --- TAMBAHKAN/UBAH BAGIAN INI UNTUK MERATAKAN KARTU --- */

/* 1. Pastikan pembungkus kartu mengisi tinggi kolom grid sepenuhnya */
.faculty-card-wrapper {
    height: 100%;
}

/* 2. Ubah kartu menjadi Flex container (HANYA UNTUK GRID VIEW) */
.faculty-grid.grid-view .luxury-faculty-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 3. Buat container info mengisi ruang kosong yang tersisa */
.faculty-grid.grid-view .faculty-info-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ini kuncinya: memaksa area teks memanjang */
}

/* 4. Dorong tombol aksi ke paling bawah */
.faculty-grid.grid-view .faculty-actions {
    margin-top: auto; /* Ini mendorong tombol ke dasar kartu */
    width: 100%; /* Memastikan lebar penuh */
}

.faculty-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.faculty-grid {
    display: grid;
    gap: 2rem;
    transition: all 0.4s ease;
}

/* Grid View */
.faculty-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* List View */
.faculty-grid.list-view {
    grid-template-columns: 1fr;
}

.faculty-grid.list-view .luxury-faculty-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.faculty-grid.list-view .faculty-photo-container {
    padding: 1.5rem;
}

.faculty-grid.list-view .faculty-info-container {
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.faculty-grid.list-view .faculty-meta-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.luxury-faculty-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(201, 48, 44, 0.1);
    position: relative;
}

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

.card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.1), rgba(243, 156, 18, 0.1));
    border-bottom-left-radius: 100%;
    pointer-events: none;
}

.faculty-photo-container {
    position: relative;
    padding: 1.5rem 1.5rem 0;
}

.faculty-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.luxury-faculty-card:hover .faculty-photo img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(201, 48, 44, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.luxury-faculty-card:hover .photo-overlay {
    opacity: 1;
}

.view-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.faculty-photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.1), rgba(243, 156, 18, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.faculty-status-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(39, 174, 96, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.pulse {
    animation: pulse-animation 2s ease infinite;
}

@keyframes pulse-animation {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.faculty-info-container {
    padding: 1.5rem;
}

.faculty-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.faculty-name a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.faculty-name a:hover {
    color: var(--primary-color);
}

.faculty-degree {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faculty-degree i {
    font-size: 1.125rem;
}

.faculty-expertise {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(243, 156, 18, 0.1);
    color: var(--secondary-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.faculty-meta-grid {
    display: grid;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.meta-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.meta-item.full-width {
    grid-column: 1 / -1;
}

.meta-item > i {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

.meta-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.meta-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    word-break: break-word;
}

.meta-link {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.meta-link:hover {
    color: var(--secondary-color);
}

.faculty-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ========================================
   PROFILE LINKS (SINTA & SCHOLAR)
======================================== */
.faculty-profile-links {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.profile-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.profile-link-btn .profile-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.profile-link-btn .fa-external-link-alt {
    font-size: 0.6875rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.profile-link-btn:hover .fa-external-link-alt {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* SINTA Button Style */
.sinta-btn {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    color: #0056b3;
    border-color: rgba(0, 123, 255, 0.2);
}

.sinta-btn:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
}

[data-theme="dark"] .sinta-btn {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 86, 179, 0.2) 100%);
    color: #5cb3ff;
    border-color: rgba(0, 123, 255, 0.3);
}

[data-theme="dark"] .sinta-btn:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

/* Google Scholar Button Style */
.scholar-btn {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(52, 168, 83, 0.1) 100%);
    color: #34a853;
    border-color: rgba(52, 168, 83, 0.2);
}

.scholar-btn:hover {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.35);
}

[data-theme="dark"] .scholar-btn {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2) 0%, rgba(52, 168, 83, 0.2) 100%);
    color: #5ce07a;
    border-color: rgba(52, 168, 83, 0.3);
}

[data-theme="dark"] .scholar-btn:hover {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
}

/* Profile Links in List View */
.faculty-grid.list-view .faculty-profile-links {
    margin-bottom: 1rem;
}

.btn-primary-luxury {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn-primary-luxury i {
    transition: transform 0.3s ease;
}

.btn-primary-luxury:hover i {
    transform: translateX(4px);
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
}

.quick-action-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* No Results */
.no-results-message,
.no-results-container {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon,
.no-results-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-results-container h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.no-results-message p,
.no-results-container 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
======================================== */
.faculty-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

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

.faculty-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);
    animation: float 3s ease-in-out infinite;
}

.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
======================================== */

/* Large Tablet & Small Desktop */
@media (max-width: 1200px) {
    .faculty-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .filters-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .filters-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reset-filters-btn {
        grid-column: 1 / -1;
    }
    
    .faculty-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .faculty-grid.list-view .luxury-faculty-card {
        grid-template-columns: 1fr;
    }
    
    .faculty-grid.list-view .faculty-photo-container {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .faculty-grid.list-view .faculty-info-container {
        padding: 1.5rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .modern-faculty-header {
        padding: 120px 0 60px;
    }
    
    .header-icon-badge {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        border-radius: 20px;
    }
    
    .modern-page-title {
        font-size: 2rem;
    }
    
    .modern-page-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .header-quick-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .quick-stat-divider {
        width: 60%;
        height: 1px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    /* Filter Section - Tablet */
    .modern-filter-section {
        padding: 2rem 0;
    }
    
    .filter-container {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .filter-search-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .modern-search-input {
        padding: 0.875rem 3rem;
        font-size: 0.9375rem;
    }
    
    .filters-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.875rem;
    }
    
    .filter-select-wrapper:nth-child(3),
    .filter-select-wrapper:nth-child(4) {
        grid-column: span 1;
    }
    
    .reset-filters-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    /* Faculty Cards - Tablet */
    .faculty-section {
        padding: 3rem 0;
    }
    
    .faculty-grid {
        gap: 1.5rem;
    }
    
    .faculty-grid.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faculty-grid.list-view .luxury-faculty-card {
        grid-template-columns: 1fr;
    }
    
    .luxury-faculty-card {
        border-radius: 16px;
    }
    
    .faculty-photo-container {
        padding: 1.25rem 1.25rem 0;
    }
    
    .faculty-photo {
        border-radius: 12px;
    }
    
    .faculty-info-container {
        padding: 1.25rem;
    }
    
    .faculty-name {
        font-size: 1.25rem;
    }
    
    .faculty-degree {
        font-size: 0.875rem;
    }
    
    .faculty-expertise {
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
    }
    
    .faculty-meta-grid {
        gap: 0.875rem;
        padding: 1.25rem 0;
    }
    
    .meta-item > i {
        font-size: 1rem;
    }
    
    .meta-label {
        font-size: 0.6875rem;
    }
    
    .meta-value {
        font-size: 0.875rem;
    }
    
    /* Profile Links - Tablet */
    .faculty-profile-links {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
    
    .profile-link-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
        border-radius: 8px;
    }
    
    .profile-link-btn .profile-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Actions - Tablet */
    .faculty-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary-luxury {
        width: 100%;
        padding: 0.875rem 1.25rem;
        border-radius: 10px;
    }
    
    .quick-actions {
        width: 100%;
        justify-content: center;
        gap: 0.625rem;
    }
    
    .quick-action-btn {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    
    /* CTA Section - Tablet */
    .faculty-cta-section {
        padding: 4rem 0;
    }
    
    .cta-content-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .cta-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .cta-buttons-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-modern {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

/* Mobile Landscape & Large Phone */
@media (max-width: 640px) {
    .filters-row {
        grid-template-columns: 1fr;
    }
    
    .faculty-grid.grid-view {
        grid-template-columns: 1fr;
    }
    
    .view-toggle-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .view-toggle-btn {
        flex: 1;
    }
    
    .results-count-display {
        justify-content: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .modern-faculty-header {
        padding: 100px 0 50px;
    }
    
    .header-icon-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 16px;
    }
    
    .modern-page-title {
        font-size: 1.75rem;
    }
    
    .modern-page-description {
        font-size: 0.9375rem;
    }
    
    .header-quick-stats {
        padding: 1.25rem;
        border-radius: 16px;
        gap: 1rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Filter Section - Mobile */
    .modern-filter-section {
        padding: 1.5rem 0;
    }
    
    .filter-container {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .search-input-group {
        max-width: 100%;
    }
    
    .modern-search-input {
        padding: 0.75rem 2.75rem;
        font-size: 0.875rem;
        border-radius: 12px;
    }
    
    .search-icon {
        left: 1rem;
        font-size: 1rem;
    }
    
    .search-clear-btn {
        right: 0.75rem;
        width: 28px;
        height: 28px;
    }
    
    .select-label {
        font-size: 0.75rem;
    }
    
    .modern-select {
        padding: 0.625rem 2.25rem 0.625rem 0.875rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }
    
    .results-count-display {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    #resultsCount {
        font-size: 1.125rem;
    }
    
    .view-toggle-buttons {
        border-radius: 10px;
    }
    
    .view-toggle-btn {
        padding: 0.5rem 0.875rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .reset-filters-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }
    
    /* Faculty Cards - Mobile */
    .faculty-section {
        padding: 2rem 0;
    }
    
    .faculty-grid {
        gap: 1.25rem;
    }
    
    .luxury-faculty-card {
        border-radius: 14px;
    }
    
    .card-decoration {
        width: 80px;
        height: 80px;
    }
    
    .faculty-photo-container {
        padding: 1rem 1rem 0;
    }
    
    .faculty-photo {
        border-radius: 10px;
    }
    
    .faculty-status-badge {
        top: 1.5rem;
        right: 1.5rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .view-profile-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }
    
    .faculty-photo-placeholder {
        font-size: 4rem;
        border-radius: 10px;
    }
    
    .faculty-info-container {
        padding: 1rem;
    }
    
    .faculty-name {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .faculty-degree {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    
    .faculty-expertise {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 1rem;
    }
    
    .faculty-meta-grid {
        gap: 0.75rem;
        padding: 1rem 0;
    }
    
    .meta-item {
        gap: 0.75rem;
    }
    
    .meta-item > i {
        font-size: 0.9375rem;
    }
    
    .meta-label {
        font-size: 0.625rem;
    }
    
    .meta-value {
        font-size: 0.8125rem;
    }
    
    /* Profile Links - Mobile */
    .faculty-profile-links {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .profile-link-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 8px;
        min-width: 0;
    }
    
    .profile-link-btn .profile-icon {
        width: 14px;
        height: 14px;
    }
    
    .profile-link-btn .fa-external-link-alt {
        font-size: 0.5625rem;
    }
    
    /* Actions - Mobile */
    .faculty-actions {
        gap: 0.625rem;
    }
    
    .btn-primary-luxury {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
    
    .quick-actions {
        gap: 0.5rem;
    }
    
    .quick-action-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 0.9375rem;
    }
    
    /* No Results - Mobile */
    .no-results-message,
    .no-results-container {
        padding: 3rem 1.5rem;
    }
    
    .empty-state-icon,
    .no-results-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .no-results-message h3,
    .no-results-container h3 {
        font-size: 1.25rem;
    }
    
    .no-results-message p,
    .no-results-container p {
        font-size: 0.9375rem;
    }
    
    .btn-reset-inline {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* CTA Section - Mobile */
    .faculty-cta-section {
        padding: 3rem 0;
    }
    
    .cta-content-wrapper {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 14px;
        margin-bottom: 1rem;
    }
    
    .cta-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-description {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons-group {
        gap: 0.75rem;
    }
    
    .btn-cta-modern {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .modern-page-title {
        font-size: 1.5rem;
    }
    
    .faculty-name {
        font-size: 1rem;
    }
    
    .profile-link-btn span {
        display: none;
    }
    
    .profile-link-btn {
        padding: 0.5rem;
        min-width: 40px;
    }
}