/* === General Body Styling === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
}

/* === Header === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background-color: rgba(0, 0, 0, 0.3);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  color: #2ef8f8;
}

.logo a {
  color: #2ef8f8;
  text-decoration: none;
}

.logo a:hover {
  color: white;
}

nav a {
  color: #ccc;
  margin-left: 24px;
  text-decoration: none;
}

nav a:hover {
  color: white;
}

.button-home {
  border: 1px solid #2ef8f8;
  color: #2ef8f8;
  padding: 8px 16px;
  border-radius: 5px;
  background: transparent;
  margin-left: 32px;
}

.contact-section {
  padding: 60px 10%;
  color: white;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.info-block {
  margin-bottom: 30px;
  text-align: left;
}

.info-block h3 {
  color: #2ef8f8;
  margin-bottom: 10px;
  font-weight: bold;
}

.social-icons a {
  margin-right: 15px;
  display: inline-block;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 12px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form button {
  background-color: #2ef8f8;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}

.contact-form button:hover {
  background-color: #1bd1d1;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 32px;
  font-size: 12px;
  color: #888;
}

/* === Filter Label Font Color === */
.filter-font {
  color: #2ef8f8;
}

/* === Particle Background === */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* === Responsive Styling === */

/* For tablets and smaller (≤ 992px) */
@media (max-width: 992px) {
  .contact-section {
    padding: 40px 5%;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-info, .contact-form {
    width: 100%;
  }

  .contact-info {
    text-align: center;
  }

  .info-block {
    text-align: center;
  }

  .social-icons a {
    margin-right: 10px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  nav {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo {
    font-size: 20px;
  }

  nav a {
    margin-left: 0;
    font-size: 14px;
  }

  .button-home {
    margin-left: 0;
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* For phones and small devices (≤ 600px) */
@media (max-width: 600px) {
  .contact-section h1 {
    font-size: 28px;
  }

  .info-block h3 {
    font-size: 18px;
  }

  .info-block p {
    font-size: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 10px;
  }

  .contact-form button {
    padding: 10px;
    font-size: 14px;
  }

  .social-icons img {
    width: 24px;
    height: 24px;
  }

  footer {
    padding: 24px;
    font-size: 11px;
  }
}
