/* --- General Theme & Body --- */
:root {
    --primary-green: #00b074;
    --dark-green: #008c5c;
    --light-gray: #f4f4f4;
    --medium-gray: #e0e0e0;
    --dark-gray: #333;
    --text-color: #444;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

a {
    color: var(--primary-green);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Header & Footer --- */
.main-header, .main-footer {
    background-color: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-green);
}

.main-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-gray);
}

.main-header .logo span {
    color: var(--primary-green);
}

.main-nav a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--dark-gray);
}

.main-nav a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.main-footer {
    text-align: center;
    margin-top: 40px;
    padding: 2rem;
    background-color: var(--dark-gray);
    color: var(--light-gray);
}

.main-footer a {
    color: var(--white);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    text-decoration: none;
}

/* --- Cards & Sections --- */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.section {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

/* --- Forms --- */
.form-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    box-sizing: border-box; /* Important */
}

/* --- Responsive Design & Media Queries --- */

/* ---- DESKTOP FIRST STYLES (Default) ---- */

/* Hide hamburger and mobile nav on desktop by default */
.hamburger-menu {
    display: none;
}
.mobile-nav {
    display: none;
}


/* ---- TABLET & MOBILE STYLES ---- */
@media (max-width: 768px) {
    /* Hide the standard desktop navigation and buttons */
    .main-nav {
        display: none;
    }
    .header-right-group .desktop-buttons {
        display: none;
    }

    /* Show the hamburger menu icon */
    .hamburger-menu {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        background: none;
        border: none;
        color: var(--dark-gray);
    }

    .main-header {
        justify-content: space-between; /* Ensures logo and hamburger are spaced apart */
    }

    /* Styles for the mobile navigation panel (which is shown via JS) */
    .mobile-nav {
        position: absolute;
        top: 75px; /* Position below the header */
        right: 0;
        width: 250px;
        background: var(--white);
        box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
        border-top: 3px solid var(--primary-green);
        z-index: 1000;
    }

    /* This class is added by JavaScript to show the menu */
    .mobile-nav.is-open {
        display: block;
    }

    .mobile-nav a {
        display: block;
        color: var(--dark-gray);
        padding: 15px 20px;
        border-bottom: 1px solid var(--light-gray);
        text-align: left;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card[style*="flex"] {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Social Login Buttons --- */
.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    box-sizing: border-box; /* This is the key fix for overflow */
    margin-bottom: 10px;
}

.social-login-btn svg {
    width: 20px;
    height: 20px;
}

.google-btn {
    background-color: #fff;
    color: #444;
    border: 1px solid var(--medium-gray);
}
.google-btn:hover {
    background-color: #f8f8f8;
    text-decoration: none;
}

.github-btn {
    background-color: #24292e;
    color: #fff;
    border: 1px solid #24292e;
}
.github-btn:hover {
    background-color: #333;
    text-decoration: none;
}

/* --- Dashboard & Logged-in Styles --- */

/* --- Logged-in Header --- */
.search-bar {
    flex-grow: 1;
    margin: 0 40px;
}
.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    background-color: var(--light-gray);
    box-sizing: border-box; /* The Fix! */
}

.user-menu {
    position: relative;
}
.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    color: var(--dark-gray);
}
.profile-avatar {
    border-radius: 50%;
    border: 2px solid var(--primary-green);
}
.user-menu-dropdown {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
    width: 200px;
    z-index: 1001;
    border: 1px solid var(--medium-gray);
}
.user-menu-dropdown a {
    display: block;
    padding: 12px 15px;
    color: var(--dark-gray);
}
.user-menu-dropdown a:hover {
    background-color: var(--light-gray);
    text-decoration: none;
}
.user-menu-trigger:hover + .user-menu-dropdown,
.user-menu-dropdown:hover {
    display: block;
}

/* --- Dashboard Layout --- */
.dashboard-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.dashboard-sidebar {
    width: 300px;
    flex-shrink: 0;
}
.dashboard-main {
    flex-grow: 1;
}

/* --- Dashboard-specific Cards --- */
.profile-summary-card .profile-bg {
    height: 80px;
    background-color: var(--dark-gray);
    border-radius: 8px 8px 0 0;
}
.profile-summary-card .profile-info {
    text-align: center;
    margin-top: -40px;
    padding: 0 20px 20px;
}
.profile-summary-card .profile-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}
.feed-item {
    display: flex;
    gap: 15px;
}
.feed-item .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.feed-item .feed-content .author-name {
    font-weight: bold;
}
.feed-item .feed-content .meta {
    font-size: 0.8rem;
    color: #777;
}

/* --- Responsive Dashboard --- */
@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .search-bar { display: none; } /* Hide search bar in header on mobile */
}
/* --- Dashboard & Profile Page Fixes --- */

/* --- Page Header & Title Styles --- */

.page-header {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.page-header h1 {
    color: var(--dark-gray);
    margin: 0; /* Remove default margins from h1 */
}

/* Fix the "View My Profile" and other overflowing buttons */
.card .btn[style*="width: 100%"] {
    box-sizing: border-box; /* This is the key fix */
}

/* Fix the "Share an update" input box */
.create-post input {
    box-sizing: border-box; /* Also needs this fix */
}
/* --- Objectives Onboarding & Display --- */

/* The full-screen overlay for the enforcement modal */
.objectives-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The modal box itself */
.objectives-modal {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.objectives-modal h2 {
    margin-top: 0;
}

.objectives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
    margin: 30px 0;
}

.objective-item label {
    display: block;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.objective-item input[type="checkbox"] {
    display: none; /* Hide the default checkbox */
}

/* Style the label when its checkbox is checked */
.objective-item input[type="checkbox"]:checked + label {
    background-color: #e6f7f2; /* Light green */
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(0, 176, 116, 0.5);
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Banner for users who have already selected */
.objectives-banner {
    background-color: #e6f7f2;
    border: 1px solid var(--primary-green);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.objectives-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Responsive grid for objectives modal */
@media (max-width: 500px) {
    .objectives-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Directory Page Styles --- */

.page-header {
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 20px;
}
.page-header h1 {
    margin-bottom: 10px;
}

.directory-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.directory-filters {
    width: 300px;
    flex-shrink: 0;
}
.directory-results {
    flex-grow: 1;
}

.filter-group {
    margin-bottom: 20px;
}
.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    box-sizing: border-box;
}

.alumni-card {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}
.alumni-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}
.alumni-card .info {
    flex-grow: 1;
}
.alumni-card .info h3 {
    margin: 0;
}
.alumni-card .info h3 a {
    text-decoration: none;
    color: var(--dark-gray);
}
.alumni-card .info h3 a:hover {
    color: var(--primary-green);
}
.alumni-card .info .headline {
    color: #555;
    font-weight: 500;
}
.alumni-card .info .meta {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}
.alumni-card .actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.results-summary {
    margin-bottom: 20px;
    font-weight: 500;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark-gray);
}
.pagination a:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-green);
}
.pagination span.current {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    font-weight: bold;
}

/* Responsive Directory */
@media (max-width: 992px) {
    .directory-container {
        flex-direction: column;
    }
    .directory-filters {
        width: 100%;
    }
}
/* --- Volumetrics Bar --- */
.volumetrics-bar {
    background-color: var(--light-gray);
    padding: 15px 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}
.volumetrics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.metric-item {
    text-align: center;
}
.metric-item .number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
}
.metric-item .label {
    font-size: 1rem;
    color: var(--dark-gray);
}
/* --- Spotlight Section --- */
.spotlight-section {
    background-color: var(--white); /* A slightly different background to stand out */
}
.spotlight-card {
    text-align: center;
}
.spotlight-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-green);
    margin-bottom: 15px;
}
.spotlight-card .name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}
.spotlight-card .headline {
    color: #555;
    margin: 5px 0 10px;
}
/* Add this new style */
.spotlight-card .citation {
    font-style: italic;
    color: #666;
    border-top: 1px solid var(--medium-gray);
    padding-top: 10px;
    margin-top: 10px;
}
/* --- Events Page Styles --- */

.event-tabs {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}
.event-tabs a {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: -1px; /* Aligns with the bottom border */
    font-weight: bold;
    color: var(--dark-gray);
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.event-tabs a:hover {
    background-color: var(--light-gray);
}
.event-tabs a.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.event-card .event-card-banner {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.event-card .event-card-content {
    padding: 20px;
}
.event-card .event-card-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
}
.event-card .event-card-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.9rem;
}
.event-card .event-card-details div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.event-card .event-card-actions {
    text-align: right;
    margin-top: 20px;
}
/* --- Events Page Enhancements --- */

.event-card {
    position: relative; /* Needed for positioning the price tag */
}

.event-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.event-registered-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #e6f7f2;
    color: var(--primary-green);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    justify-content: center;
}
/* --- Event Details Page Styles --- */

.event-details-header {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.event-details-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.event-details-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.event-details-main {
    flex-grow: 1;
}
.event-details-sidebar {
    width: 350px;
    flex-shrink: 0;
    position: sticky; /* Makes the sidebar stick on scroll */
    top: 20px;
}

.event-details-main h2 {
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.event-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.event-gallery img:hover {
    transform: scale(1.05);
}

.blog-post-link {
    display: block;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-gray);
    margin-bottom: 15px;
}
.blog-post-link:hover {
    box-shadow: var(--shadow);
}
.blog-post-link h4 {
    margin: 0 0 5px 0;
}
.blog-post-link .author {
    font-size: 0.9rem;
    color: #555;
}

/* Responsive Event Details */
@media (max-width: 992px) {
    .event-details-container {
        flex-direction: column-reverse; /* Puts main content on top on mobile */
    }
    .event-details-sidebar {
        width: 100%;
        position: static; /* Unstick the sidebar */
    }
}
/* --- Benefits Page Styles (REDESIGNED CARDS) --- */

.benefit-category {
    margin-bottom: 40px;
}
.benefit-category h2 {
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 10px;
    margin-bottom: 30px; /* Increased margin for more space */
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Increased gap for better separation */
}

/* The New Card Design */
.benefit-card {
    position: relative; /* Crucial for positioning the logo */
    padding-top: 30px; /* Make space for the overlapping logo */
    display: flex;
    flex-direction: column;
}

.benefit-card-logo {
    position: absolute;
    top: -20px; /* Position it to overlap the top edge */
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%; /* Circular logo background */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--medium-gray);
}
.benefit-card-logo img,
.benefit-card-logo svg {
    max-width: 40px;
    max-height: 40px;
}
/* A text-based fallback for the logo */
.benefit-card-logo .text-logo-small {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.2rem;
}

.benefit-card-content {
    padding: 20px;
    padding-top: 25px; /* Add padding to account for logo overlap */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.benefit-card-content h3 {
    margin-top: 0;
    text-align: center; /* Center the benefit title */
    margin-bottom: 20px;
}
.benefit-card-content p {
    flex-grow: 1;
    color: #555;
    text-align: center;
}
.benefit-card-actions {
    margin-top: 20px;
    text-align: center;
}

/* The Membership Tags */
.benefit-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center; /* Center the tags */
}
.membership-tag {
    display: inline-block;
    color: var(--dark-gray);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid;
}
.tag-life { background-color: #fff8e1; border-color: #ffc107; color: #b76e00; }
.tag-privy { background-color: #e3f2fd; border-color: #2196f3; color: #0d47a1; }
.tag-regular { background-color: #e8f5e9; border-color: #4caf50; color: #1b5e20; }
/* --- Benefit Card Claimed State --- */
.benefit-claimed-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    border: 1px dashed var(--medium-gray); /* Dashed border to look different */
    text-align: center;
}
/* --- Mentorship Page Styles --- */

.mentorship-intro {
    /* The ?text=Mentorship part is now removed
    background: url('https://placehold.co/1200x300/e6f7f2/00b074') no-repeat center center;*/
    background-size: cover;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 10px;
}
.mentorship-intro h1 {
    font-size: 2.5rem;
    margin-top: 0;
}
.mentorship-intro p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 10px auto 30px;
}
.mentorship-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mentor-card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}
.mentor-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary-green);
}
.mentor-card h3 {
    margin: 0;
}
.mentor-card .headline {
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    min-height: 40px; /* Ensures cards have similar height */
}
.mentor-card .expertise-tags {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: auto; /* THIS IS THE MAGIC KEY */
}
.expertise-tags .tag {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
}
/* --- Job Board Page Styles --- */

.job-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    gap: 20px;
}

.job-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.job-card .company-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.job-card .company-logo img {
    max-width: 45px;
    max-height: 45px;
}
.job-card .job-info h3 {
    margin: 0 0 5px 0;
}
.job-card .job-info h3 a {
    text-decoration: none;
    color: var(--dark-gray);
}
.job-card .job-info h3 a:hover {
    color: var(--primary-green);
}
.job-card .job-info .company-name {
    font-weight: 500;
}
.job-card .job-info .job-meta {
    font-size: 0.9rem;
    color: #777;
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.job-card .job-actions {
    margin-left: auto; /* Pushes button to the far right */
    flex-shrink: 0;
}
/* --- Post a Job Form Styles --- */

.form-section {
    max-width: 800px;
    margin: 0 auto; /* Center the form on the page */
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group textarea {
    width: 100%;
    min-height: 250px; /* Increased minimum height significantly */
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    padding: 12px; /* Added padding inside the textarea */
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    box-sizing: border-box;
    line-height: 1.6; /* Improved line spacing for readability */
}

/* Add a focus style for better user experience */
.form-group textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(0, 176, 116, 0.3);
    outline: none; /* Remove default browser outline */
}

.full-width {
    grid-column: 1 / -1; /* Make an element span the full grid width */
}

/* For mobile, stack the grid items */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Alumni Profile Page Styles --- */

.profile-header-card {
    margin-bottom: 20px;
    padding: 0; /* Remove default card padding */
}

.profile-banner {
    background-color: var(--dark-gray);
    height: 180px;
    border-radius: 8px 8px 0 0;
}

.profile-main-info {
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: -80px; /* Key to making the avatar overlap */
}

.profile-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid var(--white);
    background-color: var(--white);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.profile-details {
    padding-top: 80px; /* Pushes content down to align with avatar */
    flex-grow: 1;
}
.profile-details h1 {
    margin: 0;
    font-size: 2.2rem;
}
.profile-details .headline {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}
.profile-details .meta-info {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}

.profile-actions {
    margin-left: auto; /* Push buttons to the right */
    padding-top: 80px;
    flex-shrink: 0;
    display: flex;
    gap: 10px;
}

.profile-content-tabs {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}
.profile-content-tabs a {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: -1px;
    font-weight: bold;
    color: var(--dark-gray);
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.profile-content-tabs a.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.info-section h3 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.experience-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.experience-item .logo {
    width: 50px;
    height: 50px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    flex-shrink: 0;
}
.experience-item .details h4 { margin: 0; }
.experience-item .details .duration { color: #777; font-size: 0.9rem; }
/* --- Value Proposition Section Flexbox Layout --- */

.value-prop-container {
    display: flex; /* Use Flexbox */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center; /* Center the items horizontally */
    gap: 20px;
}

.value-prop-container .card {
    flex-basis: 300px; /* Define a base size for each card */
    flex-grow: 1; /* Allow cards to grow to fill empty space */
    max-width: 400px; /* Prevent cards from becoming too wide on large screens */
    text-align: center;
}
