/* ── Glass card base ── */
#contact .glass-contact {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 18px 50px rgba(99, 102, 241, 0.1),
    0 8px 20px rgba(15, 23, 42, 0.05);
}

/* ── Stacked info cards ── */
#contact .contact-info-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.06);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
}

#contact .contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(168, 85, 247, 0.05)
  );
  opacity: 0;
  transition: opacity 0.28s ease;
}

#contact .contact-info-card:hover {
  transform: translateX(6px);
  box-shadow:
    0 16px 36px rgba(99, 102, 241, 0.13),
    0 6px 14px rgba(15, 23, 42, 0.05);
  border-color: rgba(99, 102, 241, 0.18);
}

#contact .contact-info-card:hover::before {
  opacity: 1;
}

#contact .contact-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.22);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

#contact .contact-info-card:hover .contact-card-icon {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 12px 26px rgba(99, 102, 241, 0.3);
}

#contact .contact-card-title {
  font:
    600 14px/1.3 Poppins,
    sans-serif;
  color: #1e1b4b;
  margin: 0 0 2px;
  transition: color 0.25s ease;
}

#contact .contact-info-card:hover .contact-card-title {
  color: #4f46e5;
}

#contact .contact-card-text {
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

#contact .contact-card-arrow {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.06);
  color: rgba(99, 102, 241, 0.3);
  transition: all 0.28s ease;
  opacity: 0;
  transform: translateX(-6px);
}

#contact .contact-info-card:hover .contact-card-arrow {
  opacity: 1;
  transform: translateX(0);
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
}

/* ── Form fields ── */
#contact .contact-field {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(99, 102, 241, 0.16);
  transition: all 0.22s ease;
  outline: none;
  font-family: Inter, system-ui, sans-serif;
}

#contact .contact-field:hover {
  border-color: rgba(99, 102, 241, 0.28);
}

#contact .contact-field:focus {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow:
    0 0 0 4px rgba(99, 102, 241, 0.1),
    0 10px 24px rgba(99, 102, 241, 0.08);
}

/* ── Service chips ── */
#contact .service-chip {
  cursor: pointer;
  user-select: none;
}

#contact .chip-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(99, 102, 241, 0.14);
  transition: all 0.22s ease;
}

#contact .chip-inner:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(238, 242, 255, 0.7);
}

#contact .service-chip input:checked + .chip-inner {
  background: linear-gradient(135deg, #eef2ff, #ede9fe);
  border-color: rgba(99, 102, 241, 0.45);
  color: #4338ca;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12);
}

/* ── Submit button ── */
#contact .contact-submit-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1, #7c3aed, #a855f7);
  color: white;
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

#contact .contact-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

#contact .contact-submit-btn:hover::before {
  left: 130%;
}

#contact .contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.42);
}

#contact .contact-submit-btn:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  #contact {
    min-height: auto;
  }
}
