/* ============================================================
   nutritionhealthplace.com — Main Stylesheet
   ============================================================ */
:root {
  --brand: #0aa06e;
  --brand-2: #12b582;
  --brand-dark: #087a54;
  --brand-deep: #063d2e;
  --brand-ink: #0c3a2b;
  --brand-soft: #e9f8f1;
  --accent: #f2b33d;
  --accent-soft: #fdf3dd;
  --ink: #12251d;
  --muted: #5d6f68;
  --line: #e4efe9;
  --bg-soft: #f4faf7;
  --white: #ffffff;
  --shadow-sm: 0 .25rem .9rem rgba(13, 90, 64, .08);
  --shadow: 0 .9rem 2.2rem rgba(13, 90, 64, .12);
  --shadow-lg: 0 1.4rem 3.4rem rgba(13, 90, 64, .18);
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--muted);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; }

section { position: relative; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Utilities ---------- */
.text-brand { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.bg-soft { background: var(--bg-soft); }
.bg-brand-deep { background: var(--brand-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .6rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-pad { padding: 5.5rem 0; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .9rem; }
.section-lead { max-width: 46rem; margin: 0 auto 3rem; }

.btn {
  border-radius: .65rem;
  padding: .72rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s ease;
}
.btn-brand {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  box-shadow: 0 .5rem 1.2rem rgba(10, 160, 110, .28);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-brand {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light-outline {
  border: 1.5px solid rgba(255,255,255,.65);
  color: #fff;
  background: transparent;
}
.btn-light-outline:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-accent {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--ink);
  box-shadow: 0 .5rem 1.2rem rgba(242, 179, 61, .35);
}
.btn-accent:hover { background: #e5a52b; border-color: #e5a52b; color: var(--ink); transform: translateY(-2px); }

.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-body { padding: 1.5rem; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: .9rem;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Navbar ---------- */
.site-nav {
  padding: 1rem 0;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.22rem;
  color: #fff;
}
.site-nav .navbar-brand .brand-mark { color: var(--accent); }
.site-nav .nav-link {
  color: rgba(255,255,255,.92);
  font-weight: 500;
  font-size: .95rem;
  margin: 0 .45rem;
  position: relative;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .45rem; right: .45rem; bottom: .25rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-cta { margin-left: .6rem; }

/* solid (scrolled / inner pages) */
.site-nav.scrolled, .site-nav.nav-solid {
  background: rgba(255,255,255,.97);
  box-shadow: 0 .35rem 1.2rem rgba(13, 90, 64, .1);
  padding: .55rem 0;
  backdrop-filter: blur(8px);
}
.site-nav.scrolled .navbar-brand, .site-nav.nav-solid .navbar-brand { color: var(--ink); }
.site-nav.scrolled .nav-link, .site-nav.nav-solid .nav-link { color: var(--muted); }
.site-nav.scrolled .nav-link:hover, .site-nav.scrolled .nav-link.active,
.site-nav.nav-solid .nav-link:hover, .site-nav.nav-solid .nav-link.active { color: var(--brand); }

.navbar-toggler { border: 0; box-shadow: none !important; }
.navbar-toggler .toggler-bar {
  display: block; width: 1.5rem; height: 2px; margin: 5px 0;
  background: #fff; border-radius: 2px; transition: background .3s;
}
.site-nav.scrolled .navbar-toggler .toggler-bar,
.site-nav.nav-solid .navbar-toggler .toggler-bar { background: var(--ink); }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    margin-top: .8rem;
    box-shadow: var(--shadow);
  }
  .site-nav .nav-link { color: var(--muted); }
  .site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); }
  .site-nav .navbar-toggler .toggler-bar { background: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(5, 48, 36, .92) 20%, rgba(8, 92, 66, .72) 55%, rgba(8, 92, 66, .45) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
  padding: 8.5rem 0 6rem;
  color: #fff;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.hero h1 .highlight { color: var(--accent); }
.hero p.lead { color: rgba(255,255,255,.88); max-width: 38rem; font-size: 1.06rem; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.hero .hero-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hero .hero-points li { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 500; }
.hero .hero-points svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-2));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -4rem;
  position: relative;
  z-index: 5;
}
.stat-box { padding: 1.6rem 1rem; text-align: center; color: #fff; }
.stat-box .num { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stat-box .label { font-size: .85rem; color: rgba(255,255,255,.85); }

/* ---------- Section headers ---------- */
.split-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 2.6rem; }
.split-header .section-title { margin-bottom: 0; }

/* ---------- About on home ---------- */
.about-media { position: relative; }
.about-media .main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.about-media .exp-card {
  position: absolute;
  bottom: -1.4rem;
  right: -1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-media .exp-card .num { font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.about-media .exp-card .txt { font-size: .82rem; opacity: .9; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .75rem; color: var(--ink); font-weight: 500; }
.check-list svg { color: var(--brand); flex-shrink: 0; margin-top: .2rem; }

/* ---------- Feature cards (Why choose us) ---------- */
.feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .icon-badge { width: 3.6rem; height: 3.6rem; border-radius: 1rem; font-size: 1.35rem; }
.feature-card h4 { font-size: 1.08rem; margin: 1.1rem 0 .5rem; }

/* ---------- Service cards ---------- */
.service-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card .card-img-wrap { overflow: hidden; height: 215px; }
.service-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .card-img-wrap img { transform: scale(1.07); }
.service-card .card-body { display: flex; flex-direction: column; flex: 1; }
.service-card h5 { font-size: 1.08rem; margin-bottom: .6rem; }
.service-card p { font-size: .92rem; margin-bottom: 1.2rem; }
.service-card .card-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials ---------- */
.t-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.t-card .quote-mark {
  font-size: 3.4rem;
  line-height: 1;
  color: var(--brand-soft);
  font-family: Georgia, serif;
  position: absolute;
  top: .6rem; right: 1.2rem;
}
.t-card .stars { color: var(--accent); font-size: .95rem; letter-spacing: 2px; }
.t-card p { font-size: .95rem; font-style: italic; margin: .9rem 0 1.4rem; }
.t-person { display: flex; align-items: center; gap: .9rem; }
.t-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-soft); }
.t-person .name { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.t-person .role { font-size: .82rem; color: var(--muted); }

/* ---------- Blog cards ---------- */
.blog-card {
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-card .thumb { height: 205px; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .thumb img { transform: scale(1.07); }
.blog-card .card-body { display: flex; flex-direction: column; flex: 1; }
.blog-card .date { font-size: .8rem; color: var(--brand); font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.blog-card h5 { font-size: 1.06rem; margin: .6rem 0; }
.blog-card p { font-size: .92rem; }
.blog-card .read-more { margin-top: auto; font-weight: 600; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 52rem; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--line);
  border-radius: .9rem !important;
  overflow: hidden;
  margin-bottom: .9rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.accordion-button {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  padding: 1.15rem 1.35rem;
  background: #fff;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.accordion-button::after { filter: hue-rotate(90deg) saturate(2); }
.accordion-body { color: var(--muted); font-size: .95rem; padding: 1.1rem 1.35rem 1.35rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(5, 48, 36, .93) 25%, rgba(8, 92, 66, .78) 100%),
    url("../img/cta-bg.jpg") center / cover no-repeat;
  padding: 4rem 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .9rem; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 42rem; }
.cta-banner .btn { margin-top: 1.4rem; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  padding: 10.5rem 0 5rem;
  background:
    linear-gradient(115deg, rgba(5, 48, 36, .92) 25%, rgba(8, 92, 66, .72) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: .6rem; }
.page-banner .crumb { color: rgba(255,255,255,.8); font-size: .92rem; }
.page-banner .crumb a { color: var(--accent); }

/* ---------- Contact ---------- */
.info-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card .icon-badge { width: 3.6rem; height: 3.6rem; border-radius: 50%; margin: 0 auto .9rem; }
.info-card h5 { font-size: 1rem; margin-bottom: .4rem; }
.info-card p { font-size: .9rem; margin: 0; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: .65rem;
  padding: .7rem .95rem;
  font-size: .95rem;
  color: var(--ink);
  background-color: #fbfefd;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .22rem rgba(10, 160, 110, .14);
}
.form-feedback { display: none; }
.form-feedback.show { display: flex; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
  background: var(--brand-soft);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Newsletter ---------- */
.newsletter-panel {
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.newsletter-panel.bg-tint { background: var(--brand-soft); border-color: #d3efe3; }
.newsletter-panel .icon-badge { width: 3.8rem; height: 3.8rem; border-radius: 50%; margin-bottom: 1.1rem; }
.benefit-item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .85rem; }
.benefit-item svg { color: var(--brand); flex-shrink: 0; margin-top: .25rem; }
.benefit-item span { font-size: .95rem; color: var(--ink); font-weight: 500; }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 54rem; margin: 0 auto; }
.legal-wrap h2 { font-size: 1.35rem; margin: 2.4rem 0 .8rem; }
.legal-wrap h3 { font-size: 1.12rem; margin: 1.8rem 0 .6rem; }
.legal-wrap p, .legal-wrap li { font-size: .96rem; }
.legal-wrap ul { padding-left: 1.2rem; }

/* ---------- Team ---------- */
.team-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 4px solid var(--brand-soft); margin-bottom: 1rem; }
.team-card h5 { font-size: 1.02rem; margin-bottom: .15rem; }
.team-card .role { font-size: .84rem; color: var(--brand); font-weight: 600; }

/* ---------- Modal ---------- */
.modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.modal-header { background: var(--brand-deep); color: #fff; border: 0; padding: 1.4rem 1.7rem; }
.modal-header .btn-close { filter: invert(1); }
.modal-title { color: #fff; font-size: 1.15rem; }
.modal-body { padding: 1.8rem 1.7rem; }
.modal-body h6 { margin-top: 1.4rem; }
.modal-body img.article-hero { width: 100%; border-radius: .9rem; margin-bottom: 1.2rem; max-height: 300px; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.78); }
.site-footer h5 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .7rem;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 2.2rem; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.site-footer .f-brand { font-weight: 700; color: #fff; font-size: 1.25rem; display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.site-footer .f-links { list-style: none; padding: 0; margin: 0; }
.site-footer .f-links li { margin-bottom: .55rem; }
.site-footer .f-links a { color: rgba(255,255,255,.78); font-size: .93rem; }
.site-footer .f-links a:hover { color: var(--accent); padding-left: 4px; }
.site-footer .f-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .92rem; }
.site-footer .f-contact svg { color: var(--accent); flex-shrink: 0; margin-top: .2rem; }
.social-links { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-links a {
  width: 2.4rem; height: 2.4rem;
  border-radius: .6rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.social-links a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.footer-bottom a { color: rgba(255,255,255,.78); }
.footer-bottom a:hover { color: var(--accent); }

.back-to-top {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 2.9rem; height: 2.9rem;
  border-radius: .75rem;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-dark); color: #fff; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero { min-height: 78vh; padding-top: 7.5rem; }
  .section-pad { padding: 4rem 0; }
  .stats-bar { margin-top: -3rem; }
  .about-media .exp-card { right: 1rem; }
}
@media (max-width: 575.98px) {
  .cta-banner { padding: 3rem 1.5rem; }
  .form-card, .newsletter-panel { padding: 1.6rem 1.3rem; }
}


.newsletter-container {
    background: #ffffff;
    padding: 30px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


input[type="text"],
input[type="email"],
input[type="date"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 8px;
}

button {
    width: 100%;
    padding: 10px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #1a252f;
}

.success-message {
    display: none;
    margin-top: 15px;
    color: green;
    text-align: center;
    font-weight: bold;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}