/* Global reset to include padding and border in width calculations */
* {
  box-sizing: border-box;
}

.footer {
  width: 100%;
  /* Use full width */
  background: #333;
  /* border-radius: 6px; */
  padding: 20px;
  /* Adjust padding to be consistent */
  margin: 0 auto;
  /* Center the footer content on large screens */
}

.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 40px 20px;
  /* Adjust padding for better responsiveness */
}

.footer-row .footer-col h4 {
  color: #f39c12;
  font-size: 24px;
  font-weight: 400;
}

.footer-col .links {
  margin-top: 20px;
}

.footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-col .links li a {
  text-decoration: none;
  color: #bfbfbf;
  font-size: 16px;
}

.footer-col .links li a:hover {
  color: #f39c12;
}

.footer-col p {
  margin: 20px 0;
  color: #bfbfbf;
  font-size: 16px;
  max-width: 300px;
}

.footer-col form {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  /* Wrap form elements on smaller screens */
}

.footer-col input {
  height: 40px;
  border-radius: 6px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid #f39c12;
  caret-color: #fff;
  color: #fff;
  padding-left: 10px;
}

.footer-col form button {
  background: #f39c12;
  outline: none;
  width: 100%;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.footer-col form button:hover {
  background: #d35400;
}

.footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
}

.footer-col .icons i {
  color: #afb6c7;
  font-size: 24px;
}

.footer-col .icons i:hover {
  color: #f39c12;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #999;
}

/* Responsive Design Adjustments */
@media (max-width: 1200px) {
  .footer .footer-row {
    padding: 30px 15px;
    /* Reduce padding on medium screens */
    gap: 2rem;
    /* Reduce gap on medium screens */
  }
}

@media (max-width: 768px) {
  .footer {
    width: 100%;
    border-radius: 0;
  }

  .footer .footer-row {
    flex-direction: column;
    /* Stack columns vertically on smaller screens */
    padding: 20px;
    gap: 1rem;
  }

  .footer-col form {
    flex-direction: column;
    /* Stack form elements vertically on smaller screens */
  }

  .footer-col form :where(input, button) {
    width: 100%;
    /* Ensure full width for inputs and buttons */
  }

  .footer-col form button {
    margin: 10px 0 0 0;
  }

  .footer-row .footer-col h4 {
    font-size: 20px;
  }

  .footer-col .links li a {
    font-size: 14px;
  }

  .footer-col p {
    font-size: 14px;
  }

  .footer-col .icons i {
    font-size: 20px;
  }
}