/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #1c1c1c, #014775); /* Dark gradient background */
  color: #fff;
  overflow-x: hidden;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px; /* Spacing between sections */
  padding: 20px;
}

.contact-header {
  text-align: center;
  padding: 20px;
}

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1.2rem;
  font-weight: 300;
}

.contact-form-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  animation: fadeIn 1s ease-in-out;
}

.contact-form label {
  font-weight: 400;
  margin-bottom: 5px;
  display: block;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
  resize: none;
  height: 100px;
}

.submit-button {
  background: linear-gradient(135deg, #ff9a8b, #ff6a88);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease-in-out;
}

.submit-button:hover {
  transform: scale(1.1);
}

/* Contact Boxes */
.contact-box-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 90%;
  flex-wrap: wrap; /* Wraps boxes if the screen is too small */
  gap: 20px;
  max-width: 1200px;
}

.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease-in-out;
  animation: fadeIn 1s ease-in-out;
}

.contact-box i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-box p {
  font-weight: 400;
  font-size: 1rem;
}

.contact-box:hover {
  background: linear-gradient(135deg, #ff9a8b, #ff6a88);
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.5);
}

/* Contact Info Section */
.contact-info {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.info-item {
  margin-bottom: 15px;
}

.info-item h3 {
  font-weight: 600;
  margin-bottom: 5px;
}

.info-item p {
  font-weight: 300;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .contact-box-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-box {
    width: 100%;
    max-width: 300px;
    height: 100px;
  }
}

/* Home Button Styling */
.home-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1e90ff, #483d8b);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  z-index: 1000;
}

.home-button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #64ffda, #1e90ff);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.6);
}

.home-button:active {
  transform: scale(0.95);
}

/* Button Visibility Animation (Optional) */
.home-button.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

 /* Footer */
 footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background-color: #222;
  color: #bbb;
  border-radius: 10px;
}
