* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

footer {
  width: 100%;
  margin: -5px 0 0 0;
  background-color: #000 !important; /* arka plan garanti siyah */
  color: #32cd32;
  text-align: center;
  padding: 0px 20px;
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 2;
}

/* Footer ana konteyner */
.container1 {
  border-top: 2px solid #32cd32;
  padding: 10px;
  margin: 5px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}

/* Kutular */
.footer-box {
  width: 318px;
}

.footer-box h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #32cd32;
  border-bottom: 2px solid #32cd32;
  padding-bottom: 5px;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box ul li {
  margin: 5px 0;
  font-size: 16px;
  text-align: left;
}

.footer-box ul li a {
  font-size: 16px;
  color: #32cd32;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-box ul li a:hover {
  color: rgb(243, 26, 26);
}

.container2 {
  border-top: 2px solid #32cd32;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  font-size: 14px;
  width: 100%;
  color: #32cd32;
}

footer h3 {
  font-size: 16px;
  color: #32cd32;
  margin: 8px 0;
}

footer br { 
  display: none; 
}

@media screen and (max-width:768px) {
  .container1 {
    flex-direction: column;
    align-items: center;
  }

  .footer-box {
    width: 100%;
    text-align: center;
  }

  .footer-box h4 {
    font-size: 16px;
    color: #32cd32;
    border-bottom: 2px solid #32cd32;
  }

  .container2 {
    text-align: center;
  }

  footer h3 {
    font-size: 14px;
    color: #32cd32;
  }

  footer br { 
    display: block; 
  }
}

@media screen and (max-width:320px) {

  footer br { 
    display: block; 
  }
}