/* RESET STYLES & HELPER CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.hover-underline {
  font-size: 2rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ff0000, #00ffff);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}
.holographic-card img{

  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.holographic-card img {
  color: #0ff;
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.holographic-card img::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;

  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(0,255,255,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #ddd
}

.holographic-card img:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

@font-face {
    font-family: 'Louguiya';
    src: url('fonts/Louguiya.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Version Bold (Gras) */
@font-face {
    font-family: 'Louguiya';
    src: url('fonts/Louguiya_Bold.ttf') format('truetype');
    font-weight: bold; /* ou 700 */
    font-style: normal;
}
body {
    font-family: 'Louguiya', sans-serif;
}
h1, h2, h3,h4,h5 {
    font-family: 'Louguiya', serif;
}
/* Correction de l'affichage des sous-menus Drilldown en RTL */
html[dir="rtl"] .t4-offcanvas .t4-off-canvas-body .navbar.drilldown-effect .navbar-nav .dropdown-menu {
    right: auto !important;
    left: 100% !important;
}

/* Ajustement du bouton de retour si nécessaire */
html[dir="rtl"] .t4-offcanvas .t4-off-canvas-body .navbar.drilldown-effect .navbar-nav .btn-toggle::after {
    transform: rotate(180deg);
}
.module-title {
    font-weight: var(--heading-font-weight);
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    padding: 0;
    text-transform: uppercase;
}

.desc-article {
    font-size: 20px;
}
/* Agrandir le texte du menu principal */
.t4-main-nav .navbar-nav > li > a {
    font-size: 1.2rem !important; /* Augmentez cette valeur (ex: 18px ou 1.2rem) */
    font-weight: 600;            /* Optionnel : mettre en gras (400 à 700) */
    text-transform: none;        /* Optionnel : 'uppercase' pour tout en majuscules */
}

/* Agrandir aussi le texte des sous-menus (dropdown) */
.t4-main-nav .dropdown-menu a {
    font-size: 1.1rem !important;
}
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
    color: var(--mainnav-link-color);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 20px 1rem;
    height: 80px;
    line-height: 40px;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    text-transform: uppercase;
}
.hero-content-inner {
    /* Fond noir avec 30% d'opacité (ajustez 0.3 selon vos besoins) */
    background: rgba(0, 0, 0, 0.4) !important; 
    
    /* Supprime tout dégradé automatique du template */
    background-image: none !important; 
    
    /* Optionnel : ajoute un léger flou derrière le noir (effet moderne) */
    /* backdrop-filter: blur(4px); */
    
    /* Espacement interne pour que le texte ne touche pas les bords du noir */
    padding: 25px; 
    
    /* Arrondir les angles pour un look plus doux */
    border-radius: 10px;
    
    /* S'assurer que le bloc ne prend pas toute la largeur s'il n'y a pas beaucoup de texte */
    display: inline-block;
  text-align: right;
}
.btn-mauritanie {
    color: #003f5c !important;
    background-color: transparent;
    border: 2px solid #ffc107 !important;
    font-weight: 600;
    /* padding: 12px 30px; */
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Effet au survol (Hover) */
.btn-mauritanie:hover {
    background-color: #003f5c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 63, 92, 0.3) !important;
    transform: translateY(-2px);
}

/* Effet au clic */
.btn-mauritanie:active {
    transform: translateY(0);
}

/* Adaptation mobile (Pleine largeur sur téléphone) */
@media (max-width: 767px) {
    .btn-mauritanie {
        width: 100%;
        display: block;
    }
}
/* Améliorer la visibilité du bloc intérieur du diaporama */
.hero-content-inner {
    background: rgba(0, 0, 0, 0.4); /* Calque noir à 40% d'opacité */
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px); /* Effet de flou moderne sur l'image derrière */
    max-width: 700px;
    margin: 0 auto;
}

/* Forcer le texte en blanc pour qu'il ressorte */
.hero-content-inner h1, 
.hero-content-inner .hero-title,
.hero-content-inner p,
.hero-content-inner .hero-subtitle {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Ombre portée pour la lecture */
}