/* Intellimindz Contact Page Styles */
.imz-ct-page {
  --brand: #1554c8;
  --brand-dark: #0d3d9a;
  --brand-soft: #eaf4ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f7faf9;
  color: #1a2228;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.imz-ct-head {
  padding: 60px 1rem 44px;
  text-align: center;
  background-color: #f7faf9;
}

.imz-ct-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.imz-ct-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #14b5aa;
  margin-bottom: 0.5rem;
}

.imz-ct-head h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .imz-ct-head h1 {
    font-size: 3rem;
  }
}

.imz-ct-lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  max-width: 36rem;
  margin: 0 auto;
}

.imz-ct-body {
  flex: 1;
  padding: 8px 1rem 72px;
}

.imz-ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 860px) {
  .imz-ct-grid {
    grid-template-columns: 1fr;
  }
}

/* Info and Form Cards */
.imz-ct-info-card,
.imz-ct-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.imz-ct-info-card + .imz-ct-info-card {
  margin-top: 18px;
}

.imz-ct-info-card h3,
.imz-ct-form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
}

/* Info Lines */
.imz-ct-info-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 16px 0;
  font-size: 15px;
  color: #1e293b;
}

.imz-ct-info-line a {
  color: #0f2c59;
  font-weight: 700;
  text-decoration: none;
}

.imz-ct-info-line a:hover {
  text-decoration: underline;
}

.imz-ct-info-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e4f7f5;
  color: #14b5aa;
}

.imz-ct-info-icon svg {
  width: 20px;
  height: 20px;
}

.imz-ct-info-line span small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

/* Help List */
.imz-ct-help-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.imz-ct-help-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  color: #475569;
}

.imz-ct-help-list li::before {
  content: "✓";
  color: #14b5aa;
  font-weight: 800;
  font-size: 15px;
}

/* Form Styles */
.imz-ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .imz-ct-form-grid {
    grid-template-columns: 1fr;
  }
}

.imz-ct-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.imz-ct-form-field.full {
  grid-column: 1 / -1;
}

.imz-ct-form-field label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.imz-ct-form-field label .req {
  color: #dc2626;
}

.imz-ct-form-field input,
.imz-ct-form-field select,
.imz-ct-form-field textarea {
  font: inherit;
  font-size: 14.5px;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  background: #ffffff;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.imz-ct-form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.imz-ct-form-field input:focus,
.imz-ct-form-field select:focus,
.imz-ct-form-field textarea:focus {
  outline: none;
  border-color: #14b5aa;
  box-shadow: 0 0 0 3px rgba(20, 181, 170, 0.18);
}

.imz-ct-form-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.imz-ct-form-actions .btn,
.imz-ct-form-actions .imz-ct-btn-primary {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.imz-ct-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand, #1554c8), var(--brand-dark, #0d3d9a));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(21, 84, 200, 0.24);
  font-size: 15px;
  padding: 14px 28px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.imz-ct-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(21, 84, 200, 0.30);
}

.imz-ct-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.imz-ct-form-hint {
  font-size: 13px;
  color: #64748b;
}

/* Error banner */
.imz-ct-form-error {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fdeeee;
  border: 1px solid #f3c4c4;
  color: #a33030;
  font-size: 14px;
  font-weight: 600;
}

/* Success state */
.imz-ct-form-success {
  text-align: center;
  padding: 40px 16px;
}

.imz-ct-form-success .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e4f7f5;
  color: #14b5aa;
  margin-bottom: 16px;
}

.imz-ct-form-success .tick svg {
  width: 32px;
  height: 32px;
}

.imz-ct-form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.imz-ct-form-success p {
  color: #475569;
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* Local Footer */
.imz-ct-foot {
  border-top: 1px solid #e2e8f0;
  background-color: #ffffff;
  padding: 20px 1rem;
}

.imz-ct-foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: #64748b;
}

.imz-ct-foot-inner nav {
  display: flex;
  gap: 16px;
}

.imz-ct-foot-inner nav a {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
}

.imz-ct-foot-inner nav a:hover {
  text-decoration: underline;
}
