/* Contact Section */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.contact {
  padding: 50px 20px;
  background-color: #f9f9f9;
  color: #333;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 32px;
  color: #008bbd;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 16px;
  color: #555;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* Home Button */
.header-buttons {
  position: absolute;
  top: 10px;
  left: 20px;
}

.home-btn {
  display: inline-block;
  background-color: #008bbd;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
}

.home-btn i {
  margin-right: 8px;
}

.home-btn:hover {
  background-color: #00d4ff;
  transform: translateY(-2px);
}


/* Contact Form */
.contact-form {
  flex: 1 1 400px;
  max-width: 500px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-group textarea {
  resize: none;
}

.contact-form .btn {
  background-color: #008bbd;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background-color: #00d4ff;
}

/* Contact Info */
.contact-info {
  flex: 1 1 300px;
  max-width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #333;
}

.contact-info p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}

.contact-info i {
  margin-right: 10px;
  color: #008bbd;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  color: #008bbd;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00d4ff;
}


@media (max-width: 992px) {
  .contact-header h2 {
    font-size: 28px;
  }

  .contact-header p {
    font-size: 15px;
  }

  .contact-form, .contact-info {
    max-width: 450px;
  }

  .contact {
    padding: 40px 15px;
  }
}

/* Mobile (width ≤ 768px) */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 500px;
  }

  .contact-header h2 {
    font-size: 26px;
  }

  .contact-header p {
    font-size: 14px;
  }

  .home-btn {
    font-size: 13px;
    padding: 8px 16px;
  }

  .contact-form .btn {
    width: 100%;
    text-align: center;
  }
}

/* Small Phones (width ≤ 480px) */
@media (max-width: 480px) {
  .contact {
    padding: 30px 10px;
  }

  .contact-header h2 {
    font-size: 22px;
  }

  .contact-header p {
    font-size: 13px;
  }

  .contact-form, .contact-info {
    padding: 15px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input, .form-group textarea {
    font-size: 13px;
  }

  .social-icons a {
    font-size: 16px;
  }
}