/* Contact Form Section - Skewed */
.contact-section {
  position: relative;
  transform: skewY(-3deg);
  padding: 100px 20px;
  background-color: transparent !important;
  margin-top: -60px; /* Overlap with previous section */
  z-index: 2;
  overflow: hidden;
}

/* Optional: Top separator effect (inherits background if set) */
.contact-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 5px;
  background: inherit;
  z-index: 2;
}

/* Inner Content - Unskewed for readability */
.diagonal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Proto Mono';
  color: bisque;
  position: relative;
  z-index: 2;
}

/* Contact Form Layout */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Input Fields */
.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #666;
  border-radius: 5px;
  background-color: #222;
  color: bisque;
  font-family: 'Proto Mono';
  font-size: 14px;
}

/* Textarea Specifics */
.contact-form textarea {
  resize: vertical;
  height: 120px;
}

/* Submit Button */
.contact-form button {
  padding: 12px;
  font-size: 16px;
  font-family: 'Proto Mono';
  background-color: bisque;
  color: #222;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact-form button:hover {
  opacity: 0.8;
}

/* Responsive Adjustment */
@media screen and (max-width: 768px) {
  .contact-section {
    margin-top: 0;
    transform: skewY(-3deg);
    -webkit-transform: skewY(-3deg);         /* For Safari and iOS Chrome */
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;            /* Optional: helps on iOS */
}
}
