/* Variables et Reset */
:root {
    --primary-color: #1a1a2e; /* Bleu foncé */
    --accent-color: #4a00e0; /* Violet */
    --accent-color-2: #00d2ff; /* Bleu clair */
    --accent-color-3: #8e2de2; /* Violet clair */
    --text-color: #1a1a2e; /* Texte sombre pour fond blanc */
    --text-secondary: #666666;
    --background-dark: #ffffff; /* Blanc */
    --background-light: #f8f9fa; /* Gris très clair */
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    --gradient-secondary: linear-gradient(135deg, var(--accent-color-3), var(--accent-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 35px;
    width: auto;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.burger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--primary-color);
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    /* Burger Animation */
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sections communes */
section {
    padding: 1.5rem 5%;
    background-color: var(--background-dark);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0.05;
    z-index: 1;
}

section > * {
    position: relative;
    z-index: 2;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Actualités */
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.actualite-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.actualite-card:hover {
    transform: translateY(-5px);
}

.actualite-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.actualite-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.actualite-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 1rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
}

/* Présentation */
.presentation {
    padding: 4rem 5%;
    background-color: var(--background-light);
}

.presentation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.presentation-text {
    padding-right: 2rem;
}

.presentation-text h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.presentation-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

.presentation-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.presentation-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Organes Facultaires */
.organes {
    padding: 80px 0;
    background-color: white;
}

.organes h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
}

.organes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 0 1rem;
}

.organe-card {
    text-align: center;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.organe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.organe-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.organe-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.organe-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Call to Action */
.cta {
    text-align: center;
    background: var(--accent-color);
    color: var(--white);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1.5rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--white);
    font-size: 0.9rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .presentation-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .presentation-text {
        padding-right: 0;
    }

    .presentation-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .organes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .organes-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour la page À Propos */
.apropos-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/history-bg.jpg');
}

/* Timeline pour grands écrans */
.timeline {
    width: 100%;
    padding: 2rem;
    position: relative;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
    padding-left: 2rem;
}

.timeline-item:nth-child(even) {
    margin-right: auto;
    padding-right: 2rem;
    text-align: right;
}

/* Points de couleur pour chaque élément */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Alternance des couleurs pour les points */
.timeline-item:nth-child(4n+1)::before {
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(74, 0, 224, 0.2);
}

.timeline-item:nth-child(4n+2)::before {
    background: var(--accent-color-2);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.2);
}

.timeline-item:nth-child(4n+3)::before {
    background: var(--accent-color-3);
    box-shadow: 0 0 0 4px rgba(142, 45, 226, 0.2);
}

.timeline-item:nth-child(4n+4)::before {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 26, 46, 0.2);
}

.timeline-item:nth-child(odd)::before {
    left: -8px;
}

.timeline-item:nth-child(even)::before {
    right: -8px;
}

.timeline-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Version verticale simplifiée pour petits écrans */
@media (max-width: 768px) {
    .timeline {
        padding: 1rem;
    }

    .timeline-item {
        width: 100%;
        padding: 0.75rem 0 0.75rem 1.5rem;
        margin: 0 !important;
        text-align: left !important;
    }

    .timeline-item::before {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .timeline-date {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        color: var(--accent-color);
        font-weight: 600;
    }

    .timeline-content {
        background: var(--white);
        padding: 0.75rem;
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .timeline-content h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding: 0.5rem;
    }

    .timeline-item {
        padding: 0.5rem 0 0.5rem 1.25rem;
    }

    .timeline-item::before {
        width: 12px;
        height: 12px;
    }

    .timeline-date {
        font-size: 0.85rem;
    }

    .timeline-content {
        padding: 0.5rem;
    }

    .timeline-content h3 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.8rem;
    }
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.valeur-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.valeur-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.chiffre-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.chiffre-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Styles pour la page Départements */
.departements {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.departements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.departement-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.departement-card:hover {
    border-color: var(--accent-color-2);
    transform: translateY(-5px);
}

.departement-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.departement-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.departement-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.departement-liste {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.departement-liste li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.departement-liste li:last-child {
    border-bottom: none;
}

.departement-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.departement-link:hover {
    background-color: var(--accent-color-2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .departements-grid {
        grid-template-columns: 1fr;
    }

    .departement-card {
        padding: 20px;
    }
}

.programmes-tabs {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: var(--white);
    border: none;
    border-radius: 5px;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tab-button.active {
    background: var(--accent-color);
    color: var(--white);
}

.tab-pane {
    display: none;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.tab-pane.active {
    display: block;
}

/* Styles pour la page Contact */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/contact-bg.jpg');
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.submit-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Styles pour la page Organisation */
.organisation-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/organization-bg.jpg');
}

.structure-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.structure-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.structure-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.organigramme-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.organigramme-level {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.organigramme-item {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.organigramme-item.main {
    background: var(--accent-color);
    color: var(--white);
}

.organigramme-connector {
    width: 2px;
    height: 50px;
    background: var(--accent-color);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.comites-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.comite-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Swiper Styles */
.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.swiper-slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/slide1.jpg');
}

.swiper-slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/slide2.jpg');
}

.swiper-slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/slide3.jpg');
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--gradient-primary) !important;
}

/* Styles pour les pages de département */
.departement-hero {
    height: 33vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/departement-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.departement-hero .hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.departement-hero .hero-content p {
    font-size: 1.2rem;
}

.departement-presentation {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.departement-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.departement-content h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.departement-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.departement-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.departement-content ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.departement-content ul li:last-child {
    border-bottom: none;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.programme-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.programme-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.programme-card ul {
    margin-bottom: 0;
}

.programme-card ul li {
    font-size: 0.9rem;
    padding: 8px 0;
}

.debouches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.debouche-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.debouche-card:hover {
    transform: translateY(-5px);
}

.debouche-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.debouche-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.debouche-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }
    
    .swiper {
        height: 100vh;
    }
    
    .departement-hero {
        height: 33vh;
    }
    
    .departement-hero .hero-content h2 {
        font-size: 2rem;
    }

    .departement-hero .hero-content p {
        font-size: 1rem;
    }

    .departement-content {
        padding: 20px;
    }

    .programme-grid,
    .debouches-grid {
        grid-template-columns: 1fr;
    }

    .departement-content h3 {
        font-size: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .departement-hero .hero-content h2 {
        font-size: 1.5rem;
    }

    .departement-hero .hero-content p {
        font-size: 0.9rem;
    }

    .departement-content {
        padding: 20px;
    }

    .programme-grid,
    .debouches-grid {
        grid-template-columns: 1fr;
    }

    .departement-content h3 {
        font-size: 1.5rem;
    }

    .map-container {
        height: 250px;
    }
}

/* Blog Styles */
.blog {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.blog-card:hover {
    border-color: var(--accent-color-2);
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta .date {
    color: var(--accent-color);
}

.blog-meta .category {
    color: var(--accent-color-3);
}

.blog-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color-2);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color-3);
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Form Elements */
input, textarea {
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(74, 0, 224, 0.1);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--gradient-primary) !important;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Styles pour les pages secondaires */
.departements-hero,
.organisation-hero,
.apropos-hero,
.contact-hero {
    padding: 2rem 0 0;
    text-align: center;
    margin-top: 60px; /* Pour compenser le header fixe */
}

.departements-hero h2,
.organisation-hero h2,
.apropos-hero h2,
.contact-hero h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .departements-hero,
    .organisation-hero,
    .apropos-hero,
    .contact-hero {
        padding: 1.5rem 0 0;
        margin-top: 50px;
    }

    .departements-hero h2,
    .organisation-hero h2,
    .apropos-hero h2,
    .contact-hero h2 {
        font-size: 1.6rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .departements-hero,
    .organisation-hero,
    .apropos-hero,
    .contact-hero {
        padding: 1rem 0 0;
        margin-top: 45px;
    }

    .departements-hero h2,
    .organisation-hero h2,
    .apropos-hero h2,
    .contact-hero h2 {
        font-size: 1.4rem;
        margin-bottom: 0.25rem;
    }
} 