#footer {
    background: #00005E;
    padding: 6rem  2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    gap: 5rem;
}

#footer .container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    gap: 2rem;

}

#footer .social img {
  width: 24px;
  height: 24px;
}

#footer .urls, .social{
 
   width: 20%;
}

#footer .urls, .social {
   display: flex;
   flex-direction: column;
   align-items: start;
   gap: 1rem;
}

#footer .content  {
    display: flex;
    flex-direction: column;
    gap: 1rem;
       width: 30%;

}

#footer .content h2 {
   font-size: 24px;
   font-weight: 400;
   margin-bottom: 4rem;
   width: 60%;
}

#footer a {
  display: inline-block;
  height: 1em;
  line-height: 0.9em;

  position: relative;
  color: white;
  text-decoration: none;
}

#footer a .label-up {
  display: block;
  height: 100%;
  transition: 0.4s ease;
  position: relative;
  top: -1%;
}

#footer a:hover .label-up {
  top: -100%;
}

/* Optional: spacing & font */
#footer .urls a,
#footer .social a,
#footer .content a {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;

}

#footer .social a {
  margin: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

#footer .social a:hover {
  opacity: 1;
}


#footer .urls a:hover {
  text-decoration: underline;
  opacity: 1;

}




#footer .center p{
      font-size: 12px;
}


#footer .center {
 display: flex;
 align-items: center;
 gap: 0.3rem;
}

#footer .center a{
 text-decoration: underline;
 }
 


#scrollToTop {
  position: fixed;
  bottom: 5%;
  right: 30px;
  z-index: 999;
  cursor: pointer;
  padding: 1.5rem;
  background: white;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(0);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* When visible */
#scrollToTop.show {
  transform: scale(1);
  opacity: 1;
}


#scrollToTop .label-up {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
  will-change: transform;
}

#scrollToTop .label-up:first-child {
  transform: translateY(0%);
}

#scrollToTop:hover .label-up:first-child {
  transform: translateY(-100%);
}

#scrollToTop .label-up:last-child {
  transform: translateY(100%);
}

#scrollToTop:hover .label-up:last-child {
  transform: translateY(0%);
}


#footer .center p {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
@media (max-width: 1000px) {
    #footer .container{
      flex-direction: column;
      align-items: center;
   
    }

    #footer .content{
      width: 100%;
      align-items: center;
      text-align: center;
    }

    #footer .urls, .social{
      width: 100%;
      align-items: center;
    }

    #footer .center {
        flex-direction: column;
     }
     

    #footer .content h2{
      width: auto;
      margin: 0;
    }

}