:root {
    --primary-color: #0056b3;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

.navbar-custom {
    background-color: var(--primary-color);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: white;
}

.navbar-custom .nav-link:hover {
    color: var(--accent-color);
}

/* Remplacez votre style hero-section actuel par celui-ci */
.hero-section {
    position: relative;
    height: 70vh;
    color: white;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-dot.active {
    background-color: white;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.news-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.quick-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

.social-icons i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: white;
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/page-header.jpg') center/cover no-repeat;
    padding: 5rem 0;
    color: white;
    margin-bottom: 3rem;
}

/* Styles spécifiques aux formations */
.formation-card {
    border: none;
    transition: all 0.3s ease;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Styles pour les témoignages */
.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Section contact */
.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 5px;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.floating-button {
    position: fixed;
    right: 20px; /* Distance du bord droit */
    top: 50%; /* Centré verticalement */
    transform: translateY(-50%); /* Ajuste pour centrer le bouton */
    padding: 10px 20px; /* Espacement interne */
    background-color: #007bff; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    text-decoration: none; /* Pas de soulignement */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre */
    font-size: 16px; /* Taille de police */
    transition: background-color 0.3s; /* Transition pour l'effet hover */
}

.floating-button:hover {
    background-color: #0056b3; /* Couleur au survol */
}