/* ==========================================================================
   Health Active Life (healthactivelife.com) - Custom Creative Stylesheet
   Built on Bootstrap Column Grid Architecture
   ========================================================================== */

:root {
  --hal-emerald-dark: #0c3b33;
  --hal-emerald: #125c4f;
  --hal-emerald-light: #1d8271;
  --hal-mint-soft: #e6f4f0;
  --hal-mint-tint: #f2f9f6;
  --hal-sand: #f8f5ef;
  --hal-cream: #fcfbf8;
  --hal-coral: #d96b4b;
  --hal-coral-hover: #bf5638;
  --hal-gold-soft: #f3e4c8;
  --hal-ink: #122622;
  --hal-slate: #465c57;
  --hal-muted: #6c827d;
  --hal-border: rgba(18, 92, 79, 0.12);
  --hal-shadow-sm: 0 8px 24px rgba(12, 59, 51, 0.06);
  --hal-shadow-md: 0 16px 40px rgba(12, 59, 51, 0.10);
  --hal-shadow-lg: 0 24px 60px rgba(12, 59, 51, 0.15);
  --hal-radius-sm: 12px;
  --hal-radius-md: 20px;
  --hal-radius-lg: 28px;
  --hal-transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--hal-slate);
  background-color: var(--hal-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  color: var(--hal-ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

a {
  color: var(--hal-emerald);
  text-decoration: none;
  transition: var(--hal-transition);
}

a:hover {
  color: var(--hal-coral);
}

/* ==========================================================================
   Top Announcement Bar & Header Navigation
   ========================================================================== */
.top-wellness-bar {
  background: linear-gradient(90deg, var(--hal-emerald-dark), var(--hal-emerald));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-wellness-bar a {
  color: #ffffff;
  font-weight: 600;
}

.top-wellness-bar a:hover {
  color: var(--hal-gold-soft);
}

.site-navbar {
  background-color: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hal-border);
  padding: 1rem 0;
  transition: var(--hal-transition);
}

.site-navbar.navbar-scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--hal-shadow-sm);
}

/* Strictly One-Line Uniform Style Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  text-decoration: none !important;
}

.brand-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--hal-emerald), var(--hal-emerald-light));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(18, 92, 79, 0.25);
}

.brand-logo-text {
  font-family: Georgia, 'Palatino Linotype', serif;
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--hal-emerald-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
}

.footer-logo .brand-logo-text {
  color: #ffffff;
}

.navbar-nav .nav-link {
  color: var(--hal-ink);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: 50px;
  transition: var(--hal-transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--hal-emerald);
  background-color: var(--hal-mint-soft);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn-hal-primary {
  background: linear-gradient(135deg, var(--hal-emerald), var(--hal-emerald-light));
  color: #ffffff !important;
  border: none;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(18, 92, 79, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--hal-transition);
}

.btn-hal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 92, 79, 0.32);
  background: linear-gradient(135deg, var(--hal-emerald-dark), var(--hal-emerald));
}

.btn-hal-coral {
  background: linear-gradient(135deg, var(--hal-coral), #e68265);
  color: #ffffff !important;
  border: none;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(217, 107, 75, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--hal-transition);
}

.btn-hal-coral:hover {
  transform: translateY(-2px);
  background: var(--hal-coral-hover);
  box-shadow: 0 14px 28px rgba(217, 107, 75, 0.35);
}

.btn-hal-outline {
  background-color: transparent;
  color: var(--hal-emerald-dark) !important;
  border: 2px solid rgba(18, 92, 79, 0.28);
  padding: 0.75rem 1.65rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--hal-transition);
}

.btn-hal-outline:hover {
  background-color: var(--hal-emerald);
  border-color: var(--hal-emerald);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--hal-mint-soft);
  color: var(--hal-emerald);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.42rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(18, 92, 79, 0.15);
}

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

.bg-sand {
  background-color: var(--hal-sand);
}

.bg-mint-tint {
  background-color: var(--hal-mint-tint);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: radial-gradient(circle at top right, rgba(230, 244, 240, 0.9), rgba(252, 251, 248, 1) 65%),
              linear-gradient(180deg, var(--hal-mint-tint) 0%, var(--hal-cream) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 130, 113, 0.10), transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  color: var(--hal-ink);
  margin-bottom: 1.35rem;
}

.hero-title .accent-italic {
  color: var(--hal-emerald);
  font-style: italic;
}

.hero-lead {
  font-size: 1.14rem;
  color: var(--hal-slate);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero-pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid var(--hal-border);
  border-radius: 50px;
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hal-ink);
  box-shadow: var(--hal-shadow-sm);
}

.hero-pillar-chip svg {
  color: var(--hal-emerald);
}

.hero-visual-frame {
  position: relative;
  padding: 1rem;
}

.hero-main-img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: var(--hal-radius-lg);
  box-shadow: var(--hal-shadow-lg);
  border: 6px solid #ffffff;
}

.hero-floating-card {
  position: absolute;
  bottom: 28px;
  left: -10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 1.1rem 1.35rem;
  border-radius: var(--hal-radius-md);
  box-shadow: var(--hal-shadow-md);
  border: 1px solid var(--hal-border);
  max-width: 290px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-floating-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: var(--hal-mint-soft);
  color: var(--hal-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   About Us Section & Collage
   ========================================================================== */
.about-collage {
  position: relative;
  padding-bottom: 2.5rem;
  padding-right: 1.5rem;
}

.about-img-primary {
  width: 88%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--hal-radius-lg);
  box-shadow: var(--hal-shadow-md);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--hal-radius-md);
  border: 6px solid var(--hal-cream);
  box-shadow: var(--hal-shadow-lg);
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--hal-radius-sm);
  background: #ffffff;
  border: 1px solid var(--hal-border);
  box-shadow: var(--hal-shadow-sm);
  height: 100%;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hal-mint-soft);
  color: var(--hal-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-card {
  background: #ffffff;
  border-radius: var(--hal-radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--hal-border);
  box-shadow: var(--hal-shadow-sm);
  height: 100%;
  transition: var(--hal-transition);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--hal-emerald), var(--hal-coral));
  opacity: 0;
  transition: var(--hal-transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hal-shadow-md);
}

.why-card:hover::after {
  opacity: 1;
}

.why-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--hal-mint-soft), #d1ebe4);
  color: var(--hal-emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

/* ==========================================================================
   Our Services Cards (Bootstrap Column Grid)
   ========================================================================== */
.service-card {
  background: #ffffff;
  border-radius: var(--hal-radius-md);
  border: 1px solid var(--hal-border);
  box-shadow: var(--hal-shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--hal-transition);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--hal-shadow-lg);
  border-color: rgba(18, 92, 79, 0.28);
}

.service-img-wrap {
  position: relative;
  height: 225px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 59, 51, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.32rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.32rem;
  margin-bottom: 0.75rem;
  color: var(--hal-ink);
}

.service-card-text {
  color: var(--hal-slate);
  font-size: 0.96rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-service-card {
  width: 100%;
  justify-content: center;
  background-color: var(--hal-mint-soft);
  color: var(--hal-emerald-dark) !important;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(18, 92, 79, 0.16);
  transition: var(--hal-transition);
}

.service-card:hover .btn-service-card,
.btn-service-card:hover {
  background: linear-gradient(135deg, var(--hal-emerald), var(--hal-emerald-light));
  color: #ffffff !important;
  border-color: transparent;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--hal-radius-md);
  padding: 2.15rem;
  border: 1px solid var(--hal-border);
  box-shadow: var(--hal-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-stars {
  color: #e59b26;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}

.testimonial-quote {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--hal-ink);
  margin-bottom: 1.6rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--hal-border);
  padding-top: 1.15rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hal-emerald-light);
}

/* ==========================================================================
   Blog Cards & Blog Detail Styling
   ========================================================================== */
.blog-card {
  background: #ffffff;
  border-radius: var(--hal-radius-md);
  border: 1px solid var(--hal-border);
  box-shadow: var(--hal-shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--hal-transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hal-shadow-md);
}

.blog-img-link {
  display: block;
  height: 235px;
  overflow: hidden;
  position: relative;
}

.blog-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.blog-card:hover .blog-img-link img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--hal-emerald);
  margin-bottom: 0.65rem;
}

.blog-title {
  font-size: 1.28rem;
  margin-bottom: 0.85rem;
}

.blog-title a {
  color: var(--hal-ink);
}

.blog-title a:hover {
  color: var(--hal-emerald);
}

.blog-excerpt {
  color: var(--hal-slate);
  font-size: 0.96rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.blog-read-link {
  font-weight: 700;
  color: var(--hal-emerald-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-read-link:hover {
  color: var(--hal-coral);
  gap: 0.7rem;
}

/* ==========================================================================
   FAQ Accordion Styling
   ========================================================================== */
.hal-accordion .accordion-item {
  border: 1px solid var(--hal-border);
  border-radius: var(--hal-radius-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--hal-shadow-sm);
}

.hal-accordion .accordion-button {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hal-ink);
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.hal-accordion .accordion-button:not(.collapsed) {
  color: var(--hal-emerald);
  background-color: var(--hal-mint-tint);
}

.hal-accordion .accordion-body {
  padding: 0 1.5rem 1.35rem;
  color: var(--hal-slate);
  background-color: var(--hal-mint-tint);
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--hal-emerald-dark) 0%, var(--hal-emerald) 60%, var(--hal-emerald-light) 100%);
  border-radius: var(--hal-radius-lg);
  padding: 4rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--hal-shadow-lg);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.cta-banner h2 {
  color: #ffffff;
}

/* ==========================================================================
   Inner Page Header Banner
   ========================================================================== */
.page-hero-header {
  background: linear-gradient(135deg, var(--hal-emerald-dark), var(--hal-emerald));
  color: #ffffff;
  padding: 4.25rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero-header h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.page-hero-header .breadcrumb-item,
.page-hero-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.page-hero-header .breadcrumb-item.active {
  color: var(--hal-gold-soft);
}

/* ==========================================================================
   Forms & Interactive Cards (Contact, Subscribe, Unsubscribe)
   ========================================================================== */
.form-card {
  background: #ffffff;
  border-radius: var(--hal-radius-lg);
  padding: 2.75rem;
  border: 1px solid var(--hal-border);
  box-shadow: var(--hal-shadow-md);
}

.form-control, .form-select {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 92, 79, 0.22);
  background-color: var(--hal-cream);
  color: var(--hal-ink);
}

.form-control:focus, .form-select:focus {
  border-color: var(--hal-emerald);
  box-shadow: 0 0 0 0.22rem rgba(18, 92, 79, 0.15);
  background-color: #ffffff;
}

.contact-info-box {
  background: linear-gradient(160deg, var(--hal-emerald-dark), var(--hal-emerald));
  color: #ffffff;
  border-radius: var(--hal-radius-lg);
  padding: 2.75rem;
  height: 100%;
  box-shadow: var(--hal-shadow-md);
}

.contact-info-box h3,
.contact-info-box h5 {
  color: #ffffff;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--hal-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Legal & Blog Content Cards
   ========================================================================== */
.prose-card {
  background: #ffffff;
  border-radius: var(--hal-radius-lg);
  padding: 3rem;
  border: 1px solid var(--hal-border);
  box-shadow: var(--hal-shadow-sm);
}

.prose-card h2, .prose-card h3 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: var(--hal-emerald-dark);
}

.prose-card h2:first-child, .prose-card h3:first-child {
  margin-top: 0;
}

.blog-quote-callout {
  background: var(--hal-mint-tint);
  border-left: 4px solid var(--hal-emerald);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--hal-radius-sm) var(--hal-radius-sm) 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--hal-ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--hal-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 2rem;
}

.site-footer h5 {
  color: #ffffff;
  font-size: 1.12rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--hal-gold-soft);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding-top: 1.75rem;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .hero-main-img {
    height: 380px;
    margin-top: 2rem;
  }
  .hero-floating-card {
    left: 16px;
    bottom: 16px;
  }
  .cta-banner {
    padding: 2.75rem 1.75rem;
  }
  .prose-card, .form-card, .contact-info-box {
    padding: 1.85rem;
  }
}
