/* ==========================================================================
   Fitness Health Style — Custom Stylesheet
   ========================================================================== */

:root {
  --green-900: #0e3d24;
  --green-800: #125c34;
  --green-700: #177a43;
  --green-600: #1f9d54;
  --green-500: #33b36b;
  --green-light: #e9f7ef;
  --green-lighter: #f4fbf7;
  --accent: #ff7a45;
  --accent-dark: #e8632e;
  --teal: #12b5a5;
  --ink: #16311f;
  --muted: #5d6f63;
  --line: #e3eee6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 61, 36, .10);
  --shadow-lg: 0 22px 55px rgba(14, 61, 36, .16);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; }
img { max-width: 100%; }

.section { padding: 92px 0; }
.section--tint { background: var(--green-lighter); }
.section--green { background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%); color: #fff; }

/* ---------- Section heading ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-light);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--green .section-head .eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.section-head h2 { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.25; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--green .section-head p { color: rgba(255,255,255,.85); }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: 13px 30px;
  font-size: .98rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  border: none;
  box-shadow: 0 8px 22px rgba(23, 122, 67, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 122, 67, .45); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  box-shadow: 0 8px 22px rgba(255, 122, 69, .35);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255, 122, 69, .45); }
.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, .75);
  color: #fff;
  background: transparent;
}
.btn-outline-white:hover { background: #fff; color: var(--green-800); transform: translateY(-3px); }
.btn-ghost {
  border: 2px solid var(--green-600);
  color: var(--green-800);
  background: transparent;
}
.btn-ghost:hover { background: var(--green-600); color: #fff; }

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
  padding: 10px 0;
}
.site-nav.scrolled { box-shadow: 0 6px 24px rgba(14, 61, 36, .10); background: rgba(255,255,255,.97); }
.site-nav .navbar-brand { padding: 0; }
.brand-logo { height: 40px; width: auto; display: block; }
.site-nav .nav-link {
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px !important;
  transition: color .2s, background .2s;
}
.site-nav .nav-link:hover { color: var(--green-700); background: var(--green-light); }
.site-nav .nav-link.active { color: #fff; background: var(--green-700); }
.navbar-toggler { border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; }
.navbar-toggler-icon { filter: invert(25%) sepia(60%) saturate(3000%) hue-rotate(95deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(14, 61, 36, .92) 0%, rgba(18, 92, 52, .78) 45%, rgba(23, 122, 67, .45) 100%),
    url('../img/hero.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: rgba(255, 255, 255, .92); max-width: 620px; margin-bottom: 34px; }
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 500;
  margin-bottom: 26px;
}
.hero-dots {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 69, .25), transparent 65%);
  pointer-events: none;
}

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  padding: 90px 0 80px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(14, 61, 36, .93), rgba(23, 122, 67, .75)),
    url('../img/hero.jpg') center/cover no-repeat;
  text-align: center;
}
.page-banner h1 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 12px; }
.page-banner p { color: rgba(255, 255, 255, .9); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { justify-content: center; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; }

/* ---------- Cards ---------- */
.card-base {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}

/* ---------- About (home) ---------- */
.about-home .row { align-items: center; }
.about-img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.about-img .about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-img .about-badge .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-700);
  display: grid; place-items: center;
}
.about-img { position: relative; }
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}
.check-ico {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  display: grid; place-items: center;
  margin-top: 2px;
}

/* ---------- Why choose us ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-ico {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 122, 67, .3);
}
.feature-card h3 { font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .service-img { overflow: hidden; }
.service-card .service-img img { width: 100%; height: 190px; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-body { padding: 26px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-weight: 700; font-size: 1.18rem; margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.service-link { font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 8px; transition: gap .25s, color .25s; }
.service-link:hover { gap: 13px; color: var(--accent-dark); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: center;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--green-500);
  opacity: .35;
}
.stars { color: #f5b301; letter-spacing: 3px; margin: 8px 0 16px; }
.testimonial-card p { color: var(--ink); font-size: .98rem; margin-bottom: 22px; }
.testimonial-author { display: inline-flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green-light); }
.testimonial-author strong { display: block; font-size: .98rem; }
.testimonial-author span { color: var(--muted); font-size: .85rem; }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card .blog-img img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-card .blog-body { padding: 24px 24px 26px; }
.blog-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-light);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.blog-card h3 { font-weight: 700; font-size: 1.16rem; line-height: 1.4; margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.blog-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .85rem; }
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item.show { box-shadow: var(--shadow); border-color: var(--green-500); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-align: left;
}
.faq-q .faq-ico {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-700);
  display: grid; place-items: center;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.show .faq-q .faq-ico { transform: rotate(45deg); background: var(--green-700); color: #fff; }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: .97rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  padding: 72px 48px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(14, 61, 36, .94), rgba(18, 92, 52, .82)),
    url('../img/cta-bg.jpg') center/cover no-repeat;
}
.cta-banner h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, .92); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(51, 179, 107, .18);
}
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-text { font-size: .82rem; }
.alert-success {
  background: var(--green-light);
  border: 1px solid var(--green-500);
  color: var(--green-900);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-info-card .ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green-700);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.contact-info-card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.contact-info-card p { color: var(--muted); font-size: .95rem; margin: 0; word-break: break-word; }
.contact-info-card a { color: var(--green-700); font-weight: 500; }
.contact-info-card a:hover { color: var(--accent-dark); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
  background:
    linear-gradient(120deg, rgba(14,61,36,.85), rgba(23,122,67,.7)),
    url('../img/contact-bg.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 36px;
}
.map-frame .map-info {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 14px;
  padding: 20px 26px;
  box-shadow: var(--shadow);
}
.map-frame .map-info strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }

/* ---------- Subscribe / Unsubscribe ---------- */
.newsletter-hero {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  padding: 76px 48px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(14, 61, 36, .94), rgba(23, 122, 67, .8)),
    url('../img/hero.jpg') center/cover no-repeat;
}
.newsletter-hero h1 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.newsletter-hero p { color: rgba(255, 255, 255, .92); max-width: 560px; margin: 0 auto; }
.subscribe-benefits {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-light);
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 26px;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, .78);
  padding: 72px 0 0;
}
.site-footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; letter-spacing: .02em; }
.footer-brand { margin-bottom: 18px; }
.footer-brand img { height: 42px; width: auto; }
.site-footer p { font-size: .93rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, .75); font-size: .93rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--green-500); padding-left: 6px; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.social-links a:hover { background: var(--green-600); transform: translateY(-4px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 54px;
  padding: 22px 0;
  text-align: center;
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Utilities / animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.text-green { color: var(--green-700) !important; }
.divider-ico {
  width: 64px; height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-500), var(--green-800));
  margin: 0 auto 10px;
}

/* Back to top */
#backToTop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .35s ease;
  z-index: 900;
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { background: var(--green-800); transform: translateY(-4px); }

/* Legal pages */
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.legal-card h2 { font-size: 1.3rem; font-weight: 700; margin: 30px 0 12px; color: var(--green-800); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 10px; }
.legal-card p, .legal-card li { color: var(--muted); font-size: .96rem; }
.legal-card ul { padding-left: 22px; }
.legal-card li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .site-nav { padding: 8px 0; }
  .navbar-toggler { margin-left: auto; }
  .site-nav .navbar-collapse { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); margin-top: 10px; }
  .site-nav .nav-link { display: block; padding: 12px 16px !important; }
  .site-nav .navbar-nav .btn { margin: 6px 0 0; }
  .site-nav .navbar-nav .nav-item.ms-lg-2 { margin-left: 0 !important; }
}
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .hero { min-height: 560px; }
  .cta-banner, .newsletter-hero { padding: 52px 26px; }
  .form-card { padding: 28px 22px; }
  .map-frame { padding: 24px; min-height: 280px; }
}
