:root {
  --dhg-primary: #16a34a;
  --dhg-primary-dark: #15803d;
  --dhg-primary-light: #22c55e;
  --dhg-accent: #84cc16;
  --dhg-text: #111827;
  --dhg-muted: #6b7280;
  --dhg-muted-fg: #6b7280;
  --dhg-foreground: #111827;
  --dhg-bg: #ffffff;
  --dhg-muted-bg: #f9fafb;
  --dhg-card: #ffffff;
  --dhg-border: #e5e7eb;
  --dhg-radius: 24px;
  --dhg-surface: #f3f4f6;
  --dhg-bg-muted: #f3f4f6;
  --dhg-fg: #111827;
  --dhg-heading: #111827;
}

/* Services page scope reset */
#dhg-services * { box-sizing: border-box; }
#dhg-services img { max-width: 100%; }

* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dhg-text); background: var(--dhg-bg); }

.dhg-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.dhg-btn { display: inline-block; padding: 16px 32px; border-radius: 9999px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: all .2s; border: none; }
.dhg-btn-primary { background: var(--dhg-primary); color: #fff; box-shadow: 0 4px 24px rgba(22,163,74,.3); }
.dhg-btn-primary:hover { background: var(--dhg-primary-dark); color: #fff; text-decoration: none; }
.dhg-btn-outline { background: transparent; color: var(--dhg-primary); border: 2px solid var(--dhg-primary); }
.dhg-btn-outline:hover { background: var(--dhg-primary); color: #fff; text-decoration: none; }
.dhg-btn-white { background: #fff; color: var(--dhg-primary); }
.dhg-btn-white:hover { background: #f0fdf4; color: var(--dhg-primary); text-decoration: none; }
.dhg-btn-group { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

/* Hero */
.dhg-hero { padding: 80px 24px; background: linear-gradient(135deg, rgba(22,163,74,.06) 0%, #fff 100%); }
.dhg-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dhg-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px; background: rgba(22,163,74,.1); color: var(--dhg-primary); font-size: 14px; font-weight: 600; border: 1px solid rgba(22,163,74,.2); margin-bottom: 24px; }
.dhg-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.dhg-hero p { font-size: 18px; color: var(--dhg-muted); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.dhg-hero-img { border-radius: 24px; overflow: hidden; box-shadow: 0 25px 80px rgba(0,0,0,.15); }
.dhg-hero-img img { width: 100%; display: block; }
.dhg-hero-stats { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.dhg-hero-avatars { display: flex; }
.dhg-hero-avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.dhg-hero-avatars img:first-child { margin-left: 0; }

/* Text gradient */
.dhg-gradient-text { background: linear-gradient(135deg, var(--dhg-primary) 0%, var(--dhg-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Section */
.dhg-section { padding: 80px 24px; }
.dhg-section-muted { background: var(--dhg-muted-bg); }
.dhg-section-primary { background: var(--dhg-primary); color: #fff; }
.dhg-section-title { text-align: center; margin-bottom: 64px; }
.dhg-section-title h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.dhg-section-title p { font-size: 18px; color: var(--dhg-muted); max-width: 600px; margin: 0 auto; }
.dhg-section-primary .dhg-section-title p { color: rgba(255,255,255,.75); }

/* Cards grid */
.dhg-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.dhg-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.dhg-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }

/* Service card */
.dhg-card { background: #fff; border-radius: var(--dhg-radius); padding: 40px; box-shadow: 0 2px 16px rgba(0,0,0,.06); border: 1px solid var(--dhg-border); transition: all .3s; }
.dhg-card:hover { box-shadow: 0 8px 40px rgba(22,163,74,.15); transform: translateY(-4px); }
.dhg-card-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 28px; }
.dhg-card-icon-green { background: #dcfce7; }
.dhg-card-icon-blue { background: #dbeafe; }
.dhg-card-icon-red { background: #fee2e2; }
.dhg-card-icon-purple { background: #f3e8ff; }
.dhg-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.dhg-card p { color: var(--dhg-muted); line-height: 1.7; margin-bottom: 24px; }
.dhg-card-link { color: var(--dhg-primary); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.dhg-card-link:hover { gap: 8px; color: var(--dhg-primary-dark); }

/* Stats */
.dhg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; text-align: center; }
.dhg-stats h3 { font-size: 48px; font-weight: 800; }
.dhg-stats p { opacity: .8; font-weight: 500; margin-top: 8px; }

/* Testimonials */
.dhg-testimonial { background: #fff; border-radius: var(--dhg-radius); padding: 40px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.dhg-stars { color: #f59e0b; font-size: 20px; margin-bottom: 20px; }
.dhg-testimonial blockquote { font-size: 17px; font-style: italic; line-height: 1.7; margin-bottom: 24px; }
.dhg-testimonial-author { display: flex; align-items: center; gap: 16px; }
.dhg-testimonial-author img { width: 48px; height: 48px; border-radius: 50%; }
.dhg-testimonial-author strong { display: block; font-weight: 700; }
.dhg-testimonial-author span { font-size: 14px; color: var(--dhg-muted); }

/* Blog card */
.dhg-blog-card { cursor: pointer; background: var(--dhg-card); border: 1px solid var(--dhg-border); border-radius: 24px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.dhg-blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-3px); }
.dhg-blog-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.dhg-blog-card-body h3 { margin: 0; }
.dhg-blog-card-body p { margin: 0; }
.dhg-blog-card-body .dhg-blog-meta { padding: 0; }
.dhg-blog-img { border-radius: 0; overflow: hidden; margin-bottom: 0; aspect-ratio: 16/9; position: relative; }
.dhg-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dhg-blog-card:hover .dhg-blog-img img { transform: scale(1.05); }
.dhg-blog-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); padding: 6px 14px; border-radius: 9999px; font-size: 12px; font-weight: 700; color: var(--dhg-primary); }
.dhg-blog-card h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 8px 0 12px; }
.dhg-blog-card:hover h3 { color: var(--dhg-primary); }
.dhg-blog-meta { font-size: 13px; color: var(--dhg-muted); }

/* FAQ - supports both .dhg-faq-q/.dhg-faq-a (old) and .dhg-faq-question/.dhg-faq-answer (service pages) */
.dhg-faq-list { max-width: 760px; margin: 0 auto; }
.dhg-faq { max-width: 760px; margin: 0 auto; }
.dhg-faq-item { background: #fff; border: 1px solid var(--dhg-border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }

/* Old class names */
.dhg-faq-q { padding: 20px 24px; font-size: 17px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; text-align: left; color: var(--dhg-text); user-select: none; }
.dhg-faq-q:after { content: '+'; font-size: 24px; color: var(--dhg-primary); flex-shrink: 0; margin-left: 12px; }
.dhg-faq-a { padding: 0 24px 20px; color: var(--dhg-muted); line-height: 1.7; display: none; }
.dhg-faq-item.open .dhg-faq-a { display: block; }
.dhg-faq-item.open .dhg-faq-q:after { content: '-'; }

/* Service page class names */
.dhg-faq-question { padding: 20px 24px; font-size: 17px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; text-align: left; color: var(--dhg-text); user-select: none; }
.dhg-faq-icon { font-size: 24px; color: var(--dhg-primary); flex-shrink: 0; margin-left: 12px; transition: transform .2s; }
.dhg-faq-answer { padding: 0 24px 20px; color: var(--dhg-muted); line-height: 1.7; display: none; }
.dhg-faq-item.open .dhg-faq-answer { display: block; }
.dhg-faq-item.open .dhg-faq-icon { transform: rotate(45deg); }

/* CTA Banner */
.dhg-cta-banner { background: linear-gradient(135deg, var(--dhg-primary) 0%, #059669 100%); border-radius: 48px; padding: 80px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.dhg-cta-banner h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; max-width: 700px; margin: 0 auto 24px; }
.dhg-cta-banner p { font-size: 18px; opacity: .85; max-width: 560px; margin: 0 auto 40px; }

/* Newsletter */
.dhg-newsletter-form { display: flex; gap: 16px; max-width: 480px; }
.dhg-newsletter-form input { flex: 1; padding: 16px 24px; border-radius: 9999px; border: 1px solid var(--dhg-border); font-size: 16px; outline: none; }
.dhg-newsletter-form input:focus { border-color: var(--dhg-primary); }

/* Benefits list */
.dhg-benefit { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.dhg-benefit-icon { width: 28px; height: 28px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dhg-primary); flex-shrink: 0; font-size: 14px; }
.dhg-benefit span { font-size: 17px; font-weight: 500; }

/* Values */
.dhg-value-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 40px; backdrop-filter: blur(8px); }
.dhg-value-icon { width: 64px; height: 64px; background: rgba(255,255,255,.2); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 24px; }
.dhg-value-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.dhg-value-card p { opacity: .8; line-height: 1.7; font-size: 16px; }

/* Contact */
.dhg-contact-info-item { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 32px; }
.dhg-contact-icon { width: 56px; height: 56px; background: rgba(22,163,74,.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.dhg-form-group { margin-bottom: 20px; }
.dhg-form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.dhg-form-group input, .dhg-form-group textarea, .dhg-form-group select { width: 100%; padding: 16px 20px; border-radius: 16px; background: var(--dhg-muted-bg); border: 1px solid var(--dhg-border); font-size: 16px; outline: none; transition: border .2s; }
.dhg-form-group input:focus, .dhg-form-group textarea:focus { border-color: var(--dhg-primary); }

/* Services page */
.dhg-service-card { background: #fff; border-radius: 40px; padding: 48px; box-shadow: 0 4px 24px rgba(0,0,0,.07); border: 1px solid var(--dhg-border); transition: all .3s; }
.dhg-service-card:hover { box-shadow: 0 12px 48px rgba(22,163,74,.15); }
.dhg-service-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.dhg-service-icon-wrap { width: 64px; height: 64px; background: rgba(22,163,74,.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; transition: all .3s; }
.dhg-service-card:hover .dhg-service-icon-wrap { background: var(--dhg-primary); }
.dhg-service-price { text-align: right; }
.dhg-service-price .type { display: block; font-size: 12px; font-weight: 700; color: var(--dhg-primary); text-transform: uppercase; letter-spacing: .05em; }
.dhg-service-price .price { display: block; font-size: 18px; font-weight: 700; margin-top: 4px; }
.dhg-benefits-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 32px; }
.dhg-benefits-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.dhg-benefits-list li:before { content: '✓'; color: #16a34a; font-weight: 700; }
.dhg-service-actions { display: flex; gap: 12px; padding-top: 24px; border-top: 1px solid var(--dhg-border); }
.dhg-service-actions .dhg-btn { flex: 1; text-align: center; }

/* About hero */
.dhg-about-hero { padding: 96px 24px; background: var(--dhg-muted-bg); text-align: center; }
.dhg-about-hero h1 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; max-width: 800px; margin: 0 auto 24px; }
.dhg-about-hero p { font-size: 20px; color: var(--dhg-muted); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* Two-col section */
.dhg-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto; }
.dhg-two-col img { width: 100%; border-radius: 32px; box-shadow: 0 20px 60px rgba(0,0,0,.15); }

/* Roadmap */
.dhg-roadmap-item { display: grid; grid-template-columns: 200px 16px 1fr; gap: 24px; align-items: start; margin-bottom: 48px; }
.dhg-roadmap-dot { width: 16px; height: 16px; background: var(--dhg-primary); border-radius: 50%; margin-top: 6px; }
.dhg-roadmap-content { background: rgba(255,255,255,.7); border: 1px solid var(--dhg-border); border-radius: 24px; padding: 32px; }
.dhg-roadmap-content h4 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.dhg-roadmap-content p { color: var(--dhg-muted); margin-bottom: 16px; }
.dhg-roadmap-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dhg-roadmap-tag { background: #fff; border: 1px solid var(--dhg-border); border-radius: 9999px; padding: 6px 16px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* Blog page */
.dhg-blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.dhg-filter-btn { padding: 8px 20px; border-radius: 9999px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: all .2s; background: var(--dhg-muted-bg); color: var(--dhg-muted); }
.dhg-filter-btn.active { background: var(--dhg-primary); color: #fff; }

/* Book page */
.dhg-stepper { display: flex; justify-content: space-between; align-items: center; max-width: 480px; margin: 0 auto 64px; position: relative; }
.dhg-stepper:before { content: ''; position: absolute; top: 24px; left: 0; right: 0; height: 2px; background: var(--dhg-border); z-index: 0; }
.dhg-step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.dhg-step-circle { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; background: var(--dhg-muted-bg); color: var(--dhg-muted); }
.dhg-step.active .dhg-step-circle { background: var(--dhg-primary); color: #fff; box-shadow: 0 4px 16px rgba(22,163,74,.4); }
.dhg-step-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--dhg-muted); margin-top: 8px; }
.dhg-session-card { border: 2px solid var(--dhg-border); border-radius: 24px; padding: 32px; cursor: pointer; transition: all .2s; }
.dhg-session-card:hover, .dhg-session-card.selected { border-color: var(--dhg-primary); background: rgba(22,163,74,.04); }

/* Floating stat card */
.dhg-float-card { background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.6); border-radius: 20px; padding: 20px 24px; box-shadow: 0 8px 32px rgba(0,0,0,.12); display: inline-block; }

/* Process steps */
.dhg-process-step { text-align: center; padding: 32px; }
.dhg-step-number { font-size: 72px; font-weight: 900; color: rgba(22,163,74,.1); margin-bottom: 8px; }
.dhg-process-step h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.dhg-process-step p { color: var(--dhg-muted); line-height: 1.6; }

/* Responsive */
@media (max-width: 1024px) {
  .dhg-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dhg-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dhg-hero-inner, .dhg-two-col { grid-template-columns: 1fr; gap: 40px; }
  .dhg-grid-3, .dhg-grid-2 { grid-template-columns: 1fr; }
  .dhg-grid-4 { grid-template-columns: 1fr; }
  .dhg-stats { grid-template-columns: repeat(2, 1fr); }
  .dhg-cta-banner { padding: 48px 24px; border-radius: 32px; }
  .dhg-roadmap-item { grid-template-columns: 1fr; }
  .dhg-roadmap-dot { display: none; }
  /* Services page */
  .dhg-service-card { padding: 28px; border-radius: 24px; }
  .dhg-benefits-list { grid-template-columns: 1fr; }
  .dhg-service-actions { flex-direction: column; }
  .dhg-service-actions .dhg-btn { text-align: center; }
  /* How It Works inner card */
  #dhg-services .dhg-section-muted [style*="padding:64px"],
  #dhg-services .dhg-section-muted > div > div { padding: 32px 20px !important; border-radius: 28px !important; }
}


/* ===== SCROLL-REVEAL ANIMATIONS ===== */
.dhg-fade-up,
.dhg-fade-left,
.dhg-fade-right,
.dhg-scale-in {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
.dhg-fade-up    { transform: translateY(32px); }
.dhg-fade-left  { transform: translateX(-32px); }
.dhg-fade-right { transform: translateX(32px); }
.dhg-scale-in   { transform: scale(.92); }

.dhg-fade-up.is-visible,
.dhg-fade-left.is-visible,
.dhg-fade-right.is-visible,
.dhg-scale-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.dhg-stagger-1 { transition-delay: .05s; }
.dhg-stagger-2 { transition-delay: .12s; }
.dhg-stagger-3 { transition-delay: .19s; }
.dhg-stagger-4 { transition-delay: .26s; }
.dhg-stagger-5 { transition-delay: .33s; }

/* Hero animate classes (used on home page) */
.dhg-hero-animate-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: dhgSlideLeft .7s ease forwards .1s;
}
.dhg-hero-animate-right {
  opacity: 0;
  transform: translateX(40px);
  animation: dhgSlideRight .7s ease forwards .25s;
}
@keyframes dhgSlideLeft {
  to { opacity: 1; transform: none; }
}
@keyframes dhgSlideRight {
  to { opacity: 1; transform: none; }
}

/* Float animation for stat card */
.dhg-float-anim {
  animation: dhgFloat 3s ease-in-out infinite;
}
.dhg-float-anim-slow {
  animation: dhgFloat 4s ease-in-out infinite;
}
@keyframes dhgFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Glass card (used on home) */
.dhg-glass {
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}


/* ===== BOOKING PAGE ===== */
#dhg-booking-page * { box-sizing: border-box; }

.dhg-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dhg-card);
  border: 1px solid var(--dhg-border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.dhg-booking-form-wrap {
  background: var(--dhg-card);
  border: 1px solid var(--dhg-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,.06);
}

.dhg-next-steps { display: flex; flex-direction: column; gap: 18px; }
.dhg-next-step  { display: flex; align-items: flex-start; gap: 14px; }
.dhg-step-dot {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: var(--dhg-primary);
  color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* SureForms inside booking form */
#dhg-booking-page .srfm-form-container { padding: 0 !important; box-shadow: none !important; border: none !important; background: transparent !important; }
#dhg-booking-page .srfm-submit-btn-wrap { margin-top: 8px; }
#dhg-booking-page .srfm-submit-btn { background: var(--dhg-primary) !important; border-radius: 9999px !important; padding: 16px 40px !important; font-size: 16px !important; font-weight: 700 !important; }

/* Responsive booking layout */
@media (max-width: 768px) {
  .dhg-book-layout { grid-template-columns: 1fr !important; }
  .dhg-booking-form-wrap { padding: 24px; }
  .dhg-trust-badge { font-size: 13px; padding: 7px 14px; }
}


/* ===== SOCIAL MEDIA ICONS (FOOTER) ===== */
.dhg-footer-social-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dhg-footer-muted, rgba(255,255,255,.45));
  margin: 20px 0 12px;
}
.dhg-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.dhg-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: transform .2s, opacity .2s, box-shadow .2s;
  flex-shrink: 0;
}
.dhg-social-icon:hover {
  transform: translateY(-3px);
  opacity: 1 !important;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.dhg-social-fb  { background: #1877f2; }
.dhg-social-ig  { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.dhg-social-yt  { background: #ff0000; }


/* ===== Legal Pages Design ===== */
.dhg-legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  line-height: 1.8;
}
.dhg-legal-hero {
  background: linear-gradient(135deg, #1a6b3c 0%, #0d4a28 100%);
  color: #fff;
  padding: 64px 32px 48px;
  text-align: center;
  margin-bottom: 0;
}
.dhg-legal-hero .dhg-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.dhg-legal-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
  color: #fff !important;
}
.dhg-legal-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.dhg-legal-body {
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
  padding: 56px 56px 64px;
  margin: 0 auto;
  max-width: 860px;
}
@media(max-width:640px){
  .dhg-legal-body { padding: 32px 24px 48px; }
  .dhg-legal-hero { padding: 48px 20px 36px; }
}
.dhg-legal-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a6b3c;
  margin: 48px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f5ee;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dhg-legal-body h2:first-child { margin-top: 0; }
.dhg-legal-body h2 .dhg-icon {
  width: 28px;
  height: 28px;
  background: #e8f5ee;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.dhg-legal-body p, .dhg-legal-body li {
  font-size: 15px;
  color: #374151;
  line-height: 1.85;
  margin-bottom: 14px;
}
.dhg-legal-body ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 16px;
}
.dhg-legal-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  margin-bottom: 4px;
}
.dhg-legal-body ul li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: #1a6b3c;
  font-weight: 600;
}
.dhg-legal-callout {
  background: #f0faf4;
  border-left: 4px solid #1a6b3c;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: #1a4d2e;
  font-weight: 500;
}
.dhg-legal-callout strong { color: #1a6b3c; }
.dhg-legal-warning {
  background: #fff8ed;
  border-left: 4px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: #92400e;
}
.dhg-legal-toc {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.dhg-legal-toc h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  margin: 0 0 14px;
}
.dhg-legal-toc ol {
  margin: 0;
  padding-left: 20px;
}
.dhg-legal-toc li {
  font-size: 14px;
  margin-bottom: 6px;
}
.dhg-legal-toc a {
  color: #1a6b3c;
  text-decoration: none;
  font-weight: 500;
}
.dhg-legal-toc a:hover { text-decoration: underline; }
.dhg-legal-contact {
  background: linear-gradient(135deg, #1a6b3c, #0d4a28);
  border-radius: 14px;
  padding: 32px 36px;
  margin-top: 48px;
  color: #fff;
  text-align: center;
}
.dhg-legal-contact h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.dhg-legal-contact p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
  font-size: 14px;
}
.dhg-legal-contact a {
  display: inline-block;
  background: #fff;
  color: #1a6b3c;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.dhg-legal-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px auto 0;
  max-width: 860px;
  padding: 0 32px;
}
.dhg-legal-nav a {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.dhg-legal-nav a:hover { background: rgba(255,255,255,0.22); }
.dhg-legal-nav a.active {
  background: #fff;
  color: #1a6b3c;
  font-weight: 700;
}

/* ============================================
   DHG SureForms Styles - aligned to site theme
   ============================================ */

/* Override srfm CSS variables to match site green */
.srfm-form-container {
  --srfm-color-scheme-primary: #16a34a !important;
  --srfm-color-scheme-text-on-primary: #ffffff !important;
  --srfm-color-input-border-hover: rgba(22,163,74,0.65) !important;
  --srfm-color-input-border-focus-glow: rgba(22,163,74,0.15) !important;
  --srfm-color-input-selected: rgba(22,163,74,0.10) !important;
  --srfm-btn-color-hover: #15803d !important;
  --srfm-btn-color-disabled: rgba(22,163,74,0.30) !important;
  --srfm-dropdown-option-background-selected: rgba(22,163,74,0.08) !important;
  --srfm-dropdown-option-selected-icon: #16a34a !important;
  --srfm-dropdown-option-selected-text: #15803d !important;
}

/* --- Fix hsl(from ...) relative colour fallbacks for browser compatibility --- */
.srfm-form-container {
  --srfm-color-input-description:        rgba(30,30,30,0.65);
  --srfm-color-input-placeholder:        rgba(30,30,30,0.50);
  --srfm-color-input-prefix:             rgba(30,30,30,0.65);
  --srfm-color-input-background:         #f9fafb;
  --srfm-color-input-background-hover:   #f3f4f6;
  --srfm-color-input-background-disabled:#f1f5f9;
  --srfm-color-input-border:             rgba(30,30,30,0.20);
  --srfm-color-input-border-disabled:    rgba(30,30,30,0.12);
  --srfm-color-multi-choice-svg:         rgba(30,30,30,0.65);
  --srfm-dropdown-input-background-hover:rgba(30,30,30,0.05);
  --srfm-dropdown-option-background-hover:rgba(30,30,30,0.08);
  --srfm-dropdown-badge-background:      rgba(30,30,30,0.05);
  --srfm-dropdown-badge-background-hover:rgba(30,30,30,0.10);
  --srfm-dropdown-menu-border-color:     rgba(30,30,30,0.10);
  --srfm-dropdown-placeholder-color:     rgba(30,30,30,0.50);
  --srfm-dropdown-icon-color:            rgba(30,30,30,0.55);
  --srfm-dropdown-icon-disabled:         rgba(30,30,30,0.25);
}


.srfm-form-container {
  background: #ffffff;
  border: 1px solid var(--dhg-border);
  border-radius: 16px;
  padding: 40px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.srfm-block-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dhg-heading);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.srfm-required {
  color: #dc2626;
  margin-left: 3px;
}

.srfm-description {
  font-size: 13px;
  color: var(--dhg-muted);
  margin-top: 4px;
  margin-bottom: 6px;
}

.srfm-input-common {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dhg-text);
  background: #f9fafb;
  border: 1.5px solid var(--dhg-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.srfm-input-common:hover {
  border-color: #86efac;
  background: #ffffff;
}

.srfm-input-common:focus {
  border-color: var(--dhg-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.srfm-input-common::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

.srfm-input-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.srfm-dropdown-common {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dhg-text);
  background: #f9fafb;
  border: 1.5px solid var(--dhg-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.srfm-dropdown-common:hover {
  border-color: #86efac;
  background-color: #ffffff;
}

.srfm-dropdown-common:focus {
  border-color: var(--dhg-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.srfm-dropdown-placeholder {
  color: #9ca3af;
}

.srfm-block-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.srfm-input-multi-choice-single {
  display: none;
}

.srfm-option-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1.5px solid var(--dhg-border);
  border-radius: 10px;
  background: #f9fafb;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--dhg-text);
  transition: all 0.18s;
  user-select: none;
  min-width: 120px;
}

.srfm-option-container:hover {
  border-color: var(--dhg-primary);
  background: #f0fdf4;
  color: var(--dhg-primary-dark);
}

.srfm-option-container.srfm-selected {
  border-color: var(--dhg-primary);
  background: #dcfce7;
  color: var(--dhg-primary-dark);
}

.srfm-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--dhg-border);
  flex-shrink: 0;
  transition: all 0.18s;
  background: #fff;
}

.srfm-option-container:hover .srfm-icon-container {
  border-color: var(--dhg-primary);
}

.srfm-option-container.srfm-selected .srfm-icon-container {
  border-color: var(--dhg-primary);
  background: var(--dhg-primary);
}

.srfm-multi-choice-icon-unchecked { display: block; }
.srfm-multi-choice-icon { display: none; }
.srfm-option-container.srfm-selected .srfm-multi-choice-icon { display: block; filter: brightness(0) invert(1); }
.srfm-option-container.srfm-selected .srfm-multi-choice-icon-unchecked { display: none; }

.srfm-block-single {
  margin-bottom: 22px;
}

.srfm-btn-frontend.srfm-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  background: var(--dhg-primary);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.3);
  min-width: 200px;
}

.srfm-btn-frontend.srfm-submit-button:hover {
  background: var(--dhg-primary-dark);
  box-shadow: 0 6px 28px rgba(22, 163, 74, 0.4);
  transform: translateY(-1px);
}

.srfm-btn-frontend.srfm-submit-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(22, 163, 74, 0.25);
}

.srfm-submit-container {
  margin-top: 8px;
}

.srfm-error-message {
  font-size: 12px;
  color: #dc2626;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.srfm-common-error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #dc2626;
  margin-bottom: 20px;
}

.srfm-success-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  color: var(--dhg-primary-dark);
}

.srfm-success-box-description {
  font-size: 15px;
  color: var(--dhg-muted);
  margin-top: 8px;
}

.srfm-block-legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--dhg-heading);
  margin-bottom: 10px;
  display: block;
}

.srfm-input-number::-webkit-inner-spin-button,
.srfm-input-number::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.srfm-input-number { -moz-appearance: textfield; }

.srfm-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: srfm-spin 0.7s linear infinite;
  display: none;
}
@keyframes srfm-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .srfm-form-container {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .srfm-btn-frontend.srfm-submit-button {
    width: 100%;
    min-width: unset;
  }
  .srfm-option-container {
    min-width: unset;
    width: 100%;
  }
}


/* ===========================================
   DHG MOBILE RESPONSIVENESS — COMPREHENSIVE
   =========================================== */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {
  .dhg-hero-inner,
  .dhg-two-col { gap: 48px; }

  .dhg-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .dhg-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Services page cards */
  .dhg-service-card { padding: 36px; }

  /* Stats row */
  .dhg-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {

  /* Global spacing */
  .dhg-section { padding: 56px 16px; }
  .dhg-section-title { margin-bottom: 40px; }
  .dhg-section-title h2 { font-size: clamp(24px, 6vw, 36px); }
  .dhg-section-title p { font-size: 16px; }
  .dhg-wrap { padding: 0 16px; }

  /* Hero */
  .dhg-hero { padding: 56px 16px; }
  .dhg-hero-inner { grid-template-columns: 1fr !important; gap: 32px; }
  .dhg-hero h1 { font-size: clamp(28px, 8vw, 44px); }
  .dhg-hero p { font-size: 16px; }
  .dhg-hero-img { display: none; }
  .dhg-btn-group { flex-direction: column; align-items: stretch; }
  .dhg-btn-group .dhg-btn { text-align: center; }
  .dhg-hero-stats { flex-wrap: wrap; gap: 12px; }

  /* Grids collapse to 1 col */
  .dhg-grid-3,
  .dhg-grid-2,
  .dhg-grid-4 { grid-template-columns: 1fr !important; gap: 20px; }

  /* Inline grid overrides — covers all pages using style= attributes */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns:5fr 7fr"],
  [style*="grid-template-columns: 5fr 7fr"],
  [style*="grid-template-columns:1fr 420px"],
  [style*="grid-template-columns: 1fr 420px"],
  [style*="grid-template-columns:repeat(auto-fit,minmax(240px,1fr))"],
  [style*="grid-template-columns:repeat(auto-fit,minmax(260px,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Inline padding overrides */
  [style*="padding:80px"],
  [style*="padding: 80px"] { padding: 40px 20px !important; }
  [style*="padding:64px"],
  [style*="padding: 64px"] { padding: 32px 18px !important; }
  [style*="padding:48px"],
  [style*="padding: 48px"] { padding: 28px 16px !important; }

  /* CTA banner */
  .dhg-cta-banner { padding: 40px 20px; border-radius: 24px; }
  .dhg-cta-banner h2 { font-size: clamp(24px, 7vw, 36px); }
  .dhg-cta-banner p { font-size: 16px; margin-bottom: 28px; }

  /* Cards */
  .dhg-card { padding: 28px 22px; }
  .dhg-service-card { padding: 24px 18px; border-radius: 20px; }
  .dhg-service-header { flex-wrap: wrap; gap: 16px; }
  .dhg-benefits-list { grid-template-columns: 1fr !important; }
  .dhg-service-actions { flex-direction: column; }
  .dhg-service-actions .dhg-btn { text-align: center; width: 100%; }

  /* Stats */
  .dhg-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dhg-stats h3 { font-size: 36px; }

  /* About / Two-col */
  .dhg-two-col { grid-template-columns: 1fr !important; gap: 32px; }
  .dhg-about-hero { padding: 64px 16px; }

  /* Roadmap */
  .dhg-roadmap-item { grid-template-columns: 1fr !important; gap: 12px; }
  .dhg-roadmap-dot { display: none; }
  .dhg-roadmap-content { padding: 24px 18px; }

  /* Testimonials */
  .dhg-testimonial { padding: 28px 20px; }

  /* Blog */
  .dhg-blog-filters { justify-content: flex-start; }
  .dhg-blog-card h3 { font-size: 18px; }

  /* Newsletter form */
  .dhg-newsletter-form { flex-direction: column; }
  .dhg-newsletter-form input,
  .dhg-newsletter-form .dhg-btn { width: 100%; }

  /* Contact */
  .dhg-contact-info-item { gap: 16px; }

  /* Booking */
  .dhg-book-layout { grid-template-columns: 1fr !important; }
  .dhg-booking-form-wrap { padding: 22px 16px; }
  .dhg-stepper { max-width: 100%; }
  .dhg-step-label { font-size: 10px; }

  /* Footer */
  .dhg-footer { padding: 48px 16px 24px; }
  .dhg-footer-inner { grid-template-columns: 1fr !important; gap: 32px; margin-bottom: 40px; }
  .dhg-footer-bottom { flex-direction: column; text-align: center; }
  .dhg-footer-legal { gap: 16px; flex-wrap: wrap; justify-content: center; }

  /* Types of Diabetes info grid */
  .dhg-info-grid { grid-template-columns: 1fr !important; }

  /* Process steps */
  .dhg-process-step { padding: 20px 12px; }
  .dhg-step-number { font-size: 52px; }

  /* Float cards — hide on small screens where they overlap */
  .dhg-float-card { display: none; }

  /* Value cards */
  .dhg-value-card { padding: 28px 20px; }

  /* Legal pages */
  .dhg-legal-body { padding: 28px 18px 40px; }
  .dhg-legal-nav { padding: 0 16px; gap: 8px; }
}

/* ---- Small mobile (max 480px) ---- */
@media (max-width: 480px) {
  .dhg-section { padding: 44px 14px; }
  .dhg-hero { padding: 44px 14px; }
  .dhg-cta-banner { padding: 32px 14px; border-radius: 18px; }
  .dhg-card { padding: 22px 16px; }
  .dhg-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .dhg-stats h3 { font-size: 30px; }
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .dhg-btn { padding: 14px 24px; font-size: 15px; }
  .dhg-section-title h2 { font-size: clamp(22px, 7vw, 32px); }
}
