/* ==========================================================================
   Nutri and Wellness (nutriandwellness.com) - Main Stylesheet
   ========================================================================== */

:root {
  --nw-forest: #14362b;
  --nw-forest-mid: #1e4d3e;
  --nw-emerald: #2c7a5f;
  --nw-emerald-light: #e6f2ed;
  --nw-sage: #dcebe4;
  --nw-amber: #d47442;
  --nw-amber-hover: #bd5f2e;
  --nw-amber-soft: #fdf1ea;
  --nw-cream: #faf8f4;
  --nw-sand: #f2ede4;
  --nw-charcoal: #1e2925;
  --nw-slate: #4f625b;
  --nw-muted: #6c7e77;
  --nw-border: #dfe8e3;
  --nw-white: #ffffff;
  --nw-shadow-sm: 0 6px 20px rgba(20, 54, 43, 0.06);
  --nw-shadow-md: 0 14px 36px rgba(20, 54, 43, 0.10);
  --nw-shadow-lg: 0 24px 54px rgba(20, 54, 43, 0.14);
  --nw-radius-sm: 0.65rem;
  --nw-radius-md: 1.1rem;
  --nw-radius-lg: 1.6rem;
  --nw-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  scroll-behavior: smooth;
}

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

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

p {
  color: var(--nw-slate);
}

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

a:hover {
  color: var(--nw-forest);
}

/* ==========================================================================
   Top Bar & Navigation
   ========================================================================== */
.nw-topbar {
  background-color: var(--nw-forest);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nw-topbar a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.nw-topbar a:hover {
  color: #f5b995;
}

.nw-topbar-divider {
  display: inline-block;
  margin: 0 0.75rem;
  opacity: 0.35;
}

.nw-navbar {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(20, 54, 43, 0.06);
  padding: 0.95rem 0;
  transition: var(--nw-transition);
}

/* Strictly One-Line Uniform Style Logo */
.nw-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap !important;
  font-family: Georgia, 'Palatino Linotype', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--nw-forest) !important;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none !important;
}

.nw-brand-logo .nw-logo-text {
  white-space: nowrap !important;
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  font-style: normal;
  letter-spacing: inherit;
}

.nw-brand-logo .nw-logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--nw-emerald-light);
  color: var(--nw-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nw-brand-logo-footer {
  color: var(--nw-white) !important;
}

.nw-brand-logo-footer .nw-logo-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #a9e5cb;
}

.nw-navbar .nav-link {
  color: var(--nw-charcoal);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: 2rem;
  transition: var(--nw-transition);
}

.nw-navbar .nav-link:hover,
.nw-navbar .nav-link.active {
  color: var(--nw-emerald);
  background-color: var(--nw-emerald-light);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn-nw-primary {
  background: linear-gradient(135deg, var(--nw-emerald), var(--nw-forest-mid));
  color: var(--nw-white) !important;
  font-weight: 600;
  padding: 0.78rem 1.75rem;
  border-radius: 3rem;
  border: none;
  box-shadow: 0 8px 20px rgba(44, 122, 95, 0.25);
  transition: var(--nw-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-nw-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 54, 43, 0.34);
  background: linear-gradient(135deg, var(--nw-forest-mid), var(--nw-forest));
  color: var(--nw-white) !important;
}

.btn-nw-amber {
  background: linear-gradient(135deg, var(--nw-amber), var(--nw-amber-hover));
  color: var(--nw-white) !important;
  font-weight: 600;
  padding: 0.78rem 1.75rem;
  border-radius: 3rem;
  border: none;
  box-shadow: 0 8px 20px rgba(212, 116, 66, 0.28);
  transition: var(--nw-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-nw-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 116, 66, 0.38);
  color: var(--nw-white) !important;
}

.btn-nw-outline {
  background: transparent;
  color: var(--nw-forest) !important;
  font-weight: 600;
  padding: 0.75rem 1.65rem;
  border-radius: 3rem;
  border: 2px solid var(--nw-forest);
  transition: var(--nw-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-nw-outline:hover {
  background: var(--nw-forest);
  color: var(--nw-white) !important;
  transform: translateY(-2px);
}

.nw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--nw-emerald-light);
  color: var(--nw-emerald);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.nw-badge-amber {
  background-color: var(--nw-amber-soft);
  color: var(--nw-amber-hover);
}

/* ==========================================================================
   Hero & Page Headers
   ========================================================================== */
.nw-hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background: radial-gradient(circle at top right, #e3f1eb 0%, var(--nw-cream) 55%, var(--nw-sand) 100%);
  overflow: hidden;
}

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

.nw-hero-title {
  font-size: clamp(2.35rem, 4.2vw, 3.6rem);
  margin-bottom: 1.35rem;
  color: var(--nw-forest);
}

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

.nw-hero-img-wrap {
  position: relative;
  border-radius: var(--nw-radius-lg);
  padding: 0.85rem;
  background: var(--nw-white);
  box-shadow: var(--nw-shadow-lg);
}

.nw-hero-img-wrap img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: calc(var(--nw-radius-lg) - 0.35rem);
}

.nw-floating-card {
  position: absolute;
  bottom: 1.8rem;
  left: -1.2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.35rem;
  border-radius: var(--nw-radius-md);
  box-shadow: var(--nw-shadow-md);
  border-left: 4px solid var(--nw-emerald);
  max-width: 280px;
}

.nw-page-header {
  background: linear-gradient(135deg, var(--nw-forest) 0%, var(--nw-forest-mid) 60%, var(--nw-emerald) 100%);
  color: var(--nw-white);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.nw-page-header h1 {
  color: var(--nw-white);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  margin-bottom: 0.85rem;
}

.nw-page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.12rem;
  max-width: 680px;
  margin: 0 auto;
}

.nw-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.nw-breadcrumb a {
  color: #a9e5cb;
  font-weight: 600;
}

.nw-breadcrumb span {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Section Styling
   ========================================================================== */
.nw-section {
  padding: 5rem 0;
}

.nw-section-alt {
  background-color: var(--nw-sand);
}

.nw-section-white {
  background-color: var(--nw-white);
}

.nw-section-header {
  max-width: 700px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.nw-section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  margin-bottom: 1rem;
}

/* ==========================================================================
   About & Feature Cards
   ========================================================================== */
.nw-about-img-box {
  position: relative;
  border-radius: var(--nw-radius-lg);
  overflow: hidden;
  box-shadow: var(--nw-shadow-md);
}

.nw-about-img-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nw-about-img-box:hover img {
  transform: scale(1.03);
}

.nw-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.nw-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  font-weight: 500;
  color: var(--nw-charcoal);
}

.nw-check-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background-color: var(--nw-emerald-light);
  color: var(--nw-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.nw-feature-box {
  background: var(--nw-white);
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-radius-md);
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: var(--nw-shadow-sm);
  transition: var(--nw-transition);
}

.nw-feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--nw-shadow-md);
  border-color: var(--nw-emerald);
}

.nw-feature-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  background: var(--nw-emerald-light);
  color: var(--nw-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

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

.nw-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nw-shadow-lg);
  border-color: rgba(44, 122, 95, 0.4);
}

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

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

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

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

.nw-service-body h3 {
  font-size: 1.32rem;
  margin-bottom: 0.75rem;
  color: var(--nw-forest);
}

.nw-service-body p {
  font-size: 0.96rem;
  color: var(--nw-slate);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

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

.nw-quote-stars {
  color: var(--nw-amber);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.nw-testimonial-text {
  font-style: italic;
  color: var(--nw-charcoal);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

.nw-client-info {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border-top: 1px solid var(--nw-border);
  padding-top: 1.15rem;
}

.nw-client-info img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nw-emerald);
}

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

.nw-blog-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--nw-shadow-lg);
}

.nw-blog-img-wrap {
  position: relative;
  height: 235px;
  overflow: hidden;
}

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

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

.nw-blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(20, 54, 43, 0.88);
  color: var(--nw-white);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
}

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

.nw-blog-meta {
  font-size: 0.84rem;
  color: var(--nw-muted);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.nw-blog-body h3 {
  font-size: 1.32rem;
  margin-bottom: 0.85rem;
}

.nw-blog-body h3 a {
  color: var(--nw-forest);
}

.nw-blog-body h3 a:hover {
  color: var(--nw-emerald);
}

.nw-blog-link {
  font-weight: 700;
  color: var(--nw-emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.nw-blog-link:hover {
  color: var(--nw-amber);
  gap: 0.65rem;
}

/* Blog Post Article Layout */
.nw-article-box {
  background: var(--nw-white);
  border-radius: var(--nw-radius-lg);
  border: 1px solid var(--nw-border);
  padding: 3rem;
  box-shadow: var(--nw-shadow-sm);
}

.nw-article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--nw-radius-md);
  margin-bottom: 2rem;
}

.nw-blockquote {
  background: var(--nw-emerald-light);
  border-left: 5px solid var(--nw-emerald);
  padding: 1.6rem 2rem;
  border-radius: 0 var(--nw-radius-md) var(--nw-radius-md) 0;
  margin: 2rem 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--nw-forest);
}

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

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

.nw-accordion .accordion-button:not(.collapsed) {
  background-color: var(--nw-emerald-light);
  color: var(--nw-forest);
}

.nw-accordion .accordion-body {
  padding: 1.25rem 1.5rem 1.5rem;
  color: var(--nw-slate);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.nw-cta-banner {
  background: linear-gradient(135deg, var(--nw-forest) 0%, var(--nw-forest-mid) 55%, var(--nw-emerald) 100%);
  border-radius: var(--nw-radius-lg);
  padding: 4rem 3rem;
  color: var(--nw-white);
  box-shadow: var(--nw-shadow-lg);
  position: relative;
  overflow: hidden;
}

.nw-cta-banner h2 {
  color: var(--nw-white);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.nw-cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

/* ==========================================================================
   Forms, Contact, Legal & Newsletter Cards
   ========================================================================== */
.nw-form-card {
  background: var(--nw-white);
  border-radius: var(--nw-radius-lg);
  border: 1px solid var(--nw-border);
  padding: 2.75rem;
  box-shadow: var(--nw-shadow-md);
}

.nw-form-control {
  padding: 0.85rem 1.1rem;
  border-radius: var(--nw-radius-sm);
  border: 1px solid #cad8d1;
  background-color: #fcfdfc;
  color: var(--nw-charcoal);
  transition: var(--nw-transition);
}

.nw-form-control:focus {
  border-color: var(--nw-emerald);
  box-shadow: 0 0 0 4px rgba(44, 122, 95, 0.14);
  background-color: var(--nw-white);
}

.nw-contact-info-card {
  background: var(--nw-forest);
  color: var(--nw-white);
  border-radius: var(--nw-radius-lg);
  padding: 2.75rem;
  height: 100%;
  box-shadow: var(--nw-shadow-md);
}

.nw-contact-info-card h3 {
  color: var(--nw-white);
}

.nw-contact-info-card p {
  color: rgba(255, 255, 255, 0.84);
}

.nw-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.nw-contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  color: #a9e5cb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nw-legal-card {
  background: var(--nw-white);
  border-radius: var(--nw-radius-lg);
  border: 1px solid var(--nw-border);
  padding: 3rem;
  box-shadow: var(--nw-shadow-sm);
}

.nw-legal-card h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--nw-emerald-light);
}

.nw-legal-card h2:first-of-type {
  margin-top: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.nw-footer {
  background-color: var(--nw-forest);
  color: rgba(255, 255, 255, 0.84);
  padding: 4.5rem 0 2rem;
}

.nw-footer h5 {
  color: var(--nw-white);
  font-size: 1.15rem;
  margin-bottom: 1.35rem;
}

.nw-footer p {
  color: rgba(255, 255, 255, 0.76);
}

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

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

.nw-footer-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: var(--nw-transition);
}

.nw-footer-links a:hover {
  color: #f5b995;
  padding-left: 4px;
}

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

@media (max-width: 991.98px) {
  .nw-hero {
    padding: 3.5rem 0;
  }
  .nw-hero-img-wrap img {
    height: 360px;
  }
  .nw-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .nw-article-box,
  .nw-legal-card,
  .nw-form-card,
  .nw-contact-info-card {
    padding: 1.85rem;
  }
  .nw-cta-banner {
    padding: 2.5rem 1.75rem;
  }
}
