/* Global Styles */
:root {
    --primary-color: #4e6bff;
    --primary-light: #e6e9ff;
    --primary-dark: #3a57e8;
    --secondary-color: #ff7a50;
    --secondary-light: #ffecde;
    --tertiary-color: #6c5ce7;
    --success-color: #0ca678;
    --success-light: #e6fffa;
    --error-color: #e64980;
    --error-light: #ffeaef;
    --warning-color: #f08c00;
    --warning-light: #fff3bf;
    --text-color: #333333;
    --text-light: #666666;
    --text-xlight: #999999;
    --bg-color: #f8f9fd;
    --white: #ffffff;
    --border-color: #e0e4f6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-inset: inset 0 2px 6px rgba(0, 0, 0, 0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-short: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-long: all 0.5s ease;
    --header-height: 80px;
    --sidebar-width: 260px;
    --activity-sidebar-width: 300px;
}

/* Dark Mode Colors */
.dark-mode {
    --text-color: #f1f1f1;
    --text-light: #bdbdbd;
    --text-xlight: #888888;
    --bg-color: #121212;
    --white: #1e1e1e;
    --border-color: #333333;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-inset: inset 0 2px 6px rgba(0, 0, 0, 0.2);
    --primary-light: rgba(78, 107, 255, 0.2);
    --secondary-light: rgba(255, 122, 80, 0.2);
    --success-light: rgba(12, 166, 120, 0.2);
    --error-light: rgba(230, 73, 128, 0.2);
    --warning-light: rgba(240, 140, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

body.loaded .app-container {
    opacity: 1;
    transform: translateY(0);
}

.app-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    transition: var(--transition);
}

button:focus {
    outline: none;
}

input, select, textarea {
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-color);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 107, 255, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.app-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr var(--activity-sidebar-width);
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Sidebar Styling */
.sidebar {
    background-color: var(--white);
    border-right: 1px solid var(--border-color);
    padding: 30px 0 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    padding: 0 30px;
    margin-bottom: 40px;
}

.logo i {
    font-size: 22px;
    color: var(--primary-color);
    background-color: var(--primary-light);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo h2 {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-color);
}

.nav-links {
    margin-bottom: auto;
}

.nav-links li {
    position: relative;
    transition: var(--transition);
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 14px 30px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-links li a i {
    font-size: 18px;
    margin-right: 14px;
    width: 20px;
    text-align: center;
}

.nav-links li.active {
    background-color: var(--primary-light);
}

.nav-links li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links li.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-color);
}

.nav-links li:hover:not(.active) {
    background-color: rgba(78, 107, 255, 0.05);
}

.nav-links li:hover:not(.active) a {
    transform: translateX(5px);
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding: 15px 0;
    margin-top: 20px;
}

.dark-mode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-color);
    margin: 0 auto 15px;
    color: var(--text-light);
    transition: var(--transition);
}

.dark-mode-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: rotate(30deg);
}

.dark-mode .dark-mode-btn {
    color: var(--warning-color);
}

.dark-mode .dark-mode-btn:hover {
    background-color: var(--warning-light);
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile:hover {
    background-color: var(--bg-color);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 12px;
}

.user-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.user-info p {
    font-size: 12px;
    color: var(--primary-color);
}

/* Main Content Styling */
.main-content {
    padding: 20px 40px;
    overflow-y: auto;
    max-height: 100vh;
    position: relative;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.search-bar {
    position: relative;
    width: 400px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-bar input {
    width: 100%;
    padding-left: 45px;
    background-color: var(--bg-color);
    border: none;
    height: 48px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
}

.action-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.notification-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 122, 80, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 122, 80, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 122, 80, 0);
    }
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(78, 107, 255, 0.2);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(78, 107, 255, 0.3);
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(78, 107, 255, 0.2);
}

.primary-btn.large {
    padding: 14px 28px;
    font-size: 16px;
}

.secondary-btn {
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.secondary-btn:hover {
    background-color: #e0e4f6;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-md);
    transform: translateX(120%);
    opacity: 0;
    transition: var(--transition);
    border-left: 4px solid;
}

.toast.visible {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left-color: var(--success-color);
}

.toast-error {
    border-left-color: var(--error-color);
}

.toast-info {
    border-left-color: var(--primary-color);
}

.toast-warning {
    border-left-color: var(--warning-color);
}

.toast-icon {
    font-size: 20px;
    margin-right: 12px;
}

.toast-success .toast-icon {
    color: var(--success-color);
}

.toast-error .toast-icon {
    color: var(--error-color);
}

.toast-info .toast-icon {
    color: var(--primary-color);
}

.toast-warning .toast-icon {
    color: var(--warning-color);
}

.toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.toast-close {
    font-size: 14px;
    color: var(--text-light);
    padding: 4px;
    border-radius: 4px;
}

.toast-close:hover {
    background-color: var(--bg-color);
}

/* Notifications Panel */
.notifications-panel {
    position: absolute;
    top: 80px;
    right: 40px;
    width: 350px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.notifications-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.notifications-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.notifications-settings {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background-color: var(--bg-color);
}

.notifications-settings:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.notification-item:hover {
    background-color: var(--bg-color);
}

.notification-item.unread {
    background-color: var(--primary-light);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-light);
}

.notification-actions {
    padding-left: 10px;
}

.notification-actions button {
    font-size: 12px;
    color: var(--primary-color);
}

.notifications-footer {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.notifications-footer a {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.notifications-footer a:hover {
    text-decoration: underline;
}

/* Content Body Styling */
.content-body {
    padding-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 600;
    position: relative;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.view-all i {
    font-size: 12px;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--primary-dark);
}

.view-all:hover i {
    transform: translateX(3px);
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 40px;
}

.welcome-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #4e6bff 0%, #6a5af9 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.welcome-text {
    flex: 1;
    padding: 40px;
}

.welcome-text h1 {
    font-size: 36px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out;
}

.welcome-text p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
}

.stat-item p {
    font-size: 14px;
    margin-bottom: 0;
    opacity: 0.8;
}

.welcome-text .primary-btn {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.welcome-image {
    flex: 1;
    max-width: 500px;
    height: 360px;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.welcome-card:hover .welcome-image img {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Skills Grid */
.skills-grid, .people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.skill-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.skill-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.skill-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-long);
}

.skill-card:hover .skill-card-image img {
    transform: scale(1.1);
}

.skill-rating {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.skill-rating i {
    color: #ffc107;
}

.skill-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.skill-category {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    transition: var(--transition);
}

.skill-category.music {
    background-color: #e8f0ff;
    color: #4263eb;
}

.skill-category.technology {
    background-color: #e6fffa;
    color: #0ca678;
}

.skill-category.cooking {
    background-color: #fff3bf;
    color: #f08c00;
}

.skill-category.languages {
    background-color: #f3f0ff;
    color: #7950f2;
}

.skill-category.arts {
    background-color: #fff0f6;
    color: #e64980;
}

.skill-category.fitness {
    background-color: #e2f8f0;
    color: #0ca678;
}

.skill-category.education {
    background-color: #e3eaff;
    color: #4e6bff;
}

.skill-category.business {
    background-color: #e6f2ff;
    color: #1c7ed6;
}

.skill-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.skill-card:hover .skill-card-title {
    color: var(--primary-color);
}

.skill-card-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
}

.skill-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.skill-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.skill-user-name {
    font-size: 14px;
    font-weight: 500;
}

.skill-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.request-swap-btn {
    width: 100%;
    margin-top: 15px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-weight: 500;
    transition: var(--transition);
}

.request-swap-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 50px;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 16px;
}

.testimonial-rating {
    margin-bottom: 16px;
    color: #ffc107;
}

.testimonial-user {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid var(--primary-light);
}

.testimonial-user-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-user-info p {
    font-size: 12px;
    color: var(--text-light);
}

/* People Cards */
.person-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.person-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.match-score {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-light);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.person-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--primary-light);
    transition: var(--transition);
}

.person-card:hover .person-avatar {
    border-color: var(--primary-color);
}

.person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.person-card:hover .person-avatar img {
    transform: scale(1.1);
}

.person-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.person-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.person-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.skill-tag {
    padding: 4px 12px;
    background-color: var(--bg-color);
    border-radius: 20px;
    font-size: 12px;
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.person-distance {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.connect-btn {
    width: 100%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.connect-btn:hover, .connect-btn.connected {
    background-color: var(--primary-color);
    color: var(--white);
}

/* About Section */
.about-section {
    margin-bottom: 60px;
}

.about-container {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.step:hover .step-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.step h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step p {
    font-size: 14px;
    color: var(--text-light);
}

.get-started-btn {
    margin: 0 auto;
    display: inline-flex;
}

/* Activity Sidebar Styling */
.activity-sidebar {
    background-color: var(--white);
    border-left: 1px solid var(--border-color);
    padding: 30px 20px;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    transition: var(--transition);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.filter-btn, .calendar-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.filter-btn:hover, .calendar-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.activity-feed {
    margin-bottom: 30px;
}

.activity-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-item:first-child {
    animation: slideIn 0.3s ease-out;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.activity-icon.new-skill {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.activity-icon.connection {
    background-color: var(--success-light);
    color: var(--success-color);
}

.activity-icon.event {
    background-color: var(--warning-light);
    color: var(--warning-color);
}

.activity-icon.swap-request {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.activity-text strong {
    font-weight: 600;
    color: var(--primary-color);
}

.activity-time {
    font-size: 12px;
    color: var(--text-light);
}

.upcoming-events {
    margin-top: 30px;
}

.event-item {
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.event-date {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.event-calendar {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.event-month {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 0;
}

.event-day {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.event-time {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-time small {
    font-size: 11px;
    color: var(--text-xlight);
    margin-top: 2px;
}

.event-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.event-location {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.attend-btn {
    width: 100%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 0;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.attend-btn:hover, .attend-btn.attending {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    width: 580px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.close-modal {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    background-color: var(--error-light);
    color: var(--error-color);
}

.modal-body {
    padding: 20px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

/* Footer Styling */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    position: relative;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo i {
    font-size: 20px;
    color: var(--primary-color);
    background-color: var(--primary-light);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.footer-logo h2 {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-color);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column ul li a {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a:nth-child(1):hover {
    background-color: #1877F2;
    color: white;
}

.social-links a:nth-child(2):hover {
    background-color: #1DA1F2;
    color: white;
}

.social-links a:nth-child(3):hover {
    background-color: #E4405F;
    color: white;
}

.social-links a:nth-child(4):hover {
    background-color: #0A66C2;
    color: white;
}

.app-downloads {
    display: flex;
    gap: 10px;
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--bg-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-color);
    transition: var(--transition);
}

.app-download-btn:hover {
    background-color: var(--text-color);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-light);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-light);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .app-container {
        grid-template-columns: var(--sidebar-width) 1fr 0;
    }
    
    .activity-sidebar {
        display: none;
    }
}

@media (max-width: 1024px) {
    .welcome-card {
        flex-direction: column;
    }
    
    .welcome-text {
        padding: 30px;
    }
    
    .welcome-image {
        max-width: 100%;
        height: 240px;
    }
    
    .testimonials-container, .skills-grid, .people-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .app-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: fixed;
        left: -100%;
        z-index: 100;
        width: 260px;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 101;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background-color: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .main-content {
        padding: 20px;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .testimonials-container, .skills-grid, .people-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .welcome-text h1 {
        font-size: 28px;
    }
    
    .about-container {
        padding: 30px 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .app-downloads {
        flex-direction: column;
    }
}

/* Additional Animation Effects */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Enhancements for skill cards and people cards */
.skill-card, .person-card, .testimonial-card, .event-item, .step {
    will-change: transform;
}

/* Dark mode transitions */
.dark-mode .skill-card,
.dark-mode .person-card,
.dark-mode .testimonial-card,
.dark-mode .event-item,
.dark-mode .modal-content,
.dark-mode .toast,
.dark-mode .notifications-panel,
.dark-mode .sidebar,
.dark-mode .activity-sidebar {
    transition: background-color 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
} 