

.container {
  margin: 0 auto;
  background: var(--background);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  width: min(100%, 580px);
  padding: 3rem 2.5rem;
  margin-top: 430px;
  position: relative;
  overflow: hidden;

}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--button-color) 100%);
}

.form-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.875rem;
}

#contactForm {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  padding-top: 5px;
  padding-bottom: 5px;
  position: relative;
}

.floating-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #64748b;
  pointer-events: none;
  transition: var(--transition);
  background: var(--background);
  padding: 0 0.25rem;
}

input, textarea {
  width: 100%;
  padding: 1.25rem 1rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input:focus ~ .floating-label,
input:not(:placeholder-shown) ~ .floating-label,
textarea:focus ~ .floating-label,
textarea:not(:placeholder-shown) ~ .floating-label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.65rem;
  color: var(--primary);
}

/* Advanced File Upload */
.file-upload {
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  color: black;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.file-upload:hover {
  border-color: var(--primary-hover);
  background: rgba(37, 99, 235, 0.03);
}

.file-upload.dragover {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.05);
}

.upload-icon {
  font-size: 2rem;
  color: var(--primary-hover);
  margin-bottom: 1rem;
}

.file-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 0.5rem;
}

/* Progress Bar */
.progress-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress {
  height: 100%;
  background: var(--primary);
  transition: var(--transition);
  width: 0%;
}

/* Enhanced Submit Button */
.submit-btn {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn.loading {
  opacity: 0.8;
  pointer-events: none;
}



.news-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 420px;

}
h1{
  text-align: center;
}

.hero{min-height: 500px;
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/css/contact.0998f9225b8c.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;

}
.hero-content h1 {
font-size: 2rem;
margin: 0;
font-weight: bold;
}
.hero-content {
  text-align: center;

  padding: 1rem;
  font-size: 50%;
  margin-top: 100px;
  width: 800px;
  z-index: 1;
}



@media screen and (max-width: 769px) {

  .container{
  margin-top: 470px;
  }
  .news-wrapper{
    padding-bottom: 470px;
  }
}
@media screen and (max-width: 566px) {
.container{
      margin-top: 600px;
  }
  .news-wrapper{
    padding-bottom: 550px;
  }

}

@media screen and (max-width: 415px){
.container {
margin-top: 600px;
}
h2{
  display: none;
}}


@media (max-width: 735px) {
  .hero{min-height: 500px;
      background-image: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url("/static/css/contact.0998f9225b8c.webp") !important;
    }}