/* ==========================================================================
   DEV IT Solutions — Contact Page Stylesheet (contact.css)
   Dedicated styles for contact.html
   ========================================================================== */

/* ---------- Joined Unified Contact Card ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--color-white);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 50px rgba(10, 24, 48, 0.09);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.38fr;
    align-items: stretch;
  }
}

.contact-info-card {
  background: var(--color-navy, #0A1830);
  color: var(--color-white);
  border-radius: 0;
  padding: clamp(2.25rem, 4vw, 3.25rem);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card .eyebrow {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: max-content;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: var(--color-yellow);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: none;
}

.contact-list {
  display: grid;
  gap: var(--sp-6);
  margin-block: var(--sp-6);
}

.contact-item {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item p {
  margin: 0;
  line-height: 1.4;
}

.contact-item p,
.contact-item a {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--color-yellow);
}

.contact-item small {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(10, 24, 48, 0.05);
  padding: clamp(2rem, 4vw, 3.25rem);
  position: relative;
}

.contact-grid .contact-form-card {
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* ========================================================
   Thank You State for Contact Form
   ======================================================== */
.thank-you-card {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  animation: fadeInThankYou 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInThankYou {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.thank-you-card__icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.thank-you-card__icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: pulseBadge 2.4s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  }
  50% {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.55);
  }
}

.thank-you-card__check {
  width: 38px;
  height: 38px;
}

.thank-you-card__title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--color-navy, #0A1830);
  margin: 0.75rem 0 1rem 0;
  letter-spacing: -0.02em;
}

.thank-you-card__desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-slate, #475569);
  max-width: 48ch;
  margin: 0 auto 1.75rem auto;
}

.thank-you-card__info-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  text-align: left;
  max-width: 500px;
  margin: 0 auto 2rem auto;
}

@media (max-width: 600px) {
  .thank-you-card__info-box {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.thank-you-info-item {
  display: flex;
  flex-direction: column;
}

.thank-you-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 0.25rem;
}

.thank-you-info-val {
  font-size: 0.95rem;
  color: #0F172A;
  font-weight: 600;
  word-break: break-all;
}

.thank-you-info-val.text-blue {
  color: #0070E0;
  text-decoration: none;
}

.thank-you-info-val.text-blue:hover {
  text-decoration: underline;
}

.thank-you-card__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

