/* Global reset to include padding and border in width calculations */
* {
  box-sizing: border-box;
}

.footer {
  width: 100%; /* Use full width */
  background: #404040; /* Darker shade of blue */
  border-radius: 6px;
  padding: 20px;
  /* Center the footer content on large screens */
  margin: 0 auto;
}

.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: #4996D1; 
  font-size: 24px;
  font-weight: bold;
}

.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: #fff; /* Light grey for links */
  font-size: 16px;
}

.footer-col .links li a:hover {
  color: #F5A623; /* Accent color for hover */
}

.footer-col p {
  margin: 20px 0;
  color: #fff; /* Light grey for text */
  font-size: 16px;
  max-width: 300px;
}

.footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
}

.footer-col .icons i {
  color: #fff; /* Light grey for icons */
  font-size: 24px;
}

.footer-col .icons i:hover  {
  color: #F5A623; /* Accent color for icon hover */
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #3669b0;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: whitesmoke;
}

.footer-col form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-col input {
  height: 40px;
  border-radius: 5px;
  border: 1px solid #1E3A61;
  padding: 0 10px;
  color: #333;
  outline: none;
}

.footer-col form button {
  background-color: #8aacdb; /* Green background */
  color: #1E3A61;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-col form button:hover {
  /*background: #143049;*/
}

/* Responsive Design Adjustments */
@media (max-width: 1200px) {
  .footer .footer-row {
    padding: 30px 15px; /* Reduce padding on smaller screens */
    gap: 2rem; /* Reduce gap on smaller 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-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;
  }
}
