/* Define custom properties */
:root {
    --primary: #8A00C4;        /* Purple */
    --primary-dark: #6a0099;
    --accent: #ff69b4;         /* Pink */
    --accent-light: #fff0f8;
    --text-dark: #1A202C;
    --text-muted: #718096;
    --bg-body: #F7FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --font-main: 'Poppins', sans-serif;
}
 
/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 
body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
}
 
a {
    text-decoration: none;
    transition: color 0.2s;
}
 
ul {
    list-style: none;
}
 
/* --- Navbar --- */

 
/* Nav Container for handling Mobile Toggle */
.nav-menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    margin-left: 40px;
}
 
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
 
.nav-links a {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}
 
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}
  */
/* Buttons */
.btn {
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    padding: 8px 20px;
    display: inline-block;
}
 
.btn-sign-in {
    color: var(--primary);
    margin-right: 10px;
}
 
.btn-sign-in:hover {
    background-color: var(--accent-light);
}
 
.btn-get-started {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 2px 5px rgba(138, 0, 196, 0.3);
}
 
.btn-get-started:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}
 
.bars {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}
 
/* --- Hero Section --- */
.hero-wrapper {
    background: linear-gradient(135deg, #fdfbfd 0%, #f4ebf5 100%);
    border-bottom: 1px solid var(--border-color);
}
 
.hero-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}
 
.network-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
}
 
.network-details {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
 
/* --- Main Layout --- */
.main-content {
    display: grid;
    grid-template-columns: 350px 1fr; /* Sidebar fixed, content fluid */
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: start;
}
 
/* --- Join Form --- */
.sticky-card {
    position: sticky;
    top: 100px; /* Sticks when scrolling */
}
 
.form-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
 
.role-selector {
    display: flex;
    background-color: var(--bg-body);
    padding: 5px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}
 
.role-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}
 
.role-btn.active {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
 
.form-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-body);
}
 
.form-group {
    margin-bottom: 15px;
}
 
.form-row {
    display: flex;
    gap: 10px;
}
 
.form-row .form-group {
    flex: 1;
}
 
label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}
 
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
 
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(138, 0, 196, 0.1);
}
 
.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.2s;
}
 
.submit-btn:hover {
    background-color: var(--primary-dark);
}
 
/* --- Directory Section --- */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
 
.section-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}
 
.badge {
    background-color: #ebf8ff;
    color: #3182ce;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}
 
.search-and-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    background: var(--bg-white);
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
 
.search-bar {
    flex-grow: 2;
    display: flex;
    align-items: center;
    background-color: var(--bg-body);
    padding: 0 15px;
    border-radius: var(--radius-md);
}
 
.search-bar i {
    color: var(--text-muted);
}
 
.search-input {
    border: none;
    background: transparent;
    box-shadow: none;
}
 
.search-input:focus {
    box-shadow: none;
}
 
.filters {
    display: flex;
    gap: 10px;
}
 
.filter-select {
    min-width: 150px;
    background-color: var(--bg-white);
    cursor: pointer;
}
 
/* Mentor Grid */
.mentor-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
 
.mentor-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
 
.mentor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
 
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
 
.headshot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}
 
.mentor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}
 
.mentor-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}
 
.card-body {
    flex-grow: 1;
}
 
.skills-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}
 
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
 
.tag {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid var(--border-color);
}
 
.connect-card-btn {
    width: 100%;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
 
.connect-card-btn:hover {
    background-color: var(--primary);
    color: white;
}
 
/* Resources */
.resources-title {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
 
.resource-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
 
.resource-card:hover {
    border-color: var(--primary);
}
 
.resource-icon-box {
    background-color: var(--accent-light);
    color: var(--accent);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 15px;
    font-size: 1.2rem;
}
 
.resource-info {
    flex-grow: 1;
}
 
.resource-link {
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}
 
.resource-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
 
.action-arrow {
    color: var(--text-muted);
}
 
/* --- Responsive --- */
@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
    }
   
    .bars {
        display: block;
    }
 
    .nav-menu {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding-top: 20px;
    }
 
    .nav-menu.show {
        display: flex;
    }
 
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
 
    .nav-links li {
        width: 100%;
        text-align: center;
    }
 
    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--bg-body);
    }
 
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Use JS to toggle nicely if needed, but simple css hover won't work well on touch */
        background-color: var(--bg-body);
    }
   
    .dropdown:hover .dropdown-content {
        display: block;
    }
 
    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 20px;
        text-align: center;
    }
 
    .nav-buttons .btn {
        width: 100%;
        margin: 0;
    }
 
    .main-content {
        grid-template-columns: 1fr;
    }
   
    .sticky-card {
        position: static;
    }
}
 