.contact-page {
  min-height: 100vh;
  background-color: var(--primary, #007BFF);
  padding-top: 120px; /* Increased padding to account for navbar */
  position: relative;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  position: relative;
}

.contact-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: white;
}

.contact-header .highlight {
  color: white;
}

.contact-header .subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-top: 2rem;
}

.contact-form-wrapper {
  background-color: var(--background, #f8f9fa);
  padding: 4rem 2rem;
  margin-top: 3rem;
  min-height: calc(100vh - 400px);
  display: flex;
  max-width: 1200px;
  margin: 3rem auto 0;
  justify-content: center;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.contact-form-container {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  max-width: 600px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  color: var(--text, #333);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background-color: #fafafa;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb5bd;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary, #007BFF);
  background-color: white;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.08);
}

.file-upload label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.file-types {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: normal;
}

.form-group input[type="file"] {
  padding: 0.8rem;
  border: 2px dashed #dee2e6;
  background-color: #f8f9fa;
  cursor: pointer;
  font-size: 0.9rem;
}

.form-group input[type="file"]:hover {
  border-color: var(--primary, #007BFF);
}

.privacy-notice {
  font-size: 0.8rem;
  color: #6c757d;
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  line-height: 1.5;
  text-align: center;
}

.submit-button {
  background-color: var(--primary, #007BFF);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.submit-button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.submit-button:disabled {
  background-color: #adb5bd;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.success-message,
.error-message {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem;
  border-radius: 6px;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-info-sidebar {
  width: 300px;
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #e9ecef;
}

.info-block:last-child {
  border-bottom: none;
}

.info-block .material-symbols-outlined {
  color: var(--primary, #007BFF);
  font-size: 1.5rem;
}

.info-block p {
  margin: 0;
  color: var(--text, #333);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-form-wrapper {
    flex-direction: column;
  }

  .contact-info-sidebar {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding-top: 100px;
  }

  .contact-form-wrapper {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .contact-page {
    padding-top: 80px;
  }

  .contact-header h1 {
    font-size: 1.8rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem 1rem;
    margin-top: 1.5rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
}
