

/* Container */
.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.page-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.page-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Stats Banner */
.stats-banner {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.stats-label {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Back Button */
.back-btn {
    display: inline-block;
    padding: 0.625rem 1rem;
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.back-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Filters Section */
.filters-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filters-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.filters-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
}

.filter-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    min-width: 150px;
    font-size: 1rem;
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.2s;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.1);
}

/* Professionals Grid */
.professionals-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Professional Card */
.professional-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    min-height: 200px;
}

.professional-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.professional-card.featured {
    border: 2px solid #1a1a1a;
}

/* Card Header (Photo Section) */
.card-header {
    position: relative;
    width: 220px;
    min-height: 200px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-right: 1px solid #e5e7eb;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.default-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #9ca3af;
    border: 4px solid #e5e7eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1a1a1a;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.professional-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: -0.01em;
}

.professional-level {
    background: #f9fafb;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.professional-domain {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.professional-bio {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* Skills */
.professional-skills {
    margin-bottom: 1rem;
}

.skills-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* Contact */
.professional-contact {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-item {
    color: #6b7280;
    margin-bottom: 0.3rem;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-video {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn-video:hover {
    background: #c82333;
    border-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.btn-contact {
    background: #fff;
    color: #374151;
    border-color: #d1d5db;
}

.btn-contact:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Loading & No Data */
.loading {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.no-professionals {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 4rem;
}

/* Modal Video */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #1a1a1a;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* ===================================
   RESPONSIVE
   =================================== */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .page-header {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle,
    .stats-label {
        font-size: 1rem;
    }

    .filters-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .filters-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .filters-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-group {
        min-width: auto;
        width: 100%;
    }

    .filter-label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .filter-select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid #d1d5db;
        min-height: 50px;
    }

    .professional-card {
        flex-direction: column;
        min-height: auto;
    }

    .card-header {
        width: 100%;
        min-height: 220px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .professional-name {
        text-align: center;
        font-size: 1.3rem;
    }

    .card-content {
        padding: 1.25rem;
        align-items: center;
        text-align: center;
    }

    .professional-level,
    .professional-domain,
    .professional-bio,
    .professional-contact {
        text-align: center;
    }

    .card-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .stats-banner {
        padding: 1.25rem;
    }

    .stats-number {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .page-header {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .filters-section {
        padding: 1rem;
    }

    .filters-title {
        font-size: 1rem;
    }

    .filter-select {
        padding: 1rem;
        font-size: 1rem;
        min-height: 55px;
    }

    .card-header {
        min-height: 200px;
    }

    .card-content {
        padding: 1rem;
    }

    .professional-name {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .back-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
}