/* ============================================================
   CONTACT.CSS — Clean 2-column contact + 3D data widget
   ============================================================ */

.colorlib-contact {
  padding: 100px 0 80px !important;
  background: #fff;
}

/* ── Header ─────────────────────────────────────── */
.ctc-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}

/* ── 2-column grid: LEFT info + widget, RIGHT form ─ */
.ctc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .ctc-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── INFO COLUMN ────────────────────────────────── */
.ctc-info { display: flex; flex-direction: column; gap: 14px; }

/* ── 3D DATA WIDGET ─────────────────────────────── */
.ctc-widget {
  position: relative;
  height: 280px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #0a0a14 0%, #131a2e 100%);
  border: 1px solid rgba(0, 180, 255, 0.18);
  box-shadow:
    0 18px 48px rgba(0, 60, 160, 0.18),
    inset 0 0 60px rgba(0, 180, 255, 0.06);
  overflow: hidden;
  margin-bottom: 8px;
}
.ctc-widget::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(0,180,255,0.03) 3px, rgba(0,180,255,0.03) 4px),
    radial-gradient(closest-side at 50% 50%, rgba(0, 180, 255, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
#ctc-orb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 2;
}
.ctc-widget-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 150, 0.25);
  border-radius: 999px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #00ff88;
  letter-spacing: 3px;
}
.ctc-widget-badge .dot {
  width: 6px; height: 6px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 100, 0.7);
  animation: ctcBlink 1.2s ease-in-out infinite;
}
@keyframes ctcBlink { 50% { opacity: 0.3; transform: scale(0.85); } }
.ctc-widget-stats {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 180, 255, 0.18);
  border-radius: 12px;
  font-family: 'Courier New', monospace;
}
.ctc-widget-stats > div {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}
.ctc-widget-stats strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.5);
}
.ctc-widget-stats em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ── INFO CARDS ─────────────────────────────────── */
.ctc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 120, 255, 0.10);
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 4px 14px rgba(0, 30, 90, 0.04);
}
.ctc-card:hover {
  transform: translateX(4px);
  border-color: rgba(0, 180, 255, 0.4);
  box-shadow: 0 10px 28px rgba(0, 120, 255, 0.18);
}
.ctc-card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e8f3ff, #ffffff);
  border: 1px solid rgba(0, 120, 255, 0.15);
  border-radius: 12px;
  font-size: 18px;
  color: #007bff;
  box-shadow: 0 4px 10px rgba(0, 120, 255, 0.10);
}
.ctc-card-text {
  flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.ctc-card-label {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #007bff;
  text-transform: uppercase;
}
.ctc-card-value {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0a0a14;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ctc-card-arr {
  font-size: 18px;
  color: #007bff;
  font-weight: 700;
  transition: transform 0.25s;
}
.ctc-card:hover .ctc-card-arr { transform: translateX(4px); }

/* WhatsApp card highlight */
.ctc-card-whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.10), rgba(255, 255, 255, 0.85)) !important;
  border-color: rgba(37, 211, 102, 0.25) !important;
}
.ctc-card-whatsapp .ctc-card-ico {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-color: transparent;
}
.ctc-card-whatsapp .ctc-card-label { color: #128C7E; }
.ctc-card-whatsapp .ctc-card-arr   { color: #128C7E; }
.ctc-card-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.5) !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.20);
}

/* ── FORM ───────────────────────────────────────── */
.ctc-form-wrap {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(0, 120, 255, 0.10);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 14px 40px rgba(0, 30, 90, 0.08);
}
@media (max-width: 600px) {
  .ctc-form-wrap { padding: 24px 18px; }
}
.ctc-form { display: flex; flex-direction: column; gap: 18px; }
.ctc-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .ctc-row-2 { grid-template-columns: 1fr; } }

.ctc-field {
  display: flex; flex-direction: column; gap: 6px;
}
.ctc-field span {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #007bff;
  text-transform: uppercase;
}
.ctc-field input,
.ctc-field textarea {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #0a0a14;
  background: #ffffff;
  border: 1.5px solid rgba(0, 120, 255, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  transition: all 0.22s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  resize: none;
}
.ctc-field textarea { resize: vertical; min-height: 140px; }
.ctc-field input::placeholder,
.ctc-field textarea::placeholder {
  color: #98a0b3;
  font-weight: 400;
}
.ctc-field input:focus,
.ctc-field textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0, 180, 255, 0.12);
}

/* ── SUBMIT BUTTON ──────────────────────────────── */
.ctc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
  background-size: 200% 100%;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 120, 255, 0.35);
  transition: all 0.28s cubic-bezier(.2,.8,.2,1);
  margin-top: 8px;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}
.ctc-submit i { font-size: 15px; transition: transform 0.25s; }
.ctc-submit:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 120, 255, 0.50);
}
.ctc-submit:hover i { transform: translate(4px, -4px) rotate(-12deg); }

/* Hide the old legacy form rules' impact */
.colorlib-contact .form-control,
.colorlib-contact .btn-send-message,
.colorlib-contact .colorlib-feature {
  /* no-op — new structure doesn't use these */
}
