/* Reset et styles de base */
:root {
    --primary-color: #FFA500;
    --secondary-color: #003366;
    --accent-color: #4CAF50;
    --dark-color: #333;
    --light-color: #f9f9f9;
    --gray-color: #777;
    --light-gray: #eaeaea;
    --white: #fff;
    --black: #000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
.logoHome{
  width: 150px;
  height: 50px;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.source-link {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.source-link i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.source-link:hover {
    color: white;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    z-index: 5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #5da8ae;
    color: var(--white);
    border: 2px solid #5da8ae;
  padding: 8px 20px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: #5da8ae;
    box-shadow: 0 5px 15px #7cc4c9;
    cursor: pointer;
}

.btn-secondary {
    background-color: transparent;
    color: #5da8ae;
    border: 2px solid #5da8ae;
    padding: 8px 20px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #5da8ae;
    color: var(--white);
    box-shadow: 0 5px 15px #77cdd3;
    cursor: pointer;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
    position: relative;
}

.navbar ul li a {
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5da8ae;
    transition: var(--transition);
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
}

.navbar ul li a.active {
    color: #5da8ae;
}

.login-btn {
    background-color: #5da8ae;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
}

.login-btn:hover {
    background-color: transparent;
    color: #87c7cc;
    box-shadow: 0 0 0 2px #87c7cc;
}

.login-btn.active {
    background-color: transparent;
    color: #8bd0d5;
    box-shadow: 0 0 0 2px #5da8ae;
}

.mobile-menu {
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    display: none;
    transition: var(--transition);
}

.mobile-menu:hover {
    color: var(--primary-color);
}
   .sun-hero-final {
            position: relative;
            min-height: 74vh;
            display: flex;
            align-items: center;
            background: white;
            margin-top: 80px;
            padding: 2rem 0;
            overflow: hidden;
        }

        .sun-hero-final::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.04;
            background-image: 
                linear-gradient(45deg, #FFA500 25%, transparent 25%),
                linear-gradient(-45deg, #FFA500 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #FFA500 75%),
                linear-gradient(-45deg, transparent 75%, #FFA500 75%);
            background-size: 60px 60px;
            background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
            z-index: 0;
        }

        .sun-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
            position: relative;
            z-index: 1;
        }

        .sun-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
            align-items: center;
        }

        @media (min-width: 1024px) {
            .sun-layout {
                grid-template-columns: 1fr 1fr;
                gap: 6rem;
            }
        }

        .sun-text-content {
            text-align: center;
        }

        @media (min-width: 1024px) {
            .sun-text-content {
                text-align: left;
            }
        }

        .sun-main-title {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: #1a1a1a;
        }

        .sun-accent {
            color: #FFA500;
            position: relative;
            display: inline-block;
        }

        .sun-accent::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(255, 165, 0, 0.2);
            z-index: -1;
            border-radius: 4px;
        }

        .sun-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            color: #5da8ae;
            line-height: 1.6;
            margin-bottom: 2rem;
            font-weight: 400;
        }

        .sun-panel-scene {
            position: relative;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sun-modern-panel {
            width: 320px;
            height: 220px;
            background: #5da8ae;
            border-radius: 20px;
            position: relative;
            transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
            box-shadow: 
                0 25px 50px rgba(93, 168, 174, 0.3),
                0 15px 30px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
            overflow: hidden;
        }

        .sun-panel-cells {
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            grid-template-rows: repeat(4, 1fr);
            gap: 8px;
        }

        .sun-modern-cell {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .sun-energy-orb {
            position: absolute;
            width: 80px;
            height: 80px;
            background: #FFA500;
            border-radius: 50%;
            filter: blur(15px);
            opacity: 0.3;
        }

        .sun-orb-1 {
            top: 50px;
            right: 50px;
        }

        .sun-orb-2 {
            bottom: 80px;
            left: 40px;
            background: #5da8ae;
            width: 60px;
            height: 60px;
        }

        .sun-ray {
            position: absolute;
            width: 2px;
            height: 80px;
            background: linear-gradient(to bottom, transparent, #FFA500, transparent);
            opacity: 0.3;
        }

        .sun-ray-1 {
            top: -40px;
            left: 40%;
        }

        .sun-ray-2 {
            top: -40px;
            left: 70%;
        }


 .sun-ads-section {
            background: rgba(248, 250, 252, 0.8);
            padding: 4rem 0;
            position: relative;
        }

        .sun-ads-title {
            text-align: center;
            font-size: 2.2rem;
            font-weight: 700;
            color: #5da8ae;
            margin-bottom: 3rem;
            position: relative;
        }

        .sun-ads-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: #FFA500;
            border-radius: 2px;
        }

        .sun-ads-carousel {
            max-width: 1439px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .sun-ad-slide {
            background: white;
            border-radius: 16px;
            margin: 0 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .sun-ad-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .sun-ad-link {
            display: block;
            text-decoration: none;
            color: inherit;
            height: 100%;
        }

        .sun-ad-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            background: linear-gradient(135deg, #5da8ae, #FFA500);
        }

        .sun-ad-content {
            padding: 1.5rem;
        }

        .sun-ad-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }

        .sun-ad-badge {
            display: inline-block;
            background: #5da8ae;
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        /* Slick Carousel Customization */
        .sun-ads-carousel .slick-prev,
        .sun-ads-carousel .slick-next {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            z-index: 3;
            transition: all 0.3s ease;
        }

        .sun-ads-carousel .slick-prev:hover,
        .sun-ads-carousel .slick-next:hover {
            background: #66bbc1;
        }

        .sun-ads-carousel .slick-prev {
            left: -25px;
        }

        .sun-ads-carousel .slick-next {
            right: -25px;
        }

        .sun-ads-carousel .slick-prev:before,
        .sun-ads-carousel .slick-next:before {
            color: #5da8ae;
            font-size: 20px;
            transition: all 0.3s ease;
        }

        .sun-ads-carousel .slick-prev:hover:before,
        .sun-ads-carousel .slick-next:hover:before {
            color: white;
        }

        .sun-ads-carousel .slick-dots li button:before {
            color: #5da8ae;
            opacity: 0.5;
        }

        .sun-ads-carousel .slick-dots li.slick-active button:before {
            color: #FFA500;
            opacity: 1;
        }

        /* Responsive Ads */
        @media (max-width: 768px) {
            .sun-ads-section {
                padding: 3rem 0;
            }

            .sun-ads-carousel {
                padding: 0 1rem;
            }

            .sun-ads-carousel .slick-prev {
                left: -15px;
            }

            .sun-ads-carousel .slick-next {
                right: -15px;
            }

            .sun-ad-image {
                height: 150px;
            }
        }

        @media (max-width: 480px) {
            .sun-ads-carousel .slick-prev,
            .sun-ads-carousel .slick-next {
                display: none !important;
            }
        }

.no-images-message {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    background-color: #f8f9fa;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    grid-column: 1 / -1;
    border: 2px dashed #bdc3c7;
    margin: 20px 0;
}

.no-images-message p {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #2c3e50;
}

.no-images-message small {
    display: block;
    margin-bottom: 20px;
    color: #7f8c8d;
}
.view-more-services {
    text-align: center;
    margin-top: 30px;
    z-index: 0;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #f5a623; /* Couleur orange, à adapter à votre charte */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.view-more-btn:hover {
    background-color: #5da8ae; /* Couleur légèrement plus foncée au survol */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.view-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(4px);
}

.service-meta p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.service-meta {
    margin: 10px 0;
    font-size: 0.9em;
}

.service-meta i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: #f5a623; /* Couleur d'accent */
}

.service-dates {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8em;
    color: #666;
}

.service-dates small {
    display: flex;
    align-items: center;
}

.service-dates i {
    font-size: 0.9em;
    margin-right: 5px;
}




.empty-icon {
    font-size: 3rem;
    color: #bdc3c7;
    margin-top: 20px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 51 102 / 6%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* About Hero */
.about-hero, .login-hero {
    height: 400px;
    background: url('../images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    text-align: center;
}

.about-hero h1, .login-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.about-hero p, .login-hero p {
    font-size: 1.2rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 40px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 8px;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background-color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

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

/* Services Section */
/* Services Section - Redesign */
.services {
    padding: 20px 0;
    background-color: #f9fafc;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNDUsMjQ1LDI0NSwxKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #5da8ae;
    margin-bottom: 33px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover .service-card-inner {
    transform: translateY(-10px) scale(1.02);
}

.service-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.8) 0%, rgba(var(--secondary-rgb), 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-image::before {
    opacity: 0.9;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    z-index: 1;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.service-card-content {
    padding: 30px;
    background: white;
}

.service-card-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.service-card-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.service-card-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #5da8ae;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}


/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #69989b, #d9f3ff);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* About Content */
.about-content {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.values-list {
    margin-top: 30px;
}

.values-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.values-list i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.values-list strong {
    color: var(--secondary-color);
}

.about-image {
    position: relative;
    height: 100%;
}

.image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 500px;
}

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

.image-container:hover img {
    transform: scale(1.03);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--light-gray);
    transition: var(--transition);
}

.team-member:hover .member-image {
    border-color: var(--primary-color);
}

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

.team-member h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.bio {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Login Section */
.login-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.login-form {
    padding: 60px;
}

.login-form h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}


.logIn {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  background-color: rgba(0, 0, 0, 0.02);
}

.logIn:focus {
  border-color: #5da8ae;
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 156, 211, 0.2);
  background-color: var(--white);
}

.envelope {
  position: absolute;
  left: 15px;
  top: 41px;
  color: var(--gray-color);
  font-size: 1.1rem;
}


.input-icon {
    position: absolute;
    left: 15px;
    top: 42px;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.remember-me label {
    margin-bottom: 0;
    font-weight: normal;
    color: var(--gray-color);
}

.forgot-password {
    color: #5da8ae;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.social-login {
    text-align: center;
}

.social-login p {
    color: var(--gray-color);
    margin-bottom: 20px;
    position: relative;
    font-size: 0.95rem;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--light-gray);
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

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

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-btn.google {
    background-color: #DB4437;
}

.social-btn.facebook {
    background-color: #4267B2;
}

.social-btn.twitter {
    background-color: #1DA1F2;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Login Side */
.login-side {
    background: linear-gradient(135deg, #5da8ae, var(--secondary-color));
    padding: 60px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.login-side::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.login-side::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.side-content {
    max-width: 350px;
    position: relative;
    z-index: 1;
}

.side-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.side-content p {
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.9;
}

.side-content .btn-secondary {
    border-color: var(--white);
    color: var(--white);
    background-color: transparent;
}

.side-content .btn-secondary:hover {
    background-color: var(--white);
    color: #5da8ae;
}

/* Footer */
        .footer {
            background-color: #4a7b7e;
            color: var(--white);
            padding: 100px 0 0;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(to right, #efefef, #487374);
        }

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

        .footer-col h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer-col p {
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
        }

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

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

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

        .footer-col ul li {
            margin-bottom: 15px;
            list-style: none;
        }

        .footer-col ul li a {
            color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s ease;
            display: inline-block;
            font-size: 0.95rem;
            text-decoration: none;
        }

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

        .contact-info li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.8);
        }

        .contact-info i {
            margin-right: 15px;
            color: var(--primary-color);
            font-size: 1.1rem;
            margin-top: 3px;
        }

        /* Nouveau style pour la bande bleue pleine largeur */
        .footer-bottom-wrapper {
            width: 100%;
            background: #214850;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding: 25px 0;
        }

        .footer-bottom p {
            color: var(--white);
            font-size: 0.9rem;
            margin: 5px 0;
        }

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

        .footer-links a {
            color: var(--white);
            font-size: 0.9rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
        height: 400px;
    }
    
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-side {
        order: -1;
        padding: 40px;
        text-align: center;
    }
    
    .side-content {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        padding: 30px;
        overflow-y: auto;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
    }
    
    .navbar ul li {
        margin: 15px 0;
    }
    
    .hero {
        margin-top: 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features-grid, .services-grid, .team-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .login-form {
        padding: 40px 25px;
    }
    
    .contact-info li {
        justify-content: center;
        text-align: left;
    }
}

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

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

.feature-card, .service-card, .team-member {
    animation: fadeIn 0.6s ease-out forwards;
}

.stat-number {
    animation: countUp 1s ease-out forwards;
}



.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
}


                .password-requirements {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .password-requirements p {
            font-weight: 500;
            margin-bottom: 8px;
        }
        
        .password-requirements ul,
        .login-side ul {
            list-style-type: none;
            padding-left: 5px;
            margin: 0;
        }
        
        .password-requirements li,
        .login-side li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 5px;
            font-size: 14px;
        }
        
        .password-requirements li:before,
        .login-side li:before {
            content: "•";
            color: #FFA500;
            position: absolute;
            left: 0;
            font-size: 16px;
        }
        
        .form-footer {
            text-align: center;
            margin-top: 20px;
        }

        .form-row.horizontal-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-icon-group input,
.form-icon-group select {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.02);
}

.form-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  pointer-events: none;
}
.agree-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.agree-group label {
  display: inline;
  margin-left: 8px;
}
.form-check-input {
  margin: 0;
    width: auto;
}
.form-check-label {
  margin: 0;
  font-weight: normal;
}


.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin-right: 8px;
  accent-color: var(--primary-color);
}

.remember-me label {
  margin-bottom: 0;
  font-weight: normal;
  color: var(--gray-color);
}
.form-options {
    display: flex;
    justify-content: space-between; /* Pour espacer les deux éléments */
    align-items: center; /* Aligner verticalement */
}

.login-link {
  text-align: center;
  margin-top: 20px;
  color: #777;
}

.login-link a {
  color: #5da8ae;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}


.form-header {
  margin-bottom: 30px;
  text-align: center;
}

.form-header h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--gray-color);
}

.form-note{
  margin-bottom: 7px;
}



/* Novelties Section */
.novelties-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.novelties-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 30px 10px;
    margin-top: 40px;
    scroll-snap-type: x mandatory;
}

.novelty-card {
    min-width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    scroll-snap-align: start;
    position: relative;
}

.novelty-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff5722;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.novelty-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.novelty-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.novelty-card:hover .novelty-overlay {
    opacity: 1;
}

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

.view-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.novelty-info {
    padding: 20px;
}

.novelty-date {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.novelty-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.novelty-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Ads Section */
.ads-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.ads-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ad-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ad-card:hover {
    transform: translateY(-5px);
}

.ad-image {
    height: 180px;
    overflow: hidden;
}

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

.ad-card:hover .ad-image img {
    transform: scale(1.05);
}

.ad-content {
    padding: 20px;
}

.ad-header {
    margin-bottom: 15px;
}

.ad-date {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-bottom: 5px;
}

.ad-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.ad-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.ad-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.ad-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #5da8ae;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.divider-line {
    width: 50px;
    height: 2px;
    background: #5da8ae;
}

.divider-icon {
    margin: 0 15px;
    color: #5da8ae;
    font-size: 1.2rem;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.view-all-btn:hover {
    background: #ecd0a0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgb(205, 161, 110);
}

.view-all-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .novelty-card {
        min-width: 250px;
    }
}

.news-section {
    padding: 80px 0;
    background: #f9f9f9;
    overflow-x: hidden; /* Prevent horizontal scroll caused by arrows */
}

.news-slider {
    margin: 0 auto;
    padding: 0 60px; /* space for arrows */
    position: relative;
}

.slick-slide {
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px; /* Prevent card cutoff inside .slick-list */
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #5da8ae;
    color: white;
    padding: 8px 10px;
    border-radius: 5px;
    text-align: center;
    width: 65px;
}

.news-date .day {
    font-size: 1.2rem;
    font-weight: bold;
}

.news-date .month {
    font-size: 0.79rem;
    text-transform: uppercase;
}
.empty-gallery {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.empty-gallery i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #ddd;
}
.news-date .year {
    font-size: 0.65rem;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #5da8ae;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Arrows */
.slider-arrow {
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5da8ae;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: 0.3s ease;
}

.slider-arrow:hover {
    background: #7dd5db;
    color: white;
    cursor: pointer;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: -50px; /* further out from the card */
}

.next-arrow {
    right: -50px;
}

/* Dots */
.slick-dots {
    margin-top: 30px;
}

.slick-dots li button:before {
    font-size: 10px;
    color: #bbb;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color, #007BFF);
}

/* Responsive */
@media (max-width: 768px) {
    .news-slider {
        padding: 0 40px;
    }

    .prev-arrow {
        left: -35px;
    }

    .next-arrow {
        right: -35px;
    }

    .news-date {
        width: 55px;
        padding: 6px 8px;
    }

    .news-date .day {
        font-size: 1rem;
    }

    .news-content {
        padding: 15px;
    }
}



 .nouveautes {
        padding: 80px 0;
        position: relative;
    }

    .nouveautes .section-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .nouveautes .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: #fff;
    }

    .nouveautes .section-header p {
        color: #a8b2b9;
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 30px;
    }

    .section-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px 0;
    }

    .divider-line {
        height: 1px;
        width: 100px;
        background-color: #5da8ae;
    }

    .divider-icon {
        margin: 0 20px;
        color: #5da8ae;
        font-size: 1.5rem;
    }

    /* Timeline Style */
    .timeline {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
    }

    .timeline::after {
        content: '';
        position: absolute;
        width: 2px;
        background-color: #5da8ae;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -1px;
    }

    .timeline-item {
        padding: 10px 40px;
        position: relative;
        width: 50%;
        box-sizing: border-box;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
    }

    .timeline-date {
        padding: 8px 15px;
        background-color: #5da8ae;
        color: white;
        border-radius: 20px;
        font-weight: bold;
        position: absolute;
        top: 20px;
        z-index: 1;
    }

    .timeline-item:nth-child(odd) .timeline-date {
        right: -75px;
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: -75px;
    }

    .timeline-content {
        padding: 20px;
        background-color: #2a3b4d;
        border-radius: 10px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
    }

    .timeline-image {
        height: 220px;
        background-size: cover;
        background-position: center;
        border-radius: 8px 8px 0 0;
        margin: -20px -20px 20px -20px;
    }

    .timeline-text {
        flex: 1;
    }

    .timeline-text h3 {
        margin-top: 0;
        color: #fff;
        font-size: 1.4rem;
    }

    .timeline-text p {
        color: #a8b2b9;
        margin-bottom: 15px;
    }

    .timeline-source {
        color: #5da8ae;
        font-size: 0.9rem;
        margin-bottom: 15px;
        font-style: italic;
    }
.sourceLink{
        text-decoration: underline;

}
    .btn-secondary {
        display: inline-block;
        padding: 8px 20px;
        background-color: transparent;
        color: #5da8ae;
        border: 1px solid #5da8ae;
        border-radius: 5px;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .btn-secondary:hover {
        background-color: #3b7b80;
        color: white;
    }

    .view-more-nouveautes {
        text-align: center;
        margin-top: 50px;
    }

    .view-more-btn {
        display: inline-flex;
        align-items: center;
        padding: 12px 25px;
        background-color: #5da8ae;
        color: white;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .view-more-btn:hover {
        background-color: #5da8ae;
        transform: translateX(5px);
    }

    .view-more-btn i {
        margin-left: 8px;
        transition: all 0.3s ease;
    }

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

    /* Responsive Design */
    @media (max-width: 768px) {
        .timeline::after {
            left: 31px;
        }

        .timeline-item {
            width: 100%;
            padding-left: 70px;
            padding-right: 25px;
        }

        .timeline-item:nth-child(even) {
            left: 0;
        }

        .timeline-item:nth-child(odd) .timeline-date,
        .timeline-item:nth-child(even) .timeline-date {
            left: 15px;
            right: auto;
        }

        .nouveautes .section-header h2 {
            font-size: 2rem;
        }

        .nouveautes .section-header p {
            font-size: 1rem;
        }
    }



     .sponsor-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 40px;
    }
    
    .sponsor-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .sponsor-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 25px;
        background: rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: 120px;
    }
    
    .sponsor-logo img {
        max-width: 80%;
        max-height: 80px;
        object-fit: fill;
    }
    
    .sponsor-content {
        padding: 20px 25px;
        text-align: center;
    }
    
    .sponsor-content h3 {
        color: white;
        margin-bottom: 8px;
    }
    
    .sponsor-content p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 15px;
    }
    
    .sponsor-tag {
        display: inline-block;
        padding: 5px 15px;
        background: rgba(155, 89, 182, 0.2);
        color: #9b59b6;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
    }

@media (min-width: 769px) and (max-width: 1074px) {
.login-btn{
  padding: 5px;
}
.navbar ul li a{
  font-size: 10px;
}
.wordLogo{
  font-size: 15px;
}
.logo-icon{
  font-size: 1rem;
}
}
    

@media (width: 344px){
.read-more{
  font-size: 0.7rem;
}

}



.custom-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.page-btn {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  background: white;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.page-btn:hover {
  background: #f8f9fa;
  border-color: #5da8ae;
  color: #5da8ae;
}
.page-btn.active {
  background: #5da8ae;
  color: white;
}
.service-regions {
  margin: 12px 0;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #5da8ae;
}
.regions-label { font-weight: 600; margin-bottom: 8px; }
.region-tag-small {
  background: #5da8ae;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
}





/* Styles pour le dropdown profil */
.profile-dropdown {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: var(--transition);
    background-color: transparent;
    cursor: pointer;
}

.profile-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.profile-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.profile-trigger .fa-chevron-down {
    font-size: 0.7rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.profile-dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Menu déroulant */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    margin-top: 10px;
}

.profile-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin-left: 0;
}

.dropdown-menu li:first-child a {
    border-radius: 4px 4px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 4px 4px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid #f8f9fa;
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #5da8ae;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu .fas {
    width: 16px;
    color: var(--secondary-color);
}

.dropdown-menu a:hover .fas {
    color: #5da8ae;
}

/* Désactiver l'effet de soulignement pour le profile trigger */
.profile-trigger::after {
    display: none;
}

.profile-trigger:hover::after {
    display: none;
}