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

.site-footer {
  background: linear-gradient(to bottom, #0a1436, #153521);
  color: #fff;
  padding: 60px 20px 20px;
  font-family: "Inter", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 40px;
}

.footer-left h3 {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-left .highlight {
  color: #39a63d;
  font-weight: bold;
}

.newsletter h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.newsletter p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* ==========================================================================
   NEWSLETTER FORM STYLING (Mailchimp)
   ========================================================================== */

.newsletter form,
.newsletter .mc4wp-form {
  margin-top: 15px;
}

.newsletter form p,
.newsletter .mc4wp-form p {
  margin: 0 0 10px 0;
}

.newsletter form label,
.newsletter .mc4wp-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 400;
}

.newsletter form input[type="email"],
.newsletter .mc4wp-form input[type="email"] {
  width: 100%;
  max-width: 300px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.newsletter form input[type="email"]::placeholder,
.newsletter .mc4wp-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter form input[type="email"]:focus,
.newsletter .mc4wp-form input[type="email"]:focus {
  outline: none;
  border-color: #39a63d;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter form input[type="submit"],
.newsletter form button[type="submit"],
.newsletter .mc4wp-form input[type="submit"],
.newsletter .mc4wp-form button[type="submit"] {
  background: #39a63d;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  margin-top: 5px;
}

.newsletter form input[type="submit"]:hover,
.newsletter form button[type="submit"]:hover,
.newsletter .mc4wp-form input[type="submit"]:hover,
.newsletter .mc4wp-form button[type="submit"]:hover {
  background: #4ec252;
  transform: translateY(-2px);
}

/* Mailchimp form messages */
.newsletter .mc4wp-form-fields {
  margin: 0;
}

.newsletter .mc4wp-response {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.newsletter .mc4wp-success {
  background: rgba(57, 166, 61, 0.2);
  border: 1px solid #39a63d;
  color: #4ec252;
}

.newsletter .mc4wp-error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #ff6b6b;
}

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

.footer-middle h4,
.footer-right h4 {
  margin-bottom: 15px;
}

.footer-middle ul,
.footer-right .contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.footer-middle li,
.footer-right .contact-info li {
  margin-bottom: 8px;
}

/* Services Links - Use logo color */
.footer-middle ul li a {
  color: #39a63d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-middle ul li a:hover {
  color: #4ec252;
  text-decoration: none;
}

/* Contact Info Links */
.footer-right .contact-info li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right .contact-info li a:hover {
  color: #39a63d;
}

/* Social Icons - Remove underline/text-decoration */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: #39a63d;
  text-decoration: none;
}

.social-icons a i {
  display: block;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

.footer-bottom a {
  color: #39a63d;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom .icons-credit {
  margin-top: 5px;
  font-size: 0.8rem;
  color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-right .contact-info {
    justify-content: center;
    align-items: center;
  }

  .footer-right .contact-info li {
    justify-content: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .site-footer {
    padding: 40px 15px 15px;
  }

  /* Newsletter form responsive */
  .newsletter form input[type="email"],
  .newsletter .mc4wp-form input[type="email"] {
    max-width: 100%;
  }
}