/* === Contact Form 7 Modern UI === */
.cf7-modern-form {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  font-family: 'Roboto', sans-serif;
}

.cf7-modern-form .cf7-form-row {
  margin-bottom: 1.5rem;
}

.cf7-modern-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333333;
}

.cf7-modern-form em {
  color: #e63946;
}

.cf7-modern-form input[type="text"],
.cf7-modern-form input[type="file"],
.cf7-modern-form input[type="email"],
.cf7-modern-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cf7-modern-form input[type="text"]:focus,
.cf7-modern-form input[type="file"]:focus,
.cf7-modern-form input[type="email"]:focus,
.cf7-modern-form textarea:focus {
  border-color: #5e72e4;
  box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.1);
  outline: none;
}

.cf7-modern-form .info-tip {
  font-size: 0.85rem;
  color: #666666;
  margin-top: 0.25rem;
}

.cf7-modern-form .cf7-submit-btn input[type="submit"] {
  background: #5e72e4;
  color: #ffffff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cf7-modern-form .cf7-submit-btn input[type="submit"]:hover {
  background: #324cdd;
}

@media (max-width: 600px) {
  .cf7-modern-form {
    padding: 1.5rem;
  }
}
