/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003D82;
    --secondary-color: #FFD700;
    --accent-color: #FFC107;
    --dark-color: #001F3F;
    --light-color: #F5F7FA;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #7f8c8d;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f5f7fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 61, 130, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--primary-color);
    position: relative;
}

.main-nav {
    background-color: var(--primary-color);
}

.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 60px;
    position: relative;
}

.nav-logo {
    padding: 0.5rem 1rem;
    display: block;
}

.nav-logo img {
    height: 75px;
    width: auto;
    display: block;
}

/* Logo mobile - désactivé */
.nav-logo-mobile {
    display: none !important;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.main-nav li {
    flex: 1;
    text-align: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    display: block;
    padding: 0.9rem 1.8rem;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.main-nav a.active {
    background-color: rgba(255, 215, 0, 0.15);
    color: var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 1rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    color: var(--white);
    padding: 180px 20px 120px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero Overlay */
.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.65) 0%, rgba(0, 37, 87, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    margin-top: -60px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-logo img {
    max-width: 550px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: var(--white);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1.2s ease;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1.3s ease;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.6s ease;
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 61, 130, 0.7);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    border-radius: 5px;
}

.slider-nav:hover {
    background-color: rgba(0, 61, 130, 0.9);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover,
.dot.active {
    background-color: var(--secondary-color);
    border-color: var(--white);
    transform: scale(1.2);
}

.btn {
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Heading Styles */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.section-title::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 0.8rem;
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

/* Cycle and subsection titles */
.cycle-title, .branch-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

.cycle-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Hero Video Slide */
.hero-video-slide {
    position: relative;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 61, 130, 0.2);
    z-index: 2;
}

/* About Section */
.about, .presentation {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef5 100%);
}

.about-content, .presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text, .presentation-text {
    color: var(--text-dark);
}

.about-text h3, .presentation-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.about-text h3:first-child, .presentation-text h3:first-child {
    margin-top: 0;
}

.about-text p, .presentation-text p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-stats, .presentation-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary-color), #FFB700);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    transition: var(--transition);
    border: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

/* Valeurs Section */
.valeurs {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a40 100%);
    color: var(--white);
}

.valeurs .section-title {
    color: var(--secondary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
}

.value-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.value-card p {
    color: var(--white);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Histoire Section */
.histoire {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef5 100%);
    color: var(--text-dark);
}

.histoire .section-title {
    color: var(--primary-color);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 100px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-year::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px var(--light-color);
}

.timeline-content {
    flex: 1;
    background-color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 0 2rem;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-dark);
}

/* Cycles Section */
.cycles {
    padding: 3rem 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef5 100%);
}

.cycle-section {
    margin-bottom: 4rem;
}

.cycle-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.cycle-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.level-card {
    background: linear-gradient(135deg, var(--secondary-color), #FFB700);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.level-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.level-card ul {
    list-style: none;
}

.level-card li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.level-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.branches-container {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.branch-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 3px solid var(--secondary-color);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #1a4475);
    color: var(--white);
}

.branch-header h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.4rem;
}

.branch-card.sciences-maths .branch-header h3 {
    color: var(--primary-color);
}

.branch-card.sciences-physiques .branch-header {
    background: linear-gradient(135deg, var(--primary-color), #00529e);
}

.branch-card.sciences-maths .branch-header {
    background: linear-gradient(135deg, var(--secondary-color), #f4a623);
}

.branch-header h4 {
    font-size: 1.5rem;
    margin: 0;
}

.branch-badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.branch-content {
    padding: 2rem;
}

.branch-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.branch-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.branch-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.branch-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.branch-orientation {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.branch-orientation strong {
    color: var(--primary-color);
}

/* Activités Section */
.activites {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #002557 100%);
}

.activites .section-title {
    color: var(--secondary-color);
}

.activites .section-intro {
    color: var(--white);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.activites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.activite-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 15px;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 61, 130, 0.15);
    border: 1px solid rgba(0, 61, 130, 0.1);
    position: relative;
    overflow: hidden;
}

.activite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.activite-card:hover::before {
    transform: scaleX(1);
}

.activite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 61, 130, 0.25);
    border-color: var(--primary-color);
}

.activite-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.activite-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.activite-card ul {
    list-style: none;
    text-align: left;
    margin-top: 0;
}

.activite-card li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
    color: #333;
    transition: all 0.2s ease;
}

.activite-card li:hover {
    padding-left: 2rem;
    color: var(--primary-color);
}

.activite-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.activite-card li:hover::before {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Galerie Section */
.galerie {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef5 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding-bottom: 75%;
    cursor: pointer;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.gallery-placeholder-1 {
    background: linear-gradient(135deg, #003D82, #0066CC);
}

.gallery-placeholder-2 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.gallery-placeholder-3 {
    background: linear-gradient(135deg, #003D82, #FFD700);
}

.gallery-placeholder-4 {
    background: linear-gradient(135deg, #0066CC, #003D82);
}

.gallery-placeholder-5 {
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.gallery-placeholder-6 {
    background: linear-gradient(135deg, #FFD700, #003D82);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    color: var(--white);
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.5));
}

.gallery-overlay p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Horaires Section */
.horaires {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a40 100%);
}

.horaires .section-title {
    color: var(--secondary-color);
}

.horaires-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
}

.tab-button:hover {
    background-color: var(--light-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.horaires-content {
    display: none;
}

.horaires-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

.horaires-subtitle {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.horaires-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.horaires-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.horaires-table th,
.horaires-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-color);
}

.horaires-table th {
    font-weight: 600;
    text-align: center;
}

.horaires-table td {
    text-align: center;
}

.horaires-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.horaires-table tbody tr:hover {
    background-color: var(--light-color);
}

.horaires-table .total-row {
    background-color: var(--light-color);
    font-weight: bold;
}

.horaires-table .total-row td {
    color: var(--primary-color);
}

/* Préinscription Section */
.preinscription {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef5 100%);
}

.preinscription-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.preinscription-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.preinscription-dates {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.date-info {
    background: linear-gradient(135deg, var(--secondary-color), #FFB700);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 200px;
    text-align: center;
}

.date-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.date-info p {
    color: var(--primary-color);
    font-weight: 600;
}

.preinscription-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.preinscription-form-section {
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.05), rgba(0, 61, 130, 0.1));
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 2px solid var(--secondary-color);
}

.preinscription-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.inscription-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-section-title {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 2rem;
    display: block;
    text-align: center;
}

.preinscription-info .btn-large {
    background: linear-gradient(135deg, var(--secondary-color), #FFB700);
    color: var(--primary-color);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.preinscription-info .btn-large:hover {
    background: linear-gradient(135deg, #FFB700, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.preinscription-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.documents-list {
    list-style: none;
    background: linear-gradient(135deg, var(--secondary-color), #FFB700);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.documents-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 61, 130, 0.2);
    color: var(--primary-color);
    font-weight: 500;
}

.documents-list li:last-child {
    border-bottom: none;
}

.info-box {
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.05), rgba(0, 61, 130, 0.1));
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border: 2px solid var(--secondary-color);
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    margin-bottom: 0.5rem;
}

.info-box li {
    padding: 0.3rem 0;
}

.info-box .note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.info-box p {
    margin: 0.3rem 0;
}

/* Programs Section */
.programs {
    padding: 80px 20px;
    background-color: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.program-card:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.program-card:nth-child(3) {
    border-top-color: var(--accent-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.program-card > p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.program-card ul {
    list-style: none;
}

.program-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.program-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Facilities Section */
.facilities {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.facility-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.facility-item p {
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef5 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form,
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 61, 130, 0.08);
    border: 1px solid #e0e8f0;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0, 61, 130, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.info-item:hover {
    box-shadow: 0 5px 20px rgba(0, 61, 130, 0.1);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    min-width: 20px;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.info-item p {
    color: var(--text-dark);
    margin: 0.2rem 0;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-color);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.social-icon {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.social-icon i {
    font-size: 1.3rem;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 61, 130, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 61, 130, 0.2);
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 61, 130, 0.1);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

/* Actualités Section */
.actualites {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.actualite-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 61, 130, 0.1);
    transition: all 0.3s ease;
    display: flex;
    border-left: 4px solid var(--primary-color);
}

.actualite-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 130, 0.2);
}

.actualite-date {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    color: white;
    text-align: center;
}

.date-day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.date-year {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.actualite-content {
    padding: 2rem;
    flex: 1;
}

.actualite-category {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.actualite-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.actualite-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.actualite-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 61, 130, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.actualite-author {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.actualite-author::before {
    content: "Par ";
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content,
    .presentation-content,
    .contact-content,
    .preinscription-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .programs-grid,
    .levels-grid,
    .activites-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }

    .timeline-year {
        flex: 0 0 60px;
        font-size: 1.5rem;
    }

    .timeline-content {
        margin: 0 0 0 1rem;
    }

    .inscription-form .form-row {
        grid-template-columns: 1fr;
    }

    .main-nav ul {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: calc(100vh - 60px);
        background-color: var(--primary-color);
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        padding: 1.5rem 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
    }

    .main-nav ul.active {
        right: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        padding: 1.2rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }

    header {
        position: fixed;
        width: 100%;
        top: 0;
    }

    .main-nav .container {
        min-height: 60px;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
    }

    .hero {
        margin-top: 60px;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    header {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .hero {
        padding: 80px 20px 60px;
        min-height: 85vh;
    }
    
    .slider-nav {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }

    .hero-content h2 {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .horaires-table {
        font-size: 0.9rem;
    }

    .horaires-table th,
    .horaires-table td {
        padding: 0.7rem 0.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-title::before {
        width: 50px;
        height: 3px;
    }
    
    .section-title::after {
        width: 80px;
        height: 3px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .cycle-title, .branch-title {
        font-size: 1.6rem;
    }

    .about-stats,
    .presentation-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .facilities-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .actualites-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .actualite-card {
        flex-direction: column;
    }

    .actualite-date {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
        min-width: auto;
    }

    .date-day {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .logo-banner {
        max-height: 100px;
    }

    .main-nav a {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .nav-logo img {
        height: 60px;
    }

    .hero {
        padding: 100px 20px 80px;
        min-height: 75vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-logo img {
        max-width: 350px;
        margin-bottom: 1.5rem;
    }

    .hero-logo {
        margin-top: -40px;
    }

    .preinscription-dates {
        flex-direction: column;
        align-items: center;
    }

    .horaires-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .branch-card {
        margin-bottom: 1.5rem;
    }

    section {
        padding: 60px 15px !important;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 45px;
    }

    .hamburger {
        right: 10px;
    }

    .hamburger span {
        width: 25px;
    }

    .hero {
        padding: 70px 15px 50px;
        min-height: 90vh;
    }

    .hero-content h2 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero-logo img {
        max-width: 250px;
        margin-bottom: 1rem;
    }

    .hero-logo {
        margin-top: -30px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonials-grid {
        gap: 1rem;
    }

    .article-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .about-stats,
    .presentation-stats {
        grid-template-columns: 1fr;
    }

    .timeline-year {
        flex: 0 0 50px;
        font-size: 1.2rem;
    }

    .horaires-table {
        font-size: 0.75rem;
    }

    .logo-banner {
        max-height: 80px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    section {
        padding: 50px 15px !important;
    }

    .value-card {
        padding: 1.5rem 1rem;
    }

    .activite-card,
    .level-card,
    .branch-card {
        padding: 1.5rem;
    }

    .horaire-card {
        padding: 1.5rem;
    }

    .article-card {
        padding: 1.5rem;
    }
}

/* Horaires Section Styles */
.horaires-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #003D82 0%, #002347 100%);
}

.horaires-section .section-title {
    color: var(--secondary-color);
}

.horaires-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.95;
}

.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.horaire-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.horaire-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: var(--accent-color);
}

.horaire-card h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.horaire-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.horaire-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0, 61, 130, 0.3);
    border-radius: 8px;
}

.horaire-label {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.horaire-time {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.horaires-note {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 193, 7, 0.15) 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.horaires-note p {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.horaires-contact {
    background: linear-gradient(135deg, #003D82 0%, #002347 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.horaires-contact h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.contact-item strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.contact-item p {
    color: var(--white);
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
    color: #ffc107;
}

/* Volume Horaire Tables */
.volume-horaire-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--secondary-color);
}

.volume-horaire-container h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.volume-horaire-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.horaire-column h5 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.horaire-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.horaire-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.horaire-table thead th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.horaire-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.horaire-table tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.05);
}

.horaire-table tbody td {
    padding: 0.75rem;
    font-size: 0.9rem;
}

.horaire-table .hours {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    width: 60px;
}

.horaire-table .total-row {
    background-color: rgba(0, 61, 130, 0.05);
    font-weight: 600;
}

.horaire-table .total-row td {
    color: var(--primary-color);
    padding: 1rem 0.75rem;
    border-top: 2px solid var(--secondary-color);
}

/* Responsive Design for Volume Horaire */
@media (max-width: 768px) {
    .volume-horaire-tables {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Info Section Styling */
.info-section {
    background-color: var(--white);
    padding: 3rem 0;
    margin: 3rem 0;
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.info-section .section-title {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 61, 130, 0.08);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 61, 130, 0.15);
    border-color: var(--secondary-color);
}

.info-card i {
    display: block;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Info Grid */
@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

/* Hero Section - Page Styles */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a9f 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    min-height: auto;
}

.hero-section.programs-hero {
    padding: 3rem 0;
    margin-top: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.95;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        margin-top: 0;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
    }
}

/* Règlement Intérieur Section Styles */
.reglement-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #003D82 0%, #002347 100%);
}

.reglement-section .section-title {
    color: var(--secondary-color);
}

.reglement-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.reglement-intro .intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.reglement-articles {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 61, 130, 0.1);
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 61, 130, 0.15);
    border-left-color: var(--accent-color);
}

.article-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.article-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.article-card p:last-child {
    margin-bottom: 0;
}

.article-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-card ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-card ul li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.reglement-footer {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #002347 100%);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 61, 130, 0.2);
}

.reglement-footer p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.reglement-footer strong {
    color: var(--secondary-color);
}

/* Quick Links Section */
.quick-links {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002347 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.link-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 130, 0.15);
}

.link-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.link-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.link-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.link-card p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002347 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15px 15px, rgba(255, 215, 0, 0.25) 3px, transparent 3px),
        radial-gradient(circle at 45px 45px, rgba(255, 215, 0, 0.15) 2px, transparent 2px);
    background-size: 60px 60px;
    pointer-events: none;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}