/* Variables CSS */
:root {
    --primary-color: #0056b3; /* Bleu ANDDH */
    --secondary-color: #FF6B35; /* Orange ANDDH */
    --accent-color: #2EC4B6;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --black-color: #000000;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}



.newsletter-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    display: none;
}

.newsletter-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
}

.newsletter-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
}
.actions-page { background-color: #f0f0f0 !important; }
.project-card { border: 2px dashed red !important; }
.action-section { display: block !important; }















/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
     margin: 0 auto;
    /* margin: 50px; */
    padding: 0 15px;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background-color: #e05a2b;
    color: var(--white-color);
}

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

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

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

.btn-light:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

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

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

.btn-small {
    padding: 6px 12px;
    font-size: 0.9rem;
}

.btn-donate {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
}

.btn-donate:hover {
    background-color: #e05a2b;
    transform: translateY(-3px);
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-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(--secondary-color);
}

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

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary-color);
}

.read-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

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














/* Barre supérieure */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left  {
   
    display: flex;
}

.top-bar-left i {
    margin-right: 5px;
    display: flex;
}

.top-bar-right a {
    color: var(--white-color);
    margin-left: 15px;
    font-size: 0.9rem;
}

.top-bar-right a:hover {
    color: var(--secondary-color);
}

/* En-tête principal */
.main-header {
    padding: 20px 0;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo-container img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--gray-color);
}











/* Navigation principale */
.main-nav {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    align-items: center;
    
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu > li > a:hover {
    color: var(--primary-color);
}

.nav-menu > li > a i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    width: 220px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding-left: 25px;
}

.search-box {
    margin-left: 20px;
}

.search-box form {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 200px;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary-color);
}

.search-box button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: #004494;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    padding: 15px;
    text-align: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-menu ul {
    padding: 20px;
}

.mobile-menu ul li {
    margin-bottom: 10px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px 0;
    color: var(--dark-color);
    font-weight: 500;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.mobile-submenu.active {
    max-height: 500px;
}











/* 
 Slider principal */
.main-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white-color);
    width: 100%;
    padding: 0 20px;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    
}

.slide-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slide-buttons .btn {
    min-width: 150px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background-color: var(--primary-color);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--white-color);
    transform: scale(1.2);
}

 

















/* Section À propos */
.about-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

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














/* Section Actions */
.actions-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.action-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.action-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.action-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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


















/* Section Actualités */
.news-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

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

.news-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

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

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

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: capitalize;
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.news-content h3 a {
    color: var(--dark-color);
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    margin-bottom: 15px;
    color: var(--gray-color);
}























/* Section Campagnes */
.campaigns-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.campaigns-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

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

.campaign-card {
    min-width: 300px;
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    scroll-snap-align: start;
    margin-bottom: 50px;
}

.campaign-image {
    height: 200px;
    overflow: hidden;
}

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

.campaign-content {
    padding: 20px;
}

.campaign-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.campaign-theme {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.campaign-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.campaign-content p {
    margin-bottom: 15px;
    color: var(--gray-color);
}















/* Section Partenaires */
.partners-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.partners-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
}

.partner-item {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: var(--white-color);
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}













/* Section CTA */
.cta-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    background-image: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}












/* Pied de page */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.footer-top {
    padding: 80px 0 40px;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.newsletter-form input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
    outline: none;
}

.newsletter-form button {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #e05a2b;
}

.contact-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-infos  {
 
  flex-direction: column;
  display: flex;
      
        gap: 0.5rem;
        transition: color 0.3s ease;
    
}
.contact-info li {
    margin-bottom: 10px;
    display: flex;
   
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom p i {
    color: var(--secondary-color);
    margin: 0 5px;
}











/* Page Devenir Membre */
.become-member-page {
    padding: 60px 0;
}

.membership-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .membership-content {
        grid-template-columns: 1fr 1fr;
    }
}

.membership-info h2,
.membership-form h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.benefit-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.conditions-list {
    list-style-type: none;
    padding-left: 0;
}

.conditions-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.conditions-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.membership-form {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

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

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

.membership-form input,
.membership-form textarea,
.membership-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.membership-form input:focus,
.membership-form textarea:focus,
.membership-form select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.membership-form textarea {
    min-height: 120px;
}

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

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.hint {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.membership-cta {
    text-align: center;
    padding: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 8px;
}

.membership-cta h2 {
    color: var(--white-color);
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

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














/* =============================================
   Styles spécifiques aux pages
   ============================================= */

/* Page À Propos */
.about-page .about-section {
    margin-bottom: 60px;
}

.about-page .mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .about-page .mission-vision-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-page .mission-card,
.about-page .vision-card,
.about-page .values-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.about-page .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 576px) {
    .about-page .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .about-page .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-page .team-member {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.about-page .member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.about-page .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page .documents-list {
    margin-top: 30px;
}

.about-page .document-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 15px;
}

.about-page .document-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 20px;
}















/* Page Actions */
.actions-page .action-section {
    margin-bottom: 60px;
}

.actions-page .action-projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .actions-page .action-projects {
        grid-template-columns: repeat(2, 1fr);
    }
}

.actions-page .project-card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.actions-page .project-image {
    height: 200px;
    overflow: hidden;
}

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

.actions-page .project-card:hover .project-image img {
    transform: scale(1.05);
}

.actions-page .project-content {
    padding: 20px;
}

.actions-page .project-date {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.actions-page .project-location {
    margin-bottom: 15px;
    color: var(--gray-color);
}















/* Page Actualités */
.news-page .news-section {
    margin-bottom: 60px;
}

.news-page .press-releases-list {
    margin-top: 30px;
}

.news-page .press-release-item {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.news-page .release-date {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.news-page .documents-list {
    margin-top: 30px;
}

.news-page .document-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 15px;
}

.news-page .newsletters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 576px) {
    .news-page .newsletters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.news-page .newsletter-card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.news-page .newsletter-image {
    height: 200px;
    overflow: hidden;
}

.news-page .newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-page .newsletter-content {
    padding: 20px;
    text-align: center;
}

.news-page .testimonies-slider {
    margin-top: 30px;
}

.news-page .testimony-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    position: relative;
}

.news-page .testimony-card::before {
    content: '"';
    font-size: 5rem;
    color: rgba(0, 86, 179, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.news-page .testimony-author {
    margin-top: 20px;
    font-style: italic;
    text-align: right;
}














/* Page Campagnes */
.campaigns-page .campaign-section {
    margin-bottom: 60px;
}

.campaigns-page .campaigns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .campaigns-page .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.campaigns-page .campaign-card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.campaigns-page .campaign-image {
    height: 200px;
    overflow: hidden;
}

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

.campaigns-page .campaign-card:hover .campaign-image img {
    transform: scale(1.05);
}

.campaigns-page .campaign-content {
    padding: 20px;
}

.campaigns-page .campaign-theme {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}


















/* Page Documentation */
.documentation-page .documentation-filters {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.documentation-page .filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .documentation-page .filter-form {
        grid-template-columns: repeat(3, 1fr);
    }
}

.documentation-page .documentation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.documentation-page .document-card {
    display: flex;
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.documentation-page .document-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 20px;
}

.documentation-page .document-meta {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.documentation-page .document-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Page Galerie */
.gallery-page .gallery-filters {
    margin-bottom: 30px;
    text-align: center;
}

.gallery-page .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery-page .btn-filter {
    background: var(--light-color);
    color: var(--dark-color);
    border: none;
}

.gallery-page .btn-filter.active {
    background: var(--primary-color);
    color: var(--white-color);
}

.gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-page .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-page .photo-item {
    position: relative;
}

.gallery-page .photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-page .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-page .photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.gallery-page .view-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-page .video-item {
    background: var(--white-color);
}

.gallery-page .video-thumbnail {
    position: relative;
    height: 200px;
}

.gallery-page .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-page .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.8);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.gallery-page .video-info {
    padding: 20px;
}
















/* Page Partenaires */
.partners-page .partners-tabs {
    margin-top: 40px;
}

.partners-page .tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.partners-page .tab-btn {
    background: var(--light-color);
    color: var(--dark-color);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.partners-page .tab-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
}

.partners-page .tab-content {
    display: none;
}

.partners-page .tab-content.active {
    display: block;
}

.partners-page .partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .partners-page .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partners-page .partner-card {
    display: flex;
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.partners-page .partner-logo {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--light-color);
}

.partners-page .partner-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.partners-page .partner-info {
    flex: 1;
    padding: 20px;
}

.partners-page .partner-type {
    color: var(--secondary-color);
    font-weight: 500;
    margin: 5px 0;
}

.partners-page .partner-since {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.partners-page .partner-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.partners-page .become-partner {
    margin-top: 60px;
    text-align: center;
    margin-bottom: 50px;
}

.partners-page .partner-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .partners-page .partner-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partners-page .partner-option {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}














/* Page Contact */
.contact-page .contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .contact-page .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-page .contact-form {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-page .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .contact-page .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-page .contact-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-page .info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-page .info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
}

.contact-page .social-links {
    margin-top: 40px;
}

.contact-page .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.contact-page .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    transition: var(--transition);
}

.contact-page .social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-page .contact-map {
    margin-top: 60px;
}

.contact-page #map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}








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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
    transition: all 0.3s;
}

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








/* Regional Offices Styles */
.regional-offices {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.office-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.office-header {
    padding: 15px;
    color: white;
    text-align: center;
}

.office-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.office-body {
    padding: 20px;
    text-align: center;
}

.office-icon {
    font-size: 2.5em;
    color: #3498db;
    margin-bottom: 15px;
}

.office-info {
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.9em;
}

.office-info p {
    margin: 8px 0;
}

.coordination-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid #3498db;
}

.coordination-info h3 {
    color: #3498db;
    margin-top: 0;
}

@media (max-width: 768px) {
    .offices-grid {
        grid-template-columns: 1fr;
    }
}











/* Offices Preview */
.offices-preview {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.office-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.badge i {
    margin-right: 8px;
}



/* Styles pour la section actualités */
.news-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.news-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #d32f2f;
}

.news-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #d32f2f;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #a02828;
}

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

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid #d32f2f;
    color: #d32f2f;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #d32f2f;
    color: #fff;
}

















/* Styles pour les logos partenaires */
.partner-logo {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: white;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.no-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    font-weight: bold;
    font-size: 24px;
}











/* Force l'affichage en couleur et le dimensionnement */
.partner-logo img {
    filter: none !important;
    -webkit-filter: none !important;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Conteneur pour uniformiser l'affichage */
.partner-logo {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 10px;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
}


