:root {
  --white: white;
  --black: black;
}

h1 {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 44px;
}

h3 {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
}

.div-main-container {
  width: 100vw;
  height: 100vh;
}

.html-embed {
  z-index: 1;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0);
  display: block;
  position: absolute;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: 0%;
}

.div-cont-content {
  z-index: 2;
  justify-content: center;
  align-items: flex-start;
  margin-top: 5%;
  display: flex;
}

.div-cont-content.bottom {
  align-items: flex-end;
  margin-bottom: 5%;
}

.div-block-main {
  z-index: 1;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
}

.div-content-center {
  z-index: 2;
  flex-direction: column;
  align-items: center;
  padding-left: 50px;
  padding-right: 50px;
  display: flex;
}

.main-button {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid #fff;
  border-radius: 30px;
  margin-top: 2%;
  padding-left: 6%;
  padding-right: 6%;
}

.main-button:hover,
.form-submit:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.form-submit {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.div-bg-color {
  z-index: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/Gradient.jpg');
  background-position: 0 0;
  background-size: cover;
  position: fixed;
  top: 0;
  transform: scaleX(-1);
}

.form-div {
  z-index: 99;
  width: 100vw;
  border-top: 2px solid var(--white);
  padding-top: 10%;
  padding-bottom: 10%;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
}

.form-block {
  padding-left: 25%;
  padding-right: 25%;
}

.heading {
  justify-content: center;
  display: flex;
}

.h3 {
  margin-bottom: 0;
}

.heading-2 {
  font-size: 18px;
}

.text-field {
  color: var(--black);
  border-radius: 5px;
  margin-bottom: 5%;
  font-family: Inter, sans-serif;
}

.text-field.message {
  height: 250px;
  aspect-ratio: auto;
}

.text-field.dropdown {
  border-radius: 5px;
}

.p1 {
  color: var(--white);
  margin-top: 10px;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 400;
}

.success-message {
  background-color: var(--white);
}

.text-field-paragraph {
  min-height: 250px;
  color: var(--black);
  border-radius: 5px;
  margin-bottom: 5%;
  font-family: Inter, sans-serif;
}

.text-field-paragraph.message {
  height: 250px;
  aspect-ratio: auto;
}

@media screen and (max-width: 991px) {
  .form-block {
    padding-left: 15%;
    padding-right: 15%;
  }
}

@media screen and (max-width: 767px) {
  .form-block {
    padding-left: 8%;
    padding-right: 8%;
  }
}

/* Contact Form Styling */
.contact-form {
    max-width: 500px;
    margin: auto;
}

.form-input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.form-submit {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.form-submit:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Ensure form fields remain transparent with white text on focus */
.form-input, .form-input:focus,
.text-field, .text-field:focus,
.text-field.message, .text-field.message:focus {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
    color: rgba(255, 255, 255, 1); /* White text */
    border: 1px solid white; /* White border */
    outline: none; /* Remove default outline */
}

/* Autofill styling */
input:-webkit-autofill, 
input:-webkit-autofill:focus {
    background-color: rgba(0, 0, 0, 0.5) !important; /* Match your intended background */
    color: rgba(255, 255, 255, 1) !important; /* Ensure white text */
    border: 1px solid white !important; /* White border */
    -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.5) inset !important; /* Override autofill background */
    -webkit-text-fill-color: white !important; /* Ensure text stays white */
}

/* Remove divider lines at the fold */
.div-main-container, .div-bg-color, .form-div {
    border: none;
}
