/* =======================
   CSS RESET & NORMALIZE
   ======================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 16px;
  background: #F0F5F2;
}

body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2D2D2D;
  background: #F0F5F2;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #326B3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #945200;
  outline: none;
}

ul, ol {
  list-style: none;
}

strong, b {
  font-weight: 600;
}

hr {
  border: none;
  border-top: 1px solid #d7e0d7;
  margin: 32px 0;
}

/* =======================
   FONTS
   ======================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;500;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #326B3C;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

p, li, td, th {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #2D2D2D;
  line-height: 1.6;
}
p + p {
  margin-top: 1em;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 10px rgba(50, 107, 60, 0.06), 0 0.5px 2px rgba(50, 107, 60, 0.02);
  padding: 32px 24px;
  margin-bottom: 32px;
}
.text-section ul {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: 24px;
  list-style: disc;
}
.text-section ul li {
  margin-bottom: 8px;
  color: #564735;
}

/* =======================
   HEADER/NAVIGATION
   ======================= */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 0.5px 8px rgba(122, 79, 39, 0.07);
  border-bottom: 1px solid #e7e7e2;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
header img[alt="VitalMentor"], header img[alt="VitalMentor"] {
  height: 44px;
  margin-right: 20px;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #326B3C;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0F5F2;
  color: #945200;
}
.cta-button {
  background: #326B3C;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 11px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-left: 20px;
  box-shadow: 0 1px 8px rgba(50,107,60,.08);
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
  text-align: center;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #945200;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: #F0F5F2;
  color: #326B3C;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 1201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e7e7e2;
  box-shadow: 0 2px 10px 0 rgba(122,79,39,0.13);
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(122,79,39,0.14);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.57,.03,.63,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F0F5F2;
  color: #326B3C;
  border: none;
  font-size: 2.3rem;
  border-radius: 12px;
  padding: 0 12px;
  margin-bottom: 24px;
  cursor: pointer;
  box-shadow: none;
  transition: background .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e7e7e2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #326B3C;
  padding: 13px 8px 13px 0;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.12s, color 0.12s;
  margin-left: 2px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F0F5F2;
  color: #945200;
}

/* ===============
   HERO SECTION
   =============== */
.hero-section {
  background: #fff4e5;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 2px 10px rgba(122,79,39,0.10);
  padding: 64px 0 48px 0;
  margin-bottom: 44px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}
.hero-section .content-wrapper {
  align-items: center;
  gap: 16px;
  text-align: center;
}
.hero-section h1 {
  font-size: 2.6rem;
  color: #945200;
  margin-bottom: 14px;
}
.hero-section p {
  font-size: 1.2rem;
  color: #573d21;
  margin-bottom: 24px;
}

/* ===============
   FEATURES SECTION
   =============== */
.features-section {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 1px 14px .5px rgba(50,107,60,.08);
  margin-bottom: 60px;
  padding: 40px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  background: #FFF9F4;
  border-radius: 18px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 350px;
  box-shadow: 0 3px 12px rgba(244, 202, 156, 0.18);
  padding: 28px 20px 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 8px 28px rgba(122, 79, 39, 0.14);
  transform: translateY(-4px) scale(1.02);
}
.feature img {
  height: 48px;
  width: 48px;
  margin-bottom: 10px;
}
.feature h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #326B3C;
}
.feature p {
  color: #564735;
}

/* =============
   TESTIMONIALS
   ============= */
.testimonials-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 1px rgba(122, 79, 39, 0.10);
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonials-section h2 {
  color: #945200;
  text-align: center;
  margin-bottom: 28px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.testimonial-card {
  background: #FFF9F4;
  color: #2D2D2D;
  border-radius: 16px;
  box-shadow: 0 2px 16px 2px rgba(122, 79, 39, 0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px 18px 20px;
  min-width: 245px;
  max-width: 350px;
  flex: 1 1 260px;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 35px 0 rgba(50,107,60,.12);
  transform: translateY(-4px) scale(1.025);
}
.star-rating {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFA233;
  margin-bottom: 4px;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.testimonial-customer {
  color: #945200;
  font-size: 0.98rem;
  font-weight: 600;
  margin-top: 2px;
}

/* ===============
   CARDS & FAQS
   =============== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(50,107,60,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  transition: box-shadow .17s, transform .14s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(50,107,60,0.14);
  transform: translateY(-2px) scale(1.013);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: column;
}
.faq-item {
  background: #fff4e5;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(244,172,102,0.07);
  padding: 20px 20px 14px 18px;
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: #945200;
}

/* ===============
   CTA SECTION
   =============== */
.cta-section {
  background: #326B3C;
  color: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 44px 0 40px 0;
  text-align: center;
  box-shadow: 0 1px 16px .5px rgba(50,107,60,0.08);
}
.cta-section h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: .01em;
}
.cta-section .cta-button {
  background: #fff;
  color: #326B3C;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(255,255,255,0.12);
  margin-top: 10px;
  border: none;
  transition: background 0.19s, color 0.19s, transform 0.15s;
}
.cta-section .cta-button:hover {
  background: #F0F5F2;
  color: #945200;
}

/* ===============
   TABLE STYLES
   =============== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 16px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(122,79,39,0.07);
  overflow: hidden;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #fff4e5;
  color: #945200;
  font-weight: 700;
}
td {
  color: #2D2D2D;
  border-bottom: 1px solid #f4e7cf;
}
tr:last-child td {
  border-bottom: none;
}

/* ===============
   TEAM BIOS
   =============== */
.team-bios {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.bio {
  background: #fff4e5;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(122,79,39,0.07);
  padding: 22px 16px 12px 16px;
  min-width: 210px;
}
.bio h3 {
  color: #326B3C;
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.certifications {
  margin-top: 14px;
}
.certifications h4 {
  color: #945200;
  font-size: 1.1rem;
}
.certifications ul {
  margin-top: 10px;
}

/* ===============
   FOOTER
   =============== */
footer {
  background: #fff;
  margin-top: 60px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -1.5px 18px 1.5px rgba(50,107,60,0.10);
  padding: 36px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: #7A4F27;
  font-size: 1rem;
  border-radius: 10px;
  padding: 7px 10px 7px 0;
  transition: color 0.18s, background 0.10s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #945200;
  background: #FFF4E5;
}
.footer-logo-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo-social img[alt="VitalMentor"] {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 2px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.social-links a {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 5px;
  background: #fff4e5;
  transition: box-shadow .15s, background .12s;
}
.social-links a:hover {
  background: #f5e4c2;
  box-shadow: 0 1px 10px #ffe3be38;
}
.copyright {
  width: 100%;
  font-size: 0.93rem;
  color: #ba894e;
  padding-top: 16px;
  text-align: center;
}

/* ===============
   COOKIE CONSENT BANNER
   =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3050;
  background: #fff4e5;
  color: #2D2D2D;
  padding: 18px 24px 16px 24px;
  box-shadow: 0 -3px 34px 0 rgba(224,194,123,0.13);
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: cookieBannerIn 0.6s cubic-bezier(.59,.36,.34,.97);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 360px;
  font-size: 1rem;
  color: #564735;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform .15s;
  background: #fff;
  color: #945200;
}
.cookie-btn.accept {
  background: #326B3C;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #945200;
  color: #fff;
}
.cookie-btn.reject {
  background: #FFE3BE;
  color: #945200;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD094;
}
.cookie-btn.settings {
  background: #FFF9F4;
  color: #945200;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F0F5F2;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(80,48,11,0.33);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 38px 0 rgba(122,79,39,0.19);
  min-width: 320px;
  max-width: 96vw;
  padding: 32px 28px 26px 28px;
  color: #2D2D2D;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalIn .6s cubic-bezier(.82,0,.32,1);
}
@keyframes cookieModalIn {
  0% { transform: translateY(60px) scale(.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: #F0F5F2;
  color: #945200;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  cursor: pointer;
  padding: 2px 12px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFE3BE;
}
.cookie-modal h3 {
  color: #326B3C;
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  appearance: none;
  width: 22px;
  height: 22px;
  background: #fff4e5;
  border-radius: 7px;
  border: 2.5px solid #945200;
  margin-right: 6px;
  cursor: pointer;
  position: relative;
  transition: border-color .17s, box-shadow .17s;
}
.cookie-category input[type=checkbox]:checked {
  background: #326B3C;
  border-color: #326B3C;
}
.cookie-category input[type=checkbox]:checked::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  top: 5px;
  left: 5px;
}
.cookie-category label {
  color: #564735;
}
.cookie-category .always-on {
  color: #945200;
  background: #ffe3be;
  padding: 2px 8px;
  border-radius: 7px;
  font-size: 0.93rem;
  margin-left: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
}

/* ===================
   MEDIA QUERIES
   =================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 12px;
  }
  header .container {
    padding: 12px 12px;
  }
  .features-section, .testimonials-section, .cta-section {
    padding-left: 6px; padding-right: 6px;
  }
  .footer-menu {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
  }
  .team-bios {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 820px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
}
@media (max-width: 760px) {
  html {
    font-size: 15px;
  }
  .hero-section .container {
    padding: 0 6px;
    gap: 32px;
  }
  .hero-section h1 { font-size: 2.2rem; }
  .cta-section h2 { font-size: 1.5rem; }
  .team-bios, .feature-grid, .testimonial-list, .card-container, .card-grid, .faq-list, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .bio, .feature, .testimonial-card, .card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
  }
  .footer-menu {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
  .footer-logo-social {
    flex-direction: row;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  .hero-section {
    border-radius: 0 0 19px 19px;
    padding: 46px 0 25px 0;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 4px;
  }
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 460px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 13px 9px 12px 9px;
  }
  .cookie-buttons {
    gap: 9px;
  }
  .cookie-banner-text {
    font-size: 0.99rem;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
  }
  .footer-logo-social {
    gap: 2px;
  }
  .cta-section {
    padding: 28px 2px 28px 2px;
  }
}

/* ==========
   UTILITIES
   ========== */
.mr-1 { margin-right: 8px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* =============
   MISC EFFECTS
   ============= */
.section, .features-section, .testimonials-section, .cta-section, .card, .bio, .faq-item {
  transition: box-shadow .13s, transform .15s;
}

/* HIDE default outline but show it with box-shadow on focus for accessibility */
*:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px #FFE3BE, 0 2px 8px #FFE3BE66;
}
button:focus, a:focus {
  outline: none;
  box-shadow: 0 0 0 3px #FFE3BE;
}

/* END */