/* ===== FOOTER ===== */

#footer h4 {
  text-transform: uppercase; /* Changed to uppercase */
  font-weight: 400; /* Lighter weight */
  font-size: 16px; /* Slightly smaller */
  letter-spacing: 1px; /* Added letter spacing */
}

#footer #footer h4,
#footer .contact-box ul li > span::before,
#footer .contact-box h4 {
  color: #fff; /* Changed from #efd5c0 to white */
}

@media (min-width: 992px) {
  .custom-footer .footer-item--contact {
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  .custom-footer .footer-item--contact {
    order: -1;
  }
}

.contact-box ul li.contact-box-icon span:before {
  display: block !important;
}

.contact-box ul li > span {
  padding-left: 0;
}

#footer .contact-box ul li > span.tel a,
#footer .contact-box ul li > span.mail a {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Changed to white border */
  border-radius: 0; /* Changed from 30px to 0 */
  padding: 10px 15px;
  min-height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  color: #fff; /* Added white text */
}

#footer ul.contact-box-icon-list {
  margin-top: 15px;
  margin-bottom: 20px;
}

.contact-box ul li > span::before {
  display: none;
}

#footer .contact-box p {
  font-size: 14px; /* Smaller font */
  line-height: 1.6;
  color: #fff; /* Changed to white */
  margin-bottom: 0;
  font-weight: 300; /* Lighter weight */
}

#footer .site-name a {
  width: auto;
}

body #footer .custom-footer .site-name {
  width: auto;
  padding: 0;
  margin-top: 25px;
  margin-bottom: 10px;
  justify-content: flex-start;
}

#footer .site-name a img {
  max-width: 130px;
  filter: brightness(0) invert(1); /* Makes logo white */
}

#footer .contact-box a.btn {
  box-shadow: none;
  background-color: transparent; /* Changed to transparent */
  border: 1px solid rgba(255, 255, 255, 0.3); /* White border */
  border-color: rgba(255, 255, 255, 0.3);
  margin-top: 12px;
  color: #fff;
  border-radius: 0; /* No radius */
  text-transform: uppercase; /* Uppercase */
  font-size: 12px; /* Smaller */
  letter-spacing: 0.5px;
  font-weight: 400;
}

#footer .contact-box a.btn:hover {
  box-shadow: none;
  background: #fff; /* White background on hover */
  color: #1E2A1E !important; /* Dark green text */
}

#footer .contact-box a.btn.btn-primary {
  color: #fff; /* White text */
}

#footer .contact-box a.btn.btn-primary.btn-primary--ext {
  background-color: transparent; /* Transparent */
  color: #fff; /* White text */
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-width: 120px;
  margin-top: 12px;
  border-radius: 0; /* No radius */
}

.footer-bottom-bg:before {
  background-color: transparent;
}

#footer .contact-box a.btn.btn-primary.btn-primary--ext:hover {
  background-color: #fff; /* White on hover */
  color: #1E2A1E !important;
}

#footer .contact-box ul li > span.tel a:hover,
#footer .contact-box ul li > span.mail a:hover {
  box-shadow: none;
  background: #fff; /* White background */
  color: #1E2A1E !important; /* Dark green text */
}

body #footer {
  margin-top: 50px;
  background-color: #1E2A1E; /* Dark green background */
}

/* ===== FOOTER MENU LINKS (helper) ===== */
.menu-helper > ul > li a,
.menu-helper > span {
  color: #fff; /* White text */
}

/* ===== NEWSLETTER (FOOTER) ===== */

.footer-item.footer-item-newsletter {
  background: #2A3A2A; /* Slightly lighter green for newsletter */
  width: 100%;
  margin-top: 0;
  position: relative;
  border-radius: 0; /* No radius */
}

@media (min-width: 992px) {
  .footer-item.footer-item-newsletter {
    width: 100%;
    background: #2A3A2A; /* Updated color */
  }
}

.footer-item.footer-item-newsletter .compact-form,
.footer-item.footer-item-newsletter .newsletter-header {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
}

.footer-item.footer-item-newsletter:after {
  display: none;
}

.footer-item.footer-item-newsletter h4 span {
  color: #fff; /* White text */
  text-transform: none; /* Keep as is */
  font-weight: 400;
}

.footer-item.footer-item-newsletter h4 + p {
  color: #fff; /* White text */
  font-size: 16px; /* Smaller */
  margin-top: 10px;
  font-weight: 300;
}

.footer-item.footer-item-newsletter .compact-form fieldset {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 1200px) {
  .footer-item.footer-item-newsletter {
    padding: 25px 30px 25px 30px;
  }
}

.footer-item.footer-item-newsletter .compact-form .btn {
  position: absolute;
  top: 4px;
  right: 4px;
  margin-top: 0;
  height: 42px;
  min-height: 42px;
  width: 42px;
  border-radius: 50%; /* Keep round button */
  padding: 0;
  background: #fff; /* White button */
  border: none;
}

.footer-item.footer-item-newsletter .compact-form .btn:hover {
  background: rgba(255, 255, 255, 0.8); /* Slightly transparent on hover */
  color: #1E2A1E !important;
}

.footer-item.footer-item-newsletter .compact-form .btn:hover:after {
  color: #1E2A1E !important;
}

.footer-item.footer-item-newsletter .compact-form .btn:after {
  content: "\e916";
  font-family: "Apollo";
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: 400;
  font-size: 18px;
  margin-right: 0;
  color: #1E2A1E; /* Dark green icon */
  transform: translate(-50%, -50%);
}

.footer-item.footer-item-newsletter .form-group.consents label a,
.footer-item.footer-item-newsletter .form-group.consents label {
  color: #fff; /* White text */
}

.compact-form .validator-msg-holder input {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
  border-radius: 25px; /* Keep rounded for input */
  color: #fff; /* White text */
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 25px;
}

.compact-form .validator-msg-holder input::placeholder {
  color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
}

.footer-item.footer-item-newsletter .newsletter-header {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .footer-item.footer-item-newsletter h4 span {
    font-size: 20px; /* Smaller */
  }
  .footer-item.footer-item-newsletter .compact-form input {
    font-size: 14px; /* Smaller */
    height: 50px;
  }
  .footer-item.footer-item-newsletter h4 + p {
    font-size: 14px; /* Smaller */
  }
  .footer-item.footer-item-newsletter {
    width: auto;
    margin: 0 -20px;
  }
  body #footer {
    margin-top: 0;
  }
}

.footer-item.footer-item-newsletter:before {
  display: none; /* Remove background image */
}