/* =========================================
   CONTACT REDESIGN – Modern Dark Finance Theme
   Mirrors: login-redesign.css / home-redesign
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Scope: everything inside .cnt-page ── */
body:has(.cnt-page),
html:has(.cnt-page) {
  background: #070b14 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body { background: #070b14; }

/* ── CSS variables (mirrors home-redesign) ── */
.cnt-page {
  --accent:            var(--AppColor, #00d4aa);
  --accent-glow:       rgba(0, 212, 170, 0.25);
  --accent-dark:       #009e7e;
  --bg-base:           #070b14;
  --bg-card:           #0d1424;
  --bg-glass:          rgba(255,255,255,0.04);
  --bg-glass-border:   rgba(255,255,255,0.08);
  --text-primary:      #f0f4ff;
  --text-secondary:    #8b9bb4;
  --text-muted:        #4a5568;
  --border:            rgba(255,255,255,0.07);
  --shadow-card:       0 8px 40px rgba(0,0,0,0.5);
  --radius:            18px;
  --radius-sm:         10px;
  --radius-pill:       100px;

  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  box-sizing: border-box;
}
.cnt-page * { box-sizing: border-box; }

/* ── hide the old site wrappers when this redesign is active ── */
.cnt-page > .preloader,
.cnt-page > header.main-header,
.cnt-page > .mobile-menu,
.cnt-page > section.page-title,
.cnt-page > footer.main-footer,
.cnt-page > .sticky-header,
.cnt-page > section.contact-info-section,
.cnt-page > section.contact-section,
.cnt-page > button.scroll-top { display: none !important; }

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.cnt-bg {
  position: fixed;
  inset: 0; z-index: 0;
  background: var(--bg-base);
}
.cnt-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(0,212,170,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(99,102,241,0.04) 0%, transparent 60%);
}
.cnt-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 0%, transparent 100%);
}
.cnt-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.cnt-orb-1 { width: 480px; height: 480px; background: rgba(0,212,170,0.08); top: -120px; right: -100px; animation: cntOrbFloat 9s ease-in-out infinite; }
.cnt-orb-2 { width: 320px; height: 320px; background: rgba(99,102,241,0.07); bottom: -80px; left: 10%; animation: cntOrbFloat 12s ease-in-out infinite reverse; }
@keyframes cntOrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(16px,-20px) scale(1.05); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.cnt-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 68px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,11,20,0.80);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.cnt-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cnt-nav-logo img { height: 36px; filter: brightness(1.1); }
.cnt-nav-logo span { font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.4px; }
.cnt-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.cnt-nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.cnt-nav-links a:hover { color: var(--text-primary); }
.cnt-nav-actions { display: flex; align-items: center; gap: 10px; }
.cnt-nav-ghost {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: var(--text-primary); background: transparent; border: 1px solid var(--border);
  text-decoration: none; transition: all 0.25s;
}
.cnt-nav-ghost:hover { border-color: var(--accent); color: var(--accent); }
.cnt-nav-cta {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--accent);
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 0 18px var(--accent-glow);
}
.cnt-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--accent-glow); color: #fff; }

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.cnt-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.cnt-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(32px, 6vw, 100px) 80px;
  position: relative;
  z-index: 1;
}
.cnt-right {
  width: 520px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 60px;
  position: relative;
  z-index: 1;
}

/* right panel separator line */
.cnt-right::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

/* ============================================================
   LEFT SIDE — HEADER & CONTACT INFO
   ============================================================ */
.cnt-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 28px;
  background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.22);
  font-size: 11px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  max-width: 100%; box-sizing: border-box;
  animation: cntFadeUp 0.6s ease both;
}
.cnt-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: cntPulse 2s infinite;
}
@keyframes cntPulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.4; transform:scale(1.4); } }

.cnt-left h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin: 0 0 16px;
  word-break: break-word;
  animation: cntFadeUp 0.6s ease 0.1s both;
}
.cnt-left h1 em { font-style: normal; color: var(--accent); }

.cnt-left p.cnt-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 0 40px;
  animation: cntFadeUp 0.6s ease 0.2s both;
}

/* Info Cards grid */
.cnt-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  animation: cntFadeUp 0.6s ease 0.3s both;
}
.cnt-info-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}
.cnt-info-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}
.cnt-info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0,212,170,0.10);
  border: 1px solid rgba(0,212,170,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent);
  margin-bottom: 16px;
}
.cnt-info-card h3 {
  font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0 0 8px;
}
.cnt-info-card p, .cnt-info-card a {
  font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5;
  text-decoration: none; transition: color 0.2s; display: block;
}
.cnt-info-card a:hover {
  color: var(--accent);
}

/* Social links row */
.cnt-social {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px;
  animation: cntFadeUp 0.6s ease 0.4s both;
}
.cnt-social span { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.cnt-social-links { display: flex; gap: 10px; }
.cnt-social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); text-decoration: none;
  transition: all 0.25s;
}
.cnt-social-links a:hover {
  color: var(--accent); border-color: var(--accent);
  transform: translateY(-2px); background: rgba(0,212,170,0.05);
}

/* ============================================================
   RIGHT SIDE — Form Card
   ============================================================ */
.cnt-card {
  width: 100%;
  max-width: 460px;
  background: rgba(13,20,36,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  padding: 44px clamp(20px, 6vw, 40px) 40px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: cntFadeUp 0.7s ease 0.1s both;
  position: relative; overflow: hidden;
}
.cnt-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,170,0.5), transparent);
}

.cnt-card-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.cnt-card-title {
  font-size: 26px; font-weight: 800; letter-spacing: -0.8px;
  color: var(--text-primary); margin: 0 0 8px;
}
.cnt-card-sub {
  font-size: 14px; color: var(--text-muted); margin: 0 0 32px; line-height: 1.6;
}

/* ── Form fields ── */
.cnt-field { margin-bottom: 18px; }
.cnt-field label {
  display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 7px; letter-spacing: 0.3px; text-transform: uppercase;
}
.cnt-input-wrap { position: relative; }
.cnt-input-icon {
  position: absolute; left: 15px; top: 15px; /* Adjust top for textarea */
  color: var(--text-muted); font-size: 14px; pointer-events: none; transition: color 0.25s;
}
.cnt-input {
  width: 100%; box-sizing: border-box !important;
  padding: 13px 16px 13px 40px;
  border-radius: var(--radius-sm);
  background: rgba(7,11,20,0.7);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-primary); font-size: 14px; font-family: inherit; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; appearance: none;
}
.cnt-field textarea.cnt-input {
    min-height: 120px;
    resize: vertical;
}
.cnt-input::placeholder { color: var(--text-muted); }
.cnt-input:focus {
  border-color: var(--accent); background: rgba(0,212,170,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.14);
}
.cnt-input-wrap:focus-within .cnt-input-icon { color: var(--accent); }

/* ── Submit button ── */
.cnt-submit {
  width: 100%; padding: 14px; border-radius: var(--radius-sm); border: none;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; font-family: inherit;
  letter-spacing: 0.2px; cursor: pointer; transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--accent-glow); position: relative; overflow: hidden;
  margin-top: 10px;
}
.cnt-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.25s;
}
.cnt-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.cnt-submit:hover::after { opacity: 1; }
.cnt-submit:active { transform: translateY(0); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes cntFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cnt-left { padding: 110px 40px 60px; }
  .cnt-right { width: 440px; padding: 100px 32px 60px; }
  .cnt-right::before { display: none; }
}
@media (max-width: 820px) {
  .cnt-wrapper { flex-direction: column; align-items: center; padding-top: 68px; }
  .cnt-left { padding: 40px 24px 20px; text-align: center; align-items: center; }
  .cnt-left h1 { text-align: center; }
  .cnt-left p.cnt-desc { text-align: center; margin-bottom: 20px; }
  .cnt-info-grid { grid-template-columns: 1fr; width: 100%; max-width: 420px; }
  .cnt-right { width: 100%; padding: 0 20px 60px; justify-content: center; }
  .cnt-right::before { display: none; }
  .cnt-card { max-width: 440px; margin: 0 auto; }
  .cnt-nav-links { display: none; }
}
@media (max-width: 480px) {
  .cnt-card { padding: 32px 16px; }
  .cnt-left h1 { letter-spacing: -1px; font-size: 28px; }
  .cnt-left p.cnt-desc { font-size: 14px; }
  .cnt-nav-cta { padding: 6px 14px; font-size: 12px; }
  .cnt-nav-ghost { padding: 6px 12px; font-size: 12px; }
}
@media (max-width: 360px) {
  .cnt-nav-cta { padding: 5px 10px; font-size: 11px; }
  .cnt-nav-ghost { padding: 5px 8px; font-size: 11px; }
}
