.footer {
  font-size: 14px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: rgba(255,245,4,255);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  color: #513cc4;
  font-size: 40px;
  font-weight: bolder;
}
.footer .footer-newsletter p {
  color: #513cc4;
  font-size: 18px;
  font-weight: 600;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  padding: 6px 8px;
  position: relative;
  background-color:#ffffff;
  border: 1px solid color-mix(in srgb, #513cc4, transparent 80%);
  box-shadow: 0px 2px 25px color-mix(in srgb, #513cc4, transparent 90%);
  display: flex;
  transition: 0.3s;
  border-radius: 4px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: #513cc4;
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color:#ffffff;
  color: #5b5c56;
}

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

.footer .footer-top {
    position: relative; /* Ensure children are positioned correctly */
    background: url("../img/Les_inseparables_footer.jpg") no-repeat center center;
    background-size: cover;
    padding-top: 50px;
    padding: 60px 0; /* Add some padding to the section */
    z-index: 2; /* Ensure it is above the background */
    color: #ffffff;
}
  
.footer .footer-top::before {
    content: ""; /* Generate the pseudo-element */
    position: absolute; /* Position it absolutely */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Use rgba for transparency */
    z-index: -1; /* Ensure it is below the content but above the background */
  }

.footer-about span {
    font-size: 32px; 
    color: #ffffff;
    font-weight: 700;
    display: inline-block; 
    vertical-align: middle; 
}
  

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

.footer .social-links a:hover {
  color: #513cc4;
  border-color: #513cc4;
}

.footer h4 {
    margin-top: 10px;
    font-size: 20px; 
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
    display: inline-block; 
    vertical-align: middle; 
}

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

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

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: #513cc4;
}

.footer .adresse ul i {
  margin-right: 10px;
  font-size: 14px;
  line-height: 0;
  color: #513cc4;
}

.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 {
  display: inline-block;
  color: #ffffff;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: #513cc4;
}

.footer .footer-about .social-links a {
    border-radius: 50%;
    background-color: #ffffff;
    color: #222;
    font-size: 24px;
    font-weight: 600;
}

.footer .footer-about .social-links a:hover {
    background-color: #513cc4;
    color: #ffffff;
}

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

.footer .copyright {
  border-top: 1px solid color-mix(in srgb, #5b5c56, transparent 80%);
}

.footer .copyright p a {
 color: #513cc4;
}

.footer .copyright p a:hover {
  color: #7364c9;
}

.footer .footer-newsletter .newsletter-form .btn_envoyer {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: #000000;
  color: #ffffff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}


.footer .footer-newsletter .newsletter-form .btn_envoyer {
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  background: linear-gradient(to bottom, #000000 0%,#000000 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.footer .footer-newsletter .newsletter-form .btn_envoyer:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.footer .footer-newsletter .newsletter-form .btn_envoyer:active {
  transform: scale(0.95);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.footer .footer-newsletter .newsletter-form .btn_envoyer span {
  display: block;
  margin-left: 0.4em;
  transition: all 0.3s;
}

.footer .footer-newsletter .newsletter-form .btn_envoyer svg {
  width: 18px;
  height: 18px;
  fill: white;
  transition: all 0.3s;
}

.footer .footer-newsletter .newsletter-form .btn_envoyer .svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  margin-right: 0.5em;
  transition: all 0.3s;
}

.footer .footer-newsletter .newsletter-form .btn_envoyer:hover .svg-wrapper {
  background-color: rgba(255, 255, 255, 0.5);
}

.footer .footer-newsletter .newsletter-form .btn_envoyer:hover svg {
  transform: rotate(45deg);
}