/* =========================================================
   PIISTECH – Contact page (new.made-in-bd.com/contact-us)
   Shares brand colours and fonts with services.css but uses
   its own light layout so the two pages don't look alike.
   Everything is scoped to .pt-page so it never clashes with
   the site header/footer or Bootstrap (.container, .btn).
   Icons use the site's Font Awesome 6 via CSS, because the CMS
   editor strips <svg>, <script> and empty <i> tags.
   ========================================================= */

.pt-page {
  --navy: #0b1733;
  --blue: #2764e7;
  --blue2: #eaf1ff;
  --green: #0e9881;
  --green2: #e5f8f5;
  --violet: #7855d5;
  --violet2: #f0ebff;
  --orange: #e0702a;
  --orange2: #fff1e6;
  --muted: #64748b;
  --ink: #18233c;
  --bg: #f5f8fc;
  --line: #e5ebf3;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  overflow-x: clip;
}

/* Let the page run edge to edge inside the CMS wrapper */
.cms-content-wrapper:has(.pt-page) {
  max-width: none;
  width: 100%;
  padding: 0;
}

.cms-content-wrapper:has(.pt-page) main,
.cms-page-content:has(.pt-page) {
  padding: 0 !important;
  margin: 0 !important;
}

html {
  scroll-behavior: smooth;
}

.pt-page *,
.pt-page *::before,
.pt-page *::after {
  box-sizing: border-box;
}

.pt-page h1, .pt-page h2, .pt-page h3, .pt-page p {
  margin-top: 0;
}

.pt-page h1, .pt-page h2, .pt-page h3 {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: inherit;
}

.pt-page a {
  text-decoration: none;
  color: inherit;
}

.pt-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.pt-arrow {
  font-size: 17px;
  line-height: 1;
}

/* ---------- Font Awesome icon helper ---------- */
.pt-page [class*="pc-ic-"] {
  font-size: 0;
  line-height: 0;
}

.pt-page [class*="pc-ic-"]::before {
  content: var(--ic);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  line-height: 1;
}

.pc-ic-phone     { --ic: "\f095"; }
.pc-ic-mail      { --ic: "\f0e0"; }
.pc-ic-pin       { --ic: "\f3c5"; }
.pc-ic-mobile    { --ic: "\f3cd"; }
.pc-ic-reception { --ic: "\f2bb"; }
.pc-ic-support   { --ic: "\f590"; }
.pc-ic-chart     { --ic: "\f201"; }
.pc-ic-users     { --ic: "\f0c0"; }

/* ---------- Shared bits ---------- */
.pc-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--blue2);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.pt-page .pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.pt-page .pc-btn:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.pc-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 170px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, #dbe7ff 0, transparent 34%),
    radial-gradient(circle at 88% 70%, #e2f6f2 0, transparent 30%),
    #f7f9fd;
}

/* dotted grid texture */
.pc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#c7d4e8 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.pc-hero-inner {
  position: relative;
}

.pc-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -.05em;
  margin: 22px auto 20px;
  color: var(--navy);
}

.pc-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), #13a58c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pc-hero-lead {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 17px;
}

.pc-hero-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pt-page .pc-hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(19, 42, 77, .05);
  transition: border-color .2s, color .2s;
}

.pt-page .pc-hero-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pc-hero-links .pc-ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue2);
  color: var(--blue);
}

.pc-hero-links .pc-ic::before {
  font-size: 12px;
}

/* ---------- Contact card ---------- */
.pc-main {
  position: relative;
  margin-top: -110px;
  padding-bottom: 90px;
}

.pc-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: #fff;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 40px 90px rgba(11, 23, 51, .12);
}

.pc-side {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 40px 34px;
  background: linear-gradient(160deg, #2764e7 0%, #1a46b8 100%);
  color: #fff;
}

/* decorative rings in the corner */
.pc-side::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #ffffff14;
  box-shadow: 0 0 0 40px #ffffff0a;
}

.pc-side h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #fff;
}

.pc-side-lead {
  color: #d4e1ff;
  font-size: 15px;
  margin-bottom: 34px;
}

.pc-side-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 22px;
}

.pc-side-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
}

.pt-page .pc-side-list a {
  color: #fff;
  font-weight: 700;
  padding-top: 5px;
}

.pt-page .pc-side-list a:hover {
  text-decoration: underline;
}

.pc-side-ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff24;
}

.pc-side-ic::before {
  font-size: 15px;
}

.pt-page .pc-side-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 2px solid #ffffff66;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.pt-page .pc-side-link:hover {
  border-color: #fff;
  color: #fff;
}

/* Form: underline-style fields */
.pc-form-wrap {
  padding: 40px 44px;
}

.pc-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 34px;
  margin: 0;
}

.pc-full {
  grid-column: 1 / -1;
}

.pc-label,
.pc-field > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.pc-label {
  margin-bottom: 14px;
}

.pt-page .pc-field input[type="text"],
.pt-page .pc-field input[type="email"],
.pt-page .pc-field input[type="tel"],
.pt-page .pc-field textarea {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1.5px solid #d3dcea;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}

.pt-page .pc-field textarea {
  resize: vertical;
  min-height: 100px;
}

.pt-page .pc-field input::placeholder,
.pt-page .pc-field textarea::placeholder {
  color: #a3afc0;
}

.pt-page .pc-field input:focus,
.pt-page .pc-field textarea:focus {
  border-bottom-color: var(--blue);
}

/* Purpose picker: radio buttons styled as a segmented row */
.pc-purpose {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pc-opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.pc-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pc-opt span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1.5px solid #d3dcea;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #44546d;
  transition: .2s;
}

.pc-opt span::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 1.5px solid #b8c4d6;
  border-radius: 50%;
  transition: .2s;
}

.pc-opt:hover span {
  border-color: var(--blue);
}

.pc-opt input:checked + span {
  border-color: var(--blue);
  background: var(--blue2);
  color: var(--blue);
}

.pc-opt input:checked + span::before {
  border: 4px solid var(--blue);
}

.pc-opt input:focus-visible + span {
  box-shadow: 0 0 0 4px #2764e733;
}

.pc-submit {
  display: flex;
  justify-content: flex-end;
}

/* ---------- Departments ---------- */
.pc-depts {
  padding: 0 0 90px;
}

.pc-depts-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.pc-depts-head h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin: 0;
  color: var(--navy);
}

.pc-depts-head p {
  margin: 0;
  color: var(--muted);
}

.pc-dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pt-page .pc-dept {
  --c: var(--blue);
  --c2: var(--blue2);
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: 18px;
  background: var(--c2);
  color: var(--navy);
  transition: transform .22s, background .22s, color .22s;
}

.pc-c-green  { --c: var(--green)  !important; --c2: var(--green2)  !important; }
.pc-c-violet { --c: var(--violet) !important; --c2: var(--violet2) !important; }
.pc-c-orange { --c: var(--orange) !important; --c2: var(--orange2) !important; }

.pc-dept-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--c);
  transition: .22s;
}

.pc-dept-ic::before {
  font-size: 18px;
}

.pc-dept small {
  font-size: 13px;
  font-weight: 700;
  color: var(--c);
  transition: color .22s;
}

.pc-dept strong {
  margin: 2px 0 18px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.02em;
}

.pc-dept-cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  opacity: .7;
}

.pt-page .pc-dept:hover {
  background: var(--c);
  color: #fff;
  transform: translateY(-4px);
}

.pc-dept:hover small {
  color: #ffffffcc;
}

.pc-dept:hover .pc-dept-ic {
  background: #ffffff26;
  color: #fff;
}

/* ---------- Map ---------- */
.pc-map {
  position: relative;
  height: 500px;
  background: #e6edf6;
}

.pc-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.85);
}

.pc-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.pc-office {
  width: 360px;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(11, 23, 51, .2);
  pointer-events: auto;
}

.pc-office h3 {
  font-size: 22px;
  margin: 16px 0 8px;
  color: var(--navy);
}

.pc-office p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pc-card { grid-template-columns: 1fr; }
  .pc-side-list { grid-template-columns: repeat(2, 1fr); }
  .pt-page .pc-side-link { margin-top: 0; }
  .pc-dept-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .pc-hero { padding: 70px 0 150px; }
  .pc-side-list { grid-template-columns: 1fr; }
  .pc-depts-head { flex-direction: column; align-items: flex-start; }
  .pc-map { height: auto; }
  .pc-map iframe { height: 360px; }
  .pc-map-overlay { position: static; display: block; padding: 0 0 60px; margin-top: -60px; }
  .pc-office { width: auto; position: relative; }
}

@media (max-width: 560px) {
  .pt-wrap { width: calc(100% - 32px); }
  .pc-hero h1 { font-size: 34px; }
  .pc-hero h1 br { display: none; }
  .pc-hero-lead { font-size: 15px; }
  .pc-card { padding: 8px; border-radius: 20px; }
  .pc-side { padding: 30px 24px; }
  .pc-form-wrap { padding: 30px 16px 20px; }
  .pc-form { grid-template-columns: 1fr; gap: 24px; }
  .pc-submit { justify-content: stretch; }
  .pc-submit .pc-btn { width: 100%; justify-content: center; }
  .pc-main, .pc-depts { padding-bottom: 60px; }
  .pc-dept-grid { grid-template-columns: 1fr; }
  .pc-office { padding: 26px 22px; }
}
