/* 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,
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.7;
  background: var(--color-accent);
  color: var(--color-primary);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color .18s cubic-bezier(.77,0,.18,1);
}
a:hover, a:focus {
  color: #00d6a5;
}
ul li {
  list-style: disc inside;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  border: 1px solid #dbe3ea;
  text-align: left;
}

:root {
  --color-primary: #193549;
  --color-secondary: #28A474;
  --color-accent: #EFF4F6;
  --color-yellow: #FFE156;
  --color-pink: #FF67A4;
  --color-orange: #FF9933;
  --color-blue: #3CB6F9;
  --color-white: #fff;
  --radius-card: 20px;
  --radius-btn: 25px;
  --shadow-card: 0 2px 18px rgba(40,164,116,0.12);
  --shadow-strong: 0 6px 24px 0 rgba(40,50,120,0.12);
  --font-display: 'Oswald', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* LOAD GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: var(--font-body);
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 16px;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 1px;
  margin-bottom: 18px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  line-height: 1.1;
  text-shadow: 2px 8px 24px rgba(40,164,116,0.06);
}
h2 {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

p, ul, ol, li, table {
  font-size: 1rem;
  color: var(--color-primary);
}
strong {
  color: var(--color-secondary);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

ul {
  margin-left: 22px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* HERO SECTION */
.hero {
  padding: 64px 0 48px 0;
  background: linear-gradient(90deg, #EFF4F6 90%, #FF9933 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  animation: heroPop 1.3s .15s cubic-bezier(.68,.05,.66,1.1);
}
@keyframes heroPop { 
  0% { opacity: 0; transform: scale(.96) translateY(40px); } 
  80% { opacity: 1; transform: scale(1.01) translateY(-4px);} 
  100% { opacity: 1; transform: scale(1) translateY(0);} 
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}

.cta.primary {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.12rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 13px 36px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px 0 rgba(40,164,116,0.16);
  margin-top: 12px;
  transition: background 0.18s cubic-bezier(.88,.03,.18,.94), transform .18s cubic-bezier(.66,1.19,.33,1);
  outline: none;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}
.cta.primary:hover, .cta.primary:focus {
  background: #169563;
  transform: translateY(-2px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 12px 28px 0 rgba(255,103,164,0.18);
}

/* NAVIGATION */
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(25,53,73,0.04);
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 16px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: .7px;
  position: relative;
  padding-bottom: 2px;
}
nav a:after {
  content: '';
  display: block;
  height: 2.6px;
  width: 0%;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: width .22s cubic-bezier(.5,1,.2,1);
  position: absolute;
  left: 0;
  bottom: -2px;
}
nav a:hover:after, nav a:focus:after {
  width: 60%;
}

/* HIDE MOBILE MENU BUTTON ON DESKTOP */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--color-accent);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,0,.29,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 36px 22px 24px 22px;
  box-shadow: -3px 0 18px 0 rgba(25,53,73,0.10);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.3rem;
  font-family: var(--font-display);
  cursor: pointer;
  align-self: flex-end;
  transition: color .15s cubic-bezier(.5,1,.5,1);
  margin-bottom: 18px;
  z-index: 10;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 12px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  border-radius: 12px;
  transition: background .16s cubic-bezier(.60,.13,.34,1), color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-yellow);
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

/* Show menu on mobile */
@media (max-width: 1020px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: var(--color-yellow);
    border: none;
    font-size: 2rem;
    height: 44px;
    width: 44px;
    border-radius: 44px;
    color: var(--color-primary);
    cursor: pointer;
    transition: background .2s;
    z-index: 100;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--color-pink);
    color: #fff;
  }
}

/* CONTENT FLEX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  justify-content: space-between;
}
.feature {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 20px 24px 20px;
  min-width: 220px;
  flex: 1 1 240px;
  min-height: 285px;
  position: relative;
  margin-bottom: 0;
  animation: cardPop .9s cubic-bezier(.5,0,.12,1);
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature img {
  height: 56px;
  margin-bottom: 4px;
}
.feature:hover, .feature:focus-within {
  box-shadow: var(--shadow-strong);
  transform: scale(1.03) rotate(-2deg) translateY(-3px);
  z-index: 2;
}
@keyframes cardPop {
  0% { opacity: 0; transform: scale(.9) translateY(45px); }
  90% { opacity: 1; transform: scale(1.04) translateY(-8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* FLEXBOX CONTAINERS (MANDATORY NAMES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.19s;
  position: relative;
  min-width: 220px;
  flex: 1 1 260px;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-strong);
  transform: scale(1.04) translateY(-2px) rotate(1deg);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 20px 24px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  min-width: 230px;
  margin-bottom: 20px;
  border-left: 7px solid var(--color-yellow);
  position: relative;
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-strong);
  transform: scale(1.03) rotate(1.2deg);
}
.testimonial-card p {
  font-size: 1.09rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .8px;
}
.testimonials .testimonial-list,
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
  width: 100%;
}
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0;
}
.stars img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 3px 2px rgba(255,153,51,0.04));
  transform: rotate(-4deg);
  margin-right: 2px;
}

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

/* CTA SECTIONS */
.section.cta, section.cta {
  padding: 48px 20px;
  background: var(--color-pink);
  color: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: left;
  margin-bottom: 40px;
  animation: ctaPop .95s .2s cubic-bezier(.37,1.44,.32,1.01);
}
.section.cta h2, section.cta h2 {
  color: var(--color-white);
  text-shadow: none;
}
@keyframes ctaPop {
  0% { opacity: 0; transform: scale(.95) translateY(40px) ; }
  80% { opacity: 1; transform: scale(1.01) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.section.cta .cta.primary, section.cta .cta.primary {
  background: #fff;
  color: var(--color-pink);
  box-shadow: 0 8px 30px 0 rgba(255,103,164,0.20);
}
.section.cta .cta.primary:hover,
section.cta .cta.primary:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
}
.section.cta p, section.cta p {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.07rem;
}

/* TABLES */
table th {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
table tr:nth-child(even) td {
  background: #f1fbf6;
}
table tr:nth-child(odd) td {
  background: #fff;
}
table td, table th {
  border-radius: 8px;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  padding: 40px 0 28px 0;
  color: #fff;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: var(--color-yellow);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: .93;
  transition: color .16s, opacity .13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-pink);
  opacity: 1;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.footer-contact img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}
.footer-contact p {
  font-size: 1rem;
  color: #fff;
  opacity: .92;
}
.footer-contact a {
  color: var(--color-pink);
  font-weight: 600;
  text-decoration: underline;
}
.footer-contact a:hover { color: var(--color-yellow); }
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  background: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin-left: 0;
  box-shadow: 0 2px 8px rgba(255,103,164,0.09);
  transition: background .19s, transform .15s;
}
.footer-social a:hover {
  background: var(--color-pink);
  transform: scale(1.13) rotate(5deg);
}
.footer-social img {
  height: 22px;
  width: 22px;
  filter: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right:0; bottom: 0;
  z-index: 1400;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 84px;
  background: var(--color-primary);
  color: #fff;
  padding: 24px 16px;
  box-shadow: 0 -1px 24px rgba(25,53,73,.18);
  font-family: var(--font-body);
  font-size: 1rem;
  gap: 28px;
  transition: transform .36s cubic-bezier(.57,.06,.29,.96), opacity .22s;
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-left: 18px;
}
.cookie-btn {
  background: var(--color-yellow);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  padding: 8px 32px;
  border-radius: 20px;
  margin: 0 2px;
  cursor: pointer;
  transition: background .15s, color .16s, transform .13s;
  font-weight: 700;
}
.cookie-btn.reject {
  background: var(--color-pink);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-blue);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top:0; right:0; bottom:0;
  z-index: 1500;
  background: rgba(25,53,73,0.69);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s cubic-bezier(.68,0,.46,1.06);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-dialog {
  background: #fff;
  color: var(--color-primary);
  padding: 38px 38px 26px 38px;
  border-radius: var(--radius-card);
  min-width: 320px;
  box-shadow: 0 6px 36px 0 rgba(25,53,73,0.14);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modalpop .4s cubic-bezier(.58,.12,.51,1.16);
}
@keyframes modalpop {
  0% { transform: scale(.86) translateY(120px); opacity:0 }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 6px; right: 14px;
  background: none;
  border: none;
  color: var(--color-pink);
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: var(--color-secondary);
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 43px;
  height: 24px;
  border-radius: 13px;
  background: #d6d6d6;
  position: relative;
  outline: 0;
  transition: background .17s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left .19s cubic-bezier(.57,.13,.41,.93);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 22px;
}
.cookie-modal .cookie-toggle[disabled] {
  background: #b7dece;
}

/* TABLET & MOBILE RESPONSIVE LAYOUTS */
@media (max-width: 900px) {
  .container { max-width: 98%; }
  .hero { padding: 40px 0 24px 0; min-height: 220px; }
  .feature-grid {
    gap: 20px;
    justify-content: flex-start;
  }
  .card-container, .content-grid {
    gap: 16px;
  }
  .footer-contact { flex-direction: column; gap: 10px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 32px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .main, .section, section, .cta {
    padding: 24px 8px 24px 8px;
    margin-bottom: 32px;
  }
  .feature-grid, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-list, .testimonial-slider {
    align-items: stretch;
  }
  .hero { padding: 24px 0 10px 0; min-height: 120px; }
  header .container {
    padding: 7px 0;
    gap: 7px;
  }
  .section.cta, section.cta { padding: 26px 8px; }
  .footer-contact img { width: 30px; height: 30px; margin-right: 7px; }
}
@media (max-width: 500px) {
  .container { padding: 0 3px; }
  .hero .content-wrapper { gap: 8px; }
  .feature, .card { padding: 14px 8px 15px 8px; min-width: 0; }
  .footer-menu, .footer-contact, .footer-social { gap: 8px; }
  .footer-contact p, .footer-menu a { font-size: 0.97rem; }
}

/* PLAYFUL ANIMATIONS */
.feature img, .footer-social img, .stars img {
  transition: transform .18s cubic-bezier(.9,.39,.35,1.45);
}
.feature:hover img, .footer-social a:hover img, .stars img:hover {
  transform: scale(1.16) rotate(-6deg);
}
.cta.primary:active {
  transform: scale(0.98) translateY(1.5px);
}

/* COLORFUL SEPARATOR LINES & VISUALS */
hr {
  border: none;
  height: 5px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-pink) 70%);
  border-radius: 3px;
  margin: 28px 0;
}

/* FOCUS & ACCESSIBILITY */
a:focus, .cta.primary:focus, button:focus, input:focus {
  outline: 2.6px dashed var(--color-secondary);
  outline-offset: 2px;
}

/* OVERRIDES FOR CLASS-NAMED SPACING */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }

/* Ensure no overlapping elements and correct spacing everywhere */
.section, .card, .testimonial-card, .feature, .content-wrapper, .feature-item, .text-image-section, .card-container, .content-grid {
  margin-bottom: 0;
}

/* Z-INDEX FOR LAYERS */
header { z-index: 98; position: sticky; top:0; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 1400; }
.cookie-modal { z-index: 1500; }

/* End of playful_dynamic energetic style for Frost Forest Fitness */
