/*
Theme Name: Corpus Medical
Theme URI: http://localhost/corpus-medical
Author: Le Corpus Medical
Author URI: http://localhost/corpus-medical
Description: Thème personnalisé pour Le Corpus Medical
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: corpus-medical
*/

:root {
    --primary-color: #1B3B64;
    --accent-color: #4A90E2;
    --text-color: #333333;
    --white: #FFFFFF;
    --dark-blue: #15304F;
    --light-gray: #F5F5F5;
}

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

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 90px; /* Ajuster cette valeur en fonction de la hauteur de votre header */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 48px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-primary:hover {
    background-color: var(--white);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.button-primary .icon {
    width: 16px;
    height: 16px;
    margin: 0;
}

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

/* Header Styles */
.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
}

/* Admin Bar Fix */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Ajustement du contenu pour compenser le header fixe */
body {
    padding-top: 90px; /* Ajuster cette valeur en fonction de la hauteur de votre header */
}

.admin-bar body {
    padding-top: 122px; /* 90px + 32px pour la barre d'admin */
}

@media screen and (max-width: 782px) {
    .admin-bar body {
        padding-top: 136px; /* 90px + 46px pour la barre d'admin mobile */
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }

    body {
        padding-top: 70px; /* Réduire le padding pour mobile */
    }

    .admin-bar body {
        padding-top: 102px; /* 70px + 32px */
    }

    @media screen and (max-width: 782px) {
        .admin-bar body {
            padding-top: 116px; /* 70px + 46px */
        }
    }
}

/* Ajout de la marge supérieure pour la page d'archive */
.post-type-archive-news #primary {
    padding-top: 120px;
}

.top-header {
    position: relative;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
}

.site-branding {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.site-title {
    color: white;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
}

.site-description {
    color: white;
    font-size: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-navigation .nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu > li:not(.projects-menu-item) > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-menu > li:not(.projects-menu-item) > a:hover::after {
    transform: scaleX(1);
}

.projects-menu-item > a::after {
    display: none;
}

.button-primary.donate-button {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.button-primary.donate-button:hover {
    background-color: white;
    color: var(--primary-color);
}

.icon-heart {
    width: 24px;
    height: 24px;
    fill: black;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

/* Soulignement pour les liens standards */
.nav-menu > li:not(.menu-item-has-children) > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.nav-menu > li:not(.menu-item-has-children) > a:hover::after {
    width: 100%;
}

/* Styles spécifiques pour "nos projets" */
.projects-menu-item > a {
    display: flex;
    align-items: center;
    padding-right: 20px;
    position: relative;
}


/* Sous-menu styles */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.projects-menu-item:hover .sub-menu {
    display: block;
}

.sub-menu li {
    list-style: none;
}

.sub-menu a {
    color: var(--primary-color) !important;
    padding: 8px 20px;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
}

.sub-menu a:hover {
    background: rgba(0,0,0,0.05);
    color: var(--accent-color) !important;
    padding-left: 25px;
}

/* Donation Button */
.donate-button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}

.donate-button:hover {
    background-color: var(--white);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive Menu */
@media (max-width: 1024px) {
    .header-content {
        gap: 1rem;
    }

    .main-navigation {
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: fixed;
        width: 100%;
        z-index: 1000;
        padding: 0.5rem 0;
    }

    body {
        padding-top: 70px; /* Réduire le padding pour mobile */
    }

    .header-content {
        flex-direction: column;
        padding: 0.5rem 0;
        gap: 1rem;
    }

    .site-branding {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .site-description {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .header-right {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation {
        width: 100%;
    }

    .nav-menu {
        display: none; /* Le menu sera géré par JavaScript pour un menu hamburger */
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
        text-align: center;
        position: relative;
    }

    .nav-menu > li > a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    .menu-item-has-children > a::before {
        display: none; /* Supprime la flèche par défaut */
    }

    .menu-item-has-children > a::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .menu-item-has-children.active > a::after {
        content: '-';
    }

    .sub-menu {
        display: none;
        position: static;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        padding: 0;
        margin: 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .sub-menu.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .sub-menu li {
        text-align: center;
    }

    .sub-menu a {
        color: white !important;
        padding: 12px 20px;
        display: block;
        font-size: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sub-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--accent-color) !important;
    }

    /* Ajustement du contenu principal */
    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 2rem 0;
    }

    /* Ajustement des marges pour les sections principales */
    .hero-section,
    .about-section,
    .projects-section,
    .news-section,
    .testimonials-section,
    .partners-section {
        margin-top: 1rem;
    }
}

/* Admin Bar Fix */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

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

.site-branding img {
    max-height: 60px;
    width: auto;
    margin-bottom: 0;
}

.site-slogan {
    color: var(--white);
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

/* Soulignement des liens principaux */
.nav-menu > li:not(.projects-menu-item) > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.nav-menu > li:not(.projects-menu-item) > a:hover::after {
    width: 100%;
}

/* Flèche pour les sous-menus */
.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item-has-children > a::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.3s ease;
    position: relative;
    top: -2px;
}

.menu-item-has-children:hover > a::before {
    transform: rotate(-135deg);
    top: 2px;
}

/* Sous-menu styles */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.sub-menu li {
    list-style: none;
}

.sub-menu a {
    color: var(--primary-color) !important;
    padding: 8px 20px;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* .sub-menu a::after {
    display: none;
} */

.sub-menu a:hover {
    background: rgba(0,0,0,0.05);
    color: var(--accent-color) !important;
    padding-left: 25px;
}

/* Menu item with children */
.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.3s ease;
    position: relative;
    top: -2px;
    background-color: transparent;
} */

.menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    top: 2px;
}

/* Donation Button */
.donation-button {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 30px;
    }
}

/* Icon styles */
.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-left: 8px;
    vertical-align: middle;
}

/* Footer Styles */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-widget li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.footer-widget a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-widget a:hover {
    color: var(--accent-color);
}


.footer-widget {
    padding: 0 20px;
}

.footer-widget:nth-child(2) {
    padding-left: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
}

.widget-title {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--accent-color);
}


.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info .icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: var(--dark-blue);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

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

.social-link:hover {
    background-color: var(--accent-color);
}

.social-link .icon {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-widget {
        padding: 0;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        margin-top: 20px;
    }
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('assets/images/wave.svg') no-repeat bottom center;
    background-size: cover;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    color: var(--white);
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-content h1 .highlight {
    color: var(--accent-color);
    display: inline;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.hero-circles {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.circle-1 {
    width: 500px;
    height: 500px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
}

.circle-2 {
    width: 400px;
    height: 400px;
    right: 150px;
    top: 50%;
    transform: translateY(-40%);
    background: rgba(74, 144, 226, 0.1);
}

.circle-3 {
    width: 300px;
    height: 300px;
    right: 100px;
    top: 50%;
    transform: translateY(-30%);
    background: var(--accent-color);
    opacity: 0.15;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 35px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.hero-button .arrow-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.hero-button:hover .arrow-icon {
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .hero-circles {
        right: -150px;
    }
    
    .hero-content h1 {
        font-size: 56px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image {
        min-height: 400px;
        order: -1;
    }
    
    .hero-circles {
        opacity: 0.5;
        right: -100px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-image {
        min-height: 300px;
    }
    
    .hero-circles {
        opacity: 0.3;
        right: -200px;
    }
    
    .hero-button {
        width: 100%;
        justify-content: center;
    }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .hero-circles {
        right: -200px;
        width: 500px;
        height: 500px;
    }
    
    .circle-1 {
        width: 500px;
        height: 500px;
    }
    
    .circle-2 {
        width: 375px;
        height: 375px;
        top: 62.5px;
        left: 62.5px;
    }
    
    .circle-3 {
        width: 250px;
        height: 250px;
        top: 125px;
        left: 125px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-circles {
        opacity: 0.3;
        right: -250px;
    }
    
    .button-group {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

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

.about-content {
    padding-right: 40px;
}

.section-title {
    color: var(--primary-color);
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: 700;
}

.about-description {
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 60px;
}

.about-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
    }
}

/* Projects Grid */
.projects-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.project-item {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.project-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
}

.project-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.project-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.project-description {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        padding-right: 0;
        text-align: center;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 5%);
    position: relative;
    width: 100%;
}

.news-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reset des styles Slick */
.news-slider.slick-initialized {
   
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

.news-slider .slick-list,
.news-slider .slick-track {
    width: 100% !important;
    transform: none !important;
    display: contents !important;
}

.news-column.slick-slide {
    width: 100% !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}

/* Masquer les points de navigation Slick */
.news-slider .slick-dots {
    display: none !important;
}

/* Styles responsifs */
@media (max-width: 1200px) {
    .news-slider.slick-initialized {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .news-slider.slick-initialized {
        grid-template-columns: 1fr !important;
    }
    
    .news-section {
        padding: 60px 0;
    }
}

.news-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 42px;
    position: relative;
    padding-bottom: 20px;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.news-slider {
    display: flex;
    gap: 30px;
    width: 100%;
}

.news-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

@media (max-width: 1200px) {
    .news-slider {
        flex-wrap: wrap;
    }
    
    .news-column {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .news-slider {
        flex-direction: column;
    }
    
    .news-column {
        flex: 0 0 100%;
    }
    
    .news-section {
        padding: 60px 0;
    }
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.news-card:hover {
    transform: translateY(-8px);
}

.news-card:hover::after {
    opacity: 1;
}

.news-image {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 65px;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.news-date .day {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.news-date .month {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.card-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.news-title {
    margin-bottom: 20px;
}

.news-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: var(--accent-color);
}

.news-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-color);
}

.news-meta .meta-item .icon {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
}

.news-meta .meta-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-color);
}

.news-excerpt {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.85;
}

.read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.read-more:hover {
    color: var(--primary-color);
    gap: 15px;
}

.read-more .icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.read-more:hover .icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .card-content {
        padding: 25px;
    }

    .news-title a {
        font-size: 20px;
    }

    .news-meta {
        flex-direction: column;
        gap: 15px;
    }

    .news-excerpt {
        font-size: 15px;
        margin-bottom: 25px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 42px;
    position: relative;
    padding-bottom: 20px;
}

.partners-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partner-logo {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 180px;
}

.partner-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.partner-logo:hover {
    transform: translateY(-8px);
}

.partner-logo:hover::after {
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

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

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .partner-logo {
        height: 160px;
        padding: 25px;
    }
    
    .partner-logo img {
        max-height: 100px;
    }
}

@media (max-width: 576px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .partner-logo {
        height: 140px;
        padding: 20px;
    }
    
    .partner-logo img {
        max-height: 90px;
    }
}

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

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

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

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

.project-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-title {
    margin-bottom: 15px;
}

.project-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--accent-color);
}

.project-excerpt {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.meta-item .icon {
    width: 16px;
    height: 16px;
    fill: var(--accent-color);
}

.project-card .button {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .project-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* News Card Styles */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.news-card:hover {
    transform: translateY(-8px);
}

.news-card:hover::after {
    opacity: 1;
}

.news-image {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 65px;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.news-date .day {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.news-date .month {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.card-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.news-title {
    margin-bottom: 20px;
}

.news-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: var(--accent-color);
}

.news-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-color);
}

.news-meta .meta-item .icon {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
}

.news-meta .meta-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-color);
}

.news-excerpt {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.85;
}

.read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.read-more:hover {
    color: var(--primary-color);
    gap: 15px;
}

.read-more .icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.read-more:hover .icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .card-content {
        padding: 25px;
    }

    .news-title a {
        font-size: 20px;
    }

    .news-meta {
        flex-direction: column;
        gap: 15px;
    }

    .news-excerpt {
        font-size: 15px;
        margin-bottom: 25px;
    }
}

/* Testimonial Card Styles */
.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.testimonial-content {
    position: relative;
    padding-top: 30px;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.author-role {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    padding: 0 40px;
}

.testimonials-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1;
}

.testimonials-slider .slick-prev {
    left: 0;
}

.testimonials-slider .slick-next {
    right: 0;
}

.testimonials-slider .slick-arrow:hover {
    background: var(--accent-color);
    color: var(--white);
}

.testimonials-slider .slick-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.testimonials-slider .slick-dots li {
    margin: 0 5px;
}

.testimonials-slider .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    font-size: 0;
    padding: 0;
    cursor: pointer;
}

.testimonials-slider .slick-dots .slick-active button {
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px;
    }

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

    .testimonials-slider {
        padding: 0;
    }
}

/* Partner Card Styles */
.partner-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.partner-logo {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.02);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.partner-logo a:hover img {
    opacity: 0.8;
}

.partner-name {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.partner-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.partner-description {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Grid Layouts */
.projects-grid,
.news-grid,
.testimonials-grid,
.partners-grid {
    display: grid;
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

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

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

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: center;
}

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

.project-card:hover,
.news-card:hover,
.testimonial-card:hover,
.partner-card:hover {
    transform: translateY(-5px);
}

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

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

/* Image Containers */
.card-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Container Spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .projects-grid,
    .news-grid,
    .testimonials-grid,
    .partners-grid {
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .card-content {
        padding: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Archive Pages Styles */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
    background: var(--light-gray);
    border-radius: 10px;
}

.page-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-description {
    font-size: 18px;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Archive Grid Layouts */
.projects-grid,
.news-grid,
.testimonials-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

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

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

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

/* Partners Filters */
.partners-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-button {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    background: transparent;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Pagination */
.navigation.pagination {
    margin-top: 40px;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--white);
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
}

.page-numbers:hover:not(.current) {
    background: var(--light-gray);
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 15px;
}

.page-numbers .icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 36px;
    }

    .projects-grid,
    .news-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .partners-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-button {
        width: 100%;
        text-align: center;
    }
}

/* Single Post Styles */
.project-single,
.news-single,
.testimonial-single,
.partner-single {
    margin-bottom: 60px;
}

/* Hero Sections */
.project-hero,
.news-hero,
.testimonial-hero,
.partner-hero {
    background: var(--light-gray);
    padding: 60px 0;
    margin-bottom: 40px;
}

.entry-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Meta Information */
.project-meta,
.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.meta-item .icon {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}

/* Featured Images */
.project-featured-image,
.news-featured-image {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.project-featured-image img,
.news-featured-image img {
    width: 100%;
    height: auto;
}

/* Content Layout */
.project-content-wrapper,
.news-content-wrapper,
.testimonial-content-wrapper,
.partner-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.news-content{
padding: 20px;
}
.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.entry-content p {
    margin-bottom: 20px;
}

/* Sidebar Styles */
.project-sidebar,
.news-sidebar,
.testimonial-sidebar,
.partner-sidebar {
    position: sticky;
    top: 100px;
}

/* CTA Boxes */
.project-cta,
.join-cta,
.partnership-cta {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.project-cta h3,
.join-cta h3,
.partnership-cta h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.project-cta p,
.join-cta p,
.partnership-cta p {
    margin-bottom: 20px;
}

/* Author Box */
.author-box {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

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

.author-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Related Items */
.related-projects,
.related-news,
.related-testimonials,
.related-partners {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.related-projects h3,
.related-news h3,
.related-testimonials h3,
.related-partners h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.related-projects-grid,
.related-news-list,
.related-testimonials-grid,
.related-partners-grid {
    display: grid;
    gap: 20px;
}

/* Share Links */
.project-share,
.news-share,
.testimonial-share,
.partner-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.share-label {
    font-weight: 500;
    color: var(--text-color);
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.share-link:hover {
    background: var(--primary-color);
}

.share-link:hover .icon {
    fill: var(--white);
}

.share-link .icon {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

/* Partner Specific Styles */
.partner-header {
    display: flex;
    align-items: center;
    gap: 40px;
}

.partner-logo {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
}

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

.partner-type {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.partner-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.partner-website:hover {
    color: var(--primary-color);
}

/* Testimonial Specific Styles */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 30px;
}

.testimonial-author .author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-role,
.author-department {
    display: block;
    color: var(--text-color);
    margin-top: 5px;
}

.testimonial-quote {
    position: relative;
    padding-top: 40px;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    fill: var(--accent-color);
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-content-wrapper,
    .news-content-wrapper,
    .testimonial-content-wrapper,
    .partner-content-wrapper {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (max-width: 768px) {
    .project-hero,
    .news-hero,
    .testimonial-hero,
    .partner-hero {
        padding: 40px 0;
    }

    .entry-title {
        font-size: 36px;
    }

    .project-content-wrapper,
    .news-content-wrapper,
    .testimonial-content-wrapper,
    .partner-content-wrapper {
        grid-template-columns: 1fr;
    }

    .project-meta,
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }

    .partner-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .partner-logo {
        margin: 0 auto;
    }

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

/* Sunu Jigeen Page Styles */
.sunu-jigeen-hero {
    background-image: url('assets/images/sunu-jigeen-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

@media (max-width: 768px) {
    .sunu-jigeen-hero {
        padding: 120px 0 60px;
        margin-top: 60px; /* Ajouter une marge en haut pour mobile */
    }

    .page-template-page-sunu-jigeen .site-main {
        padding-top: 70px; /* Ajouter un padding pour éviter le chevauchement avec le header */
    }

    .sunu-jigeen-hero .page-title {
        font-size: 40px;
    }

    .sunu-jigeen-hero .hero-description {
        font-size: 18px;
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .hero-button {
        width: 100%;
        text-align: center;
    }
}

.sunu-jigeen-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 59, 100, 0.85);
    z-index: 1;
}

.sunu-jigeen-hero .container {
    position: relative;
    z-index: 2;
}

.sunu-jigeen-hero .page-title {
    color: var(--white);
    font-size: 64px;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sunu-jigeen-hero .page-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

.sunu-jigeen-hero .hero-description {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.hero-button {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button.primary {
    background: var(--accent-color);
    color: var(--white);
}

.hero-button.primary:hover {
    background: var(--white);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.hero-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.site-main {
    position: relative;
    z-index: 1;
}

.sunu-jigeen-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.main-content {
    width: 100%;
}

.program-features {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    padding: 20px;
}

.feature-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
}

.feature-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

.join-section {
    background: var(--light-gray);
    text-align: center;
    padding: 80px 0;
}

.join-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 30px;
}

@media (max-width: 768px) {
    .sunu-jigeen-hero {
        padding: 100px 0 40px;
    }

    .sunu-jigeen-hero .page-title {
        font-size: 36px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .program-features {
        position: relative;
        top: 0;
        margin-top: 40px;
    }
}

/* About Program Section */
.about-program {
    margin-bottom: 60px;
    text-align: center;
}

.about-program h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 30px;
}

.about-program p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.program-objectives {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.program-objectives h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.program-objectives ul {
    list-style: none;
    padding: 0;
}

.program-objectives li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text-color);
}

.program-objectives li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.program-benefits {
    margin-bottom: 60px;
}

.program-benefits h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.benefit-item h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-item p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 0;
}

/* How it Works Section */
.how-it-works {
    margin-bottom: 60px;
}

.how-it-works h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

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

.step p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .program-objectives {
        padding: 30px;
    }

    .about-program h2,
    .how-it-works h2 {
        font-size: 28px;
    }

    .step {
        padding: 30px;
    }
}

/* Cabinet Info Sticky Panel */
.cabinet-info-panel {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    width: 300px;
}

.cabinet-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.cabinet-info-item:last-child {
    margin-bottom: 0;
}

.cabinet-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cabinet-info-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.cabinet-info-text {
    flex: 1;
}

.cabinet-info-text h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 5px;
}

.cabinet-info-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .cabinet-info-panel {
        position: static;
        transform: none;
        width: 100%;
        border-radius: 10px;
        margin-bottom: 30px;
    }
}

/* Specialties Section */
.specialties-section {
    margin-bottom: 80px;
}

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

.specialties-header h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
}

.specialties-header p {
    color: var(--text-color);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.specialty-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.specialty-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.specialty-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    margin: 0;
    font-size: 24px;
}

@media (max-width: 768px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .specialty-card img {
        height: 250px;
    }
    
    .specialty-card h3 {
        font-size: 20px;
    }
}

/* Appointment Section */
.appointment-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

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

.appointment-header h2 {
    color: #1B3B64;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.appointment-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Styles pour les étapes du formulaire */
.am-step {
    margin-bottom: 30px;
}

.am-step-title {
    color: #1B3B64;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Styles pour les cartes de service */
.am-service-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.am-service-card:hover {
    border-color: #4A90E2;
    box-shadow: 0 4px 12px rgba(74,144,226,0.1);
}

/* Styles pour le calendrier */
.am-calendar {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

/* Styles pour les champs de formulaire */
.am-form-field {
    margin-bottom: 20px;
}

.am-form-field input,
.am-form-field select,
.am-form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
}

/* Styles pour les boutons */
.am-btn {
    background-color: #1B3B64;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.am-btn:hover {
    background-color: #4A90E2;
}

/* Styles pour les messages d'erreur */
.am-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Styles pour les messages de succès */
.am-success {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .appointment-section {
        padding: 40px 0;
    }
    
    .appointment-header h2 {
        font-size: 2rem;
    }
    
    .appointment-container {
        padding: 20px;
    }
}

/* Footer Sunu Jigeen */
.sunu-jigeen-footer {
    background-color: #1B3B64;
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.sunu-jigeen-footer .footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.sunu-jigeen-footer .widget-title {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.sunu-jigeen-footer .footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sunu-jigeen-footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sunu-jigeen-footer .footer-menu li {
    margin-bottom: 12px;
}

.sunu-jigeen-footer .footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sunu-jigeen-footer .footer-menu a:hover {
    color: #4A90E2;
}

.sunu-jigeen-footer .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sunu-jigeen-footer .contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.sunu-jigeen-footer .contact-info .icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: currentColor;
}

.sunu-jigeen-footer .contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sunu-jigeen-footer .contact-info a:hover {
    color: #4A90E2;
}

.sunu-jigeen-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.sunu-jigeen-footer .social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.sunu-jigeen-footer .social-link:hover {
    color: #4A90E2;
}

.sunu-jigeen-footer .social-link .icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.sunu-jigeen-footer .copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .sunu-jigeen-footer {
        padding: 40px 0 20px;
    }

    .sunu-jigeen-footer .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sunu-jigeen-footer .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .sunu-jigeen-footer .social-links {
        justify-content: center;
    }
}

/* Calendar Section */
.calendar-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

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

.calendar-header h2 {
    color: #1B3B64;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.calendar-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
}

.calendar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(0);
}

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

.calendar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1B3B64, #3498db);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.calendar-date {
    background: #1B3B64;
    color: white;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.calendar-card:hover .calendar-date {
    background: #3498db;
}

.calendar-date .month {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.calendar-date .year {
    font-size: 1rem;
    opacity: 0.8;
}

.calendar-content {
    padding: 25px;
    position: relative;
}

.calendar-content h3 {
    color: #1B3B64;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.calendar-card:hover .calendar-content h3 {
    color: #3498db;
}

.calendar-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.calendar-events {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.calendar-events::-webkit-scrollbar {
    width: 6px;
}

.calendar-events::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.calendar-events::-webkit-scrollbar-thumb {
    background: #1B3B64;
    border-radius: 3px;
}

.calendar-event {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.calendar-event:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.event-date {
    display: block;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-title {
    color: #1B3B64;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.event-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calendar-section {
        padding: 40px 0;
    }

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

    .calendar-grid {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 20px;
    }

    .calendar-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.calendar-dots {
    display: flex;
    gap: 10px;
}

.calendar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-dot.active {
    background-color: #1B3B64;
    transform: scale(1.2);
}

.calendar-prev,
.calendar-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #1B3B64;
    transition: color 0.3s ease;
}

.calendar-prev:hover,
.calendar-next:hover {
    color: #3498db;
}

/* Styles du bouton hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px 0;
    transition: transform 0.3s ease-in-out;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .nav-menu {
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
    }

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

    /* Ajustement de la position du menu déroulant */
    .sub-menu {
        display: none;
        padding-left: 1rem;
    }

    .menu-item-has-children:hover .sub-menu,
    .menu-item-has-children:focus-within .sub-menu {
        display: block;
    }

    /* Animation du menu */
    .nav-menu > li {
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease-in-out;
    }

    .nav-menu.active > li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu > li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu > li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu > li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu > li:nth-child(4) { transition-delay: 0.4s; }
}