/* GLOBAL FOOTER SYSTEM */

.site-footer {
  background: #fafcfb url('../assets/images/header_bg_desktop.webp') right center / cover no-repeat;
  color: #1E293B;
  padding-top: 60px;
  padding-bottom: 0;
  border-top: 1px solid #E2E8F0;
  position: relative;
}

@media (max-width: 991px) {
  .site-footer {
    background: #fafcfb url('../assets/images/header_bg_mobile.webp') center / cover no-repeat;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1.8fr;
  gap: 36px;
  padding-bottom: 50px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

/* Social Media Icons */
.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Footer Titles & Accent Underline */
.footer-title {
  color: #0F172A;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 6px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* Footer Links List with Right Chevron */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 20px;
}

.footer-link {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link-item:hover .footer-link {
  color: var(--color-primary);
}

.footer-link-chevron {
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Get In Touch Cards */
.footer-card {
  background: rgba(241, 245, 249, 0.85);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.footer-card-icon {
  color: #054B24;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-card-content {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
}

.footer-card-content strong {
  color: #0F172A;
  display: block;
  margin-bottom: 2px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.footer-mini-card {
  background: rgba(241, 245, 249, 0.85);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #334155;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.footer-mini-card span {
  color: #054B24;
  flex-shrink: 0;
  font-size: 1rem;
}

/* Dark Green Bottom Bar */
.footer-bottom-bar {
  background: #033619;
  color: #ffffff;
  padding: 16px 0;
  font-size: 0.875rem;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-bottom-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-divider {
  color: rgba(255, 255, 255, 0.4);
}

/* Scroll To Top Circle Button */
.scroll-top-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #054B24;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 8px;
  font-size: 1rem;
}

.scroll-top-btn:hover {
  background: #022410;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
