:root {
    --primary-magenta: #d600d6;
    --dark-bg: #111111;
    --page-bg: #fffafa;
    /* Very light pink/white */
    --card-bg: #1a1a1a;
    --text-white: #ffffff;
    --text-grey: #94a3b8;
    --border-color: #f1f5f9;
    --sidebar-bg: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--page-bg);
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

/* Top Header Section */
.header-dark-strip {
    background-color: var(--dark-bg);
    padding: 100px 20px 100px;
    text-align: center;
    margin-top: 70px;
    /* Space for fixed navbar */
    position: relative;
    z-index: 1;
    /* Stay below navbar */
}

.header-dark-strip h1 {
    color: var(--primary-magenta);
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.header-dark-strip p {
    color: #bbbbbb;
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
    opacity: 0.85;
}

/* Content Wrapper */
.directory-content-wrapper {
    max-width: 1400px;
    margin: 60px auto 100px;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    /* Stay below navbar */
}

/* Search & Sort Bar */
.controls-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.search-input-wrap input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: #111111;
}

.search-input-wrap i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #333;
}

.sort-dropdown-wrap {
    width: 220px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.sort-dropdown-wrap span {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.sort-dropdown-wrap i {
    font-size: 1.5rem;
    color: #111111;
}

/* Layout */
.directory-main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar */
.sidebar-card {
    background: #fdfdfd;
    border-radius: 12px;
    padding: 35px 30px;
    border: 1px solid #f1f5f9;
    height: fit-content;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 850;
    margin-bottom: 5px;
    color: #111111;
}

.sidebar-card .sub-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
    font-weight: 500;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    accent-color: var(--primary-magenta);
}

.filter-option span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

/* Cards Grid */
.entrepreneur-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.e-profile-card {
    background: #111111;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
}

.e-profile-card:hover {
    transform: translateY(-5px);
}

.e-image-side {
    width: 105px;
    height: 155px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.e-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.e-details-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.e-details-side h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.e-role {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.e-loc {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.e-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.e-tag-pill {
    background: #374151;
    /* Dark charcoal/blue grey */
    color: #e2e8f0;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.e-card-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-magenta {
    background: #d600d6;
    color: #ffffff !important;
    border: none;
}

.btn-magenta:hover {
    background: #b300b3;
    transform: translateY(-2px);
}

.btn-outline-grey {
    border: 1.2px solid #ffffff;
    /* Clean white stroke as per screenshot */
    color: #ffffff !important;
    background: transparent;
}

.btn-outline-grey:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Load More Button */
.load-more-section {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.btn-load-more {
    background: var(--primary-magenta);
    color: white;
    border: none;
    padding: 15px 60px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-load-more:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1300px) {
    .entrepreneur-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
    .directory-main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .entrepreneur-cards-grid {
        grid-template-columns: 1fr;
    }

    .controls-row {
        flex-direction: column;
    }

    .sort-dropdown-wrap {
        width: 100%;
        height: 55px;
    }

    .header-dark-strip h1 {
        font-size: 2.8rem;
    }
}
