* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer-section {
  background: #10111a;
  color: #fff;
  padding: 48px 0 0 0;
  font-family: "Poppins", sans-serif;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: flex-start;
}
.footer-about {
  flex: 1 1 320px;
  min-width: 280px;
  margin-bottom: 32px;
}
.footer-logo {
  width: 60%;
  margin-bottom: 18px;
}
.footer-desc {
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
  color: #e0e0e0;
}
.footer-structure img {
  width: 380px; /* 234px * 1.3 = 304px */
  margin-bottom: 24px;
}
.footer-social a {
  /* border: 2px solid transparent; */
  /* border-radius: 50%; */
  /* padding: 2px; */
  /* background: #ccc; */
  display: inline-block;
  margin-right: 12px;
  margin-top: 8px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.footer-social a:hover img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(7492%)
    hue-rotate(356deg) brightness(93%) contrast(119%);
}

.footer-links {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}
.footer-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}
.footer-links a {
  font-family: "Raleway", sans-serif;
  color: #fff;
  text-decoration: none;
  margin-bottom: 24px; /* Increased space between links */
  font-size: 0.8rem; /* Decreased font size */
  transition: color 0.2s;
  font-weight: 600;
}
.footer-links a:hover {
  color: #b71c1c;
}

.footer-contact {
  flex: 1 1 260px;
  min-width: 240px;
  margin-bottom: 32px;
}
.footer-contact-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #fff;
  line-height: 1.2;
}
.footer-form {
  display: flex;
  flex-direction: column;
  font-family: "Raleway", sans-serif;
}

.footer-form input,
.footer-form textarea {
  background: #fff; /* White background */
  border: none;
  outline: none;
  color: #444; /* Grey text */
  font-size: 1rem;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 2px;
  resize: none;
}
.footer-form input::placeholder,
.footer-form textarea::placeholder {
  font-family: "Raleway", sans-serif;
  color: #888; /* Slightly darker placeholder for contrast */
}
.footer-form button {
  font-family: "Raleway", sans-serif;
  background: #b71c1c;
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.04em;
}
.footer-form button:hover {
  background: #a31515;
}

.footer-bottom {
  text-align: left; /* Align text to the left */
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 18px 0 12px 0;
  margin-top: 36px;
  padding-bottom: 40px;
  border-top: none; /* Remove the top border line */
}

.footer-bottom-mobile {
  display: none; /* Hide on larger screens */
}

/* Responsive */
@media (max-width: 1200px) {
  .footer-container {
    padding: 0 30px;
  }

  .footer-about {
    flex: 1 1 300px;
  }

  .footer-links {
    flex: 1 1 180px;
  }

  .footer-contact {
    flex: 1 1 240px;
  }
}

@media (max-width: 992px) {
  .footer-section {
    padding: 40px 0 0 0;
  }

  .footer-container {
    gap: 40px 0;
  }

  .footer-logo {
    width: 160px;
  }

  .footer-desc {
    font-size: 1rem;
  }

  .footer-structure img {
    width: 280px;
  }

  .footer-title,
  .footer-contact-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 30px 0 0 0;
    height: auto;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    min-width: 0;
    width: 100%;
    margin-bottom: 30px;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-desc {
    font-size: 0.95rem;
  }

  .footer-structure img {
    width: 260px;
  }

  .footer-social img {
    width: 28px;
    height: 28px;
  }

  .footer-title,
  .footer-contact-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .footer-links a {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .footer-form input,
  .footer-form textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .footer-form button {
    padding: 10px 0;
    font-size: 1rem;
  }

  .footer-bottom {
    display: none;
  }
  .footer-bottom-mobile {
    display: block;
    padding: 15px 20px;
    font-size: 0.9rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-section {
    padding: 25px 0 0 0;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-logo {
    margin-top: 20px;
  }

  .footer-desc {
    font-size: 0.9rem;
  }

  .footer-structure {
    display: flex;
    justify-content: center;
  }

  .footer-structure img {
    width: 100%;
    max-width: 340px;
  }

  .footer-social {
    margin-top: 15px;
    width: 100%;
    text-align: center;
  }

  .footer-social img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }

  .footer-title,
  .footer-contact-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .footer-links {
    margin-left: 35px;
  }

  .footer-links a {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .footer-form {
    background: #1a1b26;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  }

  .footer-form input,
  .footer-form textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
    margin-bottom: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    background: #fff;
    color: #333;
    box-sizing: border-box;
  }

  .footer-form input:focus,
  .footer-form textarea:focus {
    border-color: #b71c1c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.2);
  }

  .footer-form button {
    padding: 10px;
    font-size: 1rem;
    background: #b71c1c;
    border: none;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
  }

  .footer-form button:hover {
    background: #a31515;
  }

  .footer-bottom-mobile {
    display: block;
    padding: 12px 20px;
    font-size: 0.8rem;
    margin-top: 15px;
    text-align: center;
  }

  .footer-contact-title {
    text-align: center;
  }
}
