/* Variables globales */
:root {
    --primary-color: #022049;
    --secondary-color: #3498db;
    --text-color: #f5f5f5;
    --inverse-text: #022049;
    --light-bg: #0a2c5d;
    --dark-bg: #022049;
    --card-bg: #0a3876;
    --off-white: #f5f5f5;
    --transition: all 0.3s ease;
    --card-blue: #3080e8;
    --card-purple: #d252f7;
    --card-teal: #60dafb;
}

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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #022049;
    overflow-x: hidden;
}

/* Header et Navigation */
.header {
    height: 40vh;
    background: linear-gradient(rgba(2, 32, 73, 0.8), rgba(10, 44, 93, 0.8)), url('placeholder-header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--off-white);
    position: relative;
    overflow: hidden;
}

/* Animation de vagues pour le header */
.header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 70% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 25%);
    z-index: 1;
}

.header::after {
    content: '';
    position: absolute;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23346aa0' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.4;
    animation: floatWaves 60s linear infinite;
}

/* Animation pour les vagues */
@keyframes floatWaves {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.header-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.animate-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.animate-subtitle {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Animation de pulsation pour le sous-titre */
.animate-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    animation: pulseLine 2s ease-in-out infinite;
}

@keyframes pulseLine {
    0% {
        width: 40px;
        opacity: 0.6;
    }
    50% {
        width: 120px;
        opacity: 1;
    }
    100% {
        width: 40px;
        opacity: 0.6;
    }
}

/* Animation de particules flottantes */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    width: 8px;
    height: 8px;
    animation-delay: 1s;
    animation-duration: 25s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 50%;
    width: 4px;
    height: 4px;
    animation-delay: 2s;
    animation-duration: 30s;
}

.particle:nth-child(4) {
    top: 70%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 80%;
    width: 10px;
    height: 10px;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(6) {
    top: 80%;
    left: 30%;
    width: 5px;
    height: 5px;
    animation-delay: 5s;
    animation-duration: 28s;
}

.particle:nth-child(7) {
    top: 45%;
    left: 90%;
    animation-delay: 6s;
    animation-duration: 23s;
}

.particle:nth-child(8) {
    top: 10%;
    left: 40%;
    width: 7px;
    height: 7px;
    animation-delay: 7s;
    animation-duration: 27s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--translateX, 100px), var(--translateY, -100px));
        opacity: 0;
    }
}

/* Logo et Navigation */
.logo-header {
    position: absolute;
    top: 10px;
    height: auto;
    left: 10px;
    z-index: 10;
}

.logo-header.fixed {
    position: fixed;
    top: 70px;
    left: 5px;
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.logo-header.fixed.hidden {
    opacity: 0;
}

.logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(2, 32, 73, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    transform: translateY(-100%);
    animation: slideDown 0.5s forwards 1s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav a {
    color: var(--off-white);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    margin: 0 1rem;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

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

.nav a:hover::after {
    width: 70%;
    left: 15%;
}

/* Menu Hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--off-white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Media Queries pour le menu responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
        background-color: rgba(2, 32, 73, 0.6);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .menu-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-color);
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1050;
    }
    
    .menu-items.active {
        right: 0;
    }
    
    .menu-items li {
        margin: 15px 0;
        text-align: center;
    }
    
    .menu-items a {
        display: block;
        padding: 10px 20px;
        margin: 5px 20px;
        font-size: 1.2rem;
    }
    
    .nav {
        animation: none;
        padding: 0;
        transform: translateY(0) !important;
        background: transparent !important;
        box-shadow: none;
    }
    
    .nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-header.fixed {
        top: 15px;
        left: 15px;
        z-index: 1500;
    }
    
    .logo {
        width: 90px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    }
    
    .hamburger span {
        background: var(--off-white);
    }
}

/* Sections communes */
.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Animations de révélation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de zoom */
.zoom-on-hover {
    transition: transform 0.3s ease;
}

.zoom-on-hover:hover {
    transform: scale(1.05);
}

/* Biographie */
.bio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.bio-text-left, .bio-text-right {
    padding: 1.5rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bio-text-left h3, .bio-text-right h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.bio-text-left p, .bio-text-right p {
    margin-bottom: 1rem;
}

/* Carte flip */
.card-wrapper {
    perspective: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.zoom-scroll {
    transition: transform 0.8s ease, scale 0.8s ease;
}

article {
    position: relative;
    perspective: 1000px;
    width: 300px;
    height: 400px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

article .front,
article .back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.6s ease;
}

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

.back {
    transform: rotateY(180deg);
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.back h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.back p {
    font-size: 1rem;
    color: var(--text-color);
}

.card-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

input {
    position: absolute;
    scale: 0;
}

input:checked ~ article {
    transform: rotateY(180deg);
}

/* Animation de zoom au défilement */
.zoom-in {
    transform: scale(1.1);
}

.zoom-out {
    transform: scale(0.9);
}

/* Media Queries pour Responsive */
@media (max-width: 992px) {
    .bio-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .bio-text-left, .bio-text-right, .card-wrapper {
        order: 0;
    }
    
    article {
        width: 280px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .bio-layout {
        gap: 2rem;
    }
    
    article {
        width: 250px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    article {
        width: 220px;
        height: 320px;
    }
}

/* Médiation */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.grid-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--secondary-color);
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.3), rgba(52, 152, 219, 1));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 3px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    left: 0;
}

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

.timeline-content {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    margin-right: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 40px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: auto;
    left: -50px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* Conférences */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.conference-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.conference-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.conference-item:hover img {
    transform: scale(1.05);
}

.conference-item h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.conference-item p {
    padding: 0 1rem 1.5rem;
    color: #555;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section {
    text-align: left;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
    font-size: 1.2rem;
}

.footer-social-container {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 120px; /* Ensures space for the logo */
}

.footer-social-wrapper {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.footer-social-wrapper .social-links a {
    font-size: 2rem;
}

.footer-logo {
    position: absolute;
    right: 0;
    top: 10px;
}

.footer-logo img {
    width: 120px;
    height: auto;
    filter: brightness(1);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partner-logo {
    position: relative;
}

.alpha-logo {
    width: 100px;
    height: auto;
    filter: brightness(1);
    opacity: 1;
}

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

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Section Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contact-items-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.2rem;
}

.contact-info-card .social-links {
    margin-top: 2rem;
    justify-content: flex-start;
}

.contact-info-card .social-links a {
    font-size: 2.5rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 32, 73, 0.2);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .logo-header {
        top: 10px;
        left: 10px;
    }
    
    .logo {
        width: 80px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .alpha-logo {
        width: 80px;
        margin-top: 15px;
    }
}

/* Cards de statistiques */
.cards-container {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.cards {
    display: flex;
    justify-content: center;
}

/* Media Queries générales */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .nav a {
        display: block;
        padding: 0.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 70px;
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .social-links {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Section partenaires avec défilement infini */
.partners-section {
    background-color: #f9f9f9;
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

.partners-section::before,
.partners-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-section::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9, transparent);
}

.partners-section::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9, transparent);
}

.logos-slider {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 30px 0;
}

.logos-slide {
    display: flex;
    animation: slide 30s linear infinite;
    animation-play-state: running;
}

.logos-slider:hover .logos-slide {
    animation-play-state: paused;
}

.partner-logo {
    min-width: 150px;
    height: 80px;
    object-fit: contain;
    margin: 0 30px;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .partner-logo {
        min-width: 100px;
        height: 50px;
        margin: 0 15px;
    }
}

/* Contact section with Google reviews */
.reviews-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.google-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.google-logo i {
    color: #4285F4;
    margin-right: 0.5rem;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-score {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stars {
    color: #FBBC05;
    margin: 0.3rem 0;
}

.stars.small {
    font-size: 0.9rem;
}

.review-count {
    font-size: 0.85rem;
    color: #777;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.review-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.review-slide.active {
    opacity: 1;
}

.review-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reviewer {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.reviewer h4 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.review-text {
    font-style: italic;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-align: right;
}

.reviews-navigation {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.review-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.review-nav:hover {
    background: var(--secondary-color);
}

.google-review-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.google-review-link i {
    color: #4285F4;
}

/* Media Queries */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .reviews-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .reviews-carousel {
        height: 320px;
    }
}

/* Médiation section redesigned */
.mediation-container {
    width: 100%;
    padding: 20px;
}

.mediation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Disposition inversée pour la formation */
.mediation-content.reverse {
    flex-direction: row-reverse;
}

.mediation-image {
    flex: 0 0 35%;
}

.mediation-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mediation-text {
    flex: 0 0 40%;
    padding: 0 20px;
}

.mediation-content.reverse .mediation-text {
    padding-left: 0;
    padding-right: 30px;
}

.mediation-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.mediation-text p {
    line-height: 1.7;
}

.mediation-button {
    flex: 0 0 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(2, 32, 73, 0.2);
}

.contact-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

/* Pulse animation for the button */
.pulse-hover {
    position: relative;
}

.pulse-hover:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    opacity: 0.7;
    transform: scale(1);
    animation: none;
}

.pulse-hover:hover:before {
    animation: pulse 1.5s cubic-bezier(0.66, 0, 0, 1) infinite;
}

@keyframes pulse {
    to {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Conférence Hero Layout */
.conference-hero {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.conference-hero-image {
    width: 100%;
    height: 100%;
}

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

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

.conference-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 32, 73, 0.9), rgba(2, 32, 73, 0.6) 70%, rgba(2, 32, 73, 0.2));
    display: flex;
    align-items: center;
}

.conference-hero-content {
    width: 50%;
    padding: 0 50px;
    color: white;
}

.conference-hero-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.conference-hero-content p {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.conference-hero-content .contact-button {
    background: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.conference-hero-content .contact-button:hover {
    background: white;
    color: var(--primary-color);
}

/* Media Queries for responsive design */
@media (max-width: 992px) {
    .mediation-content, .mediation-content.reverse {
        flex-direction: column;
    }
    
    .mediation-image, .mediation-text, .mediation-button {
        flex: 0 0 100%;
    }
    
    .mediation-image {
        margin-bottom: 20px;
    }
    
    .mediation-text, .mediation-content.reverse .mediation-text {
        margin-bottom: 30px;
        padding: 0;
    }
    
    .conference-hero {
        height: auto;
    }
    
    .conference-hero-overlay {
        position: relative;
        background: var(--primary-color);
        padding: 30px 0;
    }
    
    .conference-hero-content {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .conference-hero-content h3 {
        font-size: 1.8rem;
    }
    
    .conference-hero-content p {
        font-size: 1rem;
    }
}

/* Sous-titres de section */
.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin: 3rem 0 2rem;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Conteneurs spécifiques */
.timeline-container, .conference-container {
    margin-top: 4rem;
    padding: 20px;
    background-color: rgba(248, 249, 250, 0.7);
    border-radius: 10px;
}

/* Timeline améliorée */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--secondary-color);
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.3), rgba(52, 152, 219, 1));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 3px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    left: 0;
}

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

.timeline-content {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    margin-right: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 40px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: auto;
    left: -50px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* Conférences améliorées */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.conference-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.conference-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.conference-item:hover img {
    transform: scale(1.05);
}

.conference-item h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.conference-item p {
    padding: 0 1rem 1.5rem;
    color: #555;
}

/* Media Queries pour le responsive */
@media (max-width: 992px) {
    .timeline-container, .conference-container {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 70px;
        left: 0;
    }
    
    .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-content::after, .timeline-item:nth-child(even) .timeline-content::after {
        left: -36px;
        right: auto;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .footer-social-container {
        min-height: 140px;
    }
    
    .footer-logo {
        top: 50px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 768px) {
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Blocage du défilement quand le menu est ouvert */
body.menu-open {
    overflow: hidden;
}

/* Intro Text */
.intro-text {
    padding: 1rem 0 3rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.lead-text {
    font-size: 1.6rem;
    font-weight: 500;
    color: white;
    line-height: 1.5;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-bg));
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lead-text::after {
    display: none;
}

.intro-text.active .lead-text {
    animation: floatUp 0.7s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .lead-text {
        font-size: 1.3rem;
        padding: 20px 15px;
        margin: 0 15px;
    }
}

