.footer {
  background-color: #f7efe2;
  color: #ddd;
  font-family: Arial, sans-serif;
  padding: 30px 20px 10px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
  align-items: center;
}

.footer-left, .footer-center, .footer-right {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 29%;
}

.footer-center {
    display: flex;
    flex-direction: row;
}

.footer-logo {
  width: 140px;
  margin-bottom: -25px;
}

.tagline {
   font-size: 14px;
    color: #333;
    text-align: left; /* Agar teks juga berada di tengah */
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  position: relative;
  font-family: sans-serif;
}

.footer-nav li {
  position: relative;
}

.footer-nav > li > a {
  color: #3C6E71;
  text-decoration: none;
  padding: 8px 4px;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
}

.footer-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f7efe2;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 180px;
  z-index: 100;
}

.footer-nav .dropdown-menu li {
  padding: 0;
  margin: 0;
}

.footer-nav .dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav .dropdown-menu li a:hover {
  background-color: #e8dfcf;
}

.footer-nav .dropdown:hover .dropdown-menu {
  display: block;
}



.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: left;
}

.social-icons a {
  color: #3C6E71;
  font-size: 25px;
  text-decoration: none;
}

.social-icons a:hover {
  color: black;
}

.subscribe-form {
  display: flex;
  gap: 5px;
}

.subscribe-form input {
  padding: 8px;
  border: none;
  border-radius: 3px;
  flex: 1;
}

.subscribe-form button {
  padding: 8px 12px;
  border: none;
  background-color: #3C6E71;
  color: white;
  border-radius: 3px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: black;
  border-top: 1px solid #444;
  padding-top: 15px;
}

@media (max-width: 768px) {
  .footer {
    margin: 0px;
    padding: 0px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
    align-items: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-center {
    flex-direction: column;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-nav > li > a {
    font-size: 16px;
    padding: 6px 0;
  }

  .social-icons {
    justify-content: center;
    gap: 15px;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    gap: 10px;
  }

  .subscribe-form input {
    width: 100%;
  }

  .subscribe-form button {
    width: 100%;
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 10px;
  }
}
