:root {
    --primary: #008000;
    --secondary: #FFC107;
    --accent: #2196F3;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --danger: #dc3545;
    --section-spacing: 6rem;
    --pill-spacing: 1.2rem;
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    color: #333;
}

/* CTA Section spécifique */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), #006600) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e6ac00 100%);
}
.bg-gradient-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0da6c2 100%);
}

/* Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #006400);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.loader-logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.loader-logo::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary);
    border-radius: 50%;
    transform: rotate(45deg);
    animation: rotate 3s linear infinite;
}

.loader-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
}

.loader-dots {
    display: flex;
    margin-top: 20px;
}

.loader-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    margin: 0 5px;
    animation: bounce 1.5s infinite;
}

.loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo-icon {
    position: relative;
    margin-right: 10px;
}

.logo-icon::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-icon::after {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: 5px;
    transform: rotate(45deg);
}

.nav-link {
    font-weight: 600;
    margin: 0 10px;
    color: var(--dark) !important;
    position: relative;
    padding: 5px 0 !important;
}

.navbar-nav .nav-link.active {
    border-bottom: 3px solid var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-item:active {
    background-color: var(--primary);
}

.user-avatar-container {
    position: relative;
    padding: 0 5px;
}

.user-avatar, .default-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #008000, #FFC107);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.africa-svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.user-avatar-container:hover .user-avatar,
.user-avatar-container:hover .default-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .default-avatar, .user-avatar {
        width: 36px;
        height: 36px;
    }

    .africa-svg {
        width: 24px;
        height: 24px;
    }
}

.nav-item.dropdown .nav-link.user-avatar-container::after {
    display: none !important;
}

.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: none;
    margin-top: 8px;
}

.dropdown-item {
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 6px;
    margin: 2px 6px;
    width: auto;
}

.dropdown-item:hover {
    background-color: rgba(0, 128, 0, 0.1);
    color: var(--primary);
}

.language-switcher {
    position: relative;
    margin-left: 10px;
}

.language-btn {
    background: transparent;
    border: none;
    color: var(--dark);
    font-weight: 600;
    padding: 5px 10px;
}

.language-btn:hover {
    color: var(--primary);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 120px;
    z-index: 1000;
}

.language-switcher:hover .language-dropdown {
    display: block;
}

.language-item {
    padding: 8px 15px;
    display: block;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s;
}

.language-item:hover {
    background: rgba(0, 128, 0, 0.1);
    color: var(--primary);
}

.language-item:active {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #006400;
    border-color: #006400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 128, 0, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1548013146-72479768bada?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1776&q=80') center/cover no-repeat;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* Section Spacing */
.section-spacing {
    padding: var(--section-spacing) 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--secondary);
}

.feature-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 128, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 30px;
}

.stats-box {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), #006400);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 100px 0 30px;
}

.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #006400;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    :root {
        --section-spacing: 4rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    :root {
        --section-spacing: 3rem;
    }
}

/* About US */
.about-hero-section {
    background: linear-gradient(rgba(89, 236, 89, 0.85), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1655102718200-7230a1be8bfc?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero-content {
    color: white;
    text-align: center;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.about-section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--secondary);
}

.about-mission-vision {
    padding: var(--section-spacing) 0;
    background-color: var(--light);
}

.about-mv-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.about-mv-card:hover {
    transform: translateY(-10px);
}

.about-mv-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-mv-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-team-section {
    padding: var(--section-spacing) 0;
}

.about-team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.about-team-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto 1.5rem;
}

.about-team-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.about-team-position {
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.about-team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-team-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.about-partners-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light);
}

.about-partner-logo {
    max-width: 180px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.about-partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.about-stats-section {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.about-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.about-stat-title {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.about-core-values {
    padding: var(--section-spacing) 0;
}

.about-value-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-top: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-value-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.about-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.about-btn-primary-custom:hover {
    background-color: transparent;
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.about-btn-secondary-custom {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.about-btn-secondary-custom:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

.about-section-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-hero-subtitle {
        font-size: 1.2rem;
    }

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


/* Community */
.community-hero {
    background: linear-gradient(rgba(0, 128, 0, 0.85), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1739298061757-7a3339cee982?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    padding: 8rem 0 6rem;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.community-hero h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.community-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Stats Section */
.community-stats {
    background: linear-gradient(to right, var(--primary), #006400);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.community-stat-item {
    padding: 1rem;
}

.community-stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.community-stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Layout */
.community-main-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
}

.community-sidebar {
    flex: 0 0 350px;
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.community-content {
    flex: 1;
}

/* Advanced Filter System */
.community-filter-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background: var(--light);
}

.filter-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-toggle {
    transition: transform 0.3s ease;
}

.filter-toggle.rotated {
    transform: rotate(180deg);
}

.filter-content {
    padding: 1.5rem;
    display: none;
}

.filter-content.active {
    display: block;
}

.quick-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.quick-filter {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.quick-filter.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--dark);
    font-size: 0.9rem;
}

.filter-group .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.filter-group .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-tag {
    background: rgba(0, 128, 0, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag i {
    cursor: pointer;
    font-size: 0.7rem;
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Content Tabs */
.content-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.content-tab {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.content-tab:hover {
    background: var(--primary);
    color: white;
}

.content-tab.active {
    background: var(--primary);
    color: white;
}

/* Member Cards */
.community-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.community-member-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative; /* Ajouté */
}

.community-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.community-member-header {
    height: 80px;
    background: var(--primary);
    position: relative; /* Ajouté */
}

.community-member-avatar {
    position: absolute;
    top: 40px; /* Changé de bottom: -30px */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    background: white;
    z-index: 10; /* S'assure qu'il est au-dessus */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.community-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-member-info {
    padding: 3rem 1.5rem 1.5rem; /* Augmenté le padding-top pour l'avatar */
    flex-grow: 1;
    text-align: center; /* Centre le texte comme LinkedIn */
}

.community-member-info h5 {
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.community-member-title {
    color: #666;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    min-height: 20px; /* Évite les sauts de layout si vide */
}

.community-member-location {
    display: flex;
    align-items: center;
    justify-content: center; /* Centre l'icône de localisation */
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.community-member-location i {
    margin-right: 0.5rem;
}

.community-member-tags {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.community-member-tags span {
    display: inline-block;
    background: rgba(0, 128, 0, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Styles pour les statuts de connexion */
.connection-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.5rem auto;
    display: inline-block;
    text-align: center;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-accepted {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.community-member-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto; /* Pousse les boutons vers le bas */
    padding-top: 1rem;
}

.community-member-actions .btn {
    border-radius: 50px;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

/* Styles spécifiques pour les boutons */
.btn-connect {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-connect:hover {
    background-color: #0a5a0a; /* Version plus foncée */
    transform: translateY(-2px);
    color: white;
}

.btn-follow {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-follow:hover {
    background-color: #e0e0e0;
}

.btn-connected {
    background-color: #28a745;
    color: white;
    border: none;
}

.btn-pending {
    background-color: #ffc107;
    color: #333;
    border: none;
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

/* Responsive */
@media (max-width: 768px) {
    .community-member-actions {
        flex-direction: column;
    }

    .community-member-actions .btn {
        min-width: 100%;
    }
}

/* Companies Grid */
.community-company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.community-company-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.community-company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.company-header {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.company-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo {
    position: absolute;
    bottom: -25px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 3px solid white;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info {
    padding: 2.5rem 1.5rem 1.5rem;
}

.company-info h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.company-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.company-location {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.company-location i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.company-tags {
    margin-bottom: 1.5rem;
}

.company-tags span {
    display: inline-block;
    background: rgba(0, 128, 0, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.company-actions {
    display: flex;
    gap: 0.5rem;
}

.company-actions .btn {
    flex: 1;
    border-radius: 50px;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

/* Groups Grid */
.community-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.community-group-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.community-group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.group-header {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.group-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-logo {
    position: absolute;
    bottom: -25px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 3px solid white;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.group-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-info {
    padding: 2.5rem 1.5rem 1.5rem;
}

.group-info h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.group-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 42px;
}

.group-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #777;
}

.group-stats span {
    display: flex;
    align-items: center;
}

.group-stats i {
    margin-right: 0.25rem;
    font-size: 0.8rem;
}

.group-tags {
    margin-bottom: 1.5rem;
}

.group-tags span {
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.group-actions {
    margin-top: 1rem;
}

.group-actions .btn {
    width: 100%;
    border-radius: 50px;
    font-size: 0.85rem;
    padding: 0.5rem;
}

.btn-join {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-join:hover {
    background-color: #0a5a0a;
}

/* Responsive */
@media (max-width: 768px) {
    .community-company-grid,
    .community-group-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Content */
.community-sidebar-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.community-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.community-sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary);
}

.community-sidebar-header a {
    color: var(--accent);
    font-size: 0.9rem;
    text-decoration: none;
}

/*My network*/
.community-actions-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.community-action-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.community-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    text-decoration: none;
    color: inherit;
}

.community-action-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.community-action-card:hover::before {
    opacity: 1;
}

.action-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 128, 0, 0.1), rgba(0, 128, 0, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.action-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.action-content {
    flex-grow: 1;
    min-width: 0;
}

.action-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.action-arrow {
    color: #999;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.community-action-card:hover .action-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* État inactif pour zéro demande */
.community-action-card:first-child .action-subtitle:empty::after {
    content: "No pending requests";
}

/* Styles spécifiques pour le compteur dans le deuxième élément */
.community-action-card:nth-child(2) .action-subtitle {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .community-actions-panel {
        gap: 0.5rem;
    }

    .community-action-card {
        padding: 0.875rem 1rem;
    }

    .action-icon {
        width: 44px;
        height: 44px;
        margin-right: 0.875rem;
    }

    .action-icon i {
        font-size: 1.1rem;
    }

    .action-title {
        font-size: 0.95rem;
    }

    .action-subtitle {
        font-size: 0.8rem;
    }
}

.community-discussion-list, .community-group-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-discussion-item, .community-group-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.community-discussion-item:last-child, .community-group-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.community-discussion-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.community-discussion-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #777;
}

.community-group-item {
    display: flex;
    gap: 1rem;
}

.community-group-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.community-group-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-group-info {
    flex-grow: 1;
}

.community-group-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.community-group-members {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.community-group-join {
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Buttons */
.community-btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.community-btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: white;
}

.community-btn-primary:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.community-btn-secondary {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: var(--dark);
}

.community-btn-secondary:hover {
    background: transparent;
    color: var(--dark);
    border-color: var(--secondary);
}

.community-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.community-btn-outline:hover {
    background: white;
    color: var(--primary);
}

.community-btn-outline-dark {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}

.community-btn-outline-dark:hover {
    background: var(--dark);
    color: white;
}

.btn-connect {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-message {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-follow {
    background: var(--accent);
    color: white;
    border: none;
}

/* Loading Animation */
.loading-members {
    text-align: center;
    padding: 2rem;
    color: #777;
    display: none;
}

.loading-members i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Custom scrollbar for sidebar */
.community-sidebar::-webkit-scrollbar {
    width: 6px;
}

.community-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.community-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.community-sidebar::-webkit-scrollbar-thumb:hover {
    background: #006400;
}

/* Content sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Responsive */
@media (max-width: 1200px) {
    .community-main-container {
        flex-direction: column;
    }

    .community-sidebar {
        flex: 1;
        position: static;
        height: auto;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .community-hero h1 {
        font-size: 2.5rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .community-member-grid,
    .community-industry-grid,
    .community-company-grid {
        grid-template-columns: 1fr;
    }

    .content-tabs {
        flex-wrap: wrap;
    }

    .content-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .quick-filters {
        justify-content: center;
    }
}

/* Opportunities */
.opportunities-hero {
    background: linear-gradient(135deg,
        rgba(0, 128, 0, 0.9) 0%,
        rgba(0, 100, 0, 0.85) 50%,
        rgba(0, 80, 0, 0.8) 100%),
        url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    padding: 6rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.opportunities-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.opportunities-hero h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.opportunities-hero .lead {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Header avec filtres améliorés */
.opportunities-header {
    background: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.search-filters-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-top: -4rem;
    position: relative;
    z-index: 20;
}

.search-filters-card .form-control,
.search-filters-card .form-select {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: var(--transition-base);
    font-size: 1rem;
}

.search-filters-card .form-control:focus,
.search-filters-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 128, 0, 0.15);
    outline: none;
}

.filter-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Job Card améliorée */
.opportunities-job-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.opportunities-job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.opportunities-job-card.featured {
    border: 2px solid var(--secondary);
    position: relative;
}

.opportunities-job-card.featured::before {
    content: '⭐ Featured';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.opportunities-job-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 128, 0, 0.1);
    color: var(--primary);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.opportunities-job-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.opportunities-job-header {
    margin-bottom: 1.5rem;
}

.opportunities-job-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.opportunities-job-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.opportunities-job-title a:hover {
    color: var(--primary);
}

.opportunities-job-company {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--gray-200);
    transition: var(--transition-base);
}

.opportunities-job-card:hover .company-avatar {
    border-color: var(--primary);
}

.company-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--gray-800);
}

.company-location {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.opportunities-job-summary {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.opportunities-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.opportunities-job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.opportunities-job-meta-item i {
    color: var(--primary);
    font-size: 1rem;
}

.opportunities-job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.opportunities-job-tags .tag {
    background: rgba(0, 128, 0, 0.08);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.opportunities-job-tags .tag:hover {
    background: rgba(0, 128, 0, 0.15);
    transform: translateY(-1px);
}

.opportunities-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.salary-range {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

.opportunities-btn {
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.opportunities-btn-primary:hover {
    background: #006600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 0, 0.2);
}

.opportunities-btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.opportunities-btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.opportunities-btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.opportunities-btn-secondary:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

/* Pagination améliorée */
.opportunities-pagination {
    margin-top: 3rem;
}

.opportunities-pagination .pagination {
    justify-content: center;
    gap: 0.5rem;
}

.opportunities-pagination .page-link {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    min-width: 44px;
    text-align: center;
}

.opportunities-pagination .page-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.opportunities-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 128, 0, 0.2);
}

.opportunities-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Stats Cards */
.opportunities-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.quick-filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: 30px;
    background: white;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-filter-btn:hover,
.quick-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Modal amélioré */
.opportunity-modal .modal-content {
    border-radius: var(--radius-lg);
    border: none;
    overflow: hidden;
}

.opportunity-modal .modal-header {
    background: linear-gradient(135deg, var(--primary), #006600);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: none;
}

.opportunity-modal .modal-title {
    font-weight: 700;
}

.opportunity-modal .modal-body {
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .opportunities-hero {
        padding: 4rem 0 3rem;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .search-filters-card {
        margin-top: -3rem;
        padding: 1.5rem;
    }

    .opportunities-job-card {
        margin-bottom: 1.5rem;
    }

    .opportunities-job-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .opportunities-btn {
        width: 100%;
        justify-content: center;
    }

    .quick-filters {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .opportunities-hero h1 {
        font-size: 2rem;
    }

    .opportunities-job-company {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .opportunities-job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.hover-lift {
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #006600;
}

/* Navigation Cards */
.opportunities-card-nav {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 180px;
    text-decoration: none;
    color: white;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.opportunities-card-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.nav-content .badge {
    background: var(--secondary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Stats Floating */
.stats-floating {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-floating .stat-item {
    color: white;
    text-align: center;
    padding: 0 1.5rem;
}

.stats-floating .stat-item h3 {
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-floating.stat-item small {
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
}

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

/* Feature Cards */
.max-w-2xl {
    max-width: 600px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    position: relative;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 128, 0, 0.3);
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(0, 128, 0, 0.1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.feature-card h4 {
    color: var(--dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pour s'assurer que la section est visible */
.bg-white {
    background-color: white !important;
}

/* Responsive pour les cartes features */
@media (max-width: 992px) {
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.75rem 1.5rem;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }

    .feature-card h4 {
        font-size: 1.2rem;
    }
}

/* Tabs */
/* Latest Opportunities Section Styles */
.section-header {
    margin-bottom: 3rem;
}

.opportunity-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.opportunity-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
}

/* Tabs Styles */
.opportunities-tabs-wrapper {
    position: relative;
}

.opportunities-tabs {
    border-bottom: 2px solid var(--gray-300);
    background: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 0 1rem;
}

.opportunities-tabs .nav-item {
    margin: 0 0.5rem;
}

.opportunities-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    position: relative;
    transition: all var(--transition-base);
    border-radius: 0;
}

.opportunities-tabs .nav-link:hover {
    color: var(--primary);
    background: rgba(0, 128, 0, 0.05);
}

.opportunities-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
    position: relative;
    border-bottom: 3px solid var(--primary) !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: -2px;
}

.opportunities-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
    /*display: none;*/
}

.opportunities-tabs .nav-link:hover:not(.active) {
    border-bottom-color: var(--gray-400);
}

.tab-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.tab-content {
    min-height: 400px;
}

.tab-content {
    border: 1px solid var(--gray-300);
    border-top: none;
}

.tab-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.tab-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}

.tab-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.tab-subtitle {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.view-all-btn {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
}

.view-all-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 0, 0.2);
}

/* Opportunity Cards Common Styles */
.opportunity-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--secondary), #ff9800);
    color: var(--dark);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 2;
    display: flex;
    align-items: center;
}

.opportunity-card-header {
    padding: 1.5rem 1.5rem 0;
    position: relative;
}

.card-type {
    margin-bottom: 1rem;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-type {
    background: rgba(33, 150, 243, 0.1);
    color: var(--accent);
}

.investment-type {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.partnership-type {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.expiry-indicator, .deadline-indicator {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    display: inline-flex;
    align-items: center;
}

.expiry-indicator.urgent, .deadline-indicator.urgent {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.opportunity-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.opportunity-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.card-company, .card-organization {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.company-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.company-info {
    flex: 1;
}

.company-name, .organization-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.company-location, .organization-location {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.opportunity-card-body {
    padding: 1.5rem;
    flex: 1;
}

.card-description {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.meta-item i {
    color: var(--primary);
    font-size: 0.9rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(0, 128, 0, 0.08);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.tag:hover {
    background: rgba(0, 128, 0, 0.15);
    transform: translateY(-1px);
}

.tag-more {
    background: var(--gray-200);
    color: var(--gray-600);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.opportunity-card-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.salary-info {
    display: flex;
    align-items: center;
}

.salary-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

.salary-not-disclosed {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-style: italic;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    background: white;
    color: var(--gray-600);
    transition: all var(--transition-base);
}

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

/* Investment Card Specific */
.funding-progress {
    margin: 1.5rem 0;
}

.progress {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent), #2196f3);
}

.progress-info {
    font-size: 0.9rem;
    font-weight: 600;
}

.progress-percentage {
    color: var(--accent);
    font-weight: 700;
}

.progress-amounts {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.amount-raised {
    color: var(--success);
    font-weight: 600;
}

.urgency-indicator {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.urgency-indicator.urgent {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

/* Partnership Card Specific */
.partnership-details {
    margin: 1.5rem 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item i {
    color: var(--primary);
    margin-top: 0.2rem;
    font-size: 1rem;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.detail-text {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.4;
}

/* Empty State */
.empty-state-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.empty-icon {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .opportunities-tabs .nav-link {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 1.5rem;
    }

    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .view-all-btn {
        align-self: flex-start;
    }

    .opportunity-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .opportunities-tabs {
        flex-direction: column;
    }

    .opportunities-tabs .nav-item {
        margin: 0;
        width: 100%;
    }

    .opportunities-tabs .nav-link {
        text-align: center;
        justify-content: center;
    }

    .card-company, .card-organization {
        flex-direction: column;
        text-align: center;
    }

    .card-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .opportunity-card-footer .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .card-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Sector Cards */
.sector-card {
    display: block;
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: var(--primary);
}

.sector-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 128, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.sector-card:hover .sector-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* CTA améliorée */
.opportunities-cta {
    background: linear-gradient(135deg,
        rgba(0, 100, 0, 0.95) 0%,
        rgba(0, 80, 0, 0.9) 50%,
        rgba(0, 60, 0, 0.85) 100%),
        url('https://images.unsplash.com/photo-1533750349088-cd871a92f312?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
    padding: 6rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.opportunities-cta .max-w-2xl {
    max-width: 600px;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(33, 150, 243, 0.2) 0%, transparent 50%);
}

.opportunities-cta .btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
    transition: all var(--transition-base);
}

.opportunities-cta .btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.opportunities-cta .btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .opportunities-card-nav {
        width: 100%;
        max-width: 280px;
        margin-bottom: 1rem;
    }

    .stats-floating {
        width: 100%;
        padding: 1rem;
    }

    .stat-item {
        padding: 0 0.75rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .opportunities-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .sector-card {
        padding: 1rem;
    }

    .opportunities-cta {
        padding: 4rem 1rem;
    }
}

@media (max-width: 576px) {
    .opportunities-hero h1 {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin-bottom: 0.5rem;
    }
}

/* Utility classes */
.z-1 {
    position: relative;
    z-index: 1;
}


/* Register main page */
.register-hero {
    background: linear-gradient(rgba(89, 236, 89, 0.85), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1595126731003-755959b6baf8?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    padding: 8rem 0 6rem;
    color: white;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.register-hero h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.register-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.account-selection {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.account-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.account-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-footer {
    background: transparent;
    border-top: none;
    padding: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.benefits-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.account-limitations {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 1rem;
    border-radius: 8px;
    margin-top: auto;
}

.account-limitations h5 {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.account-limitations p {
    font-size: 0.85rem;
    margin: 0;
    color: #6c757d;
}

.platform-benefits {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.platform-benefits i {
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    .account-card {
        margin-bottom: 1.5rem;
    }
}

/* Blog & News */
.blog-hero-section {
    background: linear-gradient(rgba(89, 236, 89, 0.85), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1586339949916-3e9457bef6d3?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1740') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.blog-hero-content {
    color: white;
    text-align: center;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.reaction-options .reaction-btn {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 8px;
}

.reaction-options .reaction-btn:hover {
    transform: scale(1.2);
    background-color: #f8f9fa;
}

.post-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.attachment-grid {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.attachment-grid.single img,
.attachment-grid.single video {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.attachment-grid.double {
    grid-template-columns: 1fr 1fr;
}

.attachment-grid.triple {
    grid-template-columns: 1fr 1fr;
}

.attachment-grid.triple img:first-child {
    grid-column: 1 / -1;
}

.attachment-grid.multiple {
    grid-template-columns: 1fr 1fr;
}

.comment-reply {
    border-left: 3px solid #e9ecef;
    padding-left: 16px;
    margin-left: 16px;
}

.reaction-summary {
    cursor: pointer;
}

.reaction-summary:hover {
    text-decoration: underline;
}

/*Opportunity details*/
.opportunity-detail-hero {
    background: linear-gradient(135deg, rgba(0, 128, 0, 0.05), rgba(33, 150, 243, 0.05));
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--gray-300);
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.hero-breadcrumb .breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition-base);
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-subtitle .company-name {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.hero-subtitle .company-name:hover {
    text-decoration: underline;
}

.hero-subtitle .separator {
    color: var(--gray-400);
}

.hero-subtitle .location i {
    margin-right: 0.25rem;
}

.company-logo-lg {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--gray-300);
    flex-shrink: 0;
}

.company-logo-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo-lg.placeholder {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--primary);
}

/* Meta Card */
.opportunity-meta-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #006600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.meta-content {
    flex: 1;
}

.meta-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.meta-value {
    display: block;
    font-weight: 600;
    color: var(--dark);
}

/* Tags */
.opportunity-tags {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.section-title-sm {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-container .tag {
    background: rgba(0, 128, 0, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.tags-container .tag:hover {
    background: rgba(0, 128, 0, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Rich Text Content */
.rich-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.rich-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.rich-text ul, .rich-text ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.rich-text li {
    margin-bottom: 0.5rem;
}

.rich-text p {
    margin-bottom: 1rem;
}

/* Company Profile */
.company-profile-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.company-profile-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--gray-300);
}

.company-profile-logo.placeholder {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* Action Card */
.opportunity-action-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-300);
    position: sticky;
    top: 100px;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.action-card-header {
    background: linear-gradient(135deg, var(--primary), #006600);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.action-card-body {
    padding: 1.5rem;
}

.action-buttons .btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Quick Stats */
.quick-stats {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/*.stats-grid {*/
/*    display: grid;*/
/*    !*grid-template-columns: repeat(3, 1fr);*!*/
/*    !*gap: 1rem;*!*/
/*}*/

.stat-box {
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Similar Opportunities */
.similar-opportunities {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.similar-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.similar-item:last-child {
    border-bottom: none;
}

.similar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.similar-title a {
    color: var(--dark);
    text-decoration: none;
}

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

.similar-meta {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.similar-type {
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(33, 150, 243, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

/* Toast Container */
.toast-container {
    z-index: 9999;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .meta-item {
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .hero-subtitle .separator {
        display: none;
    }

    .company-logo-lg {
        width: 60px;
        height: 60px;
    }

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

    .rich-text {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sticky-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .opportunity-meta-card .row > div {
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons .col-6 {
        margin-bottom: 0.5rem;
    }
}

/*Opportunity Details*/

/* Hero Badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-badges .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.featured-badge {
    background: linear-gradient(135deg, #FFC107, #ff9800);
    color: var(--dark);
}

.job-type-badge {
    background: rgba(33, 150, 243, 0.15);
    color: var(--accent);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.investment-type-badge {
    background: rgba(156, 39, 176, 0.15);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.partnership-type-badge {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Hero Text Content */
.hero-text-content {
    flex: 1;
}

/* Meta Icons Colors */
.meta-icon i {
    color: white;
}

.meta-icon.job-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.meta-icon.experience-icon {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.meta-icon.salary-icon {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.meta-icon.expiry-icon {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.meta-icon.investment-icon {
    background: linear-gradient(135deg, #673AB7, #512DA8);
}

.meta-icon.amount-icon {
    background: linear-gradient(135deg, #FF5722, #E64A19);
}

.meta-icon.roi-icon {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
}

.meta-icon.deadline-icon {
    background: linear-gradient(135deg, #F44336, #D32F2F);
}

.meta-icon.partnership-icon {
    background: linear-gradient(135deg, #3F51B5, #303F9F);
}

.meta-icon.duration-icon {
    background: linear-gradient(135deg, #795548, #5D4037);
}

.meta-icon.contact-icon {
    background: linear-gradient(135deg, #607D8B, #455A64);
}

.meta-icon.website-icon {
    background: linear-gradient(135deg, #009688, #00796B);
}

/* Funding Progress Card */
.funding-progress-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.progress-wrapper {
    margin-bottom: 1rem;
}

/*.progress-info {*/
/*    font-size: 0.95rem;*/
/*}*/

.progress-label strong {
    font-size: 1.1rem;
    color: var(--primary);
}

.progress-amount {
    font-weight: 600;
    color: var(--gray-700);
}

.detail-progress {
    border-radius: 10px;
    overflow: hidden;
}

.detail-progress-bar {
    border-radius: 10px;
}

.detail-progress-details {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.progress-detail-item {
    text-align: center;
    padding: 0.5rem;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Opportunity Summary */
.opportunity-summary {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
}

.summary-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
}

/* Creator Profile Card */
.creator-profile-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.creator-profile-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.creator-profile-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--gray-300);
}

.creator-profile-logo.placeholder {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.creator-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.creator-bio {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* Action Card Improvements */
.detail-action-card-body .btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.detail-action-buttons .btn.active i {
    color: white;
}

/* Share Options */
.share-options .social-share .btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Contact Info */
.contact-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--primary);
    width: 24px;
}

.contact-item a {
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* Documents Section */
.documents-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.document-item:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.document-item i.text-danger {
    color: #f44336 !important;
}

/* Countdown Box */
.countdown-box {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
}

.countdown-box i {
    color: var(--primary);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .hero-subtitle .separator {
        display: none;
    }

    .company-logo-lg {
        width: 60px;
        height: 60px;
    }

    .creator-profile-card .row {
        flex-direction: column;
        text-align: center;
    }

    .creator-profile-logo {
        margin-bottom: 1rem;
    }

    .progress-details .row {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-detail-item {
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 1rem;
    }

    .progress-detail-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    /*.section-title {*/
    /*    font-size: 1.5rem;*/
    /*}*/

    .opportunity-meta-card .row > div {
        margin-bottom: 1rem;
    }

    .meta-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .meta-icon {
        margin: 0 auto;
    }

    .action-buttons .row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .details-action-buttons .col-6 {
        width: 100%;
    }
}
