:root { 
  --default-color: #212529;
  --accent-color: #f75815;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
 --border-radius-medium: 20px;
}


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

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

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

body {
  align-items: center;
  margin-left: 150px;
  margin-right: 150px;
  background: #f5f5f5;
}

/*********** Flag CSS **********/
.flag-icon {
  margin-right: 8px;
}

.button-lang {
  display: none;
}

.flag-button {
  padding: 2px 8px;
  background-color: #dddddd;
  color: #2C2C2C;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}


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

.bg-dark {
  background-color: #566573 !important;
}

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

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
    margin-right: 9%;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

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

.btn.btn-primary:hover {
    color: var(--bs-red);
    background: transparent;
}

.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;
}

/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    margin-left: 9%;
    margin-right: 9%;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar {
  margin-left: 10%;
  margin-right: 10%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: red;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #566573;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar .button-lang {
        display: inline-block;
        color: red;
        background: #ffffff;
        padding: 4px 8px;
        outline: none;
        z-index: 0;
        border: 2px solid red;
        border-radius: 8px;
        margin-top: 12px;
        
    }
}

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

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

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, .4);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    .back-to-top{
      margin-right: auto;
    }

    .navbar {
      margin-left: auto;
      margin-right: auto;
    }

    body {
      margin-left: auto;
      margin-right: auto;
    }

    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/*** Apropos Start ***/
.section-title p {
  color: blue;
  margin-bottom: -45px;
  font-size: 20px;
  font-style: italic;
  font-weight: bolder;
}

.features {
  margin-bottom: 50px;
}

.image-stack {
  margin-top: 50px;
}

.features-item {
  text-align: justify;
}

.features-item h3,
.section-title {
  color: blue;
  font-size: 20px;
  font-style: italic;
}

.features .features-item {
  color: color-mix(in srgb, var(--bs-primary), transparent 20%);
}

.features .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .features-item {
    text-align: justify;
  }

  .section-title p {
    margin-bottom: auto;
  }
  
  .features .features-item+.features-item {
    margin-top: 40px;
  }
}

.features .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.features .features-item .btn-get-started {
  background-color: var(--bs-red);
  color: var(--contrast-color);
  padding: 8px 30px 10px 30px;
  border-radius: 4px;
}

.features .features-item .btn-get-started:hover {
  background-color: color-mix(in srgb, var(--bs-red), transparent 10%);
}

.features .features-item ul {
  list-style: none;
  padding: 0;
}

.features .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.features .features-item ul li:last-child {
  padding-bottom: 0;
}

.features .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--bs-red);
}

.features .features-item img {
  border: 6px solid var(--surface-color);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.features .features-item .features-img-bg {
  position: relative;
  min-height: 500px;
}

@media (max-width: 640px) {
  .features-item {
    text-align: initial;
  }

  .section-title p {
    margin-bottom: auto;
  }

  .features-item {
    margin-bottom: -50px;
  }

  .image-stack {
    margin-top: 10px;
  }

  .flex-column {
    margin-top: 36px;
  }

  .features .features-item .features-img-bg {
    min-height: 300px;
  }

  .features-img-bg {
    margin-top: 70px;
  }
}

.features .features-item .features-img-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features .features-item .image-stack {
  display: grid;
  position: relative;
  grid-template-columns: repeat(12, 1fr);
}

.features .features-item .image-stack .stack-back {
  grid-column: 4/-1;
  grid-row: 1;
  width: 100%;
  z-index: 1;
}

.features .features-item .image-stack .stack-front {
  grid-row: 1;
  grid-column: 1/span 8;
  margin-top: 20%;
  width: 100%;
  z-index: 2;
}

/*** Apropos End ***/

/*** Legislation Start ***/

.toggler {
  color: #A1A1A4;
  font-size: 1.25em;
  margin-left: 8px;
  text-align: center;
  cursor: pointer;
}

.toggler.active {
  color: #000;
}

.surveys {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 100px;
  margin-right: 100px;
  margin-bottom: 40px;
}

.survey-item {
  display: block;
  margin-top: 10px;
  padding: 20px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 2px 1px rgba(170, 170, 170, 0.25);
}

.survey-name {
  font-weight: 400;
}

.survey-name-dec {
  font-size: 16px;
  text-transform: none;
}

@media screen and (max-width: 600px) {
  .survey-item .pull-right {
    position: static;
    line-height: 20px;
    padding-bottom: 10px;
  }

  .surveys {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 40px;
  }
}

.survey-name-date {
  color: #A1A1A4;
  margin: 0 10px;
  display: inline-block;
  width: 100px;
  white-space: nowrap;
}

.grid .survey-item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 250px;
  margin: 10px;
}

@media screen and (max-width: 600px) {
  .grid .survey-item {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
}

.grid .survey-name {
  display: block;
  max-width: 80%;
  font-size: 16px;
  line-height: 20px;
}

.grid {
  font-size: 11px;
  line-height: 16px;
  text-transform: uppercase;
}

.grid .survey-name-date {
  color: #A1A1A4;
}

.grid .survey-name-date:before {
  content: "Ends ";
}

.grid .survey-name-date.ended:before {
  content: "Ended ";
}

@media screen and (max-width: 200px) {
  .grid .survey-progress-labels {
    right: auto;
    left: 10px;
  }
}

.grid .survey-name-date {
  font-size: 12px;
  line-height: 20px;
}


/*** Legislation End ***/

/*** Politique Pub Start ***/
.politique {
  padding-bottom: 20px;
  margin-top: 110px;
  margin-bottom: 30px;
}

.politique .container {
  margin-top: 100px;
}

.politique .content .who-we-are {
  text-transform: uppercase;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.politique .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

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

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

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

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

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

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

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

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

.politique .politique-images img {
  border-radius: 10px;
}

@media (max-width: 768px) {
  .politique {
    padding-bottom: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .politique .container {
    margin-top: 50px;
  }

  .politique .col-lg-12 {
    display: none;
  }

}

/*** Politique Pub End ***/

/*** Guides Start ***/
.guides-details .guides-item+.guides-item {
  margin-top: 60px;
}

.guides-details h1 {
  margin-top: 50px;
}

.guides-details {
  margin-bottom: 60px;
}

.guides-details .guides-item .content {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 30px;
  border-radius: 10px;
}

.guides-details .guides-item h3 {
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 15px;
}

.guides-details .guides-item img {
  border-radius: 15px;
}

/*** Guides End ***/

/*** Photo Start ***/
.main .display-6 {
  margin-top: 80px;
}

.container-1 {
  max-width: 80rem;
  width: 100%;
  padding: 4rem 2rem;
  margin: 0 auto;
}

.main .container-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
}

.main .card {
  color: #252a32;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
}

.main .card-image {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 70%;
  background: #ffffff;
}

.main .card-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 600px) {
  .main .container-1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }

  .main .container-1 {
    margin-top: -40px;
  }
}
/*** Photo End ***/

/*** Partenaire Start ***/

.partners-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.logo-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.logo-carousel {
  display: flex;
  gap: 40px;
  cursor: pointer;
  animation: scroll 40s linear infinite;
  width: calc(150px * 32); /* Double the total width for seamless looping */
}

.logo-slide {
  flex: 0 0 auto;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.6s ease;
}

.logo-slide:hover {
  transform: scale(1.05);
}

.logo-slide img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-150px *8)); /* Move by half the total width */
  }
}

/* Pause animation on hover */
.logo-carousel-container:hover .logo-carousel {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-carousel {
      gap: 40px;
      animation-duration: 40s;
  }
  
  .logo-slide {
      width: 120px;
      height: 60px;
  }
}

@media (max-width: 480px) {
  .partners-section h2 {
      font-size: 1.5rem;
  }
  
  .logo-carousel {
      gap: 15px;
      animation-duration: 40s;
  }
  
  .logo-slide {
      width: 100px;
      height: 50px;
  }
}
/*** Partenaire End ***/

/*** Témoignage Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Témoignage End ***/

/*** Contact Start ***/
.contact .info-card {
  background-color: var(--surface-color);
  padding: 30px;
  text-align: center;
  height: 100%;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease-in-out;
  margin-top: 16px;
}

.contact .info-card:hover {
  transform: translateY(-5px);
}

.contact .info-card .icon-box {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.contact .info-card .icon-box i {
  font-size: 24px;
  color: var(--accent-color);
}

.contact .info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact .info-card p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.6;
}

.contact .form-wrapper .input-group .input-group-text {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px 0 0 8px;
  padding: 12px 15px;
}

.contact .form-wrapper .input-group .form-control {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 0 8px 8px 0;
  box-shadow: none;
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 12px 15px;
}

.contact .form-wrapper .input-group .form-control:focus {
  border-color: var(--accent-color);
}

.contact .form-wrapper .input-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .form-wrapper select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 40px;
}

.contact .form-wrapper textarea.form-control {
  min-height: 160px;
}

.contact .form-wrapper button {
  background-color: var(--accent-color);
  border: 0;
  padding: 12px 40px;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 500;
}

.contact .form-wrapper button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 768px) {
    .form-group {
      margin-top: 10px;
    }

    .contact .form-wrapper textarea.form-control {
      
   }
  }

@media (max-width: 640px) {
    .form-group {
      margin-top: 10px;
  }
}  
/*** Contact End ***/

/*** Team Start ***/
.double-line {
  border-bottom: 1px solid fuchsia;
  box-shadow: 0 3px 0 tomato;
  width: 70%;
  margin-top: 60px;
  margin-left: 15%;
}

.team {
  margin-bottom: 40px;
}

.team .section-team h2 {
  color: var(--accent-color);
  margin-top: 90px;
  margin-left: 550px;
  margin-bottom: 45px;
}

.section-team p {
  align-items: center;
  font-size: 20px;
  margin-bottom: 65px;
}

.team .member {
  position: relative;
}

.team .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--background-color);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
}

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

@media screen and (min-width: 320px) and (max-width: 768px) {
  .section-team p {
    text-align: center;
    margin-bottom: 65px;
  }
  
  .team .section-team h2 {
    margin-left: 90px;
  }
} 

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

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

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

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

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

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

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

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

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

.section-team h2 ::before {
  margin: 0 40px 40px 0;
}

.section-team h2::after,
.section-team h2::before {
  content: "";
  width: 50px;
  height: 2px;
  display: inline-block;
  background: red;
}

::after, ::before {
  box-sizing: border-box;
}

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

.footer .footer-top {
  padding-top: 50px;
  width: 90%;
}

.footer .footer-about .logo {
  margin-bottom: 25px;
}

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

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

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

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--contrast-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

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

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

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

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

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

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

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

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

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

.credits a {
  color: #212529;
  font-weight: 600;
}
