
/* Variables globales */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #4338CA;
    --accent-color: #818CF8;
    --text-color: #1F2937;
    --light-bg: #F9FAFB;
    --white: #FFFFFF;
    --gradient-start: #4F46E5;
    --gradient-end: #818CF8;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 80px; /* Compenser la hauteur de la navbar fixe */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Navbar Styling - Toujours fixe en haut */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #000000 !important; /* Solid, no transparency */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: none !important; /* No animated change on scroll */
    transform: translateY(0);
}

/* Active nav link effects */
.navbar .nav-link {
    position: relative;
}

/* Visual marker for the active link */
.navbar .nav-link.active::after,
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 100%;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform-origin: left center;
}

/* Hover effect on active links */
.navbar .nav-link.active:hover::after,
.navbar-nav .nav-link.active:hover::after {
    transform: scaleX(1.06);
    box-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
}

/* Optional subtle glow on active link text when hovered */
.navbar .nav-link.active:hover,
.navbar-nav .nav-link.active:hover {
    text-shadow: 0 0 6px rgba(129, 140, 248, 0.5);
}


.logo {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-grow: 1; /* Permet au conteneur de grandir */
    justify-content: center; /* Centre les liens principaux */
}

.nav-links a:last-of-type {
    margin-left: auto; /* Pousse le dernier lien (Login/Dashboard) à droite */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1445905595283-21f8ae8a33d2?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(79, 70, 229, 0.8), rgba(129, 140, 248, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.cta-button:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-2px);
}

/* À propos Section */
.about-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-family: 'Arial', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    color: #4B5563;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #F3F4F6;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.value-item i {
    font-size: 2.5rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

/* Services Section Enhancement */
.services-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: #6B7280;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: #4B5563;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1F2937;
    font-family: 'Georgia', serif;
}

.service-card p {
    color: #6B7280;
    line-height: 1.6;
    font-weight: 300;
}

/* Events Section Enhancement */
.events-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.events-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.events-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.event-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-details {
    padding: 1.5rem;
}

.event-details .card-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #1F2937;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.event-details .card-subtitle {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 1rem;
    font-weight: 300;
}

.event-details .card-text {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
}

.event-details p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-details strong {
    color: var(--text-color);
    font-weight: 600;
    min-width: 80px;
}

/* Responsive Design for Events */
@media (max-width: 992px) {
    .event-card {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .events-section {
        padding: 4rem 0;
    }

    .events-section h2 {
        font-size: 2rem;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-card img {
        height: 200px;
        min-height: unset;
    }

    .event-details {
        padding: 1.5rem;
    }

    .event-details .card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .events-section h2 {
        font-size: 1.75rem;
    }

    .event-details {
        padding: 1.25rem;
    }

    .event-details .card-title {
        font-size: 1.25rem;
    }

    .event-details .card-subtitle {
        font-size: 1rem;
    }
}

/* Section Contact améliorée */
.contact-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-mailto {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #F3F4F6;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-mailto:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.contact-mailto p {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.contact-mailto .btn {
    background: rgba(0,0,0,0.8);
    border: none;
    padding: 12px 24px;
    font-weight: 400;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #ffffff;
    font-size: 0.9rem;
}

.contact-mailto .btn:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: #6B7280;
    min-width: 30px;
    text-align: center;
}

.info-item p {
    font-size: 1rem;
    color: #1F2937;
    margin: 0;
    line-height: 1.5;
    font-weight: 300;
}

/* Enhanced Footer Styling */
.footer {
    background: #1F2937;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .footer {
        padding: 3rem 0 1rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }
}



.carousel {
    position: relative;
}

.carousel-inner {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
}

.carousel-indicators button {
    background-color: #007bff;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    transition: transform 0.3s ease;
}

.carousel-indicators button.active {
    transform: scale(1.5);
    background-color: #0056b3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
    width: 30px;
    height: 30px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1) drop-shadow(0 0 4px #007bff);
}





.section-title {
    font-size: 2.2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 4rem;
    font-family: 'Georgia', serif;
    color: #1F2937;
    letter-spacing: 0.5px;
}



















.products-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.product-details {
    padding: 0;
}

.product-name {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #1F2937;
    font-family: 'Georgia', serif;
}

.product-description {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 300;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.product-card .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-card .cta-button:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-2px);
}











/* Section Membres améliorée */
.leaders-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.leaders-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.leader-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #F3F4F6;
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.leader-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #F3F4F6;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.leader-card:hover .leader-photo {
    transform: scale(1.05);
    border-color: #E5E7EB;
}

.leader-name {
    font-size: 1.3rem;
    font-weight: 400;
    color: #1F2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-family: 'Georgia', serif;
}

.leader-card:hover .leader-name {
    color: #4B5563;
}

.leader-email,
.leader-phone {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-weight: 300;
}

@media (max-width: 768px) {
    .leader-card {
        padding: 1.5rem;
    }

    .leader-photo {
        width: 100px;
        height: 100px;
    }
}



/* ======================
   HERO SECTION MODERNE
====================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee")
        center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.85));
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: #fff;
    animation: fadeUp 1.2s ease;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    font-weight: 400;
    margin-bottom: 30px;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    font-family: 'Georgia', serif;
    margin-bottom: 10px;
}

.hero-title span {
    color: #ffffff;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 15px 0 50px;
    font-style: normal;
    opacity: 0.8;
    font-family: 'Arial', sans-serif;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.hero-btn.primary {
    background: rgba(255,255,255,0.9);
    color: #000;
}

.hero-btn.primary:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-2px);
}

.hero-btn.outline {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
}

.hero-btn.outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}












