* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
  height: 100vh;
  overflow: hidden; /* bloque scroll sur body */
  margin: 0;
  padding: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.top-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  clip-path: inset(0 0 calc(100vh - 145px) 0);
  transition: clip-path 0.6s ease;
  background: #000;
}

.top-background:hover {
  clip-path: inset(0 0 0 0);
}

.top-background:hover ~ .header,
.top-background:hover ~ .main-container {
  transform: translateY(80vh);
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Contenu du slide */
.slide-content {
  position: absolute;
  bottom: 15%;
  left: 10%;
  color: white;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  border-left: 5px solid #ffd700;
  backdrop-filter: blur(4px);
}

.slide-content h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.slide-content a {
  color: #ffd700;
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
}
/* Autres styles */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}


.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-btn.left {
  left: 20px;
}

.slider-btn.right {
  right: 20px;
}
.logo-circle {
  width: 45px;
  height: 45px;
  background: none;
  background-image: url("/images/logo-univ.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.header, .main-container {
  position: relative;
  z-index: 10;
  transition: transform 0.6s ease;
}

/* Header */
.header {
  position: sticky;
  display: flex;
  align-items: stretch;
  z-index: 100;
  margin-top: 100px;
  background: transparent; 
  box-shadow: 0 4px 6px -2px rgba(0,0,0,0.1); 
  position: relative;
}
/* .header {
  position: sticky;
  top: 0;
  height: 40px;
  background-image: url('images/actu1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center calc(-100px); 
  display: flex;
  align-items: stretch;
  z-index: 100;
  background-color: transparent;
  box-shadow: 0 4px 6px -2px rgba(0,0,0,0.1);
  position: relative;
} */

/* Bande blanche de 2px collée au bas du header, juste au-dessus de l'ombre */
.header::after {
    content: "";
    position: absolute;
    bottom: 0; /* 4px bande + 1px espace pour ombre */
    left: 0;
    width: 100%;
    height: 4px; /* 4px de hauteur */
    background: #ffffff;
    z-index: 101;
}


/* Navigation à droite */
.main-nav {
    display: flex;
    margin-left: auto;
    align-items: stretch;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 5px 0px 0px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* ombre uniquement en bas */
    position: relative;
    z-index: 10;
}

/* Ruban/Bookmark à gauche */
.bookmark-ribbon {
  position: fixed;
  top: 0;
  left: 20px;
  width: 90px;
  height: 20vh;
 background: linear-gradient(135deg, #ffffff, rgba(155,215,255,0));
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 85%,
    50% 100%,
    0 85%
  );
  z-index: 9999;
  /* pas de transform ici */
}


/* .logo-circle {
  width: 70px;
  height: 70px;
  background-image: url('/images/logo-univ.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
} */



.nav-tab {
    padding: 12px 20px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    border-radius: 5px 5px 0px 0px;
    /* border-radius: 8px 8px 0 0; */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-right: 2px;
}
/* Style spécifique à la page Enseignement */
.page-enseignement .header::after {
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
}

.page-enseignement .main-nav {
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
}



.page-infos .header::after {
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
}
.page-infos .main-nav {
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
}
.page-media .header::after {
    background: linear-gradient(135deg, #868e96, #495057);
}
.page-media .main-nav {
    background: linear-gradient(135deg, #868e96, #495057);
}
.page-partenariats .header::after {
    background: linear-gradient(135deg, #51cf66, #40c057);
}
.page-partenariats .main-nav {
    background: linear-gradient(135deg, #51cf66, #40c057);
}
.page-presidence .header::after {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}
.page-presidence .main-nav {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}
.page-recherche .header::after {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}
.page-recherche .main-nav {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}
.page-vie-etudiante .header::after {
    background: linear-gradient(135deg, #9775fa, #7c3aed);
}
.page-vie-etudiante .main-nav {
    background: linear-gradient(135deg, #9775fa, #7c3aed);
}
.nav-tab[data-color="orange"] {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.nav-tab[data-color="red"] {
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
}

.nav-tab[data-color="green"] {
    background: linear-gradient(135deg, #51cf66, #40c057);
}

.nav-tab[data-color="purple"] {
    background: linear-gradient(135deg, #9775fa, #7c3aed);
}

.nav-tab[data-color="gray"] {
    background: linear-gradient(135deg, #868e96, #495057);
}

.nav-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav-tab.active {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.nav-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.nav-tab:hover::before {
    left: 100%;
}

/* Main Container */
.main-container {
    display: flex;
    min-height: calc(100vh - 60px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 146px; 
    width: 250px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    overflow: hidden;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 20;
}


.sidebar-nav {
    display: flex;
    margin-top: 50px;
    flex-direction: column;
}

.sidebar-item {
    padding: 18px 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.sidebar-item:hover {
    background: linear-gradient(90deg, rgba(74, 144, 226, 0.1), transparent);
    border-left-color: #4a90e2;
    color: #4a90e2;
    transform: translateX(8px);
}

.sidebar-item.active {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.15), transparent);
    border-left-color: #ff8c00;
    color: #ff8c00;
    transform: translateX(8px);
    font-weight: 600;
}

.page-enseignement .sidebar-item.active {
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.15), transparent);
    border-left-color: #ff6b6b;
    color: #ff6b6b;
}
.page-enseignement .sidebar-item:hover {
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.1), transparent);
    border-left-color: #4a90e2;
    color: #4a90e2;
}
.page-infos .sidebar-item.active {
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.15), transparent);
    border-left-color: #ff6b6b;
    color: #ff6b6b;
}
.page-infos .sidebar-item:hover {
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.1), transparent);
    border-left-color: #4a90e2;
    color: #4a90e2;
}
.page-media .sidebar-item.active {
    background: linear-gradient(90deg, rgba(134, 142, 150, 0.15), transparent);
    border-left-color: #868e96;
    color: #868e96;
}
.page-media .sidebar-item:hover {
    background: linear-gradient(90deg, rgba(134, 142, 150, 0.1), transparent);
    border-left-color: #ffd000;
    color: #ffd000;
}
.page-partenariats .sidebar-item.active {
    background: linear-gradient(90deg, rgba(81, 207, 102, 0.15), transparent);
    border-left-color: #51cf66;
    color: #51cf66;
}
.page-partenariats .sidebar-item:hover {
    background: linear-gradient(90deg, rgba(81, 207, 102, 0.1), transparent);
    border-left-color: #4a90e2;
    color: #4a90e2;
}
.page-presidence .sidebar-item.active {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.15), transparent);
    border-left-color: #ff8c00;
    color: #ff8c00;
}
.page-presidence .sidebar-item:hover {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), transparent);
    border-left-color: #4a90e2;
    color: #4a90e2;
}
.page-recherche .sidebar-item.active {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.15), transparent);
    border-left-color: #ff8c00;
    color: #ff8c00;
}
.page-recherche .sidebar-item:hover {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), transparent);
    border-left-color: #4a90e2;
    color: #4a90e2;
}
.page-vie-etudiante .sidebar-item.active {
    background: linear-gradient(90deg, rgba(151, 117, 250, 0.15), transparent);
    border-left-color: #9775fa;
    color: #9775fa;
}
.page-vie-etudiante .sidebar-item:hover {
    background: linear-gradient(90deg, rgba(151, 117, 250, 0.1), transparent);
    border-left-color: #4a90e2;
    color: #4a90e2;
}
.sidebar-item i {
    margin-right: 10px;
    color: #4a90e2;
    transition: color 0.3s ease;
}

/* Content */
.content {
    flex: 1;
    margin-left: 250px; /* décalé pour laisser la sidebar fixe à gauche */
    height: calc(100vh - 100px); /* hauteur dispo sous le header */
    overflow-y: auto;
    padding: 10px 40px;
    /* background: #000; */
}


/* Hero Section  contenue initial*/
.hero-section {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(255, 140, 0, 0.1));
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    min-height: 400px;
}


.hero-content h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #4a90e2, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.page-enseignement h1 {
  background: linear-gradient(135deg, #f81414, #1bb4de); /* Même gradient que .main-nav */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-enseignement .header-line {
  background: linear-gradient(90deg, #f81414, #1bb4de); /* Même gradient que .main-nav */
}

.page-infos h1 {
  background: linear-gradient(135deg, #f81414, #1bb4de); /* Même gradient que .main-nav */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-infos .header-line {
  background: linear-gradient(90deg, #f81414, #1bb4de); /* Même gradient que .main-nav */
}
.page-media h1 {
    background: linear-gradient(90deg, #495057, #ffd000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-media .header-line {
    background: linear-gradient(90deg, #495057, #ffd000);
}
.page-partenariats h1 {
    background: linear-gradient(135deg, #51cf66, gray,#006eff, #006eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-partenariats .header-line {
    background: linear-gradient(90deg, #51cf66,gray, #0073ff, #006eff);
}
.page-presidence h1 {
    background: linear-gradient(135deg,#ff8c00, #006eff );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-presidence .header-line {
    background: linear-gradient(90deg, #ff8c00, #006eff);
}

.page-recherche h1 {
   background: linear-gradient(90deg, #ff8c00, #006eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-recherche .header-line {
    background: linear-gradient(90deg, #ff8c00, #006eff);
}
.page-vie-etudiante h1 {
    background: linear-gradient(135deg, #9775fa, gray, #006eff, #006eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-vie-etudiante .header-line {
    background: linear-gradient(90deg, #9775fa, gray, #006eff);
}

.header-line {
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #4a90e2);
    border-radius: 0;
    /* border-radius: 2px; */
    width: 120px;
    margin-bottom: 20px;
    animation: slideIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    /* border-radius: 15px; */
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}


@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

/* Faculties Section */
.faculties-section {
    padding: 60px 40px;
}

.faculties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.faculty-card {

        background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid transparent;

    /* display: flex; */
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.faculty-card:nth-child(1) {
    border-top-color: #4a90e2;
}

.faculty-card:nth-child(2) {
    border-top-color: #ff8c00;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.faculty-card h2 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.faculty-underline {
    height: 3px;
    width: 80px;
    margin-bottom: 25px;
    /* border-radius: 2px; */
    border-radius: 0;
}

.faculty-underline.blue {
    background: linear-gradient(90deg, #4a90e2, #357abd);
}

.faculty-underline.orange {
    background: linear-gradient(90deg, #ff8c00, #ff7f00);
}

.faculty-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}
.page-enseignement .faculty-card:nth-child(1) {
    border-top-color: #f81414;
}
.page-enseignement .faculty-card:nth-child(2) {
    border-top-color: #1bb4de;
}
.page-enseignement .faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.page-enseignement .faculty-underline.blue {
    background: linear-gradient(90deg, #f81414, #f81414);
}
.page-enseignement .faculty-underline.orange {
    background: linear-gradient(90deg, #1bb4de, #1bb4de);
}
.page-enseignement .programs-list li::before {
    content: '▶';
    color: #f81414;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.page-enseignement .programs-list li:hover::before {
    color: #1bb4de;
    transform: scale(1.3);
}
.page-infos .faculty-card:nth-child(1) {
    border-top-color: #f81414;
}
.page-infos .faculty-card:nth-child(2) {
    border-top-color: #1bb4de;
}
.page-infos .faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.page-infos .faculty-underline.blue {
    background: linear-gradient(90deg, #f81414, #f81414);
}
.page-infos .faculty-underline.orange {
    background: linear-gradient(90deg, #1bb4de, #1bb4de);
}
.page-infos .programs-list li::before {
    content: '▶';
    color: #f81414;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.page-infos .programs-list li:hover::before {
    color: #1bb4de;
    transform: scale(1.3);
}
.page-media .faculty-card:nth-child(1) {
    border-top-color: #495057;
}
.page-media .faculty-card:nth-child(2) {
    border-top-color: #ffd000;
}
.page-media .faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.page-media .faculty-underline.blue {
    background: linear-gradient(90deg, #495057, #495057);
}
.page-media .faculty-underline.orange {
    background: linear-gradient(90deg, #ffd000, #ffd000);
}
.page-media .programs-list li::before {
    content: '▶';
    color: #495057;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.page-media .programs-list li:hover::before {
    color: #ffd000;
    transform: scale(1.3);
}
.page-partenariats .faculty-card:nth-child(1) {
    border-top-color: #51cf66;
}
.page-partenariats .faculty-card:nth-child(2) {
    border-top-color: #40c057;
}
.page-partenariats .faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.page-partenariats .faculty-underline.blue {
    background: linear-gradient(90deg, #51cf66, #51cf66);
}
.page-partenariats .faculty-underline.orange {
    background: linear-gradient(90deg, #40c057, #40c057);
}
.page-partenariats .programs-list li::before {
    content: '▶';
    color: #51cf66;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.page-partenariats .programs-list li:hover::before {
    color: #40c057;
    transform: scale(1.3);
}
.page-presidence .faculty-card:nth-child(1) {
    border-top-color: #ff8c00;
}
.page-presidence .faculty-card:nth-child(2) {
    border-top-color: #006eff;
}
.page-presidence .faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.page-presidence .faculty-underline.blue {
    background: linear-gradient(90deg, #ff8c00, #ff8c00);
}
.page-presidence .faculty-underline.orange {
    background: linear-gradient(90deg, #006eff, #006eff);
}
.page-presidence .programs-list li::before {
    content: '▶';
    color: #ff8c00;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.page-presidence .programs-list li:hover::before {
    color: #006eff;
    transform: scale(1.3);
}
.page-recherche .faculty-card:nth-child(1) {
    border-top-color: #ff8c00;
}
.page-recherche .faculty-card:nth-child(2) {
    border-top-color: #006eff;
}
.page-recherche .faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.page-recherche .faculty-underline.blue {
    background: linear-gradient(90deg, #ff8c00, #ff8c00);
}
.page-recherche .faculty-underline.orange {
    background: linear-gradient(90deg, #006eff, #006eff);
}
.page-recherche .programs-list li::before {
    content: '▶';
    color: #ff8c00;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.page-recherche .programs-list li:hover::before {
    color: #006eff;
    transform: scale(1.3);
}
.page-vie-etudiante .faculty-card:nth-child(1) {
    border-top-color: #9775fa;
}
.page-vie-etudiante .faculty-card:nth-child(2) {
    border-top-color: #7c3aed;
}
.page-vie-etudiante .faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.page-vie-etudiante .faculty-underline.blue {
    background: linear-gradient(90deg, #9775fa, #9775fa);
}
.programs-list {
    list-style: none;
}

.programs-list li {
    padding: 10px 0;
    color: #555;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.programs-list li:hover {
    color: #4a90e2;
    transform: translateX(15px);
}

.programs-list li::before {
    content: '▶';
    color: #ff8c00;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.programs-list li:hover::before {
    color: #4a90e2;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        /* grid-template-columns: 1fr; */
        text-align: center;
        padding: 40px 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        padding: 5px;
    }
    
    .nav-tab {
        padding: 8px 12px;
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .sidebar {
        width: 200px;
    }
    
    .hero-section {
        padding: 30px 20px;
    }
    
    .faculties-section {
        padding: 40px 20px;
    }
    
    .faculties-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
.main-container {
    display: flex;
    /* Supprime ou ajuste : min-height */
    height: calc(100vh - 100px);
    overflow: hidden;
}

    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .sidebar-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 4px solid transparent;
        min-width: 120px;
    }
    
    .sidebar-item:hover,
    .sidebar-item.active {
        border-left: none;
        border-bottom-color: #ff8c00;
        transform: translateY(-3px);
    }
    
    .bookmark-ribbon {
        width: 60px;
    }
    
    .logo-circle {
        width: 25px;
        height: 25px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
.scroll-wrapper {
  position: absolute;
  top: 100px; /* après l'image */
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  overflow: hidden;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* border-radius: 5px; */
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2, #ff8c00);
    border-radius: 0px;
    /* border-radius: 5px; */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #357abd, #ff7f00);
}
/* 
.slide {
  display: none;
  transition: opacity 0.5s ease;
}

.slide.active {
  display: block;
} */
