/* ═══════════════════════════════════════════════════════
   DREAMLINE PREMIUM — CONTACT PAGE & TEAM DIRECTORY
   Layout Order: Hero → Staff → Map → Get in Touch
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Base Wrapper ──────────────────────────────────────── */
.dlp-contact-page-wrapper {
  font-family: 'Inter', 'Noto Sans Bengali', -apple-system, sans-serif;
  color: var(--txt-primary);
  background: var(--bg-body);
}

.section-spacing {
  padding: 5.5rem 0;
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
  box-sizing: border-box;
}

/* ── Hero Banner ───────────────────────────────────────── */
.contact-hero {
  background: var(--bg-page-hero, #0f1f3d);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,147,218,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
.contact-hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 900;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.contact-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  padding: 0.4rem 1.2rem;
  backdrop-filter: blur(8px);
}
.contact-breadcrumbs a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-breadcrumbs a:hover { color: #fff; }
.contact-breadcrumbs span { opacity: 0.5; }
.contact-breadcrumbs .active {
  color: #63c5f5;
  font-weight: 600;
  opacity: 1;
}

/* ══════════════════════════════════════════════════════
   ① STAFF DIRECTORY
   ══════════════════════════════════════════════════════ */
.contact-team-section {
  background: var(--bg-body, #f8fafc);
}

.team-section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-blue, #1093da);
  background: rgba(16,147,218,0.08);
  border: 1px solid rgba(16,147,218,0.15);
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

.team-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem;
}
.team-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--clr-primary, #0f1f3d);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
[data-theme="dark"] .team-header h2 { color: #fff; }
.team-header-line {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-blue, #1093da), var(--clr-accent, #e5a93b));
  border-radius: 99px;
  margin: 0 auto 1.5rem;
}
.team-header p {
  font-size: 1.05rem;
  color: var(--txt-secondary, #64748b);
  line-height: 1.7;
  margin: 0;
}

/* ── Chairman Featured Card ──────────────────────────────── */
.chairman-feature-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(15,31,61,0.09);
}
.chairman-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--clr-blue, #1093da), #0f1f3d, var(--clr-accent, #e5a93b));
  border-radius: 24px 24px 0 0;
}
.chairman-feature-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,147,218,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Photo column */
.chairman-photo-col {
  display: flex;
  justify-content: center;
}
.chairman-photo-frame {
  position: relative;
  width: 220px;
  height: 260px;
  flex-shrink: 0;
}
.chairman-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border: 4px solid #fff;
}
.chairman-crown-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(245,158,11,0.4);
}

/* Info column */
.chairman-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-blue, #1093da);
  margin-bottom: 0.6rem;
  display: block;
}
.chairman-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--clr-primary, #0f1f3d);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
[data-theme="dark"] .chairman-name { color: #fff; }
.chairman-role-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, var(--clr-blue, #1093da), #0a5fa0);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45rem 1.25rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.chairman-bio {
  font-size: 0.95rem;
  color: var(--txt-secondary, #475569);
  line-height: 1.75;
  margin: 0 0 1.75rem;
  max-width: 520px;
}
.chairman-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.chairman-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.6rem 1.3rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.chairman-phone-btn {
  background: var(--clr-blue, #1093da);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16,147,218,0.3);
}
.chairman-phone-btn:hover { background: #0a7fbf; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,147,218,0.4); }
.chairman-wa-btn {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.chairman-wa-btn:hover { background: #1db950; transform: translateY(-2px); }
.chairman-fb-btn {
  background: rgba(24,119,242,0.08);
  color: #1877f2;
  border: 1px solid rgba(24,119,242,0.2);
}
.chairman-fb-btn:hover { background: #1877f2; color: #fff; transform: translateY(-2px); }
.chairman-web-btn {
  background: rgba(16,30,61,0.06);
  color: #0f1f3d;
  border: 1px solid rgba(16,30,61,0.15);
}
.chairman-web-btn:hover { background: #0f1f3d; color: #fff; transform: translateY(-2px); }

/* Dept Blocks */
.team-dept-block {
  margin-bottom: 4.5rem;
}
.team-dept-block:last-child { margin-bottom: 0; }
.team-dept-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 2.5rem;
}
.team-dept-icon { font-size: 1.8rem; line-height: 1; }
.team-dept-name {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  gap: 2rem;
  justify-content: center;
}



/* Team Card */
.team-card {
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: rgba(16,147,218,0.2);
}
.team-card-photo-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #f1f5f9;
  overflow: hidden;
}
.team-card-photo {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-photo { transform: scale(1.06); }
.team-card-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 2.5px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 2;
  color: #fff;
}
.team-card-content {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.team-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--txt-primary, #0f1f3d);
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .team-card-name { color: #fff; }
.team-card-roles-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 1.25rem;
}
.team-card-role-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  line-height: 1.2;
  white-space: nowrap;
}
.team-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
}
.team-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.42rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.team-action-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.team-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.team-social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  flex-shrink: 0;
}
/* Facebook — always blue */
.fb-icon {
  background: rgba(24,119,242,0.1);
  color: #1877f2;
  border: 1.5px solid rgba(24,119,242,0.25);
  box-shadow: 0 2px 8px rgba(24,119,242,0.12);
}
.fb-icon:hover {
  background: #1877f2 !important;
  color: #fff !important;
  border-color: #1877f2 !important;
  box-shadow: 0 6px 20px rgba(24,119,242,0.45) !important;
  transform: translateY(-3px) scale(1.08) !important;
}
/* WhatsApp — always green */
.wa-icon {
  background: rgba(37,211,102,0.1);
  color: #25d366;
  border: 1.5px solid rgba(37,211,102,0.25);
  box-shadow: 0 2px 8px rgba(37,211,102,0.12);
}
.wa-icon:hover {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45) !important;
  transform: translateY(-3px) scale(1.08) !important;
}
/* Website — always brand blue */
.web-icon {
  background: rgba(16,147,218,0.1);
  color: #1093da;
  border: 1.5px solid rgba(16,147,218,0.25);
  box-shadow: 0 2px 8px rgba(16,147,218,0.12);
}
.web-icon:hover {
  background: #1093da !important;
  color: #fff !important;
  border-color: #1093da !important;
  box-shadow: 0 6px 20px rgba(16,147,218,0.45) !important;
  transform: translateY(-3px) scale(1.08) !important;
}

/* ══════════════════════════════════════════════════════
   ② GOOGLE MAP
   ══════════════════════════════════════════════════════ */
.contact-map-section {
  position: relative;
  width: 100%;
  height: 460px;
  border-top: 1px solid var(--border-color, #e2e8f0);
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  overflow: hidden;
}
.contact-map-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 0.55rem 1.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-primary, #0f1f3d);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  white-space: nowrap;
}
.contact-map-label svg { color: #e53e3e; flex-shrink: 0; }
.contact-iframe-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
[data-theme="dark"] .contact-iframe-map {
  filter: invert(0.9) hue-rotate(180deg) opacity(0.85);
}
[data-theme="dark"] .contact-map-label {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

/* ══════════════════════════════════════════════════════
   ③ GET IN TOUCH — BOTTOM
   ══════════════════════════════════════════════════════ */
.contact-form-section {
  background: var(--bg-surface, #fff);
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.contact-form-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}

/* Left: Office Info */
.contact-offices {}

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-blue, #1093da);
  background: rgba(16,147,218,0.08);
  border: 1px solid rgba(16,147,218,0.15);
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.1rem;
}
.contact-offices-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--clr-primary, #0f1f3d);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
[data-theme="dark"] .contact-offices-title { color: #fff; }
.contact-offices-sub {
  font-size: 1rem;
  color: var(--txt-secondary, #64748b);
  line-height: 1.7;
  margin: 0 0 2.5rem;
}

/* Office Blocks */
.office-block {
  background: var(--bg-body, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.office-block:last-child { margin-bottom: 0; }
.office-block:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: rgba(16,147,218,0.2);
}
[data-theme="dark"] .office-block {
  background: rgba(255,255,255,0.03);
}
.office-block-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.office-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.head-dot { background: var(--clr-blue, #1093da); box-shadow: 0 0 0 4px rgba(16,147,218,0.12); }
.branch-dot { background: var(--clr-accent, #e5a93b); box-shadow: 0 0 0 4px rgba(229,169,59,0.12); }

.office-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-blue, #1093da);
  background: rgba(16,147,218,0.08);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.35rem;
}
.branch-tag {
  color: var(--clr-accent, #e5a93b);
  background: rgba(229,169,59,0.1);
}
.office-block-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-primary, #0f1f3d);
  margin: 0;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .office-block-header h3 { color: #fff; }

.office-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.office-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--txt-secondary, #475569);
  line-height: 1.5;
}
.office-details li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--clr-blue, #1093da);
  opacity: 0.75;
}
.office-details li a {
  color: var(--txt-primary, #0f1f3d);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.office-details li a:hover { color: var(--clr-blue, #1093da); }
[data-theme="dark"] .office-details li a { color: #e2e8f0; }
[data-theme="dark"] .office-details li a:hover { color: #63c5f5; }

/* Right: Form Box */
.contact-form-box {}
.form-box-inner {
  background: var(--bg-body, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 20px;
  padding: 3rem 2.75rem;
  position: relative;
  overflow: hidden;
}
.form-box-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-blue, #1093da), var(--clr-accent, #e5a93b));
  border-radius: 20px 20px 0 0;
}
[data-theme="dark"] .form-box-inner {
  background: rgba(255,255,255,0.03);
}
.form-box-inner h3 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--clr-primary, #0f1f3d);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
[data-theme="dark"] .form-box-inner h3 { color: #fff; }
.form-box-inner p {
  font-size: 0.92rem;
  color: var(--txt-secondary, #64748b);
  line-height: 1.65;
  margin: 0 0 2rem;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .contact-form-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .section-spacing { padding: 4rem 0; }
  .chairman-feature-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 2.5rem 2rem;
  }
  .chairman-photo-col { justify-content: center; }
  .chairman-bio { margin-left: auto; margin-right: auto; }
  .chairman-contact-row { justify-content: center; }
}
@media (max-width: 700px) {
  .contact-map-label {
    font-size: 0.72rem;
    padding: 0.45rem 1rem;
    max-width: calc(100% - 2rem);
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .contact-map-section { height: 320px; }
  .form-box-inner { padding: 2rem 1.5rem; }
  .office-block { padding: 1.25rem 1.35rem; }
  .chairman-feature-card { padding: 2rem 1.5rem; }
  .chairman-photo-frame { width: 180px; height: 215px; }
}
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .team-card-content { padding: 1rem; }
  .team-card-name { font-size: 0.9rem; }
  .team-card-title { font-size: 0.62rem; }
  .team-card-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .team-social-links { justify-content: center; }
  .phone-btn { justify-content: center; }
}
@media (max-width: 400px) {
  .team-grid { grid-template-columns: 1fr; }
}
