/* ===== VARIABLES CSS MODERNES ===== */
:root {
    --primary-color: #0055a4;
    --primary-light: #3375b6;
    --primary-dark: #003d7a;
    --secondary-color: #00a8e8;
    --secondary-light: #33b9ed;
    --accent-color: #ff6b35;
    --accent-light: #ff8e63;
    --light-color: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-color: #212529;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 35px rgba(0,0,0,0.15);
    --border-radius-sm: 6px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #ff8e00 100%);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-light {
    background-color: var(--light-color);
}

.section-white {
    background-color: white;
}

.section-gradient {
    background: var(--gradient-primary);
    color: white;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 20px;
    color: var(--medium-gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    border: none;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ===== HEADER & NAVIGATION ===== */
.top-bar {
    background-color: var(--dark-color);
    padding: 10px 0;
    font-size: 14px;
    color: white;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-type {
    display: flex;
    gap: 20px;
    align-items: center;
}

.user-type span {
    font-weight: 600;
    color: var(--light-gray);
}

.user-type a {
    color: var(--light-gray);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.user-type a.active,
.user-type a:hover {
    background-color: var(--primary-color);
    color: white;
}

.top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 12px;
    align-items: center;
}

.language-selector span {
    color: var(--light-gray);
    font-weight: 500;
}

.language-selector a {
    font-weight: 600;
    color: var(--light-gray);
}

.language-selector a.active {
    color: var(--secondary-color);
}

.main-header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 70px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
    color: var(--dark-color);
    font-size: 16px;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 900px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    z-index: 1001;
    padding: 30px;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}


.dropdown-categories {
    border-right: 1px solid var(--light-gray);
    padding-right: 30px;
}

.dropdown-categories h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.dropdown-categories h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
}

.dropdown-categories ul li {
    margin-bottom: 12px;
}

.dropdown-categories a {
    color: var(--dark-color);
    transition: var(--transition);
    display: block;
    padding: 10px 0;
    border-left: 3px solid transparent;
    padding-left: 15px;
}

.dropdown-categories a:hover,
.dropdown-categories a.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 20px;
}

.dropdown-details {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.dropdown-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.dropdown-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
}

.formation-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.formation-item {
    padding: 20px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.formation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.formation-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.formation-item:hover::before {
    width: 6px;
}

.formation-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 18px;
}

.formation-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.formation-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-open {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-coming {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

/* ===== HERO SECTION MODIFIÉE ===== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: var(--gradient-primary);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 85, 164, 0.7), rgba(0, 61, 122, 0.8)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 85, 164, 0.7), rgba(0, 61, 122, 0.8)), url('https://images.unsplash.com/photo-1541336032412-2048a678540d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1974&q=80');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 85, 164, 0.7), rgba(0, 61, 122, 0.8)), url('https://images.unsplash.com/photo-1574362848149-11496d93a7c7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1984&q=80');
}

.slide:nth-child(4) {
    background-image: linear-gradient(rgba(0, 85, 164, 0.7), rgba(0, 61, 122, 0.8)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.5;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ===== PROGRAMMES SECTION ===== */
.programs-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%230055a4" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.program-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.program-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.program-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover .program-image::after {
    opacity: 1;
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,85,164,0.9) 0%, rgba(0,61,122,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.program-content {
    padding: 30px;
}

.program-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

.program-content p {
    color: var(--medium-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}
/* ===== STATS SECTION - VERSION SIMPLE ET VISIBLE ===== */
.stats-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
}
/* ===== STUDENT SECTION ===== */
.student-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    position: relative;
}

.student-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%230055a4" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    border-top: 5px solid var(--primary-color);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card ul {
    margin-left: 0;
}

.card li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    background: rgba(40, 167, 69, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><circle fill="%230055a4" cx="500" cy="500" r="400"/></svg>');
    background-size: cover;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin: 15px;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 700;
}

.author-info p {
    color: var(--medium-gray);
    font-size: 15px;
}

/* ===== ACCREDITATIONS ===== */
.accreditations {
    padding: 80px 0;
    text-align: center;
    background-color: white;
    position: relative;
}

.accreditations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><rect fill="%230055a4" x="200" y="200" width="600" height="600" rx="50"/></svg>');
    background-size: cover;
}

.accreditations-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.accreditation-logo {
    height: 70px;
    width: auto;
    background: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    color: var(--dark-color);
    min-width: 180px;
    border: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.accreditation-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><polygon fill="%230055a4" points="500,100 900,500 500,900 100,500"/></svg>');
    background-size: cover;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: white;
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><path fill="%230055a4" d="M100,500 Q250,300 500,500 T900,500 L900,1000 L100,1000 Z"/></svg>');
    background-size: cover;
}

.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.news-highlight {
    margin-bottom: 40px;
}

.news-highlight h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.news-highlight h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background-color: white;
    position: relative;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.news-date {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    display: inline-block;
    font-size: 16px;
}

.news-content {
    padding: 25px;
}

.news-content h4 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.news-location {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.sidebar h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
}

.sidebar-news {
    margin-bottom: 40px;
}

.sidebar-news-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
}

.sidebar-news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.sidebar-news-item:hover {
    background-color: #f9f9f9;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: var(--border-radius-sm);
}

.sidebar-news-item:hover::before {
    transform: scaleY(1);
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-date {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.sidebar-news-title {
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 16px;
}

.sidebar-news-location {
    font-size: 14px;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0.1;
}

.about-stats {
    padding: 30px 0;
}

.stat-box {
    padding: 40px 25px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.stat-box:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.stat-box:hover .stat-icon {
    transform: scale(1.1);
    background: var(--gradient-primary);
}

.stat-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.stat-box:hover .stat-icon i {
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color); /* Gardez cette couleur pour la section About */
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: var(--medium-gray);
    font-weight: 500;
    font-size: 18px;
}

/* ===== FOOTER AMÉLIORÉ ===== */
.footer-links {
    background: linear-gradient(135deg, #1a2b4c 0%, #2d3e5f 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%23ffffff" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
}

.footer-column ul li {
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column ul li:hover {
    transform: translateX(5px);
}

.footer-column a {
    color: #b0b7c3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-column p {
    color: #b0b7c3;
    line-height: 1.6;
    margin-top: 20px;
    font-size: 14px;
}

.footer-column:last-child {
    grid-column: span 1;
}

.footer-column:last-child ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.accreditations-footer {
    text-align: center;
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.accreditations-footer h3 {
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    font-size: 24px;
}

.accreditations-footer-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.accreditation-footer-logo {
    height: 60px;
    width: auto;
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    min-width: 180px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.accreditation-footer-logo:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.footer-bottom {
    background-color: #151a28;
    color: #b0b7c3;
    padding: 30px 0;
    font-size: 14px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom a {
    color: #b0b7c3;
    transition: var(--transition);
    position: relative;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

.footer-bottom a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,85,164,0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 48px;
    }
    
    .dropdown-content {
        min-width: 800px;
    }
    
    .section-title {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        font-size: 20px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .dropdown-content {
        min-width: 650px;
        grid-template-columns: 1fr;
    }
    
    .dropdown-categories {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
        padding-right: 0;
        padding-bottom: 25px;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dropdown-content {
        min-width: 320px;
        left: -100px;
    }
    
    .accreditations-logos {
        gap: 20px;
    }
    
    .accreditation-logo {
        min-width: 150px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .accreditations-footer-logos {
        gap: 15px;
    }
    
    .accreditation-footer-logo {
        min-width: 160px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: auto;
        min-height: auto;
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .accreditations-logos, .accreditations-footer-logos {
        gap: 15px;
    }
    
    .accreditation-logo, .accreditation-footer-logo {
        min-width: 140px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dropdown-content {
        min-width: 280px;
        left: -120px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .accreditation-footer-logo {
        min-width: 140px;
        height: 50px;
        font-size: 14px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== DROPDOWN MENU - CLICK VERSION ===== */
.dropdown.active .dropdown-content {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 900px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    z-index: 1001;
    padding: 30px;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

/* Supprimez ou commentez l'ancien comportement hover */
/*
.dropdown:hover .dropdown-content {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}
*/
