/* Top Section */

.top {
  text-align: center;
  margin: 0 auto;
  align-self: center;
  display: block;
}

.significant {
  margin: 50px 0 0 0;
  font-size: 5rem;
}

.top p {
  font-size: 1.2rem;
  color: var(--text-grey);
  max-width: 650px;
  margin: 0 auto;
}

/* Make mailto and other links inside the top paragraph match paragraph text */
.top p a {
  color: inherit;
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--text-color);
}

.top p a:focus,
.top p a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.top span {
  font-size: 1.2rem;
}

.main {
  padding-bottom: 0;
}

/* Contact Methods Section */

.top .column:nth-child(2) {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-auto-rows: auto;
  gap: 16px 18px;
  align-items: center;
  margin-top: 60px;
}

.top .column:nth-child(2) img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.top .column:nth-child(2) .contact-content {
  padding: 8px 0;
}

.top .column:nth-child(2) .heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.top .column:nth-child(2) p {
  margin: 2px 0;
  font-size: 0.98rem;
  color: var(--text-grey);
}

.top .column:nth-child(2) .contact-note {
  margin-top: 4px;
  color: var(--accent-color);
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 4px 8px;
  border: 1px solid var(--accent-color);
}

.top .column:nth-child(2) .contact-content::before {
  content: "";
  display: none;
}

/* Contact section & form */
.contact-section {
  width: 80%;
  margin: 40px 0;
  padding: 0 24px;
  color: var(--text);
}

.contacts {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 8px;
  flex: 1;
}

.contact-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.contact-content .heading {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-content .meta {
  margin: 4px 0;
  color: var(--text-grey);
}

.contact-note {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.or-form {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.or-form .line {
  flex: 1;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.or-form span {
  font-size: 0.9rem;
  color: var(--text-grey);
  letter-spacing: 1px;
  padding: 0 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-form label {
  color: var(--text);
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text);
  width: 100%;
  margin: 10px 0 30px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.submit-btn {
  margin-top: 8px;
  padding: 14px 22px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 30px;
  align-self: flex-start;
}

.submit-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}

.form-message.hidden { display: none; }

@media (max-width: 900px) {
  .contact-section { margin: 28px 24px; }
  .contacts { flex-direction: column; }
  .submit-btn { width: 100%; }
}

@media (max-width: 768px) {
  /* .top {
    margin-left: 16px;
  } */
}