.contact-page {
  position: relative;
  overflow-x: hidden;
  color: white;
  background-color: #0f0f0f;
  margin-top: 180px;
}

a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 100px;
}
.validation.validation-name span {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}
.contactHead {
    display: flex;
    gap: 100px;
    font-family: Poppins, sans-serif;
}

.contact-title {
    font-size: 40px;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 1.4px;
    margin-bottom:20px;
}

.contact-title .highlight {
  color: #9BBE2C;
}


.contact-description {
    font-family: Sora, sans-serif;
    max-width: 480px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 60px;
    color: #e0e0e0;
    line-height: 1.8;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 200px;
  margin-bottom: 40px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: Poppins, sans-serif;
  font-weight: 400;
}

.form-group .required {
  color: #9BBE2C;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #555555;
  color: #ffffff;
  padding: 10px 5px;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #777777;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom: 1px solid #9BBE2C;
}


.description-group {
  margin-bottom: 25px;
}


.divider {
  border: 0;
  border-top: 1px solid #333333;
  margin: 0 0;
}


.submit-button {
  background-color: #ffffff;
  color: #0f0f0f;
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  float: right;
  font-weight: 600;
  font-size: 20px;
  transition: opacity 0.2s ease;
}

    .submit-button:hover {
        opacity: 0.9;
        background-color: #9bbe2c;
        border-color: #9bbe2c;
        color: white;

}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
}

@media (max-width: 992px) {
  .contact-title {
    font-size: 2.5rem;
  }

  .contact-description {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .form-row {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-group {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .contactHead {
    flex-direction: column;
    gap: 20px;
  }

  .contact-title {
    font-size: 2.5rem;
    max-width: 100%;
  }

  .contact-description {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .form-row {
    gap: 40px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-group {
    width: 100%;
  }

  .divider {
    margin: 20px 0;
  }

  .submit-button {
    width: 40%;
    text-align: center;
    float: right;
    padding: 12px 10px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 25px;
    font-weight:500;
    letter-spacing: 0.5px;
    margin-bottom: 0;
  }
  .text-success1{
      margin-top:85px;
  }
  .contact-description {
    font-size:12px;
    line-height: 1.5;
  }

  .container {
    padding: 0 10px;
    margin-top: 80px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
  }

  .submit-button {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}

@media (max-width: 500px){
  .contact-page{
    margin-top: 120px;
  }
}

@media only screen and (max-width: 350px){
   .submit-button {
    width: 40%;
    text-align: center;
    float: right;
    padding: 12px 10px;
    font-size: 0.8rem;
  }
}