/********** Template CSS **********/

body, p, a, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Poppins', sans-serif;
}

/*#navbar #navbarCollapse {
    font-family: 'Inter', sans-serif;
}*/
:root {
    --primary: #00B074;
    --secondary: #2B9BFF;
    --light: #bdbfc299;
   /* --light: #EFFDF5;*/
    --dark: #2B3940;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: .5s;
    border-radius: 15px;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 15px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    /*color: #FFFFFF;*/
    font-size: 11px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid var(--primary);
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: var(--primary);
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /*box-shadow: 0 0 45px rgba(0, 0, 0, .08);*/
    border: 1px solid transparent;
    transition: .5s;
}

.cat-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    /*box-shadow: 0 0 45px rgba(0, 0, 0, .08);*/
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /*transition: .5s;*/
    transition: none !important;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 2px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*AJOUTER LA LISTE DES EXPERIENCE*/
.carouselindex .main-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
}

.carouselindex .subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

.carouselindex .description-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.carouselindex .description {
  font-size: 1rem;
  color: #6b7280;
  flex: 1;
}

.carouselindex .nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carouselindex .nav-btn {
  background-color: #0284c7;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}
.carouselindex .nav-btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}
.carouselindex .nav-btn:hover:not(:disabled) {
  background-color: #0369a1;
}

.carouselindex .slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  gap: 1rem;
}
.carouselindex .slider-container::-webkit-scrollbar {
  display: none;
}

.carouselindex .slide-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.carouselindex .slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.carouselindex .slide-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.carouselindex .job-count {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.carouselindex .explore-link {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
}
.carouselindex .explore-link:hover {
  text-decoration: underline;
}




/* AJOUTER LA LISTE DES ENTREPRISE ABONNEE A LA PLATFORME */
.logo-carousel-section {
    background-color: #111;
    padding: 2rem 0;
}

.logo-carousel-section .carousel {
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.logo-carousel-section .carousel__logo-tracker {
    display: flex;
    gap: 2rem;
    animation: logoCarouselScroll  20s linear infinite;
}

.logo-carousel-section .logo img {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.logo-carousel-section .logo img:hover {
    filter: none;
    opacity: 1;
}

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


/* EXPLOREZ EMPLOI*/

    /*explorez_emploi*/
    .explorez_emploi .frame {
      background-color: #ffffff;
      padding: 40px;
      border-radius: 8px;
      width: 100%;
      /*max-width: 1100px;*/
      box-sizing: border-box;
    }

    .explorez_emploi .carousel-container {
      width: 100%;
      text-align: center;
    }

    .explorez_emploi .carousel-container h1 {
      font-size: 36px;
      color: #1d1d1f;
      margin-bottom: 40px;
      font-weight: 600;
    }

    .explorez_emploi .carousel-tabs {
      display: inline-flex;
      justify-content: center;
      margin-bottom: 50px;
      margin-left: auto;
      margin-right: auto;
      border-bottom: 1px solid #e0e0e0;
      position: relative; /* For positioning progress bars absolutely to it if needed, but they are relative to buttons */
    }

    .explorez_emploi .tab-button {
      background-color: transparent;
      border: none;
      padding: 15px 25px;
      cursor: pointer;
      font-size: 16px;
      color: #555;
      position: relative;
      outline: none;
      font-weight: 500;
    }

    .explorez_emploi .tab-button .progress-bar {
      position: absolute;
      bottom: -1px; /* Sits on the border-bottom of .carousel-tabs */
      left: 0;
      height: 3px;
      background-color: #26BC89;
      width: 0;
      transition: none; /* JS will handle transitions for progress */
    }

    .explorez_emploi .tab-button.active {
      color: #26BC89;
      font-weight: 600;
    }

    .explorez_emploi .carousel-content {
      margin-top: 20px;
    }

    .explorez_emploi .feature-panel {
      display: none;
      flex-direction: row;
      align-items: center;
      gap: 40px;
      text-align: left;
    }

    .explorez_emploi .feature-panel.active {
      display: flex;
      animation: fadeIn 0.5s ease-in-out;
    }

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

    .explorez_emploi .feature-text {
      flex: 1;
    }

    .explorez_emploi .feature-text h2 {
      font-size: 48px;
      color: #1d1d1f;
      margin-top: 0;
      margin-bottom: 20px;
      font-weight: 600;
    }

    .explorez_emploi .feature-text p {
      font-size: 18px;
      line-height: 1.6;
      color: #333;
      margin-bottom: 30px;
    }

    .explorez_emploi .learn-more-btn {
      background-color: #26BC89;
      color: white;
      border: none;
      padding: 15px 30px;
      font-size: 16px;
      font-weight: 500;
      border-radius: 15px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .explorez_emploi .learn-more-btn:hover {
      background-color: #0151B0;
    }

    .explorez_emploi .feature-visual {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .explorez_emploi .feature-visual img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .explorez_emploi .placeholder-visual {
      width: 100%;
      height: 300px;
      background-color: #e9ecef;
      border-radius: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      color: #6c757d;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    /* Accessibility: Visual Focus Indicator */
    .explorez_emploi .tab-button:focus-visible,
    .explorez_emploi .learn-more-btn:focus-visible {
      outline: 3px solid #005fcc; /* A distinct focus color */
      outline-offset: 2px;
      box-shadow: 0 0 0 1px #ffffff; /* Inner contrast for outlines on dark backgrounds */
    }
    /* Fallback for browsers not supporting focus-visible, or if always desired */
    .explorez_emploi .tab-button:focus,
    .explorez_emploi .learn-more-btn:focus {
      /* Consider if you want this for mouse clicks too, :focus-visible is often preferred */
      /* outline: 3px solid #005fcc;
        outline-offset: 2px;
        box-shadow: 0 0 0 1px #ffffff; */
    }


    /*Alert-mail */
    .alert-mail {
        padding: 2rem 1rem;
        background-color: #00AB71;  /* ou utilise ta classe utilitaire bg-primary-color */
        color: #fff;
        text-align: center;
    }

    .alert-mail-wrapper {
        max-width: 800px;
        margin: 0 auto;
    }

    .alert-mail p {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        font-weight: 500;
    }

    .alert-mail .btn {
        background-color: #fff;
        color: #0056b3;
        padding: 0.75rem 1.5rem;
        text-decoration: none;
        font-weight: 600;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    .alert-mail .btn:hover {
        background-color: #e0e0e0;
    }

/*FORMULAIRE DE CONNEXION***************************/
    .formconnexion .login-wrapper {
        width: 90%;
        max-width: 900px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        min-height: 80vh;
        margin: auto;
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
    }

    .formconnexion .form-section {
        padding: 40px;
        background-color: #fff;
    }

    .formconnexion .form-section h1 {
        font-size: 24px;
        margin-bottom: 20px;
        color: #222;
    }

    .formconnexion .form-section p {
        font-size: 14px;
        color: #666;
    }

    .formconnexion .social-buttons {
        display: flex;
        gap: 10px;
        margin: 20px 0;
    }

    .formconnexion .social-buttons a {
        display: flex;
        align-items: center;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 10px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        flex: 1;
        justify-content: center;
        transition: 0.3s;
    }

    .formconnexion .social-buttons a:hover {
        border-color: #888;
    }

    .formconnexion .social-buttons img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .formconnexion .divider {
        margin: 30px 0;
        text-align: center;
        position: relative;
    }

    .formconnexion .divider::before,
    .formconnexion .divider::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 15%;
        height: 1px;
        background: #ccc;
    }

    .formconnexion .divider::before {
        left: 0;
    }

    .formconnexion .divider::after {
        right: 0;
    }

    .formconnexion .divider span {
        background: white;
        padding: 0 10px;
        color: #999;
        font-size: 14px;
    }

    .formconnexion form input[type="email"],
    .formconnexion form input[type="password"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 12px;
        font-size: 14px;
    }

    .formconnexion form button {
        width: 100%;
        padding: 12px;
        background-color: #26BC89;
        border: none;
        border-radius: 12px;
        color: white;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .formconnexion form button:hover {
        background-color: #0056b3;
    }

    .formconnexion .form-section p a {
        color: #007bff;
        text-decoration: none;
    }

    .formconnexion .form-section p a:hover {
        text-decoration: underline;
    }

    .formconnexion .image-section {
        display: none;
    }

    @media (min-width: 768px) {
        .formconnexion .image-section {
            display: block;
        }

        .formconnexion .image-section img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .formconnexion .container-xxl .justify-content-center input {
        border-radius: 12px;
    }