:root {
  --primary-color: #158b42;
  --primary-hover: #1a5d3b;
  --bg-footer: #ffffff;
  --bg-card: #f9f9f9;
  --bg-submenu: #ececec;
  --bg-submenu-hover: #999999;
  --text-main: #252525;
  --text-heading: #111111;
  --text-sub: #333333;
  --text-muted: #666666;
  --text-copyright: #888888;
  --border-color: #eeeeee;
  --border-line: #cccccc;
  --icon-color: #444444;
}

.dt-site-footer {
  font-family: "Poppins", sans-serif;
  padding: 60px 20px 30px;
  color: var(--text-main);
  font-size: 15px;
  background-color: var(--bg-footer);
}

.dt-site-footer .dt-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin: 0 auto;
  padding: 0 50px;
  max-width: 1400px;
}

.dt-site-footer h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-heading);
}

.dt-footer-menu-box { flex: 0.8; }
.dt-footer-social-box { flex: 0.8; }
.dt-footer-contact-box { flex: 1.2; }

.dt-footer-nav { list-style: none; padding: 0; margin: 0; }
.dt-footer-nav .dt-menu-item { margin-bottom: 12px; position: relative; }

.dt-footer-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s ease;
}
.dt-footer-nav a:hover { color: var(--primary-hover); }

.dt-footer-nav .dt-menu-item-has-children > a::after {
  content: "";
  margin-left: 8px;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--icon-color);
  border-bottom: 2px solid var(--icon-color);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.dt-footer-nav .dt-sub-menu {
  display: none;
  flex-direction: column;
  margin: 8px 80px 0 35px;
  padding-left: 0;
  list-style: none;
  max-width: 280px;
}
.dt-footer-nav .dt-sub-menu a {
  width: 100%;
  color: var(--text-sub);
  background: var(--bg-submenu);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.dt-footer-nav .dt-sub-menu a:hover { background: var(--bg-submenu-hover); }

.dt-footer-nav .dt-menu-item.active > .dt-sub-menu { display: flex; }
.dt-footer-nav .dt-menu-item.active > a::after { transform: rotate(-135deg); }

.dt-footer-social-icons { display: inline-flex; flex-direction: column; gap: 12px; }

.dt-footer-social-icons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s ease;
}
.dt-footer-social-icons a i { font-size: 18px; width: 20px; }
.dt-footer-social-icons a:hover { color: var(--primary-hover); }

.dt-footer-cta-card {
  background: var(--bg-card);
  padding: 25px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.dt-footer-cta-card h2 { font-size: 20px; margin-top: 0; margin-bottom: 10px; color: var(--text-heading); }
.dt-footer-cta-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; }

.dt-btn-wa-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.dt-btn-wa-footer:hover { background: var(--primary-hover); }

.dt-footer-bottom-wrapper { max-width: 1280px; margin: 40px auto 0; padding: 0 20px; }
.dt-footer-line-decor {
  height: 1px;
  background: var(--bg-submenu);
  width: 100%;
  margin-bottom: 20px;
}
.dt-footer-copyright { text-align: center; color: var(--text-copyright); font-size: 14px; }

.link-disabled { cursor: not-allowed !important; opacity: 0.6; pointer-events: none; }

@media (max-width: 768px) {
  .mob-footer {
    background-color: #ffffff;
    padding: 40px 20px 25px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
  }

  .mob-footer-container {
    max-width: 100%;
    margin: 0 auto;
  }

  .mob-footer-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 35px;
  }

  .mob-card-title {
    font-size: 20px;
    color: #0e5a34;
    font-weight: 700;
    margin: 0 0 10px 0;
  }

  .mob-card-desc {
    font-size: 14px;
    text-align: center;
    color: #555555;
    line-height: 1.5;
    margin: 0 0 20px 0;
  }

  .mob-card-btn {
    display: inline-block;
    background-color: #146638;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .mob-footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 40px;
    align-items: start;
    text-align: left;
  }

  .mob-footer-heading {
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    color: #0e5a34;
    margin: 0 0 15px 0;
  }

  .mob-footer-nav-list, 
  .mob-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mob-footer-nav-list li {
    margin-bottom: 12px;
  }

  .mob-footer-nav-list a, 
  .mob-social-list a {
    color: #444444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mob-social-list a {
    margin-bottom: 14px;
  }

  .mob-social-list a i {
    font-size: 16px;
    width: 18px;
    color: #444444;
  }

  .mob-sub-list {
    list-style: none;
    padding-left: 10px;
    margin-top: 8px;
    display: none;
    border-left: 1.5px solid #d1e2d9;
  }

  .mob-sub-list li {
    margin-bottom: 8px;
  }

  .mob-sub-list a {
    font-size: 13px;
    color: #666666;
  }

  .mob-has-children.open .mob-sub-list {
    display: block;
  }

  .mob-toggle-trigger .icon-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
  }

  .mob-has-children.open .icon-arrow {
    transform: rotate(180deg);
  }

  .mob-footer-bottom {
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
    text-align: center;
  }

  .mob-copyright {
    font-size: 12px;
    color: #999999;
    margin: 0;
  }
}