@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    list-style-type: none;
    text-decoration: none;
}

/* Header & Navigation Styles */
#header {
  height: 70px;
  z-index: 997;
  transition: all 0.5s;
  padding: 15px 0;
  background: transparent;
  position: fixed;
  top: 0;
  width: 100%;
}

/* Logo styles */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
}

.logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}


/* Desktop Navigation */
#navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 10px;
}

#navbar li {
  position: relative;
  margin-left: 20px;
}

#navbar a {
  display: block;
  color: #333;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 4px;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
}

#navbar a:hover,
#navbar .active {
  color: #0d6efd;
}

.btn-login {
  background: #0d6efd;
  color: #fff !important;
  padding: 8px 15px !important;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: 600 !important;
  box-shadow: 0 2px 5px rgba(13, 110, 253, 0.3);
}

.btn-login:hover {
  background: #0b5ed7;
}

/* Styles pour le bouton "Faire une demande" */
.btn-get-started {
  color: #fff;
  background: #0d6efd;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 25px;
  border-radius: 30px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
  text-decoration: none;
}

.btn-get-started:hover {
  color: #fff;
  background: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3);
}

/* Mobile Navigation Toggle Button */
.navbar-toggler {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  padding: 0;
  outline: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

/* Mobile Navigation Menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  background: #fff;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 5px 5px;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 15px;
  visibility: hidden;
  opacity: 0;
}

#mobile-menu.show {
  max-height: 300px;
  padding: 10px 15px;
  visibility: visible;
  opacity: 1;
}

#mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

#mobile-menu li {
  border-bottom: 1px solid #f0f0f0;
  margin: 0 5px;
  padding: 0 5px;
}

#mobile-menu li:last-child {
  border-bottom: none;
}

#mobile-menu a {
  display: block;
  color: #333;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 6px;
}

#mobile-menu a:hover,
#mobile-menu .active {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.05);
}

/* Header scrolled style */
#header.header-scrolled {
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#header.header-scrolled #navbar a {
  color: #333;
}

#header.header-scrolled .navbar-toggler {
  color: #333;
}

body{
  background: #e7edf4;
  position: relative;
  min-width: 320px;
}

/* Footer styles */

.footer-heading::after {
  display: none;
}

:root{
    --p_size:1rem;
    --button_border: 1px solid #e6e7e8;
    --bg_section: linear-gradient(-20deg, #fcfcf8 0%, #fcfcfc 100%):
}
  .aboutUs{
    margin: 10rem auto 5rem;
    width: 100%;

    & .aboutUs__content{
        box-shadow: #32325d40 0px 10px 20px -20px, #7775754d 0px 10px 10px -30px;
        display: flex;
        justify-content: space-around;
        width: 70%;
        margin: auto;
        gap: 1rem;
        display: none;
    }

    & img{
      width: 350px;
      height: 350px;
    }

    & h3{
      font-size: 1.5rem;
    }

    & .aboutUs__desc{
      margin: 2rem 0 0 0;
      line-height: 1.8rem;
    }


  }

  .new_hero_img{
    
    object-fit: cover;
  }

  @media(min-width: 1100px){
    .aboutUs__desc{
      width: 600px;
    }
  }



  @media(max-width: 1100px){

    .aboutUs{
      margin: 5rem auto 5rem;
      width: 100%;

      & .aboutUs__content{
      width: 100%;
    }

      & img{
        width: 200px;
        height: 200px;
      }
  
      & h3{
        font-size: 1.5rem;
        margin: 2rem auto 0 auto;
        line-height: 1.8rem;
      }
    }
  }

  @media(max-width: 950px){
    .aboutUs{
      margin: 5rem auto 5rem;
      width: 100%;

      & .aboutUs__content{
        display: block;
        width: 80%;
    }

    & h3{
      font-size: 1rem;
    }

    .aboutUs__desc{
      font-size: 1rem;
    }
  }
 
  }

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 0;
    position:fixed;
    top: 0;
    width: 100%;
    height: 40px;
    transition: all 0.5s ease;
    z-index: 100;
}


.navscroll{
    background-color: #ffffff;
    transition: all 0.5s ease-in;
}
.navscroll .list_element li a{
    color: #0d6efd;
}
.navscroll .list_element a::after{
    background-color: #0d6efd;
}

.navscroll .list_element a:hover::after{
    width: 100%;
    background-color: #0d6efd;
}

.navscroll .navbar_left a{
    color: #0d6efd;
}

.navscroll .fa-bars{
    color: #0d6efd;
}

.navbar_left a{
    display: flex;
    align-items: center;
    align-items: center;
    gap: 1rem;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 500;
}


.navbar_left .logo{
    width: 4rem;
}
  
.navscroll .logo {
  filter: none;
}

.hunberger{
  display: none;
}
#open{
  display: none;
}

.login{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile_desk{
  display: none;
}
.login_desk img{
    width: 2rem;
    cursor: pointer;
}


.login button{
    padding: 0.7rem 3rem;
    border: 1px solid #c8cccd;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
}

.userlogin {
    filter: none;
    transition: color 0.3s ease;
    color: #0d6efd;
  }
  .navscroll .userlogin {
    filter: none;
    color: #0d6efd;
  }

.list__items{
    display: flex;
    gap: 1rem;
    position: relative;
}
.list_element li{
    font-size: var(--p_size);
    transition: all 0.5s ease;
}
.list_element li a{
    color: #2c3e50;
}
.list_element li a:hover{
    cursor: pointer;
    transition: all 0.5s ease;
}

.list_element a{
    position: relative;
}

.list_element a::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #f77728;
    transition: 0.5s ease all;
}

.list_element a:hover::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 90%;
    height: 5px;
    background-color: #f77728;
    transition: 0.5s ease all;
    border-radius: 5rem;
}



.hero {
  display: flex;
  align-items: center;
  background-image: url(../img/hero-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem;
  margin-top: 80px; /* Ajusté pour tenir compte du header fixe */
}

/* Styles pour toutes les sections principales */
section {
  padding: 60px 0;
}





.credits {
  text-align: center;
}

.credits a {
  color: #333;
  text-decoration: none;
}

/* Service Section Styles */
.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 350px;
  padding: 20px;
  margin-bottom: 20px;
}

.service-image {
  max-height: 100%;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 20px 30px rgba(50, 50, 93, 0.25)) drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15));
}

.service-image:hover {
  transform: scale(1.05) translateY(-8px);
  filter: drop-shadow(0 25px 40px rgba(50, 50, 93, 0.35)) drop-shadow(0 15px 20px rgba(0, 0, 0, 0.2));
}

/* Animation pour les images */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

#birth-certificate:hover .animated,
#marriage-certificate:hover .animated {
  animation: floatImage 3s ease-in-out infinite;
}

@media (max-width: 991px) {
  #birth-certificate .order-1, #marriage-certificate .order-1 {
    margin-bottom: 2rem;
  }
  
  #birth-certificate h3, #marriage-certificate h3,
  #birth-certificate p, #marriage-certificate p {
    text-align: center;
  }
}




@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
    margin-top: 70px;
  }
  
  section {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem 1rem;
    margin-top: 60px;
  }
  
  section {
    padding: 30px 0;
  }
}

.hero_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: auto;
}


.heroImg {
  width: 30rem;
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 100%;
}




.info {

  & h4{
    font-size: 16px;
    margin-bottom: 1rem;
  }

  & p{
    font-size: 14px;
  }
}




.slider {
  margin: 0 auto 5rem;
  height: 100px;
  overflow: hidden;
  position: relative;
  width: 80%;
}

@media (max-width: 768px) {
  .slider {
    height: 80px;
    margin: 0 auto 3rem;
  }
}

@media (max-width: 576px) {
  .slider {
    height: 70px;
    margin: 0 auto 2rem;
  }
}

.slider::before,
.slider::after {
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: scaleX(-1); /* effet miroir à droite */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }

}

.slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
  cursor: pointer;
}
.slide-track:hover{
    animation-play-state: paused;
}

.slide {
  margin-right: 1rem;
  height: 100px;
  width: 250px;
  gap: 1rem;
  border: 1px solid #f0eeee;
  border-radius: 0.5rem;
}

.slide img{
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Styles pour les sections de certificats */
.service-section {
  padding: 60px 0;
}

.certificate-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.certificate-text {
  flex: 1;
  padding-right: 20px;
}

.certificate-card {
  flex: 1;
}

.certificate-title {
  color: #0d6efd;
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 2rem;
}

.certificate-description {
  margin-bottom: 25px;
  line-height: 1.6;
}

.certificate-action {
  margin-top: 25px;
}

/* Styles pour limiter la largeur des sections à 80% en desktop */
@media (min-width: 992px) {
  .container, section > .container {
    width: 80% !important;
    max-width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  #main {
    width: 80% !important;
    margin: 0 auto !important;
  }
  
  #main .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Centrage des titres et sections */
  .section-title {
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* Responsive Navigation Styles */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .mobile-nav-toggle.mobile-nav-show {
    display: none;
  }

  .mobile-nav-active .mobile-nav-toggle.mobile-nav-hide {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9998;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 70px 20px 20px 20px;
    overflow-y: auto;
  }

  .navbar ul {
    display: block;
  }

  .navbar a, .navbar a:focus {
    padding: 15px 0;
    font-size: 16px;
    display: block;
  }
}

/* Autres Responsive Styles */
/* Styles pour les grands écrans (plus de 1200px) */
@media (min-width: 1200px) {
  .container {
    padding: 0 30px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    min-height: 500px;
  }
}

/* Styles pour les écrans moyens (992px-1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .container {
    padding: 0 20px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 4rem 2rem;
  }
}

/* Styles pour les tablettes (768px-991px) */
@media (max-width: 991px) {
  /* Général */
  section {
    padding: 40px 0;
  }
  
  .container {
    width: 90% !important;
    max-width: 90% !important;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  /* Hero section */
  .hero {
    padding: 3rem 1rem;
    text-align: center;
    margin-top: 3rem;
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
    display: none;  
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  /* About section */
  #about img {
    margin-bottom: 30px;
  }
  
  /* Inversement de l'ordre des colonnes sur tablette */
  .order-md-1 {
    order: 2 !important;
  }
  
  .order-md-2 {
    order: 1 !important;
  }
  
  /* Slider */
  .slider {
    width: 90%;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  /* Général */
  .container {
    width: 95% !important;
    max-width: 95% !important;
    padding: 0 15px;
  }
  
  /* Sections */
  section {
    padding: 30px 0;
  }
  
  /* Slider et cartes */
  .slider {
    height: 80px;
    margin: 0 auto 3rem;
    width: 95%;
  }
  
  .slide {
    height: 80px;
    width: 180px;
  }
  
  .slide img {
    width: 160px;
    height: 80px;
  }
  
  /* Disposition des sections */
  .row {
    margin: 0;
  }
  
  /* Structure responsives des cards */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Text alignement sur mobile */
  h1, h2, h3, h4, h5, p {
    text-align: center;
  }
  
  /* Images responsives */
  .img-fluid {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
  
  /* Navigation mobile */
  .navmenu ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* About section */
  #about ul li {
    flex-direction: column;
  }
  
  /* Sections de service */
  .certificate-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .certificate-text {
    padding-right: 0;
    text-align: center;
  }
  
  .certificate-title {
    font-size: 1.75rem;
  }
  
  /* Slider */
  .slider {
    height: 80px;
  }
  
  .slide {
    height: 80px;
    width: 180px;
  }
  
  .slide img {
    width: 160px;
    height: 80px;
  }
  
  /* Features */
  .service-item {
    padding: 1rem;
    margin-bottom: 15px;
  }
  
  /* About section */
  #about ul li {
    flex-direction: column;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  #about ul li i {
    margin-bottom: 0.5rem;
    margin-right: 0 !important;
  }
}

@media (max-width: 576px) {
  /* Logo sizing for mobile */
  .logo img {
    max-height: 50px;
    width: auto;
  }
  
  /* Service image sizing for mobile */
  .service-image {
    max-height: 300px !important;
    width: auto !important;
    margin: 0 auto;
  }
  
  /* Text sizing */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  p, li {
    font-size: 0.9rem;
  }
  
  a:not(.btn-login):not(.back-to-top) {
    font-size: 0.9rem;
  }
  
  .btn, button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  /* Style spécifique pour le bouton "Faire une demande" */
  a.btn-primary, a.btn-login, .btn-primary {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
  }
  
  /* Container full width */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px;
  }
  
  /* Images sizing */
  .img-fluid.animated {
    max-height: 200px !important;
  }
  
  /* Spacing */
  section {
    padding: 25px 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .mt-4, .mb-4 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Buttons */
  .btn-get-started {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: block;
    margin: 0 auto;
    max-width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    min-width: 170px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
  }
  
  .btn-get-started i {
    font-size: 0.7rem;
  }
  
  /* Cards and services */
  .card {
    padding: 15px !important;
  }
  
  /* About section list on mobile */
  #about ul.list-unstyled li.d-flex {
    margin-bottom: 20px !important;
    flex-direction: column;
  }
  
  #about ul.list-unstyled li.d-flex i {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  
  /* Adjust slider for smallest screens */
  .slider {
    height: 70px;
    width: 100%;
  }
  
  .slide {
    height: 70px;
    width: 150px;
  }
  
  .slide img {
    width: 120px;
    height: 70px;
  }
}


.btn{
    padding: 10px 15px;
    border: var(--button_border);
    border-radius: 0.8rem;
    cursor: pointer;
    margin-top: 3rem;
    background-color: #f77728;
    color: #000;
    font-size: 1rem;
    transition: all 0.5s ease;
}



.btn:hover{
    background-color: #f77728;
    transition: all 0.5s ease;
    color: #ffffff;
}


.whyus{
  margin: auto ;
  background-color: #f0f2f4;

  & img{
    width: 200px;
  }
}

.whyus .why_content{
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 2rem auto 0;
  background-size: cover;
  background-repeat: no-repeat;


  & li{
    font-size: 1rem;
    justify-content: center;
    line-height: 2rem;
  }

  & ul{
    line-height: 1.8;
  }
}


.whyus__title, .faq_title{
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 5rem;
  text-transform: uppercase;
}

.whyus__right, .whyus__left{
  margin: auto;
  text-align: left;
  justify-content: center;
}



.faq_title{
  margin-top: 15rem;
}


.faqs {
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 80%;
  background: linear-gradient(-20deg, #fcfcf8 0%, #fcfcfc 100%);
  padding: 2rem;
  border-radius: 10px;
}

.faqs_container {
  width: 100%;
}

.faq {
  background-color: #e1e4e5;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-direction: row;
}

.questions_anwsers {
  flex: 1;
}

.faqdiv_title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq_content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0;
}

.showFAQ .faq_content {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  margin-top: 0.5rem;
}

/* Icones */
.faq_icon_plus,
.faq_icon_minus {
  font-size: 1.3rem;
  color: #333;
  flex-shrink: 0;
  margin-top: 5px;
}

.faq_icon_minus {
  display: none;
}

.showFAQ .faq_icon_plus {
  display: none;
}

.showFAQ .faq_icon_minus {
  display: block;
}





:root {
  --light-blue: #e3f2fd;
  --primary-blue: #2196F3;
}



/* Footer */


/* Footer */
footer {
  width: 100%;
  background-color: #f1f2f6;
  color: #000;
  padding: 50px 0 ;
  margin-top: 5rem;
  
}

.footer_container {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  width: 90%;
  margin: auto;
}

footer .col-1 {
  flex-basis: 25%;
}

footer .col-1 img {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

footer .col-1 img[style*="border-radius"] {
  margin: 10px 0;
  display: block;
}

footer .col-1 p {
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

footer .col-2 {
  flex-basis: 30%;
}

footer .col-2 h3,
footer .col-1 h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
}

footer .col-2 h3::after,
footer .col-1 h3::after {
  content: "";
  display: block;
  height: 2px;
  width: 50px;
  background: #000;
  margin-top: 10px;
}

footer .col-2 ul {
  list-style: none;
  padding-left: 0;
}

footer .col-2 ul li {
  margin-bottom: 10px;
}

footer .col-2 ul li a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer .col-2 ul li a:hover {
  color: #e701e7;
  padding-left: 5px;
}



/* Flèche retour en haut */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 9999;
  background: #0d6efd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.4s;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
  margin: auto;
}

.back-to-top:hover {
  background: #0b5ed7;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Responsive styles */
@media (max-width: 992px) {
  .footer_container {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer_container {
    flex-wrap: wrap;
    padding: 1rem;
  }
  
  footer .col-1 {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  
  footer .col-2 {
    flex-basis: 100%;
    margin-bottom: 30px;
    text-align: left;
  }
  
  footer .col-2 h3,
  footer .col-1 h3 {
    text-align: left;
  }
  
  footer .col-2 h3::after,
  footer .col-1 h3::after {
    margin: 10px 0;
  }
  
  footer .col-1[style*="border-left"] {
    border-left: none !important;
    padding-top: 20px;
    width: 100% !important;
    text-align: left;
  }
  
  footer .col-1[style*="border-left"] p {
    text-align: left;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 30px 0;
  }
  
  .footer_container {
    width: 95%;
  }
  
  footer .col-1 img {
    max-width: 80px;
  }
  
  footer .col-2 h3 {
    font-size: 18px;
  }
  
  footer .col-2 ul li a,
  footer .col-1 p {
    font-size: 10px;
  }

}