@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #f1f5f9;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-img {
    max-width: 100%;
    height: auto;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.header-desc {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    line-height: 1.7;
    text-align: center;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.user-card {
    background: var(--card-bg);
    border-radius: 1.2rem;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.user-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.user-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #0f172a;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.info-item i {
    color: var(--primary-color);
    width: 20px;
}

.view-btn {
    display: block;
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Detail Page */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: var(--primary-color);
}

.detail-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
}

.section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-content {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.7;
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
    background: white;
}

footer p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    header h1 { font-size: 2.5rem; }
    .detail-container { padding: 1.5rem; border-radius: 1.5rem; }
}

/* Category Styles */
.category-card {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.category-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: #f8fafc;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-card:hover i {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.category-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
}

.filter-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-header .back-link:hover {
    transform: translateX(-5px);
}

.filter-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

@media (max-width: 600px) {
    .filter-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.5rem 1rem;
    }

    .filter-header h2 {
        font-size: 1.5rem;
    }
}




