:root {
  --accent-color: #00c8ff;
  --error-color: #ff4d4d;
  --success-color: #4dff88;
  --input-border: #333;
  --input-focus: #00c8ff;
}

.contact-section {
  width: 100%;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.contact-section .row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-top: 10px;
}

.section-title h1:after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: #febd01;
}

.section-title p {
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

.small {
  font-size: 0.9rem;
}

.text.upper {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  border-radius: 8px;
}

.form-container {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--accent-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--input-focus);
  box-shadow: 0 0 5px rgba(0, 200, 255, 0.3);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Style de bouton amélioré */
.btn-submit {
  background-color: #00a6d6;
  color: var(--text-color);
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
  display: block;
  width: 100%;
  margin: 0 auto;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background-color: #055469;
}

/* Messages avec styles améliorés */
.message-success {
  color: var(--success-color);
  padding: 15px;
  background-color: rgba(77, 255, 136, 0.1);
  border-left: 4px solid var(--success-color);
  border-radius: 4px;
  margin-bottom: 20px;
  width: 100%;
}

.message-error {
  color: var(--error-color);
  padding: 15px;
  background-color: rgba(255, 77, 77, 0.1);
  border-left: 4px solid var(--error-color);
  border-radius: 4px;
  margin-bottom: 20px;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-form {
    padding: 20px 15px;
  }
  
  .section-title h1 {
    font-size: 2rem;
  }
  
  .btn-submit {
    width: 100%;
  }
}