/* ===============================================
   CER JL Formations - Clean Slider Styles
   =============================================== */

/* Root Variables */
:root {
    --primary-color: #dc3545;
    --secondary-color: #007bff;
    --accent-color: #28a745;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #dc3545 0%, #ff6b7a 100%);
    --gradient-secondary: linear-gradient(135deg, #007bff 0%, #4dabf7 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 80px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 10px;
    padding: 10px 15px !important;
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(220, 53, 69, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ===============================================
   CLEAN HERO SLIDER SECTION - No Overlay, Fit Width
   =============================================== */

.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--white);
}

.heroSwiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    width: 100%;
}

/* Full Width Image - No Cropping, No Darkening */
.slide-image-full {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 600px;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: var(--transition);
    border: 2px solid rgba(220, 53, 69, 0.3);
    box-shadow: var(--shadow-medium);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: var(--white);
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev {
    left: 30px;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(220, 53, 69, 0.5);
    opacity: 1;
    margin: 0 6px;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.welcome-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.welcome-text {
    position: relative;
    z-index: 2;
}

.welcome-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Location Images */
.location-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.location-card img {
    transition: var(--transition);
}

.location-card:hover img {
    transform: scale(1.1);
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.location-card:hover .location-overlay {
    transform: translateY(0);
}

.location-overlay h5 {
    margin: 0;
    font-weight: 700;
    text-align: center;
}

/* Formation Section */
.formations-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.formation-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.formation-card:hover::before {
    opacity: 0.05;
}

.formation-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.formation-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.formation-card:hover .formation-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(220, 53, 69, 0.3));
}

.formation-content {
    position: relative;
    z-index: 2;
}

.formation-content h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.formation-links {
    list-style: none;
    padding: 0;
}

.formation-links li {
    margin-bottom: 0.5rem;
}

.btn-formation {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-light);
}

.btn-formation:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-primary);
}

/* Additional Formations */
.additional-formations {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--light-color);
    transition: var(--transition);
}

.additional-formations:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

/* Social Section */
.social-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
    color: var(--white);
    position: relative;
}

.social-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 100 100"><defs><radialGradient id="social-bg"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.05"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="50" fill="url(%23social-bg)"/></svg>');
    pointer-events: none;
}

.facebook-btn {
    background: linear-gradient(135deg, #1877f2 0%, #4267b2 100%);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.facebook-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: var(--transition);
}

.facebook-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #166fe5 0%, #365899 100%);
}

.facebook-btn:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #212529 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.location-info {
    font-weight: 600;
    color: var(--light-color);
}

.location-info i {
    color: var(--primary-color);
}

/* Responsive Design for Slider */
@media (max-width: 1024px) {
    .slide-image-full {
        max-height: 500px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .slide-image-full {
        max-height: 400px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .formation-card {
        margin-bottom: 2rem;
    }

    body {
        padding-top: 60px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .swiper-button-next {
        right: 15px;
    }

    .swiper-button-prev {
        left: 15px;
    }
}

@media (max-width: 576px) {
    .slide-image-full {
        max-height: 300px;
    }

    .formation-card {
        padding: 1.5rem;
    }

    .facebook-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Utility Classes */
.object-cover {
    object-fit: cover;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Focus States */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
    outline: none;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-slider-section,
    .social-section,
    .footer {
        display: none;
    }

    body {
        padding-top: 0;
    }

    .formation-card {
        break-inside: avoid;
    }
}




/* ===============================================
   Les Permis Page - Specific Styles
   =============================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b7a 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header .lead {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Permis Cards */
.permis-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.permis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.permis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.2);
}

.permis-card:hover::before {
    transform: scaleY(1);
}

/* Permis Title */
.permis-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

.permis-title i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(220, 53, 69, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.permis-card:hover .permis-title i {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(360deg);
}

/* Permis Image */
.permis-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    min-height: 200px;
}

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

.permis-card:hover .permis-image img {
    transform: scale(1.1);
}

.permis-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(0, 123, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.permis-card:hover .permis-image::after {
    opacity: 1;
}

/* Permis Content */
.permis-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.permis-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.permis-description p {
    margin-bottom: 1rem;
    text-align: justify;
}

.permis-description p:last-child {
    margin-bottom: 0;
}

/* Highlight Important Info */
.permis-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    .permis-card {
        padding: 2rem;
    }

    .permis-title {
        font-size: 1.5rem;
    }

    .permis-image {
        min-height: 180px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .permis-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .permis-title {
        font-size: 1.3rem;
    }

    .permis-title i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .permis-description {
        font-size: 1rem;
    }

    .permis-image {
        min-height: 150px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .permis-card {
        padding: 1.25rem;
    }

    .permis-title {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .permis-description p {
        text-align: left;
    }
}

/* Animation on Scroll */
.permis-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.permis-card:nth-child(1) { animation-delay: 0.1s; }
.permis-card:nth-child(2) { animation-delay: 0.2s; }
.permis-card:nth-child(3) { animation-delay: 0.3s; }
.permis-card:nth-child(4) { animation-delay: 0.4s; }
.permis-card:nth-child(5) { animation-delay: 0.5s; }
.permis-card:nth-child(6) { animation-delay: 0.6s; }
.permis-card:nth-child(7) { animation-delay: 0.7s; }
.permis-card:nth-child(8) { animation-delay: 0.8s; }
.permis-card:nth-child(9) { animation-delay: 0.9s; }
.permis-card:nth-child(10) { animation-delay: 1s; }
.permis-card:nth-child(11) { animation-delay: 1.1s; }

/* Smooth Transitions */
* {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .page-header {
        background: var(--white);
        color: var(--dark-color);
        padding: 20px 0;
    }

    .permis-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .permis-image {
        display: none;
    }
}




/* ===============================================
   Label Qualité Page - Specific Styles
   =============================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #007bff 0%, #4dabf7 100%);
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header .lead {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Label Logo */
.label-logo {
    position: relative;
    z-index: 2;
}

.label-logo img {
    max-width: 200px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
}

/* Label Intro */
.label-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.intro-content {
    position: relative;
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title i {
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Benefit Cards */
.benefit-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.benefit-card h3 i {
    font-size: 1.5rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--dark-color);
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.benefit-list li i {
    color: var(--primary-color);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* Downloads Card */
.download-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.download-card .card-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.5rem 2rem;
}

.download-card .card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.download-card .card-body {
    padding: 2rem;
}

.download-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-link i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.download-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.download-link:hover i {
    color: var(--white);
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.criteria-group {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.criteria-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.criteria-group-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.group-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.criteria-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.criteria-item:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 123, 255, 0.02) 100%);
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateX(5px);
}

.criteria-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.criteria-text {
    flex: 1;
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.6;
    padding-top: 0.5rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    .label-intro {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .benefit-card {
        padding: 2rem;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .label-logo img {
        max-width: 150px;
        margin-top: 2rem;
    }

    .label-intro {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .benefit-card h3 {
        font-size: 1.2rem;
    }

    .download-card .card-body {
        padding: 1.5rem;
    }

    .download-link {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }

    .criteria-group {
        padding: 1.5rem;
    }

    .criteria-group-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .label-intro {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-title i {
        font-size: 2rem;
    }

    .benefit-card {
        padding: 1.25rem;
    }

    .benefit-list li {
        font-size: 0.95rem;
    }

    .download-link {
        font-size: 0.9rem;
    }

    .criteria-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .criteria-text {
        padding-top: 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .download-card {
        display: none;
    }

    .page-header {
        background: var(--white);
        color: var(--dark-color);
        padding: 20px 0;
    }

    .criteria-group {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
}

/* Scroll Animations */
.label-intro,
.benefit-card,
.download-card,
.criteria-group {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.label-intro { animation-delay: 0.1s; }
.benefit-card:nth-child(1) { animation-delay: 0.2s; }
.benefit-card:nth-child(2) { animation-delay: 0.3s; }
.download-card { animation-delay: 0.4s; }
.criteria-group:nth-child(1) { animation-delay: 0.5s; }
.criteria-group:nth-child(2) { animation-delay: 0.6s; }
.criteria-group:nth-child(3) { animation-delay: 0.7s; }
.criteria-group:nth-child(4) { animation-delay: 0.8s; }
.criteria-group:nth-child(5) { animation-delay: 0.9s; }
.criteria-group:nth-child(6) { animation-delay: 1s; }



/* ===============================================
   Contact et Horaires Page - Specific Styles
   =============================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: movePattern 30s linear infinite;
    pointer-events: none;
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(40px, 40px) rotate(360deg);
    }
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header .lead {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Contact Cards */
.contact-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.2);
}

.contact-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-header i {
    font-size: 2.5rem;
}

.contact-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.contact-body {
    padding: 2rem;
}

.contact-body h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-body .address {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    padding-left: 0.5rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.contact-item span,
.contact-item a {
    font-size: 1.05rem;
    color: var(--dark-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Schedule Card */
.schedule-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.schedule-header {
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
    color: var(--white);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.schedule-header i {
    font-size: 2.5rem;
}

.schedule-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.schedule-table {
    padding: 0;
}

.schedule-table table {
    margin: 0;
}

.schedule-table tbody tr {
    transition: all 0.3s ease;
}

.schedule-table tbody tr:hover {
    background: rgba(40, 167, 69, 0.05);
}

.day-column {
    width: 30%;
    font-size: 1.1rem;
    padding: 1.25rem 2rem;
    color: var(--dark-color);
}

.hours-column {
    font-size: 1.05rem;
    padding: 1.25rem 2rem;
    color: #666;
}

.separator {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0.5rem;
}

.closed-day {
    background: rgba(220, 53, 69, 0.05);
}

.closed-day:hover {
    background: rgba(220, 53, 69, 0.08) !important;
}

/* Course Schedule Cards */
.course-schedule-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.course-schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.course-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
}

.course-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.course-header h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

.course-header strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1em;
}

.course-body {
    padding: 0;
}

.course-body table {
    margin: 0;
    font-size: 0.95rem;
}

.course-body thead {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4dabf7 100%);
    color: var(--white);
}

.course-body thead th {
    padding: 0.875rem 0.75rem;
    font-weight: 700;
    text-align: center;
    border: none;
    font-size: 0.9rem;
}

.course-body tbody td {
    padding: 0.875rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.course-body tbody tr:hover {
    background: rgba(0, 123, 255, 0.05);
}

.course-body tbody td:first-child {
    font-weight: 600;
    color: var(--dark-color);
    text-align: left;
}

.reservation {
    background: rgba(40, 167, 69, 0.1);
    color: var(--accent-color);
    font-weight: 600;
    text-align: center !important;
}

/* Important Note */
.important-note {
    margin-top: 3rem;
}

.important-note .alert {
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(0, 123, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 123, 255, 0.02) 100%);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.important-note .alert i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    .contact-header,
    .schedule-header {
        padding: 1.5rem;
    }

    .contact-body {
        padding: 1.5rem;
    }

    .day-column,
    .hours-column {
        padding: 1rem 1.5rem;
    }

    .course-schedule-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .contact-header,
    .schedule-header {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .contact-header h2,
    .schedule-header h2 {
        font-size: 1.3rem;
    }

    .contact-body {
        padding: 1.25rem;
    }

    .day-column,
    .hours-column {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }

    .course-header {
        padding: 1.5rem;
    }

    .course-icon {
        width: 60px;
        height: 60px;
    }

    .course-body table {
        font-size: 0.85rem;
    }

    .course-body thead th,
    .course-body tbody td {
        padding: 0.625rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .contact-header i,
    .schedule-header i {
        font-size: 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .day-column {
        width: 100%;
        font-size: 0.9rem;
    }

    .hours-column {
        font-size: 0.9rem;
    }

    .course-body table {
        font-size: 0.8rem;
    }

    .important-note .alert {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .page-header {
        background: var(--white);
        color: var(--dark-color);
        padding: 20px 0;
    }

    .contact-card,
    .schedule-card,
    .course-schedule-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .contact-header,
    .schedule-header,
    .course-header {
        background: var(--white);
        color: var(--dark-color);
        border-bottom: 2px solid #ddd;
    }
}

/* Animations */
.contact-card,
.schedule-card,
.course-schedule-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.schedule-card { animation-delay: 0.3s; }
.course-schedule-card:nth-child(1) { animation-delay: 0.4s; }
.course-schedule-card:nth-child(2) { animation-delay: 0.5s; }
.course-schedule-card:nth-child(3) { animation-delay: 0.6s; }
.important-note { animation: fadeInUp 0.6s ease 0.7s forwards; opacity: 0; }

