/* ============================================
   FOOTER - COMPLETE
   ============================================ */
.footer-green {
  background: linear-gradient(135deg, #14591d, #1b4d1f);
  color: rgba(255, 255, 255, 0.85);
  padding: 45px 0 0;
  font-family: 'Inter', sans-serif;
}

.footer-green .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-green h5 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
}

.footer-green h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 2px;
}

/* ============================================
   FOOTER LOGO - FIXED
   ============================================ */
.footer-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 10px;
  display: block;
  transition: all 0.3s ease;
  /* Remove filter if image is white */
  /* filter: brightness(0) invert(1); */
}

/* If you want to keep the filter, use this instead */
.footer-logo-white {
  max-width: 160px;
  height: auto;
  margin-bottom: 10px;
  display: block;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

/* Logo hover effect */
.footer-logo:hover,
.footer-logo-white:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Fallback text when image doesn't load */
.footer-logo-fallback {
  display: none;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-logo-fallback i {
  color: #28a745;
  margin-right: 10px;
}

/* Show fallback when image fails */
.footer-logo[style*="display: none"] + .footer-logo-fallback,
.footer-logo[style*="display: none"] ~ .footer-logo-fallback {
  display: block !important;
}

/* ============================================
   FOOTER LINKS
   ============================================ */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '›';
  font-size: 1.1rem;
  color: #28a745;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links li a:hover::before {
  color: #ffffff;
}

/* ============================================
   CONTACT INFO
   ============================================ */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.info-item i {
  color: #28a745;
  font-size: 1rem;
  min-width: 20px;
  margin-top: 2px;
}

.info-item span {
  line-height: 1.6;
}

/* ============================================
   FOOTER FORM
   ============================================ */
.email-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  width: 100%;
  font-size: 0.82rem;
  height: 40px;
  transition: all 0.3s ease;
}

.email-form .form-control:focus {
  border-color: #28a745;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.email-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
}

.email-form textarea.form-control {
  height: auto;
  min-height: 60px;
  resize: vertical;
}

.email-form .btn-premium {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s ease;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 100%;
}

.email-form .btn-premium:hover {
  background: linear-gradient(135deg, #218838, #1aa179);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 15px 0;
  margin-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 991.98px) {
  .footer-green {
    padding: 35px 0 0;
  }
  
  .footer-green .container-fluid {
    padding: 0 20px;
  }
  
  .footer-green h5 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  
  .footer-green h5::after {
    width: 30px;
    height: 2px;
  }
  
  .footer-logo,
  .footer-logo-white {
    max-width: 130px;
  }
  
  .footer-links li a {
    font-size: 0.8rem;
  }
  
  .info-item {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .email-form .form-control {
    height: 36px;
    font-size: 0.78rem;
  }
  
  .email-form .btn-premium {
    height: 36px;
    font-size: 0.78rem;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 767.98px) {
  .footer-green {
    padding: 25px 0 0;
  }
  
  .footer-green .container-fluid {
    padding: 0 15px;
  }
  
  .footer-green .row {
    --bs-gutter-y: 20px;
  }
  
  .footer-green h5 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
    text-align: center;
  }
  
  .footer-green h5::after {
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
  }
  
  .footer-logo,
  .footer-logo-white {
    max-width: 110px;
    margin: 0 auto;
  }
  
  .footer-links li {
    margin-bottom: 4px;
  }
  
  .footer-links li a {
    font-size: 0.78rem;
    justify-content: center;
  }
  
  .info-item {
    font-size: 0.78rem;
    gap: 10px;
    margin-bottom: 8px;
    justify-content: center;
  }
  
  .info-item i {
    font-size: 0.85rem;
    min-width: 18px;
  }
  
  .email-form .form-control {
    height: 34px;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 6px;
  }
  
  .email-form textarea.form-control {
    min-height: 50px;
  }
  
  .email-form .btn-premium {
    height: 34px;
    font-size: 0.75rem;
    padding: 5px 16px;
    border-radius: 6px;
  }
  
  .footer-bottom {
    padding: 10px 0;
    margin-top: 20px;
  }
  
  .footer-bottom p {
    font-size: 0.65rem;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 575.98px) {
  .footer-green {
    padding: 20px 0 0;
  }
  
  .footer-green .row {
    --bs-gutter-y: 16px;
  }
  
  .footer-green h5 {
    font-size: 0.8rem;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  
  .footer-green h5::after {
    width: 20px;
  }
  
  .footer-logo,
  .footer-logo-white {
    max-width: 90px;
  }
  
  .footer-links li a {
    font-size: 0.75rem;
  }
  
  .info-item {
    font-size: 0.75rem;
    gap: 8px;
    margin-bottom: 6px;
  }
  
  .info-item i {
    font-size: 0.8rem;
    min-width: 16px;
  }
  
  .email-form .form-control {
    height: 32px;
    font-size: 0.72rem;
    padding: 4px 10px;
  }
  
  .email-form textarea.form-control {
    min-height: 45px;
  }
  
  .email-form .btn-premium {
    height: 32px;
    font-size: 0.72rem;
    padding: 4px 14px;
  }
  
  .footer-bottom {
    padding: 8px 0;
    margin-top: 16px;
  }
  
  .footer-bottom p {
    font-size: 0.6rem;
  }
}

/* ============================================
   RESPONSIVE - VERY SMALL
   ============================================ */
@media (max-width: 400px) {
  .footer-green {
    padding: 15px 0 0;
  }
  
  .footer-logo,
  .footer-logo-white {
    max-width: 75px;
  }
  
  .footer-green h5 {
    font-size: 0.75rem;
  }
  
  .footer-links li a {
    font-size: 0.7rem;
  }
  
  .info-item {
    font-size: 0.7rem;
  }
  
  .email-form .form-control {
    height: 30px;
    font-size: 0.7rem;
    padding: 3px 8px;
  }
  
  .email-form .btn-premium {
    height: 30px;
    font-size: 0.7rem;
    padding: 3px 12px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .footer-links li a {
    transition: none !important;
    transform: none !important;
  }
  
  .email-form .btn-premium {
    transition: none !important;
    transform: none !important;
  }
  
  .footer-logo,
  .footer-logo-white {
    transition: none !important;
    transform: none !important;
  }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  .footer-links li a:hover {
    transform: none !important;
  }
  
  .email-form .btn-premium:hover {
    transform: none !important;
  }
  
  .footer-logo:hover,
  .footer-logo-white:hover {
    transform: none !important;
  }
}