/* ============ যোগাযোগ পাতা (শুধু এই পাতায় লোড হয়) ============ */
.cp {
  --cp-red: var(--brand, #b21010);
  --cp-red-deep: var(--brand-mid, #920000);
  --cp-red-soft: #fdf1f1;
  --cp-ink: #111;
  --cp-text: #333;
  --cp-muted: #64748b;
  --cp-line: #e6ebf2;
  background: #f6f7fa;
  padding-bottom: 56px;
  font-family: inherit;
  color: var(--cp-text);
}
.cp *, .cp *::before, .cp *::after { box-sizing: border-box; }
.cp a { color: inherit; }

/* ---------- হিরো ---------- */
.cp-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #5f0707 0%, #b21010 55%, #d8273a 100%);
  padding: 56px 20px 92px;
}
.cp-hero::before, .cp-hero::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
}
.cp-hero::before { width: 420px; height: 420px; right: -140px; top: -200px; }
.cp-hero::after { width: 280px; height: 280px; left: -100px; bottom: -160px; }
.cp-hero__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.cp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; opacity: .85; margin-bottom: 18px; }
.cp-crumbs a { text-decoration: none; opacity: .9; }
.cp-crumbs a:hover { text-decoration: underline; }
.cp-hero__title { margin: 0 0 12px; font-size: 40px; font-weight: 800; line-height: 1.25; }
.cp-hero__sub { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.75; opacity: .92; }

/* ---------- কন্টেইনার ---------- */
.cp-wrap {
  position: relative; z-index: 2; max-width: 1180px; margin: -56px auto 0;
  padding: 0 20px; display: flex; flex-direction: column; gap: 28px;
}

/* ---------- পরিচিতি ও দ্রুত অ্যাকশন ---------- */
.cp-intro {
  background: #fff; border: 1px solid var(--cp-line); border-radius: 18px;
  box-shadow: 0 24px 50px rgba(20,30,50,.10); padding: 30px 32px;
}
.cp-intro__text { margin: 0 0 24px; font-size: 16px; line-height: 1.9; color: #333; }
.cp-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cp-action {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0;
  border: 1px solid var(--cp-line); border-radius: 14px; background: #fbfcfe; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.cp-action:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(178,16,16,.12); border-color: #efc9c9; background: #fff; }
.cp-action__ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cp-red), #e0283c); color: #fff; font-size: 17px;
  box-shadow: 0 8px 16px rgba(178,16,16,.22);
}
.cp-action__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-action__lbl { font-size: 12px; font-weight: 700; color: var(--cp-red); }
.cp-action__val { font-size: 15px; font-weight: 600; color: var(--cp-ink); word-break: break-word; line-height: 1.4; }

/* ---------- শিরোনাম ---------- */
.cp-section-title { margin: 0; font-size: 24px; font-weight: 800; color: var(--cp-ink); line-height: 1.3; }
.cp-section-title::after {
  content: ''; display: block; width: 46px; height: 4px; border-radius: 4px; margin-top: 10px;
  background: linear-gradient(90deg, var(--cp-red), #e0283c);
}

/* ---------- বিভাগ কার্ড ---------- */
.cp-depts { display: flex; flex-direction: column; gap: 18px; }
.cp-depts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cp-dept {
  position: relative; background: #fff; border: 1px solid var(--cp-line); border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20,30,50,.06); padding: 24px; min-width: 0;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cp-dept::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--cp-red); transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.cp-dept:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,30,50,.11); border-color: #d3dbe6; }
.cp-dept:hover::before { transform: scaleY(1); }
.cp-dept__head { display: flex; align-items: center; gap: 14px; }
.cp-dept__ico {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cp-red), #e0283c); color: #fff; font-size: 19px; box-shadow: 0 8px 16px rgba(178,16,16,.25);
}
.cp-dept__titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-dept__name { margin: 0; font-size: 19px; font-weight: 800; color: var(--cp-ink); line-height: 1.3; }
.cp-dept__en { font-size: 12px; font-weight: 600; color: var(--cp-red); letter-spacing: .3px; }
.cp-dept__desc { margin: 0; font-size: 15px; line-height: 1.8; color: #444; }
.cp-dept__lines { margin: auto 0 0; display: flex; flex-direction: column; gap: 8px; }
.cp-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 12px; background: #fbfcfe; border: 1px solid #edf1f6;
}
.cp-line dt { font-size: 13px; font-weight: 700; color: var(--cp-red); flex-shrink: 0; }
.cp-line dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--cp-ink); text-align: right; word-break: break-word; min-width: 0; }
.cp-line dd a { text-decoration: none; border-bottom: 1px dashed transparent; transition: color .2s, border-color .2s; }
.cp-line dd a:hover { color: var(--cp-red); border-bottom-color: var(--cp-red); }

/* ---------- ফর্ম ---------- */
.cp-form-card {
  background: #fff; border: 1px solid var(--cp-line); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(20,30,50,.08); padding: 32px;
  border-top: 5px solid var(--cp-red);
}
.cp-form-card__head { margin-bottom: 24px; }
.cp-form-card__hint { margin: 14px 0 0; font-size: 15px; line-height: 1.75; color: var(--cp-muted); }
.cp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.cp-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cp-field--full { grid-column: 1 / -1; }
.cp-field label { font-size: 14px; font-weight: 700; color: var(--cp-ink); }
.cp-req { color: var(--cp-red); }
.cp-field input, .cp-field select, .cp-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--cp-ink); background: #fbfcfe;
  border: 1px solid #d9e0ea; border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cp-field textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.cp-field input::placeholder, .cp-field textarea::placeholder { color: #9aa5b5; }
.cp-field input:focus, .cp-field select:focus, .cp-field textarea:focus {
  outline: none; background: #fff; border-color: var(--cp-red); box-shadow: 0 0 0 4px rgba(178,16,16,.12);
}
.cp-form__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px dashed #e3e8ef; margin-top: 6px; padding-top: 22px;
}
.cp-form__note { margin: 0; font-size: 13px; color: var(--cp-muted); }
.cp-submit {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 700; color: #fff; border: 0; border-radius: 999px;
  padding: 13px 30px; background: linear-gradient(135deg, var(--cp-red-deep), var(--cp-red));
  box-shadow: 0 10px 24px rgba(224,32,32,.3); transition: transform .3s ease, box-shadow .3s ease;
}
.cp-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(224,32,32,.42); }
.cp-submit:focus-visible { outline: 3px solid rgba(178,16,16,.35); outline-offset: 3px; }

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 900px) {
  .cp-depts__grid { grid-template-columns: 1fr; }
  .cp-actions { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cp-hero { padding: 40px 18px 80px; }
  .cp-hero__title { font-size: 30px; }
  .cp-hero__sub { font-size: 15px; }
  .cp-wrap { margin-top: -40px; padding: 0 14px; gap: 20px; }
  .cp-intro, .cp-form-card { padding: 22px 18px; border-radius: 14px; }
  .cp-form { grid-template-columns: 1fr; }
  .cp-dept { padding: 20px 18px; border-radius: 14px; }
  .cp-section-title { font-size: 21px; }
  .cp-line { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cp-line dd { text-align: left; }
  .cp-form__foot { flex-direction: column; align-items: stretch; }
  .cp-submit { justify-content: center; }
}
