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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

a {
    text-decoration: none;
    color: #007B7B;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: #007B7B;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #005a5a;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Varela Round', 'Arial Rounded MT Bold', 'Helvetica Rounded', 'Arial', sans-serif;
    margin-bottom: 15px;
}

/* Header Styles */
header {
    background-color: white;
    position: relative;
    z-index: 100;
}

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

.logo img {
    height: 70px;
}

.header-buttons {
    display: flex;
    gap: 15px;
    margin-left: auto;
    margin-right: 20px;
}

.donate-btn {
    background-color: #007B7B;
    border: 1px solid #007B7B;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.conference-btn {
    background-color: white;
    border: 1px solid #007B7B;
    color: #007B7B;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.login a {
    color: #007B7B;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #007B7B;
}

@media (max-width: 992px) {
    .header-buttons {
        display: none;
    }
    
    .login {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .main-nav.active {
        max-height: 300px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .main-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav ul li a {
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid #eee;
    }
}

.main-nav {
    background-color: #007B7B;
    width: 80%;
    margin: 10px auto 30px;
    border-radius: 30px;
}

.main-nav .container {
    padding: 0;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-nav ul li {
    padding: 5px 0;
}

.main-nav ul li a {
    color: white;
    font-weight: normal;
    padding: 8px 15px;
    display: block;
    position: relative;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #e0e0e0;
}

/* Page Banner */
.page-banner {
    padding: 20px 0;
    text-align: center;
    font-style: italic;
    width: 80%;
    margin: 0 auto 30px;
}

.page-banner h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: normal;
    color: #333;
}

/* Section Title */
.section-title {
    background-color: #007B7B;
    color: white;
    padding: 8px 0;
    text-align: center;
    width: 80%;
    margin: 0 auto 30px;
    border-radius: 30px;
}

.section-title h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

/* About Content */
.about-content {
    padding: 30px 0;
    margin-bottom: 30px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    font-weight: bold;
}

/* Image Section */
.image-section {
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}

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

/* Fondements Section */
.fondements-section {
    padding: 30px 0;
    background-color: white;
    margin-bottom: 30px;
}

.fondements-section h2 {
    color: #007B7B;
    text-align: center;
    margin-bottom: 30px;
    background-color: #007B7B;
    color: white;
    padding: 8px 0;
    font-size: 1.5rem;
    font-weight: bold;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
}

.fondements-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify;
    padding: 20px 0;
}

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

.fondements-list {
    margin-left: 20px;
}

.fondements-list li {
    margin-bottom: 15px;
}

/* Logo Section */
.logo-section {
    padding: 40px 0;
    text-align: center;
    width: 80%;
    margin: 0 auto 30px;
}

.large-logo {
    max-width: 300px;
    height: auto;
}

/* Staff Section */
.staff-section {
    padding: 40px 0;
    background-color: white;
    margin-bottom: 30px;
}

/* Thematiques Content */
.thematiques-content {
    padding: 30px 0;
    margin-bottom: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.thematiques-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.thematiques-text p {
    margin-bottom: 20px;
}

/* Thematiques Grid */
.thematiques-grid {
    padding: 20px 0 40px;
    background-color: white;
    margin-bottom: 30px;
}

/* Blog Styles */
.blog-content {
    padding: 30px 0;
    margin-bottom: 30px;
}

.blog-motto {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-align: center;
}

.blog-motto p {
    color: #007B7B;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
}

.blog-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-align: justify;
}

.blog-intro h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.blog-intro p {
    margin-bottom: 15px;
}

.page-banner p {
    margin-top: 10px;
    font-size: 1.1rem;
    font-style: italic;
}

/* Collapsible Sections */
.collapsible-sections {
    max-width: 800px;
    margin: 0 auto;
}

.collapsible-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.collapsible-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.collapsible-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.toggle-icon {
    font-size: 1.2rem;
    color: #007B7B;
    transition: transform 0.3s ease;
}

.collapsible-content {
    background-color: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible-content p {
    margin: 15px 0;
    line-height: 1.6;
    text-align: justify;
}

/* Contact Page Styles */
.contact-info {
    padding: 30px 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.address-title {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.mission-text {
    margin: 30px auto;
    line-height: 1.6;
    text-align: justify;
    max-width: 90%;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.contact-phone a, .contact-email a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007B7B;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-phone a:hover, .contact-email a:hover {
    background-color: #006666;
}

.contact-form-section {
    padding: 30px 0 60px;
}

.contact-form-section h2 {
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
}

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

.form-group textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    font-family: inherit;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

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

.submit-btn {
    background-color: #007B7B;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #006666;
}

/* Conference Page Styles */
.conference-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 40px;
}

.conference-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.conference-hero-content {
    padding: 20px;
    max-width: 600px;
}

.conference-hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-style: italic;
}

.conference-hero-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.conference-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.reserve-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background-color: #007B7B;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.reserve-btn:hover {
    background-color: #006666;
    transform: scale(1.05);
}

.previous-conferences {
    padding: 30px 0 60px;
}

.previous-conferences h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.conference-list {
    max-width: 800px;
    margin: 0 auto;
}

.conference-item {
    display: flex;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.conference-video {
    width: 120px;
    height: 120px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.play-button {
    font-size: 3rem;
    color: #007B7B;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    color: #006666;
}

.conference-details {
    padding: 15px;
    flex-grow: 1;
}

.conference-details p {
    margin: 5px 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .conference-item {
        flex-direction: column;
    }
    
    .conference-video {
        width: 100%;
        height: 150px;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.grid-item {
    position: relative;
}

/* Flip Card Styles */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 350px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

/* Flip au hover pour desktop */
@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* Flip au clic pour mobile et desktop */
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 40px;
    overflow: hidden;
    border: 12px solid #007B7B;
}

.flip-card-front {
    background-color: #007B7B;
    transform: rotateY(0deg);
    box-shadow: 0 8px 25px rgba(0,123,123,0.3);
    position: relative;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.flip-card-front .thematique-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 28px;
    border: none;
    display: block;
}

.flip-card-front:hover .thematique-img {
    transform: scale(1.03);
}

.card-title {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    color: white;
    padding: 50px 20px 25px;
    font-weight: 600;
    font-size: 1.15em;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    z-index: 2;
    border-radius: 0 0 30px 30px;
}

.flip-card-back {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    transform: rotateY(180deg);
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    border: 10px solid #007B7B;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

.flip-card-back h3 {
    margin: 0 0 15px 0;
    font-size: 1.3em;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 10px;
}

.flip-card-back h4 {
    margin: 0 0 15px 0;
    font-size: 1em;
    color: #00d4ff;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

.flip-card-back p {
    margin: 0 0 15px 0;
    font-size: 0.9em;
    line-height: 1.6;
    text-align: justify;
    color: #e1e8ed;
    flex: 1;
    overflow-y: auto;
}

.flip-card-back small {
    font-size: 0.8em;
    color: #00d4ff;
    font-style: italic;
    text-align: center;
    margin-top: auto;
    font-weight: 500;
}

/* Style pour indiquer que la carte est cliquable sur mobile */
@media (hover: none) {
    .flip-card::after {
        content: 'ⓘ';
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(0,123,123,0.9);
        color: white;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-size: 16px;
        font-weight: bold;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid white;
    }

    .flip-card.flipped::after {
        content: '✕';
        background: rgba(255,68,68,0.9);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .flip-card {
        height: 300px;
    }
}

.staff-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.staff-header::before,
.staff-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: #007B7B;
    max-width: 200px;
}

.staff-header h2 {
    background-color: #007B7B;
    color: white;
    padding: 8px 80px;
    border-radius: 50px;
    margin: 0;
    font-size: 2rem;
    font-weight: normal;
    white-space: nowrap;
}

.staff-subtitle {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 20px;
}

.staff-subtitle h3 {
    color: #007B7B;
    font-size: 1.8rem;
    font-weight: normal;
    font-style: italic;
}

.staff-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.staff-member {
    text-align: center;
    background-color: #f0f0f0;
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 300px;
}

.staff-photo-wrapper {
    background-color: white;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.staff-photo {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid #007B7B;
}

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

.staff-name {
    color: #007B7B;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.staff-title {
    color: #007B7B;
    font-size: 1rem;
    margin: 0;
}

/* Juridical Section */
.juridical-section {
    padding: 40px 0;
}

.juridical-section h2 {
    color: #007B7B;
    text-align: left;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: normal;
}

.juridical-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.juridical-item {
    text-align: center;
    width: 150px;
}

.juridical-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #007B7B;
}

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

.juridical-item h3 {
    color: #007B7B;
    font-size: 1.1rem;
}

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

/* Hero Section */
.hero {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 15;
}

.hero-prev,
.hero-next {
    background-color: rgba(0, 123, 123, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(0, 123, 123, 0.9);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

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

.indicator.active {
    background-color: rgba(255, 255, 255, 1);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Qui Sommes-nous Section */
.qui-sommes-nous {
    padding: 60px 0;
    background-color: white;
}

.qui-sommes-nous h2 {
    text-align: left;
    color: #007B7B;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.qui-sommes-nous-text {
    margin-bottom: 40px;
    text-align: center;
}

.qui-sommes-nous-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.qui-sommes-nous-text .btn {
    background-color: #007B7B;
    color: white;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.qui-sommes-nous-text .btn:hover {
    background-color: #006666;
}

.qui-sommes-nous-image {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.first-letter {
    font-size: 2em;
    font-weight: bold;
    color: #007B7B;
}

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

/* Features Section */
.features {
    padding: 40px 0;
}

.feature-boxes {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-box {
    flex: 1;
    background-color: #f0f0f0;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box h3 {
    color: #007B7B;
}

/* Foundations Section */
.foundations {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.foundations h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #007B7B;
}

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

.foundations-text {
    flex: 1;
}

.foundations-text p {
    margin-bottom: 15px;
}

.foundations-image {
    flex: 1;
}

.foundations-image img {
    width: 100%;
    border-radius: 5px;
}

/* Departments Section */
.departments {
    padding: 60px 0;
}

.departments h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #007B7B;
}

.department-slider {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 40px;
    min-height: 300px;
}

.department-slide {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 300px;
}

.department-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #007B7B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.department-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.department-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #007B7B;
}

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

.slider-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
    z-index: 10;
}

.slider-controls button {
    background-color: #007B7B;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background-color 0.3s;
}

.slider-controls button:hover {
    background-color: #006666;
}

.prev {
    margin-left: -60px;
}

.next {
    margin-right: -60px;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #007B7B;
}

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

.service-box {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

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

.service-box h3 {
    color: #007B7B;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-box p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.services .btn {
    display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
}

/* Blog Preview Section */
.blog-preview {
    padding: 60px 0;
    background-color: white;
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #007B7B;
}

.blog-preview-content {
    text-align: center;
}

.blog-motto {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.6;
    font-style: italic;
}

.blog-topics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-topic-item {
    background-color: #f9f9f9;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 123, 0.15);
}

.blog-topic-item i {
    font-size: 3rem;
    color: #007B7B;
    margin-bottom: 20px;
    display: block;
}

.blog-topic-item h3 {
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.blog-preview .btn {
    display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
}

/* About Us Section */
.about-us {
    padding: 60px 0;
}

.about-us h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #007B7B;
}

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

.about-us-image {
    flex: 1;
}

.about-us-image img {
    width: 100%;
    border-radius: 5px;
}

.about-us-text {
    flex: 1;
}

.about-us-text p {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #007B7B;
    color: white;
}

.footer-image {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 30px;
}

.footer-main {
    padding: 40px 0;
    background-color: #006666;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    margin-bottom: 20px;
}
}

.footer-column p {
    margin-bottom: 10px;
}

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

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

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

.footer-column ul li a {
    color: white;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ddd;
}

.footer-column form {
    display: flex;
    margin-top: 15px;
}

.footer-column input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.footer-column button {
    background-color: #007B7B;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-column button:hover {
    background-color: #008c8c;
}

.footer-bottom {
    background-color: #005555;
    padding: 20px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .foundations-content,
    .about-us-content {
        flex-direction: column;
    }
    
    .department-slider {
        flex-wrap: wrap;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-columns {
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex-basis: 48%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .top-bar {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .feature-boxes {
        flex-direction: column;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }

    .blog-topics {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-motto {
        font-size: 1rem;
    }

    .footer-column {
        flex-basis: 100%;
    }
}

/* Staff Modal Styles */
.staff-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    padding: 20px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.staff-modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 123, 123, 0.4);
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.staff-modal-close {
    position: absolute;
    right: 25px;
    top: 25px;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.staff-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.staff-modal-header {
    background: linear-gradient(135deg, rgba(0, 123, 123, 0.95) 0%, rgba(0, 153, 153, 0.95) 50%, rgba(0, 102, 102, 0.95) 100%), url('../img/haiti.png');
    background-size: cover, contain;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    color: white;
    padding: 50px 40px 40px;
    position: relative;
    overflow: hidden;
}

.staff-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/haiti.png') center/contain no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.staff-modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 123, 0.85) 0%, rgba(0, 153, 153, 0.85) 50%, rgba(0, 102, 102, 0.85) 100%);
    z-index: 0;
}

.staff-modal-header-content {
    display: flex;
    align-items: center;
    gap: 35px;
    position: relative;
    z-index: 1;
}

.staff-modal-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.staff-modal-photo:hover {
    transform: scale(1.05);
}

.staff-modal-info h2 {
    margin: 0 0 12px 0;
    font-size: 2.2rem;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.staff-modal-info p {
    margin: 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.staff-modal-body {
    padding: 45px 40px;
    line-height: 2;
    color: #444;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
    max-height: calc(90vh - 250px);
    overflow-y: auto;
}

.staff-modal-body::-webkit-scrollbar {
    width: 8px;
}

.staff-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.staff-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007B7B, #009999);
    border-radius: 10px;
}

.staff-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #006666, #007B7B);
}

.staff-modal-body p {
    white-space: pre-line;
    text-align: justify;
    font-size: 1.05rem;
    margin: 0;
    color: #333;
    line-height: 1.9;
    text-indent: 30px;
}

.staff-modal-body p::first-letter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007B7B;
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: 5px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .staff-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
        border-radius: 15px;
    }

    .staff-modal-header {
        padding: 40px 25px 30px;
    }

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

    .staff-modal-photo {
        width: 120px;
        height: 120px;
    }

    .staff-modal-info h2 {
        font-size: 1.6rem;
    }

    .staff-modal-info p {
        font-size: 1rem;
    }

    .staff-modal-body {
        padding: 30px 25px;
        max-height: calc(95vh - 250px);
    }

    .staff-modal-body p {
        font-size: 0.95rem;
        text-indent: 0;
    }

    .staff-modal-body p::first-letter {
        font-size: 2rem;
        margin-right: 5px;
    }

    .staff-modal-close {
        right: 15px;
        top: 15px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

/* Nos Valeurs Section */
.valeurs-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.valeurs-section h2 {
    color: #007B7B;
    text-align: center;
    margin-bottom: 50px;
    background-color: #007B7B;
    color: white;
    padding: 8px 0;
    font-size: 1.5rem;
    font-weight: bold;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    border-radius: 30px;
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.valeur-item {
    background-color: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valeur-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 123, 0.2);
}

.valeur-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007B7B 0%, #005757 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.valeur-item h3 {
    color: #007B7B;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.valeur-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Valeurs */
@media (max-width: 992px) {
    .valeurs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .valeurs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .valeurs-section {
        padding: 40px 0;
    }

    .valeurs-section h2 {
        width: 90%;
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
}
