/* ==========================================================================
   CONTACT SECTION (assets/css/contact.css)
   ========================================================================== */

/* Outer wrapper forcing exact same width and side-padding as Download section */
.contact__container {
  max-width: 1100px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media screen and (min-width: 768px) {
  .contact__container {
    grid-template-columns: 1fr 1fr !important; /* Forces 50/50 horizontal split */
    align-items: stretch !important;
  }
}

/* --- Left Column: Info Stack --- */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contact__card {
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(14, 36, 49, 0.04);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 36, 49, 0.08);
}

.contact__icon-box {
  width: 42px;
  height: 42px;
  border-radius: 0.6rem;
  background-color: hsl(var(--hue-color, 224), 89%, 96%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__icon {
  font-size: 1.35rem;
  color: var(--first-color, #4070f4);
}

.contact__data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 0.1rem;
}

.contact__value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--second-color, #0e2431);
  word-break: break-all;
}

/* Dual Social Links Row */
.contact__social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.contact__card--small {
  justify-content: center;
  padding: 1rem;
  gap: 0.5rem;
}

.contact__card--small .contact__value {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--first-color, #4070f4);
}

/* --- Right Column: Form --- */
.contact__form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(14, 36, 49, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.contact__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact__input-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.contact__input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  color: var(--second-color, #0e2431);
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

.contact__input:focus {
  background: #ffffff;
  border-color: var(--first-color, #4070f4);
  box-shadow: 0 0 0 3px rgba(64, 112, 244, 0.12);
}

.contact__textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}

.contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--first-color, #4070f4);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(64, 112, 244, 0.3);
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  width: 100%;
}

.contact__button:hover {
  background-color: #3158c9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 112, 244, 0.4);
}
