/*
Theme Name: Enfold Child
Theme URI: https://hospicebangladesh.com/
Description: Custom Child Theme for Hospice Bangladesh with Homage & Deputy modern styling
Author: Hospice Bangladesh
Author URI: https://hospicebangladesh.com/
Template: enfold
Version: 1.0.0
*/

/* --- HOSPICE BANGLADESH MODERN DESIGN SYSTEM --- */
:root {
  --hb-primary: #0e868a;
  --hb-primary-dark: #075457;
  --hb-primary-light: #e0f2f1;
  --hb-accent: #25b0bc;
  --hb-cta: #ff6b5e;
  --hb-cta-hover: #e8594d;
  --hb-text-dark: #0f172a;
  --hb-text-muted: #64748b;
  --hb-bg-light: #f8fafc;
  --hb-bg-card: #ffffff;
  --hb-border: #e2e8f0;
  --hb-radius-sm: 8px;
  --hb-radius-md: 14px;
  --hb-radius-lg: 20px;
  --hb-radius-pill: 50px;
  --hb-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --hb-shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  --hb-shadow-lg: 0 16px 36px -6px rgba(14, 134, 138, 0.15);
}

/* Typography & Base */
body, #top {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--hb-text-dark);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .avia-caption-title, .av-special-heading-tag {
  font-family: 'Poppins', 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  color: var(--hb-text-dark) !important;
  letter-spacing: -0.01em;
}

/* Top Bar Styling */
#header_meta {
  background-color: var(--hb-primary-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#header_meta .phone-info, #header_meta a, #header_meta .phone-info div {
  color: #f1f5f9 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
#header_meta .social_bookmarks li a {
  color: #f1f5f9 !important;
}
#header_meta .social_bookmarks li a:hover {
  color: var(--hb-accent) !important;
}

/* Header & Navigation */
#header_main {
  border-bottom: 1px solid var(--hb-border) !important;
  box-shadow: var(--hb-shadow-sm);
  background: #ffffff !important;
}
.avia-menu-text {
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #334155 !important;
}
.current-menu-item > a > .avia-menu-text,
.avia-menu-fx {
  color: var(--hb-primary) !important;
  background-color: var(--hb-primary) !important;
}

/* Submenu / Dropdowns */
.sub-menu {
  border-radius: var(--hb-radius-sm) !important;
  box-shadow: var(--hb-shadow-md) !important;
  border: 1px solid var(--hb-border) !important;
  padding: 8px 0 !important;
}
.sub-menu li a {
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  transition: all 0.2s ease;
}
.sub-menu li a:hover {
  background-color: var(--hb-primary-light) !important;
  color: var(--hb-primary) !important;
  padding-left: 22px !important;
}

/* Modern Card UI (Homage + Deputy Style) */
.hb-feature-card, .hb-service-box, .hb-stat-card {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  padding: 30px 24px;
  box-shadow: var(--hb-shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.hb-feature-card:hover, .hb-service-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--hb-shadow-lg);
  border-color: var(--hb-accent);
}

.hb-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--hb-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-primary);
  font-size: 28px;
}

/* Buttons & Pill CTAs */
.hb-btn-cta, .avia-button.hb-cta-btn {
  background: var(--hb-cta) !important;
  color: #ffffff !important;
  border-radius: var(--hb-radius-pill) !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(255, 107, 94, 0.4) !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  text-decoration: none !important;
}
.hb-btn-cta:hover, .avia-button.hb-cta-btn:hover {
  background: var(--hb-cta-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 94, 0.5) !important;
}

.hb-btn-secondary, .avia-button.hb-secondary-btn {
  background: var(--hb-primary) !important;
  color: #ffffff !important;
  border-radius: var(--hb-radius-pill) !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(14, 134, 138, 0.3) !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  text-decoration: none !important;
}
.hb-btn-secondary:hover {
  background: var(--hb-primary-dark) !important;
  transform: translateY(-2px);
}

/* Pricing Table / Accordion styling */
.hb-pricing-card {
  background: #ffffff;
  border: 2px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.hb-pricing-card.featured {
  border-color: var(--hb-primary);
  box-shadow: var(--hb-shadow-lg);
  transform: scale(1.02);
}
.hb-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hb-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--hb-radius-pill);
  letter-spacing: 0.5px;
}
.hb-pricing-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--hb-primary);
  margin: 16px 0 8px;
}
.hb-pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--hb-text-muted);
}

/* App Download Section (Deputy Style) */
.hb-app-showcase {
  background: linear-gradient(135deg, #075457 0%, #0e868a 100%);
  border-radius: var(--hb-radius-lg);
  padding: 48px 40px;
  color: #ffffff;
  margin: 40px 0;
}
.hb-app-showcase h2, .hb-app-showcase h3, .hb-app-showcase p {
  color: #ffffff !important;
}
.app-badge-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.app-badge-row img {
  height: 46px;
  width: auto;
  transition: transform 0.2s ease;
}
.app-badge-row img:hover {
  transform: scale(1.05);
}

/* Trust Ticker Bar */
.hb-trust-ticker {
  background: #ffffff;
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
  padding: 20px 0;
}
.hb-trust-item {
  text-align: center;
  padding: 10px 15px;
}
.hb-trust-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--hb-primary);
  line-height: 1;
}
.hb-trust-label {
  font-size: 13px;
  color: var(--hb-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Footer Styling */
#footer {
  background-color: #0b1320 !important;
  color: #94a3b8 !important;
  padding: 50px 0 30px !important;
}
#footer h3.widgettitle {
  color: #ffffff !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 20px !important;
}
#footer a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
#footer a:hover {
  color: var(--hb-accent) !important;
}
#socket {
  background-color: #060b14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
#socket .copyright {
  color: #64748b !important;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 767px) {
  .hb-app-showcase {
    padding: 30px 20px;
    text-align: center;
  }
  .app-badge-row {
    justify-content: center;
  }
  .hb-pricing-card.featured {
    transform: none;
  }
}
