/* ====================================================
   ResumeGrow — Contact Page (Careerflow-style)
   ==================================================== */

.ct-container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ══ SECTION 1: HERO + FORM ══ */
.ct-hero-section {
  background: linear-gradient(160deg, #EFF6FF 0%, #F8FAFC 40%, #fff 100%);
  padding: 80px 0 64px;
  min-height: 520px;
}
.ct-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.ct-hero-left { padding-top: 40px; }
.ct-main-heading {
  font-family: 'Inter', sans-serif;
  font-size: 52px; font-weight: 800;
  color: #0F172A; line-height: 1.1;
  margin: 0 0 20px;
}
.ct-heading-blue { display: block; color: #4b83ff; }
.ct-hero-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; color: #64748B;
  line-height: 1.75; max-width: 320px; margin: 0;
}

/* FORM CARD */
.ct-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 36px;
}
.ct-form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.ct-full-width { margin-bottom: 20px; }
.ct-field-group { display: flex; flex-direction: column; gap: 6px; }

.ct-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  color: #0F172A; line-height: 1;
}
.ct-optional { font-weight: 400; color: #94A3B8; font-size: 12px; }

.ct-input-wrapper { position: relative; }
.ct-input-icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ct-input-icon svg { width: 16px; height: 16px; color: #94A3B8; }

.ct-input {
  width: 100%; height: 44px;
  padding: 0 14px 0 40px;
  border: 1.5px solid #E2E8F0; border-radius: 8px;
  background: #F8FAFC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: #0F172A;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.ct-input::placeholder { color: #94A3B8; font-size: 13px; }
.ct-input:focus {
  border-color: #3B82F6; background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.ct-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E2E8F0; border-radius: 8px;
  background: #F8FAFC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: #0F172A;
  outline: none; resize: vertical; min-height: 120px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box; line-height: 1.6;
}
.ct-textarea::placeholder { color: #94A3B8; font-size: 13px; }
.ct-textarea:focus {
  border-color: #3B82F6; background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.ct-submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #4b83ff; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 13px 32px; border-radius: 8px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.2px;
}
.ct-submit-btn:hover {
  background: #1E40AF; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29,78,216,0.3);
}
.ct-submit-btn:active { transform: translateY(0); box-shadow: none; }
.ct-submit-btn.loading { opacity: 0.75; pointer-events: none; cursor: not-allowed; }
.ct-submit-btn.loading::after {
  content: ''; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top: 2px solid #fff; border-radius: 50%;
  margin-left: 10px; animation: ct-spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes ct-spin { to { transform: rotate(360deg); } }

.ct-success-msg {
  background: #D1FAE5; border: 1px solid #6EE7B7;
  border-radius: 8px; padding: 12px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: #065F46;
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.ct-error-msg {
  background: #FEE2E2; border: 1px solid #FCA5A5;
  border-radius: 8px; padding: 12px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: #991B1B; margin-bottom: 20px;
}

/* ══ SECTION 2: INFO CARDS ══ */
.ct-info-cards-section { padding: 40px 0 64px; background: #fff; }
.ct-info-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
}
.ct-info-card {
  background: #EFF6FF; border-radius: 14px; padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.ct-info-card:hover {
  box-shadow: 0 8px 24px rgba(29,78,216,0.1);
  transform: translateY(-2px);
}
.ct-info-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 700;
  color: #0F172A; margin: 0 0 8px; line-height: 1.3;
}
.ct-info-card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: #64748B;
  line-height: 1.65; margin: 0 0 20px;
}
.ct-info-card-links { display: flex; flex-direction: column; gap: 8px; }
.ct-info-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #4b83ff; text-decoration: none;
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.ct-info-link:hover { color: #1E40AF; text-decoration: underline; text-underline-offset: 3px; }

.ct-social-icons-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 1.5px solid #E2E8F0;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  color: #64748B;
}
.ct-social-icon svg { width: 16px; height: 16px; }
.ct-social-icon:hover { transform: translateY(-2px); }
.ct-si-linkedin:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.ct-si-twitter:hover  { background: #000;     border-color: #000;     color: #fff; }
.ct-si-facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.ct-si-instagram:hover {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  border-color: #DD2A7B; color: #fff;
}

/* ══ SECTION 3: CTA BANNER ══ */
.ct-cta-banner {
  background: linear-gradient(160deg, #0F2044 0%, #0D2862 50%, #0F2044 100%);
  padding: 80px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.ct-cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px; pointer-events: none;
}
.ct-cta-heading {
  font-family: 'Inter', sans-serif;
  font-size: 42px; font-weight: 800;
  color: #fff; line-height: 1.2;
  margin: 0 0 16px;
  position: relative; z-index: 1;
}
.ct-cta-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; color: rgba(255,255,255,0.7);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.7;
  position: relative; z-index: 1;
}
.ct-cta-btn {
  font-family: 'Inter', sans-serif;
  display: inline-block; background: #4b83ff; color: #fff;
  font-size: 15px; font-weight: 700;
  padding: 14px 36px; border-radius: 50px;
  text-decoration: none; letter-spacing: 0.3px;
  position: relative; z-index: 1;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.ct-cta-btn:hover {
  background: #1E40AF; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,78,216,0.4);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .ct-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ct-hero-left { padding-top: 0; text-align: center; }
  .ct-hero-desc { max-width: 100%; margin: 0 auto; }
  .ct-main-heading { font-size: 44px; }
}
@media (max-width: 768px) {
  .ct-hero-section { padding: 60px 0 48px; }
  .ct-container { padding: 0 20px; }
  .ct-main-heading { font-size: 36px; }
  .ct-form-card { padding: 24px 20px; }
  .ct-form-row { grid-template-columns: 1fr; gap: 12px; }
  .ct-info-cards-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
  .ct-cta-heading { font-size: 30px; }
  .ct-cta-desc { font-size: 15px; }
  .ct-cta-banner { padding: 60px 20px; }
}
