/* Mobile contact adjustments - consolidated */
@media (max-width: 700px) {
  .input-wrap input[name="name"] {
    max-width: 120px;
    flex: 0 0 120px;
  }
  .input-wrap input[name="_replyto"] {
    max-width: 150px;
    flex: 0 0 150px;
  }
  .card-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .footer-logo {
    width: 56px;
    height: 38px;
  }
  .footer-social-icon {
    width: 28px;
    height: 28px;
  }
}
/* Contact section styles */
/* Compact desktop layout for contact page */
.contact {
  padding: 1.2rem 0 0 0;
  background: transparent;
  min-height: 60vh;
}
.contact .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.2rem 1rem 0 1rem;
  /* background removed */
  border-radius: 18px;
  box-shadow: none;
}
.section-heading {
  font-family: 'Baise', Arial, Helvetica, sans-serif;
  color: #ff3333;
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 1.2rem;
  text-shadow:
    0 0 8px #fff,
    0 0 2px #fff,
    0 1px 8px #fff,
    0 2px 12px #fff,
    0 0 0.5px #fff;
  /* white glow for readability */
}
.card-wrapper {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.card {
  background: #181818;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  padding: 0.7rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  max-width: 180px;
  width: 160px;
  min-height: 110px;
  max-height: 110px;
  height: 110px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px #ff333355;
}
.card img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.4rem;
}

/* Email and location icons inner glow */
.card img[src*="mail.png"],
.card img[src*="atomium.png"] {
  filter: 
    drop-shadow(0 0 4px rgba(255, 51, 51, 0.5))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.25))
    drop-shadow(0 0 2px rgba(255, 51, 51, 0.6))
    drop-shadow(0 0 12px rgba(255, 51, 51, 0.2));
  transition: filter 0.3s ease;
}

.card:hover img[src*="mail.png"],
.card:hover img[src*="atomium.png"] {
  filter: 
    drop-shadow(0 0 6px rgba(255, 51, 51, 0.7))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.4))
    drop-shadow(0 0 2px rgba(255, 51, 51, 0.8))
    drop-shadow(0 0 18px rgba(255, 51, 51, 0.3));
}
.card h1 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.15rem 0;
  font-family: Arial, Helvetica, sans-serif;
}
.card h6 {
  font-size: 0.9rem;
  color: #bbb;
  margin: 0;
  font-weight: normal;
}
.contact-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}
form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.input-wrap {
  display: flex;
  gap: 0.7rem;
}
.input-wrap input {
  flex: 1;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 0.97rem;
}
.input-wrap-2 {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.input-wrap-2 input,
.input-wrap-2 textarea {
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 0.97rem;
}
.btn-wrapper {
  display: flex;
  justify-content: center;
}
.btn-primary {
  background: #ff3333;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #ff5555;
}
#form-success {
  display: none;
  color: #4caf50;
  text-align: center;
  margin-top: 0.7rem;
  font-size: 1rem;
}
/* Footer styles */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
}
.footer-logo {
  width: 72px;
  height: 48px;
  border-radius: 6px; /* small rounded corners instead of a circle */
  margin-bottom: 0.7rem;
  object-fit: contain;
}
.footer-socials {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 0.5rem;
}
.footer-social-icon {
  width: 28px;
  height: 28px;
  filter: grayscale(0.2) brightness(1.1);
  transition: filter 0.2s;
}
.footer-social-icon:hover {
  filter: grayscale(0) brightness(1.3) drop-shadow(0 0 8px #ff3333);
}
.copyright {
  color: #bbb;
  font-size: 0.92rem;
  margin-top: 0.3rem;
  text-align: center;
}

