/* Footer Styles */
* {
  font-family: "Poppins", sans-serif;
}

footer {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("../assets/Footer.png") center/cover no-repeat;
    background-color: #1a1a1a;
    background-attachment: fixed;
    color: white;
    padding: 2rem 0 0;
}

.footer-content {
  margin: 0 auto;
  padding: 0 10rem;
}

/* Footer Columns */
.footer-section {
  position: relative;
}

.footer-section-menu{
 display: flex;
 flex-direction: row;
justify-content: center;
gap:10px;
 padding-top: 2rem;
}

@media screen and (min-width: 768px) {
.footer-section-menu-1{
   border-left: 1px solid rgba(255, 255, 255, 0.15);
   padding-left: 40px;
  padding-bottom: 2rem;
  padding-top: 2rem;

}

.pt-2rem{
  padding-top: 4rem;
}

.footer-section-menu-2{
   border-left: 1px solid rgba(255, 255, 255, 0.15);
   padding-left: 40px;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.footer-section-menu-2 h4{
  width: 168px;
}

.footer-section-menu-2 ul{
  width: 168px;
}

.footer-section-menu-3{
   border-left: 1px solid rgba(255, 255, 255, 0.15);
   padding-left: 40px;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

  .footer-pl-border {
   border-left: 1px solid rgba(255, 255, 255, 0.15);
   padding-left: 40px;
   padding-bottom: 2rem;
  }

}

.footer-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

/* Footer Accordion Styles */
.footer-accordion-item {
  margin-bottom: 1rem;
}

.footer-accordion-header {
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
}

.footer-accordion-header:hover {
  color: #5cb85c;
}

.footer-toggle-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  display: inline-block;
  width: 20px;
  text-align: center;
}

.footer-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.footer-accordion-content.active {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
}

/* Desktop - Always show menu items */
@media screen and (min-width: 769px) {
  .footer-accordion-content {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
  
  .footer-toggle-icon {
    display: none;
  }
  
  .footer-accordion-header {
    cursor: default;
    pointer-events: none;
  }
}

/* Logo Section */
.footer-logo {
  width: 370px;
  height: 169px;
  aspect-ratio: 370/169;
  opacity: 0.8;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-brand-light {
  font-weight: 300;
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
      position: relative;
    top: -15px;
}

/* Contact Button */
.btn-contact {
  background-color: #5cb85c;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 2rem;
  border-radius: 5px;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: #449d44;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(92, 184, 92, 0.4);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #5cb85c;
  padding-left: 2px;
}

/* Contact Info */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #5cb85c;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-section-menu{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    border: none;
    padding-left: 0px;
    padding-top: 1rem;
    padding-right: 0px;
    gap: 0;
  }
  
  .footer-section-menu-1,
  .footer-section-menu-2, 
  .footer-section-menu-3 {
    border: none !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0.5rem !important;
    width: 100% !important;
  }
  
  .footer-accordion-header {
    cursor: pointer;
    pointer-events: auto;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-toggle-icon {
    display: inline-block !important;
  }
  
  .footer-accordion-item {
    margin-bottom: 0;
    padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
  }

.footer-section {
    padding-top: 0rem;
  }
  
.mobile-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-margin-0{
  margin: 0 !important;
}

.footer-logo {
    width: 250px;
    height: auto;
  }

  .footer-content {
    padding: 0 2rem;
  }

  .footer-section {
    text-align: left;
    padding-bottom: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1.2rem;
  }

  .btn-contact {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-info {
        display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section-menu-2 {
    text-align: left;
  }

    .footer-section-menu-3 {
    text-align: left;
  }
  
  
  .footer-section-menu-1 {
    text-align: left;
  }

  .contact-info li span {
    text-align: left;
  }

  .contact-info li {
    justify-content: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-logo{
    height: 120px;
  }
}
