/* General Forum Styling */
.forum-container {
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.forum-container h2 {
    text-align: center;
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.forum-container > p {
    text-align: center;
    color: #666;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.forum-section {
    background-color: #ffffff;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.forum-section h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.8em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Forum Post Styling */
.forum-post {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 8px;
}

.post-author {
    font-weight: 600;
    color: #0056b3;
    margin: 0 0 5px 0;
}

.post-content {
    margin: 0;
    color: #444;
    font-style: italic;
}

/* People/User Profile Styling */
.people-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.user-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #f0f0f0;
}

.user-profile h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.3em;
}

.user-profile p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9em;
}

/* Follow Button Styling */
.follow-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

.follow-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.follow-btn.following {
    background-color: #6c757d;
    box-shadow: 0 2px 5px rgba(108, 117, 125, 0.3);
}

.follow-btn.following:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.4);
}
