.contact-container {
  min-height: 80vh;
  padding: 30px 10% 50px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 130px;
}

/* LEFT */
.contact-info h1 {
  font-size: 64px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.contact-intro {
  max-width: 350px;
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}

.contact-details div {
  margin-bottom: 32px;
}

.contact-details span {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 6px;
}

.contact-details a,
.contact-details p {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}

/* social icon links within contact details */
.social-links a {
  margin-right: 12px;
  display: inline-block;
  color: #fff;
}
.social-links a:last-child {
  margin-right: 0;
}
.social-links i {
  font-size: 22px;
}

/* local svg images */
.social-links img {
  vertical-align: middle;
  /* icons are black by default; invert to white for dark backgrounds */
  filter: invert(1);
}
/* RIGHT */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Subtle card effect for contact panels (lighter than changelog) */
.contact-info,
.contact-form {
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240,240,240,0.08);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.35s ease, border-left-color 0.35s ease, transform 0.35s ease;
  border-left: 3px solid rgba(204,47,38,0.06);
}

.contact-info:hover,
.contact-form:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  border-left-color: rgba(204,47,38,0.22);
  transform: translateY(-4px);
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,1);

  padding: 12px 4px;
  font-size: 15px;
  color: #fff;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form .bot-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e5e7eb;
  margin-top: 8px;
}

.contact-form .bot-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #cc2f26;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}

/* Placeholder text white */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.9);
}

.contact-form button {
  margin-top: 20px;
  height: 56px;

  background: #EC1F24;
  box-shadow: 0 4px 15px rgba(236, 31, 36, 0.4);
  transition: transform 0.2s, background 0.2s;
  border: none;

  font-size: 14px;
  font-weight: 300;
  color: #fff;
  cursor: pointer;
}

.rate-limit-msg {
  margin-top: 8px;
  font-size: 13px;
  color: #f8d7da;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  display: none;
}

@media (max-width: 700px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 50px 18px 80px;
  }

  .contact-info h1 {
    font-size: 40px;
    margin-bottom: 18px;
  }

  .contact-intro {
    margin-bottom: 12px;
  }
}
