/* Footer Styles */
@font-face {
  font-family: "Playfair Display";
  src: url("../Fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "Lato";
  src: url("../Fonts/Lato-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display SC";
  src: url("../Fonts/PlayfairDisplaySC-Black.ttf") format("truetype");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

footer {
  background-color: #000;
  color: white;
  padding: 50px 100px;
  border-right: 2px solid #444;
}

#title {
  padding-bottom: 20px;
  color: #a0a0a0;
  font-size: 25px;
  font-weight: 500;
}

/* Footer Container */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items at the top */
  text-align: left; /* Ensure all text is left-aligned */
}

/* Logo Section */
.footer-logo {
  flex: 2;
  text-align: left; /* Ensure left alignment */
}

.footer-logo img {
  width: 140px;
}

/* Footer Sections */
.footer-links, .footer-contact, .footer-social {
  flex: 1; /* Ensure equal spacing */
  margin-left: 28px;
  text-align: left; /* Keep text aligned */
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  transition: 0.3s;
}
@media (max-width:920px){

  .footer-links ul li a {
  font-size: 16px;
}
}

.footer-links ul li a:hover {
  color: #ff5a5f;
}

/* Contact and Location */
.footer-contact p {
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Lato';

}

.footer-contact i {
  margin-right: 8px;
  color: #d64942;
}

.footer-contact a {
  text-decoration: none;
  color: white;
}

.footer-contact a:hover {
  color: #d64942;
}

/* Social Icons */
.footer-social .social-icons {
  display: flex;
  gap: 24px;
  justify-content: flex-end; /* Align social icons to the left */
}

.footer-social .social-icons a {
  color: white;
  font-size: 20px;
  transition: 0.3s;
}

.footer-social .social-icons a:hover {
  color: #d64942;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  margin-top: 30px;
  text-align: left; /* Ensure text alignment */
}

.footer-bottom p {
  font-size: 16px;
  font-family: 'Lato';
  color: white;
  text-align: left;
}

.footer-bottom-links {
  margin-top: 5px;
  font-family: 'Lato';
  font-size: 16px;
  text-align: left;
}

.footer-bottom-links a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  transition: 0.3s;
}

.footer-bottom-links a:hover {
  color: #ff5a5f;
}
@media(max-width:768px){
  .footer-bottom p {
    font-size: 12px;
  }
.footer-bottom-links a {
  font-size: 12px;
}
}



/* Responsive Styles */
@media (max-width: 1200px) {
  footer {
    padding: 40px 80px;
  }
}

@media (max-width: 992px) {
  footer {
    padding: 40px 60px;
  }

  .footer-container {
    flex-wrap: wrap;
    text-align: left;
    align-items: flex-start;
  }

  .footer-logo {
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
  }

  .footer-links,
  .footer-contact,
  .footer-social {
    flex-basis: 50%;
    margin-left: 0;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom p {
    margin-bottom: 15px;
  }

  .footer-bottom-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links a {
    margin: 5px 0;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 40px 40px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-container > div {
    width: 100%;
    text-align: left;
    margin-left: 0;
  }

  .footer-links,
  .footer-contact,
  .footer-social {
    flex-basis: 100%;
    text-align: left;
    margin-left: 0;
    padding-bottom: 20px;
  }

  .footer-social .social-icons {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom p {
    margin-bottom: 15px;
  }

  .footer-bottom-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links a {
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 30px 20px;
  }

  .footer-logo img {
    width: 120px;
  }
}

@media (max-width:1440px) {
  .footer-contact p {
    font-size: 15px;
    font-family: 'Lato';
  }
}
@media (min-width: 992px) {
  .footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
  }

  .footer-logo {
    order: 1; 
    text-align: left;
  }

  .footer-social {
    order: 3;
    text-align: right;
  }

  .footer-links,
  .footer-contact {
    order: 2; 
    text-align: left;
  }
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #ff5a5f; /* Match your theme */
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}


/* Show Button When Scrolled */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover Effect */
.back-to-top:hover {
  background-color: #d64942; /* Darker shade */
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}