/* Hero Section */
#hero_section {
  /* background: linear-gradient(0deg, #1F165D 0%, #0C0C1E 100%); */
  /* padding: 1rem; */
  color: white;
  overflow: hidden;
  height: 90vh;
  width: 100vw;
  background-image: url(../images/second_background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: #ebebeb; */
  position: relative;
  z-index: 1;
}

/* Hero Text */
#hero-text {
  color: white;
  font-size: 2rem;
  text-align: center;
  margin: 6vw 14vw 8vw 8vw;
}

#hero-text #we {
  color: #52CFFF;
}

/* Social Icons */
.social-icons-contact {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  gap: 1rem;
  /* flex-wrap: nowrap; */
}



.social-icons-contact img {
  height: 40px;
  margin: 1rem 1rem;
}

.cosmic-content-container {
  margin-top: 150px;
  max-width: 45vw;
  margin: 10px;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.galaxy-heading-primary {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aurora-subtitle-text {
  font-size: 1.1rem;
  color: #5a6c7d;
  margin-bottom: 40px;
  line-height: 1.5;
}

.meteor-step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px;
  position: relative;
}

.quasar-step-indicator {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.quasar-step-indicator::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, #ff6b6b, transparent);
}

.meteor-step-item:last-child .quasar-step-indicator::after {
  display: none;
}

.quasar-step-indicator i {
  color: white;
  font-size: 18px;
}

.pulsar-step-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.pulsar-step-content p {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.form-container {
  /* background: linear-gradient(135deg, #000000, #000000); */
  /* background: #000000; */
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.39);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  max-width: 40vw;
  margin: 1rem auto;
  border: 2px solid linear-gradient(135deg, #4fc2f796, #29b6f6);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -40%);
  z-index: 100;
}

.form-header {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 1.4;
}

.form-header h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.form-control {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 15px;
  padding: 10px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: none;
  outline: none;
}

.form-control::placeholder {
  color: #999;
  font-weight: 400;
}

.optional-label {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 600;
  margin: 10px 0 10px 0;
  text-align: left;
}

.file-upload-area {
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed #ddd;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.file-upload-area:hover {
  border-color: #4fc3f7;
  background: white;
}

.file-upload-icon {
  color: #4fc3f7;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.file-upload-text {
  color: #666;
  font-size: 16px;
}

.file-upload-text i {
  height: 20px;
  width: 20px;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.send-btn {
  background: #12084E;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 15px 40px;
  font-size: 28px;
  font-weight: 900;
  width: 100%;
  margin: 30px 0;
  transition: all 0.3s ease;
  /* text-transform: lowercase; */
}

.send-btn:hover {
  background: #19528b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.divider {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin: 5px 0;
}

.contact-info2 {
  color: white;
  text-align: center;
  font-size: 19px;
  line-height: 1.6;
}

.contact-info2 a {
  color: #2c3e50;
  text-decoration: underline;
  font-weight: 500;
}

.contact-info2 a:hover {
  color: #34495e;
}

@media (max-width: 768px) {
  #hero_section {
    min-height: 50vh;
  }

  .form-container {
    margin: 1.2rem;
    padding: 1.2rem 1rem;
  }

  .form-header h2 {
    font-size: 1.5rem;
  }

  .optional-label {
    font-size: 1.5rem;
  }

  .social-icons-contact {
    margin-top: 1rem;

  }

  .social-icons-contact img {
    height: 40px;
    margin: 1rem 0.5rem;
  }

  #hero-text {
    margin: 1rem 1rem;
  }
}

.contact-form {
  display: flex;
  align-items: center;
  height: 100%;
}

.d-flex.row {
  align-items: center;
}

#contact-form-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-5%, 5%);
  z-index: 10;
  background: linear-gradient(165deg, #12084E, #4fc3f7);
  backdrop-filter: blur(10px);
  border-radius: 1.3rem;
  padding: 1.8rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.39);
  max-width: 45vw;
  width: 90%;
  height: auto;
}

@media (max-width: 768px) {
  #contact-form-wrapper {
    position: static;
    transform: none;
    margin-top: 20px;
    order: 2;
    min-width: 80vw;
    /* Ensure it comes after cosmic-content-container */
  }

  .cosmic-content-container {
    order: 1;
    /* Ensure it stays above the form container */
    margin-top: 0;
    min-width: 100vw;

  }

  main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .galaxy-heading-primary {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}