/**
 * New Footer Styles
 */

/* Footer Base Styles */
#footer {
  font-size: 14px;
  background: #2c2c2c;
  color: #fff;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #2c2c2c;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

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

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

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #de1f26;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #ff4d4d;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px 0 0 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -4px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #de1f26;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #ff4d4d;
}

/* Footer Bottom Section */
#footer .footer-bottom {
  padding: 20px 0;
  position: relative;
}

/* Copyright Section */
#footer .copyright {
  text-align: center;
  padding-bottom: 5px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}

/* Social Links */
#footer .social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-flex;
  background: #444444;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 10px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  justify-content: center;
  align-items: center;
}

#footer .social-links a:hover {
  background: #de1f26;
  color: #fff;
  text-decoration: none;
}

/* Slogan Styles */
.footer-slogan {
  text-align: center;
  margin: 20px 0;
}

.footer-slogan img,
.footer-slogan-mobile img {
  max-height: 40px;
}

/* Mobile Slogan at Top */
.footer-slogan-mobile {
  padding: 10px 0;
  text-align: center;
}

/* Ensure slogan is visible in landscape mode */
@media (orientation: landscape) {
  #mobileSloganContainer {
    display: block !important;
  }
  
  .footer-slogan-mobile img {
    max-height: 35px;
  }
}

/* Responsive Styles */
@media (min-width: 768px) {
  #footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  #footer .copyright-container {
    text-align: left;
  }
  
  #footer .social-links {
    margin-top: 0;
    justify-content: flex-end;
  }
  
  #footer .footer-slogan {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  #footer .footer-bottom {
    flex-direction: column;
  }
  
  #footer .footer-slogan {
    order: 1;
    margin-bottom: 20px;
  }
  
  #footer .copyright-container {
    order: 3;
  }
  
  #footer .social-links {
    order: 2;
    margin-bottom: 20px;
  }
  
  /* Force display of mobile slogan */
  #mobileSloganContainer {
    display: block !important;
  }
}

/* Landscape Mode Specific */
@media (max-width: 767px) and (orientation: landscape) {
  #footer .footer-bottom {
    display: flex;
    flex-direction: column;
  }
  
  #footer .footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
  }
  
  #footer .social-links {
    margin: 0;
    justify-content: flex-start;
  }
  
  #footer .footer-slogan {
    margin: 0;
    text-align: right;
  }
  
  #footer .copyright-container {
    width: 100%;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Ensure mobile slogan is visible in landscape */
  #mobileSloganContainer {
    display: block !important;
    margin-bottom: 20px !important;
  }
  
  #mobileSloganContainer img {
    max-height: 35px;
  }
}