/**
* Template Name: MAE
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

  /* AME COLORS */
  :root {
    --font-family: 'Tajawal', sans-serif !important;
    /* --primary-color: #2c3e50; */
    --primary-color: #090446;
    --secondary-color: #3498db;
    --blue-ame:#5794cd;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #1a252f;
    --text-color: #333;
    --gold-accent: #f1c40f;
    --glass-effect: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }


  /* AME STYLE */
  .text-color-blue {
    color: var(--blue-ame);
  }
  .text-color-accent {
    color: var(--gold-accent);
  }
  body.ame-web {
    background:linear-gradient(135deg, rgb(245, 247, 250) 50%, rgb(195, 207, 226) 90%);
    color: var(--text-color);
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    /* font-family: 'Montserrat', sans-serif; */
    font-family: var(--font-family);
  }

.color-yallow-ame {
  color: var(--gold-accent);
}
.color-blue-ame {
  color: var(--blue-ame);
}
  /* Header */
  .ame-web header {
    /* background: var(--glass-effect); */
    /* background: #1a365d86; */
    background: #ffffffe5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ame-web .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    /* background: rgba(0, 0, 0, 0.1); */
    border-bottom: 1px solid #e7e7e7;
}

.ame-web .scrolling-news {
    flex: 1;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    background-color: var(--blue-ame);
    color: white;
    padding: 0 15px;
    border-radius: 4px;
    margin-right: 20px;
}

.ame-web .scrolling-content span a {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 8s linear infinite;
}

.scrolling-content span {
    margin-right: 40px;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ame-web .top-bar-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: end;
    margin: 4px 0;
}

.ame-web .top-bar a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ame-web .top-bar a.login-btn {
    border: 1px solid var(--blue-ame);
    padding: 10px;
    border-radius: 5px;
    width: max-content;
    color: var(--blue-ame);
}

.ame-web .top-bar a:hover {
    color: var(--blue-ame);
}

.ame-web .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 5%;
}

.ame-web .logo img {
    height: 65px;
    transition: transform 0.3s;
}

.ame-web .logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.ame-web nav ul li a {
    /* color: white; */
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.ame-web nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.ame-web nav ul li a:hover:after {
    width: 100%;
}

.ame-web .dropdown {
    position: relative;
    cursor: pointer;
}

.ame-web .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 260px;
    box-shadow: 0 8px 24px var(--shadow-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1;
    /* top: 100%; */
    left: 0;
    margin-top: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(10, 90, 131, 0.05);
}

/* Tablettes */
@media (max-width: 1024px) and (min-width: 768px) {
    .ame-web .dropdown-content {
        width: 96%;
        left: 10px;
        right: 10px;
    }
}

/* Mobiles */
@media (max-width: 767px) {
    .ame-web .dropdown-content {
        width: 96%;
        left: 10px;
        right: 10px;
        position: fixed; /* Optionnel pour les très petits écrans */
    }
}

.ame-web .dropdown-content a {
    color: var(--text-color) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.ame-web .dropdown-content a:hover {
    background-color: var(--light-accent);
    color: var(--primary-color) !important;
    border-left: 3px solid var(--gold-accent);
}

.ame-web .dropdown:hover .dropdown-content {
    display: block;
}

.ame-web .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
.ame-web .mobile-menu-btn i{
  color: #000;
}

.ame-web .language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #fff;
}

.ame-web header ul {
    margin-bottom: 0;
}

   /* Hero section */
   .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #edf4ff, #d4e7ff, #cbfcf5, #b8d4ff);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
  }

  /* Animated gradient layer with rotation */
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
      rgba(237, 244, 255, 0.8), 
      rgba(212, 231, 255, 0.6), 
      rgba(203, 252, 245, 0.7), 
      rgba(203, 220, 246, 0.8),
      rgba(242, 237, 255, 0.8));
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite, rotateGradient 30s linear infinite;
    z-index: 0;
  }

  /* Noise texture overlay */
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
      ),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
      );
    opacity: 0.5;
    animation: noiseAnimation 8s steps(10) infinite;
    z-index: 0;
    pointer-events: none;
  }

  @keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  @keyframes rotateGradient {
    0% {
      transform: rotate(0deg) scale(1);
    }
    50% {
      transform: rotate(180deg) scale(1.1);
    }
    100% {
      transform: rotate(360deg) scale(1);
    }
  }

  @keyframes noiseAnimation {
    0%, 100% { 
      opacity: 0.5; 
      transform: translate(0, 0);
    }
    10% { 
      opacity: 0.55; 
      transform: translate(-5%, -5%);
    }
    20% { 
      opacity: 0.5; 
      transform: translate(-10%, 5%);
    }
    30% { 
      opacity: 0.6; 
      transform: translate(5%, -10%);
    }
    40% { 
      opacity: 0.5; 
      transform: translate(-5%, 10%);
    }
    50% { 
      opacity: 0.55; 
      transform: translate(10%, -5%);
    }
    60% { 
      opacity: 0.5; 
      transform: translate(-10%, -10%);
    }
    70% { 
      opacity: 0.6; 
      transform: translate(5%, 5%);
    }
    80% { 
      opacity: 0.5; 
      transform: translate(10%, 10%);
    }
    90% { 
      opacity: 0.55; 
      transform: translate(-5%, 0);
    }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hero-text {
    flex: 1.2;
    padding-right: 4rem;
    animation: fadeInUp 1s ease-out;
  }

  /* .hero h1, .hero h2, .tagline, .primary-btn, .secondary-btn {
    transform: translateX(-3.5cm);
  } */

  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 4rem;
    /* background: linear-gradient(to right, white, var(--blue-ame)); */
    background: linear-gradient(to right, rgb(16, 0, 57), var(--blue-ame));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 110px;
  }

  .hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
  }

  .tagline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
    /* color: rgba(255, 255, 255, 0.8); */
    color: #000;
  }

  /* Tablettes */
@media (max-width: 1024px) and (min-width: 768px) {
    .tagline {
        max-width: 100%;
    }
}

/* Mobiles et petits écrans */
@media (max-width: 767px) {
    .tagline {
        max-width: 100%;
    }
}

  .cta-buttons {
    display: flex;
    gap: 1.5rem;
  }

  .cta-btn {
    padding: 1rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .primary-btn {
    background: var(--blue-ame);
    color: #fff;
  }

  .primary-btn:hover {
    transform: translateY(-3px) translateX(-5px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
  }

  .cta-btn-body {
    padding: 1rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .primary-btn-body {
    background: var(--blue-ame);
    color: #fff;
  }

  .primary-btn-body:hover {
    transform: translateY(-3px) translateX(-5cm);
    box-shadow: 0 8px 25px rgba(157, 163, 247, 0.4);
  }

  .secondary-btn {
    /* background: transparent; */
    background: #090446;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .secondary-btn:hover {
    /* background: rgba(255, 255, 255, 0.1); */
    background: #080157;
    border-color: white;
    transform: translateY(-3px) translateX(-5px);
  }

  .hero-image-slider {
    flex: 1;
    position: relative;
    height: 500px;
    perspective: 1000px;
    margin-top: 46px;
  }

  .slider-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: transform 1s ease, opacity 1s ease, z-index 0s 1s;
    opacity: 0;
    z-index: 0;
  }

  .slider-card.active {
    opacity: 1;
    z-index: 1;
    transform: translateX(0) rotateY(0deg);
    transition: transform 1s ease, opacity 1s ease, z-index 0s;
  }

  .slider-card.next {
    opacity: 0.7;
    transform: translateX(10%) rotateY(-15deg);
    z-index: 0;
  }

  .slider-card.prev {
    opacity: 0.7;
    transform: translateX(-10%) rotateY(15deg);
    z-index: 0;
  }

  .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
  }

  .slider-caption {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
  }

  .slider-card.active .slider-caption {
    transform: translateY(0);
    opacity: 1;
  }


  /* Services section */
  .ame-web .services {
    padding: 6rem 0;
    /* background: white; */
    position: relative;
  }

  .ame-web .section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    color: var(--primary-color);
    /* color: #1e40af; */
  }

  .ame-web .section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gold-accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
  }

  .ame-web .service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
  }

  .ame-web .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }

  .ame-web .service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .ame-web .service-card:hover:before {
    transform: scaleX(1);
  }

  .ame-web .service-icon {
    font-size: 2.5rem;
    color: var(--blue-ame);
    margin-bottom: 1.5rem;
    display: inline-block;
  }

  .ame-web .service-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
  }

  .ame-web .service-card p {
    color: var(--text-color);
    line-height: 1.8;
  }

  /* Footer */

  .footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 6px 8px;
    position: relative;
    border-radius: 50px;
    border: 1px solid white;
    display: flex;
    background-color: white;
    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;
    width: 100%;
    /* background-color: var(--light-color); */
    color: var(--primary-color);
  }

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

  .footer .footer-newsletter .newsletter-form input[type=button] {
    border: 0;
    font-size: 16px;
    padding: 0 20px;
    margin: -7px -9px -7px 0;
    background: var(--blue-ame);
    color:#fff;
    transition: 0.3s;
    border-radius: 0 50px 50px 0;
  }

  .footer .footer-newsletter .newsletter-form input[type=button]:hover {
    background: rgb(100, 159, 226);
  }

  .ame-web footer {
    /* background: var(--dark-color); */
    background: #eff7ffd4;
    background-image: url('../img/logo--preview.png');
    background-size:400px;
    background-position: right top;
    background-repeat: no-repeat;
    /* color: white; */
    color: var(--primary-color);
    padding: 4rem 0 1rem; 
    position: relative;
  }

  .ame-web .footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
  }

  .ame-web .footer-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.8;
  }

  .ame-web .social-links {
    display: flex;
    gap: 1rem;
  }

  .ame-web ul.footer-links {
    padding-left: 0;
}
.footer-link-item{
  display: flex;
  align-items: center;
  gap: 10px;
}
  .ame-web .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.1); */
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transition: all 0.3s;
  }

  .ame-web .social-links a:hover {
    background: var(--gold-accent);
    color: var(--dark-color);
    transform: translateY(-3px);
  }

  .ame-web .footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
  }

  .ame-web .footer-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--gold-accent);
    bottom: 0;
    left: 0;
  }

  .ame-web .footer-links li {
    margin-bottom: 1rem;
    list-style: none;
  }

  .ame-web .footer-links a {
    /* color: rgba(255, 255, 255, 0.7); */
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
  }

  .ame-web .footer-links a:hover {
    color: var(--gold-accent);
    transform: translateX(5px);
  }

  .ame-web .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
  }

  .ame-web .contact-icon {
    color: var(--gold-accent);
    margin-top: 5px;
  }

  .ame-web .footer-bottom {
    margin-top: 1rem;
    padding-top: 0.5rem;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    border-top: 1px solid var(--primary-color);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
  }

  /* Floating menu styles */
  .ame-web .menu-indicator {
    position: fixed;
    right: 10px;
    transform: translateY(-50%);
    z-index: 999;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 0 20px 20px 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .ame-web .menu-indicator::after {
    content: "...";
    margin-right: 8px;
    margin-left: 0;
    font-size: 14px;
  }

  .ame-web .menu-indicator:hover {
    background: rgba(255, 255, 255, 0.3);
    color: black;
  }

  .ame-web .menu-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
  }

  .ame-web .circle-menu {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    right: -100px;
    opacity: 0;
    overflow: hidden;
    border: 2px solid white;
    background: #f8f9fa;
  }

  .ame-web .circle-menu img {
    width: 120%;
    height: auto;
    object-fit: contain;
  }

  .ame-web .menu-container:hover .circle-menu {
    right: 0;
    opacity: 1;
  }

  .ame-web .menu-container:hover .circle-menu.medium1 { transition: all 0.4s ease 0.1s; }
  .ame-web .menu-container:hover .circle-menu.medium2 { transition: all 0.4s ease 0.3s; }
  .ame-web .menu-container:hover .circle-menu.medium3 { transition: all 0.4s ease 0.5s; }

  .ame-web .circle-menu .tooltip {
    position: absolute;
    right: 100%;
    background: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 15px;
    pointer-events: none;
  }

  /* .ame-web .circle-menu:hover .tooltip {
    opacity: 1;
    visibility: visible;
  } */

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

  /* Decorative shapes */
  .ame-web .decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
  }

  .ame-web .shape {
    position: absolute;
    opacity: 0.1;
    filter: blur(1px);
    animation: floatShape linear infinite;
  }

  @keyframes floatShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, -100vh) rotate(360deg); }
  }

  /* Responsive */
  /* Responsive */
  @media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

     [dir="rtl"].hero-content {
        flex-direction: column !important;
        text-align: center !important;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-image-slider {
        width: 80%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgb(245 245 245);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    .ame-web .top-bar{
      flex-wrap: wrap;
    }
    .ame-web .top-bar-content{
      justify-content: space-between;
      width: 100%;
    }
    .ticker-wrap {
      width: 100%;
    }
    nav ul.show {
        display: flex;
    }

    nav ul li {
        padding: 0.8rem 5%;
    }

    .hero-image-slider {
        width: 100%;
        height: 350px;
    }

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

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

}
.language-selector{
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #fff;
}
.language-selector{
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #fff;
}

    /* News & Events Section Styles */
    .news-events {
        position: relative;
        overflow: hidden;
    }

    .news-card {
        padding: 0 15px;
    }

    .news-card .card {
        border-radius: 15px;
        transition: all 0.3s ease;
        background: white;
    }

    .news-card .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    }

    .news-card .card-img-top {
        height: 200px;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
    }

    .news-tag {
        position: absolute;
        top: 15px;
        right: 15px;
        color: white;
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
    }
    .regular-tag {
        color: white;
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 0.8rem;
        width: fit-content;
        font-weight: 600;
    }

    .news-card .card-title a {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none !important;
        margin-bottom: 1rem;
    }

    .news-card .card-text {
        color: var(--text-color);
        margin-bottom: 1.5rem;
    }

    /* Owl Carousel Navigation */
    .owl-carousel .owl-nav {
        position: absolute;
        top: -70px;
        right: 0;
    }

    .owl-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        border-radius: 50% !important;
        background: var(--blue-ame) !important;
        color: #fff !important;
        margin-left: 10px;
        transition: all 0.3s;
    }

    .owl-carousel .owl-nav button:hover {
        background: var(--primary-color) !important;
        color: white !important;
    }

    .owl-carousel .owl-dots {
        margin-top: 30px !important;
    }

    .owl-carousel .owl-dots button.owl-dot span {
        background: rgba(0, 0, 0, 0.1) !important;
        width: 12px !important;
        height: 12px !important;
    }

    .owl-carousel .owl-dots button.owl-dot.active span {
        background: var(--gold-accent) !important;
    }

    /* tunisia map */
    .directory-section {
        padding: 3rem 0;
        background-color: #f8f9fa;
        min-height: 100vh;
    }

    .map-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .tunisia-map {
        width: 100%;
        height: auto;
        max-height: 700px;
    }

    .governorate {
        fill: #3498db;
        stroke: #fff;
        stroke-width: 1;
        transition: fill 0.3s ease;
        cursor: pointer;
    }

    .governorate:hover {
        fill: #2980b9;
    }

    .governorate.active {
        fill: #16a085;
    }

    .tooltip-custom {
        position: absolute;
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        pointer-events: none;
        z-index: 1000;
        display: none;
    }

    .info-card {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        height: 100%;
        opacity: 0;
        transform: translateX(50px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .info-card.show {
        opacity: 1;
        transform: translateX(0);
    }

    .stat-card {
        border-left: 4px solid #3498db;
        margin-bottom: 1rem;
        padding-left: 1rem;
    }

    .stat-icon {
        background-color: #eaf4fe;
        color: #3498db;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0;
    }

    .stat-label {
        color: #7f8c8d;
        margin-bottom: 0;
    }

    .info-title {
        font-size: 2rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #3498db;
        padding-bottom: 0.5rem;
    }

    .info-description {
        color: #7f8c8d;
        margin-bottom: 1.5rem;
    }

    .section-title {
        color: #2c3e50;
        margin-bottom: 2rem;
        font-weight: bold;
    }

    .map-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    @media (max-width: 768px) {
        .map-container {
            margin-bottom: 2rem;
        }
    }

   /* about section*/
.about-section {
    position: relative;
    width: 100%;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 80px 0; */
    overflow: hidden;
    background-color: #f8f9fa;
}

/* Image de fond avec overlay */
.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

/* Conteneur du contenu */
.about-container {
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Partie texte */
.about-content {
    flex: 1;
    padding: 60px;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--gold-accent);
    border-radius: 2px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* Bouton */
.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--blue-ame);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(110, 69, 226, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(110, 69, 226, 0.4);
}

/* Partie image */
.about-image {
    flex: 1;
    min-width: 300px;
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f');
    background-size: cover;
    background-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        width: 95%; /* Légère réduction de la largeur sur mobile */
    }

    .about-content {
        padding: 40px 25px;
        width: 100%; /* Force la largeur à 100% */
        flex: none; /* Supprime le flex pour éviter les problèmes de largeur */
    }

    .about-image {
        width: 100%; /* Largeur 100% */
        height: 300px;
    }
}

/* Pour les très petits écrans - cacher l'image */
@media (max-width: 576px) {
    .about-image {
        display: none !important; /* Cache complètement l'image */
    }

    .about-content {
        padding: 30px 20px; /* Ajuste le padding pour les petits écrans */
    }

    .about-content h2 {
        font-size: 2rem; /* Réduit la taille du titre */
    }

    .about-content p {
        font-size: 1rem; /* Réduit légèrement la taille du texte */
    }
}
/* Custom styles */
.hero-banner {
  background: linear-gradient(
    135deg,
    var(--dark-color),
    rgba(0, 0, 0, 0.6)
  ),
  url('../img/Cover-Education.webp');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0 2rem 0;
  margin-bottom: 2rem;
  text-align: center;
}

    .hero-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        margin-top: 7rem;

    }

    .hero-subtitle {
        font-size: 1.5rem;
        opacity: 0.9;
        margin-bottom: 2rem;
    }

    .content-section {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .sidebar-card {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .sidebar-title {
        color: var(--primary-color);
        border-bottom: 2px solid var(--gold-accent);
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .convention-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #eee;
    }

    .convention-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .btn-register {
        background: var(--blue-ame);
        border: none;
        font-weight: 600;
        border-radius: 50px;
        padding: 0.75rem 1.5rem;
        width: 100%;
    }

    .btn-register:hover {
        background: var(--primary-color);
    }

    .details-activities .img-fluid {
        border-radius: 8px;
        margin: 1.5rem 0;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }

    a.links_cards {
        text-decoration: none !important;
    }

    @media (max-width: 992px) {
        .sidebar {
            margin-top: 3rem;
        }
    }

    .bg-primary {
        background-color: var(--primary-color) !important;
    }

    /* contact page */
    .contacts-page .contact-card {
        border: none;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        background-color: white;
    }

    .contacts-page .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .contacts-page .contact-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
        color: white;
    }

    .contacts-page .section-title {
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 30px;
    }


    .contacts-page .contact-card {
        border: none;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        background-color: white;
    }

    .contacts-page .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .contacts-page .contact-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
        color: white;
    }

    .contacts-page .form-control {
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        transition: all 0.3s ease;
    }

    .contacts-page .form-control:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 0.25rem rgba(72, 149, 239, 0.25);
    }



    .contacts-page .map-container {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        height: 100%;
    }

    .contacts-page .map-container iframe {
        width: 100%;
        height: 100%;
        min-height: 300px;
        border: none;
    }

    .contacts-page .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #f0f0f0;
        color: var(--dark-color);
        margin-right: 10px;
        transition: all 0.3s ease;
    }

    .contacts-page .social-links a:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-3px);
    }

    .contacts-page .section-title {
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 30px;
    }

    .contacts-page .contact-card {
        border: none;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        background-color: white;
    }

    .contacts-page .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .contacts-page .contact-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        background: var(--primary-color);
        color: white;
    }

    .contacts-page i {
        color: var(--gold-accent);
    }

    /* inscription page */
    .inscription-section {
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        padding: 5rem 0;
    }

    .inscription-card {
        border: none;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .inscription-header {
        background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
        color: var(--gold-accent);
        padding: 2rem;
        text-align: center;
    }

    .inscription-body {
        padding: 2.5rem;
        background-color: white;
    }

    .inscription-section .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .inscription-section .form-control {
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        transition: all 0.3s ease;
    }

    .inscription-section .form-control:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 0.25rem rgba(72, 149, 239, 0.25);
    }

    .inscription-section .btn-inscription {
        background: var(--blue-ame);
        color: #fff;
        border: none;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: 600;
        letter-spacing: 0.5px;
        width: 100%;
        transition: all 0.3s ease;
    }

    .inscription-section .btn-inscription:hover {
        background: var(--primary-color);
    }

    .inscription-section .input-group-text {
        background-color: #f0f4f8;
        border-right: none;
    }

    .inscription-section .input-group .form-control {
        border-left: none;
    }

    .inscription-section .divider {
        display: flex;
        align-items: center;
        margin: 1.5rem 0;
    }

    .inscription-section .divider::before, .inscription-section .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e0e0e0;
    }

    .inscription-section .divider-text {
        padding: 0 1rem;
        color: #6c757d;
        font-size: 0.875rem;
    }

    .inscription-section .social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-radius: 8px;
        font-weight: 500;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
    }

    .inscription-section .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .inscription-section .social-btn i {
        margin-right: 8px;
        font-size: 1.2rem;
    }

    .inscription-section .btn-google {
        background-color: #fff;
        color: #757575;
        border: 1px solid #e0e0e0;
    }

    .inscription-section .btn-facebook {
        background-color: #3b5998;
        color: white;
    }

    .inscription-section .btn-linkedin {
        background-color: #0077b5;
        color: white;
    }

    /* authentification page */
    .auth-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .auth-card {
        border: none;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        background-color: white;
    }

    .auth-hero {
        background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
        color: white;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .auth-hero h2 {
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .auth-hero p {
        opacity: 0.9;
    }

    .auth-form-container {
        padding: 3rem;
    }

    .auth-tabs {
        border-bottom: none;
        margin-bottom: 2rem;
    }

    .auth-tabs .nav-link {
        border: none;
        font-weight: 600;
        color: #6c757d;
        padding: 0.75rem 1.5rem;
        margin-right: 0.5rem;
        border-radius: 8px;
    }

    .auth-tabs .nav-link.active {
        background-color: var(--primary-color);
        color: white;
    }

    .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .form-control {
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        transition: all 0.3s ease;
    }

    .form-control:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 0.25rem rgba(72, 149, 239, 0.25);
    }

    .input-group-text {
        background-color: #f8f9fa;
    }

    .btn-auth {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 600;
        width: 100%;
        transition: all 0.3s ease;
    }

    .btn-auth:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    }

    .divider {
        display: flex;
        align-items: center;
        margin: 1.5rem 0;
    }

    .divider::before, .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e0e0e0;
    }

    .divider-text {
        padding: 0 1rem;
        color: #6c757d;
        font-size: 0.875rem;
    }

    .social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-radius: 8px;
        font-weight: 500;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
        width: 100%;
    }

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .social-btn i {
        margin-right: 8px;
        font-size: 1.2rem;
    }

    .btn-google {
        background-color: #fff;
        color: #757575;
        border: 1px solid #e0e0e0;
    }

    .btn-facebook {
        background-color: #3b5998;
        color: white;
    }

    .btn-apple {
        background-color: #000;
        color: white;
    }

    .forgot-password {
        text-align: right;
        margin-top: -0.5rem;
        margin-bottom: 1rem;
    }

    .auth-footer {
        text-align: center;
        margin-top: 2rem;
        color: #6c757d;
    }

    @media (max-width: 992px) {
        .auth-hero {
            display: none;
        }
    }

/* pagination */
.custom-pagination {
  justify-content: end;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

/* Style des liens de pagination */
.custom-pagination .page-item .page-link {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border: none;
  transition: all 0.3s ease;
}

a.page-link.prev-next {
  background-color: var(--blue-ame) !important;
  color: #fff !important;
}

/* Effet hover */
.custom-pagination .page-item .page-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Page active */
.custom-pagination .page-item.active .page-link {
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Style des flèches */
.custom-pagination .prev-next {
  background-color:#fff; /* Violet foncé */
  color: white;
  font-size: 18px;
}

.custom-pagination .prev-next:hover {
  background-color: #1E1047; /* Encore plus foncé */
}

.panination-style nav ul li a:hover:after {
    width: 0 !important;
}

/* filter bar*/
button.btn.btn-primary.w-100.rounded-pill {
    border-radius: 0.375rem !important;
    background-color: var(--blue-ame);
    border-color: var(--blue-ame);
}

button.btn.btn-primary.w-100.rounded-pill:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);

}

ul.activities {
    list-style: none;
}

ul i {
color: var(--gold-accent);
}

/* rtl style */
[dir="rtl"] .ame-web .scrolling-news {
    margin-left: 20px;
}

[dir="rtl"] .about-content h2::after {
    right: 0;
}

[dir="rtl"] .ame-web .footer-title:after {
    right: 0;
}


  /* Hero Section RTL */
[dir="rtl"] .hero-text {
    padding-right: 0;
    padding-left: 4rem;
  }

/* [dir="rtl"] .hero h1,
[dir="rtl"] .hero h2,
[dir="rtl"] .tagline,
[dir="rtl"] .primary-btn,
[dir="rtl"] .secondary-btn {
    transform: translateX(3.5cm);
  } */

[dir="rtl"] .primary-btn:hover,
[dir="rtl"] .secondary-btn:hover {
    transform: translateY(-3px) translateX(3px);
  }

  /* Footer RTL */
[dir="rtl"] .ame-web .footer-title:after {
    left: auto;
    right: 0;
  }

 [dir="rtl"] .ame-web ul.footer-links {
    padding-right: 0;
}

[dir="rtl"] .ame-web .footer-links a:hover {
    transform: translateX(-5px);
  }

  /* Floating Menu RTL */
[dir="rtl"] .ame-web .menu-indicator {
    right: auto;
    left: 10px;
    border-radius: 20px 0 0 20px;
  }

[dir="rtl"] .ame-web .menu-container {
    right: auto;
    left: 20px;
  }

  [dir="rtl"] .ame-web .dropdown-content a:hover {
    border-right: 3px solid var(--gold-accent);
}


[dir="rtl"] .ame-web .circle-menu {
    right: auto;
    left: -100px;
  }

[dir="rtl"] .ame-web .menu-container:hover .circle-menu {
    right: auto;
    left: 0;
  }

  [dir="rtl"] .ame-web .circle-menu .tooltip {
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: 15px;
  }

  /* Owl Carousel RTL */
  [dir="rtl"] .owl-carousel .owl-nav {
    right: auto;
    left: 0;
  }

  /* Tunisia Map RTL */
  [dir="rtl"] .info-card {
    transform: translateX(-50px);
  }

  [dir="rtl"] .info-card.show {
    transform: translateX(0);
  }

  /* Pagination RTL */
  [dir="rtl"] .custom-pagination {
    justify-content: start;
  }

  /* Form Elements RTL */
  /* [dir="rtl"] .form-check {
    padding-right: 1.5em;
    padding-left: 0;
  }

  [dir="rtl"] .form-check-input {
    margin-right: 0;
    margin-left: -1.5em;
  } */

  [dir="rtl"] label.form-check-label {
    padding-right: 1.5em;
  }

  [dir="rtl"] .inscription-section .social-btn i {
    margin-left: 8px;
}

[dir="rtl"] .social-btn i {
    margin-left: 8px;
}

  /* Input Group RTL */
  [dir="rtl"] .input-group-text {
    border-radius: 0 0.375rem 0.375rem 0 !important;
  }

 [dir="rtl"] .form-control {
    border-radius: 0.375rem 0 0 0.375rem !important;
  }

  /* Section Title RTL */
 [dir="rtl"] .ame-web .section-title:after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
  }

  /* Service Card RTL */
 [dir="rtl"] .ame-web .service-card:before {
    left: auto;
    right: 0;
    transform-origin: right;
  }

  /* News Card RTL */
 [dir="rtl"] .news-tag {
    right: auto;
    left: 15px;
  }

  /* Language Selector RTL */
[dir="rtl"] .language-selector {
    flex-direction: row-reverse;
  }

  /* Mobile Menu RTL */
  @media (max-width: 768px) {
  [dir="rtl"] nav ul {
      left: auto;
      right: 0;
    }
  }

  [dir="rtl"] .me-2 {
    margin-left: .5rem !important;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item {
    padding-right: 0.5rem;
    padding-left: 0;
}

[dir="rtl"] .list-group {
    padding-right: 0;
}

[dir="rtl"] .text-decoration-none {
    float: right;
    direction: rtl;
}

[dir="rtl"]  p.flex-grow-1 {
    text-align: right;
}

[dir="rtl"] .contact-icon {
    margin-left: 0.7rem !important;
    margin-right: 0 !important;
}

[dir="rtl"]  i.bi.bi-arrow-left
 {
    transform: rotate(180deg);
}

[dir="rtl"] .contact-text
 {
    direction: ltr;
    text-align: right ;
}

[dir="rtl"] .news-card .card-text {
    text-align: right;
}

[dir="rtl"] .news-card .card-title {
    text-align: right;
}

[dir="rtl"] i.fas.fa-arrow-right.ms-2 {
    transform: rotate(180deg);
}

[dir="rtl"] .form-select {
    background-position: left 0.75rem center;
    padding: 0.75rem 0.375rem 0.375rem 2.25rem;
  }

  [dir="rtl"] .form-check .form-check-input {
    float: right;
  }
  /* [dir="rtl"] .footer .footer-newsletter .newsletter-form {
    flex-direction: row-reverse;
  } */

  [dir="rtl"] .footer .footer-newsletter .newsletter-form input[type=submit] {
    margin: -7px 0 -7px -9px; /* reset default LTR */
    margin: -7px 0 -7px -9px; /* inverted */
    border-radius: 50px 0 0 50px;
  }

  [dir="rtl"]  i.bi.bi-arrow-right {
    transform: rotate(180deg);
}

.form-ame button.cta-btn.primary-btn {
    border: none;
}

.form-ame button.cta-btn.secondary-btn {
    background-color:var(--dark-color);
}
.breadcrumb-item+.breadcrumb-item::before {
    color: #fff !important;
}
.pagination .page-link {
    position: relative !important;
    display: block !important;
    padding: 16px !important;
    font-size: 14px !important;
    color: var(--blue-ame) !important;
    text-decoration: none !important;
    background-color: var(--bs-pagination-bg) !important;
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color) !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}
.pagination .page-item.active .page-link{
    background-color: var(--blue-ame) !important;
    color: #fff !important;
}
.pagination .page-item.disabled .page-link{
    background-color: var(--bs-pagination-disabled-bg) !important;
    color: var(--neutral-700) !important;
}
.w-fit-content {
    width: fit-content !important;
}

/* ticker */
@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ticker-wrap {
  /* width: 100%; */
  overflow: hidden;
  height: 2.4rem;
  /* background-color: var(--blue-ame); */
  background-color: #f8f7ff;
  color: #090446;
  padding: 0 15px;
  border-radius: 4px;
  margin: 0 10px;
  box-sizing: border-box;
  z-index: 9999;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-block;
  padding: 8px 2rem;
  font-size: 2rem;
  color: #090446;
  white-space: nowrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.underline-tabs .nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.underline-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 1rem 1.5rem;
    margin-bottom: -2px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.underline-tabs .nav-link:hover {
    border-bottom-color: var(--blue-ame) !important;
    color: var(--primary-color);
}

.underline-tabs .nav-link.active {
    border-bottom-color: var(--primary-color) !important;
    color: var(--primary-color);
}

/* Content Animation */
.tab-pane.fade {
    transition: all 0.2s ease-out;
}

.tab-pane.fade.show {
    animation: fadeIn 0.5s ease-out;
}
#svg-carte svg a:focus {
    outline: none !important;
}
    .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    #villeDetails .contact-icon {
        font-size: 1.5rem;
        margin-right: 1rem;
        text-align: center;
        background-color: #fff;
        display: flex;
        height: 30px;
        width: 30px;
        border-radius: 99px;
        justify-content: center;
        align-items: center;
    }
    #villeDetails .contact-icon i {
        line-height: 150%;
        font-size: 16px;
    }

    .contact-text {
        flex: 1;
        color: #333;
        font-size: 1.1rem;
    }

    .contact-text a {
        flex: 1;
        color: #333;
        font-size: 1.1rem;
    }
    #annuairesMap .contact-text {
        font-weight: 600 !important;
    }

    /* path:hover,
    path:active,
    path:focus {
        fill: #5794cd !important;
    } */
    #svg-carte svg a.default path {
        fill: var(--blue-ame) !important;
    }

    #svg-carte svg a.default path:hover {
        fill: #1e40af !important;
    }

    #svg-carte svg a.disabled path {
        fill: #ececec !important;
        cursor: not-allowed;
        opacity: 0.9;
    }

    #svg-carte svg a.selected path {
        fill: var(--gold-accent) !important;
    }
    ul.pagination{
        margin-bottom: 0;
        gap:5px;
    }
    ul.pagination li{
        padding: 0px;
        line-height: 10px;
    }
/* .ticker-wrap {
  width: 100%;
  height: 80px;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  bottom: 0;
  height: 3.5rem;
  background-color: #FFCA46;
}
.ticker {
  display: inline-block;
  margin-top: 5px;
  animation: marquee 20s linear infinite;
}
.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 20s linear infinite;
}

.ticker-wrap .item {
  display: inline-block;
  padding: 0 1rem;
  font-size: 2rem;
  color: black;
  font-weight: 800;
  font-family: sans-serif;
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}

@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
} */

