/**
* Template Name: Mentor
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37423b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #009E44; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #272828;  /* The default color of the main navmenu links */
  --nav-hover-color: #FF8200; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #272828; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #FF8200; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

.p-uniform {
    font-size: var(--bs-body-font-size);
    line-height: var(--bs-body-line-height);
    font-weight: 400;
    color: var(--bs-body-color);
    margin-bottom: 1rem; /* comme Bootstrap */
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-weight: 700;
  font-size: 30px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    /* Effet underline dégradé */
    .navmenu a::after {
        content: "";
        position: absolute;
        bottom: 10px;
        left: 15px;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-color), var(--nav-hover-color));
        transition: width 0.3s ease-in-out;
        border-radius: 2px;
    }

    .navmenu a:hover::after,
    .navmenu .active::after {
        width: calc(100% - 30px);
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    #navmenu a.active {
        color: var(--nav-hover-color);
    }

    /* Dropdown fluide */
    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        left: 14px;
        top: 130%;
        opacity: 0;
        visibility: hidden;
        border-radius: 6px;
        z-index: 99;
        box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Sous-dropdown */
    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-10px);
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Rotation icône */
    .navmenu li:hover > a i {
        transform: rotate(180deg);
    }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Hover mobile fashion */
    .navmenu a:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-radius: 6px;
        transform: translateX(5px);
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/* Bouton "FAIRE UNE DEMANDE" fashion */
.btn-getstarted {
    background: linear-gradient(135deg, var(--accent-color), var(--nav-hover-color));
    color: #fff;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.btn-getstarted:hover {
    background: linear-gradient(135deg, var(--nav-hover-color), var(--accent-color));
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
}

/* LOGO */
.footer .footer-about .logo {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 10px;
}

.footer .footer-about .logo span {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--heading-font);
    color: var(--heading-color);
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

/* RESEAUX SOCIAUX */
.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 18px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
}

.footer .social-links a:hover {
    color: #fff;
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* TITRES DES COLONNES */
.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.footer h4::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    left: 0;
    bottom: 0;
    border-radius: 2px;
}

/* LIENS */
.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul i {
    padding-right: 6px;
    font-size: 12px;
    line-height: 0;
    color: var(--accent-color);
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.footer .footer-links ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-links ul a:hover::after {
    width: 100%;
}

/* CONTACT */
.footer .footer-contact p {
    margin-bottom: 5px;
}

/* NEWSLETTER */
.footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 6px 8px;
    position: relative;
    border-radius: 50px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    display: flex;
    background-color: var(--surface-color);
    transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
    border: 0;
    padding: 4px 8px;
    width: 100%;
    background-color: var(--surface-color);
    color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
    outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
    border: 0;
    font-size: 16px;
    padding: 0 20px 2px 20px;
    margin: -7px -8px -7px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* COPYRIGHT */
.footer .copyright {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
    margin-bottom: 0;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    opacity: 1;
    transition: opacity 0.25s ease-out;
}

#preloader.fade-out {
    opacity: 0;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 5px solid var(--accent-color);
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 0.6s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --default-color: var(--contrast-color);
    --background-color: var(--accent-color);
    --heading-color: var(--contrast-color);
    color: var(--default-color);
    background: linear-gradient(135deg, #009E44 0%, #007A34 100%);
    position: relative;
    border-top: 2px solid var(--nav-hover-color);
    border-bottom: 2px solid var(--nav-hover-color);
    padding: 10px 0; /* Réduit de 40px à 25px */
    overflow: hidden;
}

.page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23007a34' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.page-title .heading {
    padding: 5px 0; /* Réduit de 20px à 15px */
    position: relative;
    z-index: 2;
}

.page-title .heading h1 {
    font-size: 36px; /* Réduit de 42px à 36px */
    font-weight: 800;
    margin-bottom: 15px; /* Réduit de 20px à 15px */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.page-title .heading h1::after {
    content: "";
    position: absolute;
    bottom: -8px; /* Réduit de -10px à -8px */
    left: 50%;
    transform: translateX(-50%);
    width: 70px; /* Réduit de 80px à 70px */
    height: 3px; /* Réduit de 4px à 3px */
    background: var(--contrast-color);
    border-radius: 2px;
}

.page-title .heading p {
    font-size: 16px; /* Réduit de 18px à 16px */
    line-height: 1.5; /* Réduit de 1.6 à 1.5 */
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 0.9;
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px); /* Réduit de 20px à 15px */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title .heading h1 {
    animation: fadeInUp 0.6s ease-out forwards; /* Réduit de 0.8s à 0.6s */
}

.page-title .heading p {
    animation: fadeInUp 0.6s ease-out 0.15s forwards; /* Réduit de 0.8s/0.2s à 0.6s/0.15s */
    opacity: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .page-title {
        padding: 20px 0; /* Réduit de 30px à 20px */
    }

    .page-title .heading h1 {
        font-size: 30px; /* Réduit de 36px à 30px */
    }

    .page-title .heading p {
        font-size: 15px; /* Réduit de 17px à 15px */
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 15px 0; /* Réduit de 25px à 15px */
    }

    .page-title .heading h1 {
        font-size: 26px; /* Réduit de 32px à 26px */
    }

    .page-title .heading p {
        font-size: 14px; /* Réduit de 16px à 14px */
        max-width: 450px;
    }
}

@media (max-width: 576px) {
    .page-title {
        padding: 12px 0; /* Réduit de 20px à 12px */
    }

    .page-title .heading h1 {
        font-size: 24px; /* Réduit de 28px à 24px */
        margin-bottom: 10px; /* Réduit de 15px à 10px */
    }

    .page-title .heading p {
        font-size: 13px; /* Réduit de 15px à 13px */
        max-width: 350px;
        line-height: 1.4; /* Réduit de 1.5 à 1.4 */
    }

    .page-title .heading h1::after {
        width: 50px; /* Réduit de 60px à 50px */
        height: 2px; /* Réduit de 3px à 2px */
        bottom: -6px; /* Réduit de -8px à -6px */
    }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 900px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding: 40px 0;
    position: relative;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    line-height: 1;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    width: 60px;
    height: 3px;
    display: block;
    background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 70%));
    margin: 8px auto 0;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section-title:hover h2::after {
    width: 100px;
}

.section-title p {
    color: var(--heading-color);
    margin: 0;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    font-family: var(--nav-font);
    text-transform: uppercase;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding: 0 10px;
}

.section-title p::before,
.section-title p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: translateY(-50%);
}

.section-title p::before {
    left: 0;
}

.section-title p::after {
    right: 0;
    background: linear-gradient(270deg, var(--accent-color), transparent);
}

/* Version avec icône */
.section-title.icon-title h2::before {
    content: "📋";
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}

/* Variante de couleur */
.section-title.accent-title h2 {
    color: var(--accent-color);
}

.section-title.accent-title h2::after {
    background: linear-gradient(90deg, var(--heading-color), color-mix(in srgb, var(--heading-color), transparent 70%));
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        padding: 30px 0;
    }

    .section-title h2 {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .section-title h2::after {
        width: 40px;
        height: 2px;
    }

    .section-title:hover h2::after {
        width: 60px;
    }

    .section-title p::before,
    .section-title p::after {
        width: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        padding: 20px 0;
    }

    .section-title h2 {
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .section-title p {
        font-size: 24px;
    }

    .section-title p::before,
    .section-title p::after {
        display: none;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 80vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-color);
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 60%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
}

.hero p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 10px 0 0 0;
    font-size: 24px;
}

.hero .btn-get-started {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 50px;
    transition: 0.4s;
    margin-top: 30px;
    border: 2px solid var(--default-color);
    color: var(--default-color);
}

.hero .btn-get-started:hover {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 10px 24px 12px 24px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
  padding: 25px 0;
}

.counts .stats-item {
  padding: 30px;
  width: 100%;
}

.counts .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.counts .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
}

.why-us .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .why-box p {
  margin-bottom: 30px;
}

.why-us .why-box .more-btn {
  display: inline-block;
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
  padding: 8px 40px 10px 40px;
  color: var(--contrast-color);
  transition: all ease-in-out 0.4s;
  border-radius: 50px;
}

.why-us .why-box .more-btn i {
  font-size: 14px;
}

.why-us .why-box .more-btn:hover {
  color: var(--accent-color);
  background: var(--surface-color);
}

.why-us .icon-box {
  background-color: var(--surface-color);
  text-align: center;
  padding: 40px 30px;
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.why-us .icon-box i {
  color: var(--accent-color);
  font-size: 32px;
  margin-bottom: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  transition: 0.3s;
}

.why-us .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .icon-box:hover i {
  color: var(--contrast-color);
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  padding: 5rem 0;
}

.features .features-item {
    background: var(--surface-color);
    border: 3px solid var(--nav-hover-color);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Icônes */
.features .features-item i {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Titres */
.features .features-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--heading-color);
}

/* Liens dans les titres */
.features .features-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}



/* Effet hover */
.features .features-item:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--nav-hover-color), white 20%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.features .features-item:hover i {
    transform: scale(1.2);
    color: var(--nav-hover-color) !important;
}

.features .features-item:hover a {
    color: var(--nav-hover-color);
}

/* Responsive spacing */
@media (max-width: 768px) {
    .features .features-item {
        padding: 20px 15px;
    }
    .features .features-item i {
        font-size: 30px;
    }
    .features .features-item h3 {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.courses .course-item {
    background-color: var(--surface-color);
    border: 3px solid color-mix(in srgb, var(--nav-hover-color), transparent 70%);
    border-radius: 10px; /* arrondi un peu plus marqué */
    overflow: hidden; /* évite que l’image déborde des coins arrondis */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses .course-item:hover {
    transform: translateY(-5px); /* petit effet flottant */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.courses .course-item img {
    width: 100%;
    height: 220px; /* hauteur uniforme pour toutes les cartes */
    object-fit: cover; /* évite la déformation */
    border-bottom: 3px solid color-mix(in srgb, var(--nav-hover-color), transparent 80%);
}


.pagination .page-link {
    color: var(--nav-hover-color);
    border-radius: 8px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.courses .course-content {
  padding: 15px;
}

.courses .course-content h3 {
  font-weight: 700;
  font-size: 20px;
}

.courses .course-content h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.courses .course-content h3 a:hover {
  color: var(--accent-color);
}

.courses .course-content .category {
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 20%));
    color: var(--contrast-color);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    margin: 0;
    border-radius: 25px; /* pastille plus douce */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
}

/* Petit effet au survol */
.courses .course-content .category:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), white 10%), var(--accent-color));
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.courses .course-content .price {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .course-content .description {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .trainer {
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.courses .trainer .trainer-profile img {
  max-width: 50px;
  border-radius: 50px;
}

.courses .trainer .trainer-profile .trainer-link {
  padding-left: 10px;
  font-weight: 600;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.courses .trainer .trainer-profile .trainer-link:hover {
  color: var(--accent-color);
}

.courses .trainer .trainer-rank {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.courses .trainer .trainer-rank .user-icon {
  font-size: 22px;
}

/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.municipal-team {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--default-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: #6c757d;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Styles pour les membres */
.municipal-team .member {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.municipal-team .member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.municipal-team .member-img {
    position: relative;
    overflow: hidden;
}

.municipal-team .member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.municipal-team .member:hover img {
    transform: scale(1.1);
}

.municipal-team .member .social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0, 158, 68, 0.8);
    padding: 15px 0;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
}

.municipal-team .member:hover .social {
    bottom: 0;
}

.municipal-team .member .social a {
    color: white;
    margin: 0 10px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.municipal-team .member .social a:hover {
    color: var(--nav-hover-color);
    transform: translateY(-3px);
}

.municipal-team .member-info {
    padding: 25px 20px;
}

.municipal-team .member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
    color: var(--default-color);
}

.municipal-team .member-info .position {
    font-style: italic;
    display: block;
    font-size: 16px;
    color: var(--nav-hover-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.municipal-team .member-info p {
    padding-top: 10px;
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
}

/* Style spécial pour le maire */
.municipal-team .mayor {
    border: 2px solid var(--accent-color);
}

.municipal-team .mayor .member-info .position {
    font-size: 18px;
    color: var(--nav-hover-color);
}

.municipal-team .mayor .member-info h4 {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .municipal-team {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .municipal-team .member img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .municipal-team {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .municipal-team .member img {
        height: 220px;
    }

    .municipal-team .member-info {
        padding: 20px 15px;
    }

    .municipal-team .member-info h4 {
        font-size: 18px;
    }

    .municipal-team .mayor .member-info h4 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .municipal-team {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header h2::after {
        width: 60px;
        height: 3px;
        bottom: -8px;
    }

    .section-header p {
        font-size: 15px;
    }

    .municipal-team .member img {
        height: 200px;
    }

    .municipal-team .member-info h4 {
        font-size: 17px;
    }

    .municipal-team .member-info .position {
        font-size: 14px;
    }

    .municipal-team .mayor .member-info h4 {
        font-size: 20px;
    }

    .municipal-team .mayor .member-info .position {
        font-size: 16px;
    }

    .municipal-team .member-info p {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
/* Général About Section */
.about-us .content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #FF8200; /* Couleur principale */
    position: relative;
}

.about-us .content h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #FFB347);
    border-radius: 2px;
    margin-top: 6px;
}

.about-us .content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.about-us .content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.about-us .content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

.about-us .content ul li i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.about-us img {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-us img:hover {
    transform: scale(1.03);
}

/* Espacement entre les sections */
.about-us .row {
    margin-bottom: 4rem;
}

/* Texte italic pour définitions ou petites phrases */
.about-us .fst-italic {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .about-us .content h3 {
        font-size: 1.6rem;
    }
    .about-us .content p,
    .about-us .content ul li {
        font-size: 0.9rem;
    }
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
/* Effet au survol */
.testimonials .testimonial-item:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--nav-hover-color), white 20%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Icones de guillemets */
.testimonials .quote-icon-left,
.testimonials .quote-icon-right {
    font-size: 22px;
    color: var(--nav-hover-color);
    opacity: 0.7;
}


.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

/* Style des cartes témoignages */
.testimonials .testimonial-item {
    background: var(--surface-color);
    border: 3px solid var(--nav-hover-color);
    border-radius: 15px;
    padding: 25px 20px;
    position: relative;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Image en rond */
.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50%;
    border: 3px solid var(--nav-hover-color);
    margin: 0 auto 15px auto;
    display: block;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* Nom + fonction */
.testimonials .testimonial-item h3 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Texte du témoignage */
.testimonials .testimonial-item p {
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: var(--default-color);
    position: relative;
    padding: 0 10px;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/
/* SECTION GLOBALE */
.courses-course-details {
    padding: 40px 15px;
}

.courses-course-details h3 {
    font-size: 26px;
    margin: 30px 0 20px 0;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    padding-bottom: 12px;
    color: var(--heading-color);
}

.courses-course-details h3::after {
    content: "";
    position: absolute;
    display: block;
    width: 70px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* IMAGE PRINCIPALE */
.courses-course-details .img-fluid {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.courses-course-details .img-fluid:hover {
    transform: scale(1.02);
}

/* CARDS INFO (Lieu / Auteur / Date) */
.courses-course-details .course-info {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 14px 18px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.courses-course-details .course-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.courses-course-details .course-info h5 {
    font-weight: 500;
    font-size: 15px;
    margin: 0;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.courses-course-details .course-info p {
    margin: 0;
    font-weight: 600;
    color: var(--heading-color);
    font-size: 14px;
}

/* TEXTE */
.courses-course-details p {
    line-height: 1.8;
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    margin-bottom: 20px;
}

/* CAROUSEL */
.custom-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.custom-carousel img {
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.custom-carousel img:hover {
    transform: scale(1.03);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--accent-color);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100);
    width: 30px;
    height: 30px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .courses-course-details h3 {
        font-size: 22px;
        text-align: center;
    }

    .courses-course-details .course-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .courses-course-details .course-info h5,
    .courses-course-details .course-info p {
        font-size: 14px;
    }

    .custom-carousel {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .courses-course-details {
        padding: 20px 10px;
    }

    .courses-course-details h3 {
        font-size: 20px;
    }

    .courses-course-details p {
        font-size: 14px;
    }

    .courses-course-details .course-info {
        padding: 12px;
    }
}




/* Carousel personnalisé */
.custom-carousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Centrage horizontal */
}

.custom-carousel .carousel-item img {
    height: 400px;
    object-fit: cover;
}

/* Centrage de la colonne carousel */
.carousel-column {
    display: flex;
    justify-content: center;
}


.custom-carousel .carousel-control-prev,
.custom-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.custom-carousel .carousel-control-prev {
    left: 15px;
}

.custom-carousel .carousel-control-next {
    right: 15px;
}

.custom-carousel .carousel-control-prev:hover,
.custom-carousel .carousel-control-next:hover {
    opacity: 0.9;
}

.custom-carousel .carousel-indicators {
    bottom: 15px;
}

.custom-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}


/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  padding-top: 30;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  background-color: var(--background-color);
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
  position: relative;
}

.trainers .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .trainers .member .member-img {
    margin: 0 60px;
  }
}

.trainers .member .member-img img {
  position: relative;
  z-index: 1;
}

.trainers .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.trainers .member .member-img .social a {
  transition: 0.3s;
  color: var(--contrast-color);
  font-size: 20px;
  margin: 0 8px;
}

.trainers .member .member-img .social a:hover {
  color: var(--accent-color);
}

.trainers .member .member-info {
  margin-top: 30px;
}

.trainers .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.trainers .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.trainers .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.trainers .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
  background-color: var(--background-color);
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.events .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.events .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.events .card-body {
  z-index: 10;
  background: var(--surface-color);
  border-top: 4px solid var(--surface-color);
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.events .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.events .card-title a {
  color: var(--default-color);
  transition: 0.3s;
}

.events .card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

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

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding-top: 8px;
  padding-bottom: 40px;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px 12px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

.divider-ci-animated {
    width: 95%;
    height: 6px;
    margin: 0 auto 0;
    background: linear-gradient(
            90deg,
            #ff7900 0%,
            #ffffff 50%,
            #009739 100%
    );
    border-radius: 4px;
    background-size: 200% 100%;
    animation: flowing-ci 3s infinite linear;
}

@keyframes flowing-ci {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

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

.mayors-list li {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 16px;
    background: #ffffff;
    border-left: 6px solid var(--nav-hover-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--bs-gray);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.mayors-list li:hover {
    transform: translateX(8px);
    border-left-color: var(--accent-color);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    background: var(--background-color);
}

.mayors-list li .icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--nav-hover-color), var(--accent-color));
    color: #fff;
    border-radius: 50%;
    margin-right: 16px;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.mayors-list li .icon-link:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mayors-list li span {
    transition: color 0.3s ease-in-out;
    font-weight: 500;
}

.mayors-list li:hover span {
    color: var(--nav-hover-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mayors-list li {
        padding: 14px 16px;
    }

    .mayors-list li .icon-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-right: 12px;
    }
}

@media (max-width: 768px) {
    .mayors-list li {
        padding: 12px 14px;
        margin-bottom: 12px;
    }

    .mayors-list li .icon-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-right: 10px;
    }

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

@media (max-width: 576px) {
    .mayors-list li {
        flex-direction: column;
        text-align: center;
        padding: 16px 12px;
    }

    .mayors-list li .icon-link {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.actu-img {
    max-width: 350px;   /* largeur max */
    max-height: 250px;  /* hauteur max */
    width: 100%;
    height: auto;
    object-fit: contain; /* garde proportions */
}

.info-box h6 {
    font-size: 0.75rem; /* plus petit */
    letter-spacing: 0.5px;
}

.info-box p {
    font-size: 0.85rem; /* texte ajusté */
    color: var(--accent-color); /* un peu plus foncé */
}

.table-container {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.table-container h3 {
    margin-bottom: 15px;
    color: #009E44; /* accent color */
    font-size: 1.5rem;
    font-weight: 600;
}

.demography-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.demography-table th,
.demography-table td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 1rem;
}

.demography-table th {
    background-color: #FF8200; /* nav-hover color */
    color: white;
    text-transform: uppercase;
}

.demography-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.demography-table tbody tr:hover {
    background-color: #f1f1f1;
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.expertise-list i {
    color: #0d6efd; /* bleu professionnel */
    font-size: 20px;
    margin-right: 10px;
}


.profile-header {
    text-align: center;
    padding: 20px 10px;
}

.profile-header .role {
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-header .name {
    font-size: 48px;
    font-weight: 800;
    margin: 5px 0;
    color: #0d1b2a;
}

.profile-header .name span {
    color: var(--accent-color); /* bleu institutionnel */
}

.profile-header .title {
    font-size: 16px;
    font-weight: 500;
    color: #495057;
    line-height: 1.6;
}

.profile-header .title span {
    display: inline-block;
    margin-top: 2px;
    font-weight: 600;
    color: #212529;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header .name {
        font-size: 36px;
    }
}







