/* ==========================================================================
   MD. TAUHIDUL ISLAM - EXECUTIVE APP PROFILE STYLESHEET
   Design Language: Ultra-Modern Executive Luxury Mobile App
   Matches attached reference design: Rich Gradient Header, Layered Profile Card,
   Clean Contact Bar (Phone + App Icons), Refined Tab Bar, Large Company Logos,
   Address Card after the list & Symmetrical Bottom Dock
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* Surface & Backgrounds */
  --bg-desktop: #0b1528;
  --bg-app: #eef4fa;          /* Soft executive ambient canvas */
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-tint-blue: #eff6ff;

  /* Typography Colors */
  --text-title: #0a192f;      /* Deep midnight navy */
  --text-body: #334155;       /* Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-light: #94a3b8;      /* Slate 400 */
  --text-inverse: #ffffff;

  /* Accent Gradients & Colors */
  --gradient-header: linear-gradient(135deg, #081d38 0%, #113c72 55%, #1b62ad 100%);
  --gradient-tab-active: linear-gradient(135deg, #0d3460 0%, #1b5ea6 100%);
  --gradient-wa: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-call: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);

  /* Brand Pastel Accents for Business Cards */
  --color-green-bg: #e8f8f0;
  --color-green-text: #059669;
  --color-green-badge: #e6f9ed;

  --color-blue-bg: #eaf2ff;
  --color-blue-text: #1d4ed8;
  --color-blue-badge: #e5efff;

  --color-teal-bg: #e6fbf5;
  --color-teal-text: #0d9488;
  --color-teal-badge: #e2faf3;

  --color-indigo-bg: #f0f1ff;
  --color-indigo-text: #4f46e5;
  --color-indigo-badge: #eceeff;

  --color-amber-bg: #fdf8e6;
  --color-amber-text: #b45309;
  --color-amber-badge: #fef3c7;

  /* Borders & Shadows */
  --border-card: rgba(226, 232, 240, 0.85);
  --border-subtle: #e2e8f0;
  --shadow-card: 0 8px 24px -4px rgba(10, 30, 65, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --shadow-hero: 0 14px 34px -6px rgba(10, 30, 65, 0.09), 0 0 0 1px rgba(226, 232, 240, 0.85);
  --shadow-dock: 0 -6px 20px rgba(10, 30, 65, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-bn: 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-card: 22px;

  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--bg-desktop);
  color: var(--text-title);
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-desktop);
  color: var(--text-body);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body[data-lang="bn"] {
  font-family: var(--font-bn);
}

/* Mobile Frame Container (Max 460px width, centered on desktop) */
.app-frame {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  background: var(--bg-app);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   1. HEADER / TOP BANNER
   ========================================================================== */
.app-header-banner {
  position: relative;
  width: 100%;
  height: 142px;
  background: #081d38;
  padding: 1.15rem 1rem 0;
  overflow: hidden;
  z-index: 1;
}

/* Futuristic Bangladesh Cyber Skyline & Bridge Media */
.banner-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  opacity: 0.68;
  filter: saturate(1.2) contrast(1.1);
  pointer-events: none;
  z-index: 1;
}

/* High-Tech Ambient Dark Gradient Vignette for crisp text legibility */
.banner-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 42, 0.76) 0%,
    rgba(8, 26, 54, 0.32) 45%,
    rgba(8, 24, 48, 0.88) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.banner-top-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.banner-back-btn {
  color: #ffffff;
  font-size: 1.15rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.banner-back-btn:hover {
  transform: translateX(-2px);
}

.banner-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Language Capsule Pill (Dark Navy Fill, Globe Icon + Chevron) */
.lang-capsule-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(8, 26, 52, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
}

.lang-capsule-btn:hover {
  background: rgba(8, 26, 52, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-capsule-btn i.fa-globe {
  font-size: 0.85rem;
  color: #60a5fa;
}

.chevron-icon {
  font-size: 0.65rem;
  opacity: 0.8;
  margin-left: 2px;
}

/* ==========================================================================
   2. HERO / PROFILE CARD (Overlapping the Banner)
   ========================================================================== */
.profile-card {
  position: relative;
  z-index: 5;
  margin: -48px 14px 14px;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(224, 238, 255, 0.95);
  box-shadow: 
    0 16px 36px -6px rgba(13, 52, 96, 0.12),
    0 4px 16px -2px rgba(27, 98, 173, 0.08),
    0 0 24px -2px rgba(59, 130, 246, 0.22);
  padding: 1.25rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Subtle Breathing Glowing Aura (Floats around the card on mobile & desktop) */
.profile-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-card) + 2px);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.40) 0%,
    rgba(147, 197, 253, 0.20) 50%,
    rgba(37, 99, 235, 0.35) 100%
  );
  z-index: -1;
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
  animation: heroAuraPulse 4.5s ease-in-out infinite alternate;
}

@keyframes heroAuraPulse {
  0% {
    opacity: 0.45;
    filter: blur(8px);
    transform: scale(0.995);
  }
  100% {
    opacity: 0.85;
    filter: blur(14px);
    transform: scale(1.008);
  }
}

.profile-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-photo-wrapper {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(10, 30, 65, 0.12);
}

/* Green Verified Checkmark Badge */
.verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #10b981;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.profile-title-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-title);
  line-height: 1.18;
}

.profile-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 4px;
}

/* Thin Horizontal Divider */
.profile-divider {
  width: 100%;
  height: 1px;
  background: #f1f5f9;
  margin: 0.85rem 0 0.75rem;
}

/* Tagline Row */
.profile-tagline-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.tagline-icon {
  color: #10b981;
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.profile-tagline-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-style: normal;
}

/* ==========================================================================
   3. CONTACT ROW (Phone Call on Left + Quick App Logos on Right)
   ========================================================================== */
.contact-segmented-card {
  margin-top: 0.95rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.contact-phone-primary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.segment-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.segment-icon-circle.blue {
  background: #eff6ff;
  color: #2563eb;
}

.segment-phone-number {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-quick-apps {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-subtle);
}

.app-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.app-icon-btn.email {
  background: #eff6ff;
  color: #2563eb;
  font-size: 1rem;
}

.app-icon-btn.email:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.app-icon-btn.whatsapp {
  background: #ecfdf5;
  color: #059669;
  font-size: 1.2rem;
}

.app-icon-btn.whatsapp:hover {
  background: #d1fae5;
  transform: translateY(-1px);
}

/* ==========================================================================
   4. TAB BAR (Segmented Control Inside a White Pill Container)
   ========================================================================== */
.tabs-segmented-wrapper {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.75rem 14px 0.25rem;
  background: var(--bg-app);
}

.tabs-segmented-container {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(191, 219, 254, 0.92);
  padding: 5px;
  box-shadow: 
    0 4px 18px -2px rgba(10, 30, 65, 0.07),
    0 0 18px -1px rgba(59, 130, 246, 0.20);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

/* Subtle Breathing Border Aura for Tab Container */
.tabs-segmented-container::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-card) + 2px);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.35) 0%,
    rgba(147, 197, 253, 0.15) 50%,
    rgba(37, 99, 235, 0.28) 100%
  );
  z-index: -1;
  filter: blur(7px);
  opacity: 0.65;
  pointer-events: none;
  animation: tabAuraPulse 4.5s ease-in-out infinite alternate;
}

@keyframes tabAuraPulse {
  0% {
    opacity: 0.40;
    filter: blur(5px);
    transform: scale(0.995);
  }
  100% {
    opacity: 0.80;
    filter: blur(10px);
    transform: scale(1.008);
  }
}

.tab-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 0.35rem;
  background: transparent;
  border: none;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.tab-pill-btn i {
  font-size: 0.88rem;
}

.tab-pill-btn:hover {
  color: var(--text-title);
}

.tab-pill-btn.active {
  background: var(--gradient-tab-active);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(27, 94, 166, 0.32);
}

.tab-pill-btn.active i {
  color: #ffffff;
}

/* Little white underline bar under active tab text (matching reference) */
.tab-pill-btn.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  opacity: 0.85;
}

/* ==========================================================================
   5. TAB CONTENT AREA
   ========================================================================== */
.tabs-content-area {
  flex: 1;
  padding: 0.65rem 14px 45px;
  display: flex;
  flex-direction: column;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

/* Section Header (Blue Icon Box + Heading + Right Micro-Tagline) */
.section-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.65rem 2px 0.85rem;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

.header-icon-box.bg-cyan {
  background: #0891b2;
  box-shadow: 0 3px 10px rgba(8, 145, 178, 0.3);
}

.header-icon-box.bg-emerald {
  background: #059669;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.header-text-group {
  display: flex;
  flex-direction: column;
}

.section-heading-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-title);
  line-height: 1.15;
}

.section-heading-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-right-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: right;
}

.accent-line {
  width: 22px;
  height: 1.5px;
  background: #38bdf8;
  border-radius: 2px;
}

.tagline-stack {
  display: flex;
  flex-direction: column;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-light);
  line-height: 1.25;
}

/* ==========================================================================
   5A. BUSINESS TAB: CARDS WITH LARGE LOGOS
   ========================================================================== */
.business-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.enterprise-item-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

.enterprise-item-card:hover {
  box-shadow: 0 8px 24px -2px rgba(10, 30, 65, 0.1);
}

.enterprise-summary-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 76px;
}

/* LARGE LOGO CONTAINER (56-64px square, soft tinted background) */
.enterprise-logo-box {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.enterprise-logo-box.bg-green { background: var(--color-green-bg); }
.enterprise-logo-box.bg-blue { background: var(--color-blue-bg); }
.enterprise-logo-box.bg-teal { background: var(--color-teal-bg); }
.enterprise-logo-box.bg-indigo { background: var(--color-indigo-bg); }
.enterprise-logo-box.bg-amber { background: var(--color-amber-bg); }

.enterprise-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.enterprise-meta-col {
  flex: 1;
  min-width: 0;
}

/* Status Badge Pill */
.enterprise-status-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-xs);
  margin-bottom: 2px;
  line-height: 1.25;
}

.badge-green { background: var(--color-green-badge); color: var(--color-green-text); }
.badge-blue { background: var(--color-blue-badge); color: var(--color-blue-text); }
.badge-teal { background: var(--color-teal-badge); color: var(--color-teal-text); }
.badge-indigo { background: var(--color-indigo-badge); color: var(--color-indigo-text); }
.badge-amber { background: var(--color-amber-badge); color: var(--color-amber-text); }

.enterprise-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enterprise-desc-line {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Trailing Chevron Button */
.trailing-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.24s ease;
}

.trailing-circle-btn.bg-green { background: var(--color-green-badge); color: var(--color-green-text); }
.trailing-circle-btn.bg-blue { background: var(--color-blue-badge); color: var(--color-blue-text); }
.trailing-circle-btn.bg-teal { background: var(--color-teal-badge); color: var(--color-teal-text); }
.trailing-circle-btn.bg-indigo { background: var(--color-indigo-badge); color: var(--color-indigo-text); }
.trailing-circle-btn.bg-amber { background: var(--color-amber-badge); color: var(--color-amber-text); }

.enterprise-item-card.active .trailing-circle-btn {
  transform: rotate(90deg);
}

/* Accordion Drawer */
.enterprise-accordion-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: var(--bg-subtle);
  border-top: 1px solid transparent;
}

.enterprise-item-card.active .enterprise-accordion-drawer {
  max-height: 600px;
  transition: max-height 0.35s ease-in-out;
  border-top-color: var(--border-subtle);
}

.drawer-inner-padding {
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drawer-paragraph {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

.drawer-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-title);
}

.spec-chip i {
  color: #0284c7;
  font-size: 0.7rem;
}

.drawer-action-row {
  margin-top: 0.25rem;
}

.enterprise-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  min-height: 38px;
}

.enterprise-action-link.green { background: #059669; color: #ffffff; }
.enterprise-action-link.green:hover { background: #047857; }

.enterprise-action-link.blue { background: #1e40af; color: #ffffff; }
.enterprise-action-link.blue:hover { background: #1d4ed8; }

.enterprise-action-link.teal { background: #0d9488; color: #ffffff; }
.enterprise-action-link.teal:hover { background: #0f766e; }

.enterprise-action-link.indigo { background: #4f46e5; color: #ffffff; }
.enterprise-action-link.indigo:hover { background: #4338ca; }

.enterprise-action-link.amber { background: #d97706; color: #ffffff; }
.enterprise-action-link.amber:hover { background: #b45309; }

/* ==========================================================================
   EXECUTIVE ADDRESS & OFFICE LOCATIONS CARD (After the List)
   ========================================================================== */
.executive-address-card {
  margin-top: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.address-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.address-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.address-header-text {
  flex: 1;
  min-width: 0;
}

.address-header-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.address-header-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.qr-trigger-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ecfdf5;
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
  color: #059669;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.qr-trigger-pill:hover {
  background: #d1fae5;
}

.address-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.address-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.address-item-icon.blue {
  background: #eff6ff;
  color: #0284c7;
}

.address-item-icon.amber {
  background: #fef3c7;
  color: #d97706;
}

.address-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.address-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.2;
}

.address-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
  margin-top: 1px;
}

/* ==========================================================================
   5B. REAL ESTATE TAB
   ========================================================================== */
.realestate-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.property-luxury-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.property-top-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.property-thumb-frame {
  width: 76px;
  height: 70px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.property-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-meta-info {
  flex: 1;
  min-width: 0;
}

.property-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-xs);
  margin-bottom: 2px;
}

.property-badge.residential {
  background: #e0f2fe;
  color: #0369a1;
}

.property-badge.commercial {
  background: #fef3c7;
  color: #b45309;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.property-loc-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.property-loc-text i {
  color: #0284c7;
}

.property-summary-text {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.45;
}

.property-footer-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.prop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 36px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.maps-btn {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.maps-btn:hover {
  background: #bae6fd;
}

.details-btn {
  background: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
}

.details-btn:hover {
  background: #e2e8f0;
}

.property-spec-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.property-luxury-card.show-details .property-spec-drawer {
  max-height: 200px;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--border-subtle);
}

/* ==========================================================================
   5C. PHILANTHROPY TAB
   ========================================================================== */
.philanthropy-institution-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dual-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: 110px;
  background: #e2e8f0;
}

.inst-img-half {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.institution-body-padding {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.inst-badge-row {
  display: flex;
  gap: 0.45rem;
}

.inst-role-badge {
  font-size: 0.66rem;
  font-weight: 700;
  color: #059669;
  background: #e6f9ed;
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-xs);
}

.inst-code-badge {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-xs);
}

.institution-main-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
}

.institution-location-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.institution-location-sub i {
  color: #059669;
}

.institution-paragraph {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.45;
}

.institution-action-wrap {
  margin-top: 0.35rem;
}

/* Impact Cards Container */
.impact-cards-container {
  margin-top: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.impact-header-label {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-title);
}

.impact-grid-items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.impact-item-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.impact-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.impact-icon-circle.blue { background: #e0f2fe; color: #0284c7; }
.impact-icon-circle.teal { background: #ccfbf1; color: #0d9488; }
.impact-icon-circle.amber { background: #fef3c7; color: #d97706; }

.impact-text {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.35;
}

/* Pull-Quote */
.executive-quote-box {
  margin-top: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 4px solid #1e40af;
  box-shadow: var(--shadow-card);
  padding: 0.85rem 1rem;
}

.quote-body-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-title);
  line-height: 1.4;
}

.quote-signature {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-style: normal;
}

/* ==========================================================================
   Bottom Micro-Footer Tagline
   ========================================================================== */
.bottom-micro-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
}

.micro-divider {
  width: 30px;
  height: 1px;
  background: #cbd5e1;
}

.micro-text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

/* ==========================================================================
   6. PERSISTENT BOTTOM ACTION BAR (Clean Symmetrical Dock)
   ========================================================================== */
.app-bottom-dock {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translate(-50%, 140%) scale(0.92);
  width: calc(100% - 28px);
  max-width: 432px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 234, 254, 0.92);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.55rem 0.65rem;
  z-index: 50;
  box-shadow: 
    0 12px 34px -4px rgba(10, 30, 65, 0.18),
    0 0 18px rgba(59, 130, 246, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.32s ease;
}

.app-bottom-dock.is-visible {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.dock-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.dock-btn:hover {
  transform: translateY(-1px);
}

.btn-whatsapp-gradient {
  background: var(--gradient-wa);
  color: #ffffff;
}

.btn-call-gradient {
  background: var(--gradient-call);
  color: #ffffff;
}

.dock-icon {
  font-size: 1.25rem;
}

.dock-btn-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   WhatsApp QR Modal
   ========================================================================== */
.qr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.qr-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.qr-modal-card {
  width: 100%;
  max-width: 330px;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  padding: 1.4rem;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transform: scale(0.95);
  transition: transform 0.22s ease;
}

.qr-modal-overlay.open .qr-modal-card {
  transform: scale(1);
}

.qr-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

.qr-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.3rem;
}

.qr-modal-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
}

.qr-modal-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.qr-image-frame {
  width: 175px;
  height: 175px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-modal-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.qr-direct-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #059669;
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.qr-direct-link-btn:hover {
  background: #047857;
}

.qr-office-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}
