/* =========================
   GLIMARA FITNESS CSS RESET
   ========================= */
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, 
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.5;
  background: #F8F9FA;
  color: #21293C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
ul, ol {
  padding-left: 24px;
  margin: 16px 0;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #56B7A8;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
  font-family: inherit;
}
a:hover, a:focus {
  color: #21293C;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #21293C;
}
h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p { font-size: 1rem; margin-bottom: 14px; color: #333849; }
strong, b { font-weight: 700; color: #21293C; }
section {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 3px 24px 0 rgba(33,41,60,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =========================
   GEOMETRIC STRUCTURE
   ========================= */
.container {
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  max-width: 1240px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  gap: 12px;
  max-width: 680px;
}
.feature-grid, .testimonial-slider, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .feature-item, .testimonial-slider > div, .card {
  background: #F5FAF8;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(86, 183, 168, 0.08);
  padding: 28px 22px;
  flex: 1 1 265px;
  min-width: 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 2.5px solid #e5ecea;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 5px 32px 0 rgba(33,41,60,0.09);
  transform: translateY(-2px) scale(1.02);
  z-index: 1;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/* ===============
   HEADER & NAV
   =============== */
header {
  background: #fff;
  border-bottom: 2.5px solid #E5ECEA;
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;
  min-height: 68px;
}
header .container {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding: 0 16px;
  height: 72px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #21293C;
  padding: 10px 4px;
  border-radius: 9px;
  transition: background 0.18s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #56B7A8;
  background: #EEF5F3;
}
.cta-primary {
  background: #56B7A8;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 9px;
  padding: 11px 26px;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  outline: none;
  transition: background 0.20s, box-shadow 0.14s, color 0.18s, transform 0.20s;
  box-shadow: 0 4px 14px 0 rgba(86, 183, 168, 0.11);
  border: 2px solid transparent;
  margin-left: 16px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #21293C;
  color: #56B7A8 !important;
  border-color: #56B7A8;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 30px 0 rgba(86, 183, 168, 0.18);
}
.mobile-menu-toggle {
  background: #56B7A8;
  color: #fff;
  border-radius: 10px;
  border: none;
  padding: 9px 18px;
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  margin-left: 18px;
  transition: background 0.18s, transform 0.16s;
  z-index: 2102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #21293C;
  color: #56B7A8;
  transform: scale(1.08) rotate(-2deg);
}

/* ================
   MOBILE NAV MENU
   ================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,41,60,0.95);
  z-index: 5010;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(0.88,0.07,0.24,1.12);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  padding: 22px 24px 12px 0;
  cursor: pointer;
  z-index: 9999;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #56B7A8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 42px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  padding: 13px 8px;
  border-radius: 9px;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #56B7A8;
  color: #21293C;
}

/* ================
   HERO & SECTIONS
   ================ */
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  header .container {
    padding: 0 4px;
    height: 58px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section {
    margin-bottom: 42px;
    padding: 24px 5px;
    border-radius: 17px;
  }
  .feature-grid, .testimonial-slider, .card-container, .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

/* STRUCTURED   */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(33, 41, 60, 0.09);
  margin-bottom: 20px;
  padding: 26px 18px;
  min-width: 230px;
  max-width: 350px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ================
   TESTIMONIALS
   ================ */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: #21293C;
  border-radius: 20px;
  box-shadow: 0 3px 20px 0 rgba(33,41,60,0.11);
  border: 2px solid #e7ecef;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 22px 18px 22px;
  min-width: 240px;
  max-width: 350px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.14s;
}
.testimonial-card .stars {
  color: #56B7A8;
  font-size: 1.16rem;
  letter-spacing: 1.6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 2px;
  font-weight: 700;
}
.testimonial-card p {
  color: #1d2235;
  margin-bottom: 7px;
}
.testimonial-card .author {
  font-size: 0.98rem;
  color: #4A515C;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0.008em;
}
@media (max-width: 768px) {
  .testimonial-slider { gap: 16px; }
  .testimonial-card { max-width: 99vw; }
}

/* ==============
   FOOTER
   ============== */
footer {
  background: #21293C;
  color: #fff;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 12px;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.footer-col {
  flex: 1 1 190px;
  min-width: 175px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-col img {
  max-width: 140px;
  margin-bottom: 11px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #C9F2EC;
  font-weight: 600;
  padding: 6px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #56B7A8;
  color: #21293C;
}
.contact-details p {
  color: #edf8f6;
  background-color: #1d2235;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 1.5px 5px rgba(86, 183, 168, 0.19));
  transition: filter 0.19s, transform 0.16s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: drop-shadow(0 2px 10px #56B7A8);
  transform: scale(1.13);
}
.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 0 0 0;
  font-size: 0.96rem;
}
.legal-links small {
  color: #b5c1ca;
  letter-spacing: 0.03em;
}
@media (max-width: 980px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===================
   GEOMETRY DETAILS
   =================== */
section, .feature-grid > div, .testimonial-card, .card {
  border-radius: 20px;
  /* Use geometric shape: optionally add polygon clip for visual accent on hero/cta */
  position: relative;
}
section:before {
  content: "";
  display: block;
  position: absolute;
  right: 22px; top: 19px;
  width: 42px; height: 42px;
  background: #56B7A8;
  opacity: 0.055;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 0;
}
section > .container > * {
  position: relative;
  z-index: 1;
}

/* Visual hierarchy: headings + structured accent shapes */
h1, h2, h3 { text-shadow: 0 1px 0 #f8f9fa; }

/* ===================
   BUTTONS
   =================== */
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 9px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, transform 0.19s, box-shadow 0.14s;
}
button:active {
  transform: scale(0.97);
}

/* Newsletter Signup block */
.newsletter-signup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

/* ===================
   CARDS & FEATURE ITEMS
   =================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  min-width: 200px;
}

/* ==============
   RESPONSIVE
   ==============
*/
@media (max-width: 500px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1.01rem; }
  .feature-grid > div, .testimonial-card, .card {
    min-width: 95vw;
    max-width: 99vw;
    padding: 18px 7px;
  }
  .footer-col { min-width: 140px; }
  .social-links a img { width: 28px; height: 28px; }
}

/* ===================
   COOKIE CONSENT BANNER
   =================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 99999;
  background: #21293C;
  color: #fff;
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -6px 40px 0 rgba(33,41,60, 0.09);
  font-size: 1.02rem;
  gap: 22px;
  animation: banner-fadein 0.44s;
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 10px 22px;
  margin: 0 2px;
  border-radius: 8px;
  border: none;
  transition: background 0.18s, color 0.17s, box-shadow 0.13s;
  box-shadow: 0 1.5px 7px 0 rgba(86, 183, 168, 0.08);
}
.cookie-banner .accept {
  background: #56B7A8;
  color: #FFF;
  font-weight: 700;
}
.cookie-banner .accept:hover, 
.cookie-banner .accept:focus{
  background: #fff;
  color: #56B7A8;
  box-shadow: 0 2px 15px 0 #56B7A888;
}
.cookie-banner .reject {
  background: #fff;
  color: #21293C;
  font-weight: 600;
  border: 2px solid #56B7A8;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #21293C;
  color: #56B7A8;
}
.cookie-banner .settings {
  background: #21293C;
  color: #56B7A8;
  border: 2px solid #56B7A8;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #56B7A8;
  color: #fff;
}
@media (max-width: 580px) {
  .cookie-banner {
    font-size: 0.98rem;
    padding: 16px 5px 10px 5px;
    gap: 15px;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
}
@keyframes banner-fadein {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: translateY(0); }
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 120000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,41,60,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.23s cubic-bezier(0.51, 0.94, 0.28, 1.22);
}
.cookie-modal.hide { display: none; }
.cookie-modal .modal-inner {
  background: #fff;
  color: #21293C;
  border-radius: 20px;
  box-shadow: 0 6px 42px 0 rgba(86,183,168,0.23);
  min-width: 310px;
  max-width: 96vw;
  min-height: 220px;
  padding: 34px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px; top: 14px;
  background: transparent;
  font-size: 1.36rem;
  color: #21293C;
  border: none;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #56B7A8;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 600;
  color: #21293C;
  font-size: 1.07rem;
}
.cookie-category input:disabled + label {
  color: #B7BFCF;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 18px;
  margin-top: 7px;
}
.cookie-modal .modal-buttons button {
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
}
.cookie-modal .accept-all {
  background: #56B7A8;
  color: #fff;
}
.cookie-modal .accept-all:hover, .cookie-modal .accept-all:focus {
  background: #21293C;
  color: #56B7A8;
}
.cookie-modal .save-settings {
  background: #fff;
  border: 2px solid #56B7A8;
  color: #56B7A8;
}
.cookie-modal .save-settings:hover, .cookie-modal .save-settings:focus {
  background: #56B7A8;
  color: #fff;
}
.cookie-modal .reject-all {
  background: #fff;
  color: #21293C;
  border: 2px solid #56B7A8;
}
.cookie-modal .reject-all:hover, .cookie-modal .reject-all:focus {
  background: #21293C;
  color: #56B7A8;
}
@keyframes modal-fadein {
  from { opacity: 0; transform: scale(0.75); }
  to { opacity: 1; transform: scale(1); }
}

/* ===================
   MISC/GEOMETRIC
   =================== */
/* Angled font accents for headings: */
h1, h2, h3, .cta-primary, .main-nav a, .footer-menu a, .mobile-nav a, button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-variant: small-caps;
  letter-spacing: 0.04em;
}
section ul, section ol {
  padding-left: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
section li {
  margin-bottom: 7px;
  color: #21293C;
  font-size: 1rem;
}

/* Success/error alert styles (if shown in forms) */
.alert-success {
  background: #E6FAF3;
  color: #158664;
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 14px 22px;
  font-weight: 700;
}
.alert-error {
  background: #FFEFEF;
  color: #992B2B;
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 14px 22px;
  font-weight: 700;
}

/* Geometric lines & accent shapes for style interest */
.section-accent {
  width: 58px;
  height: 8px;
  background: #56B7A8;
  border-radius: 6px;
  margin: 0 0 20px 0;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
}

/* Code disables unwanted grid/column properties - just as a safeguard */
[class*='grid'], [class*='column'] {
  /* Only flex allowed! */
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===============
   SCROLLBAR STYLE
   =============== */
::-webkit-scrollbar {
  width: 11px;
  background: #E5ECEA;
}
::-webkit-scrollbar-thumb {
  background: #bde5db;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #56B7A8;
}

/* ==========
   FOCUS
   ========== */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid #56B7A8;
  outline-offset: 2px;
}

/* ===========
   PRINT
   =========== */
@media print {
  header, nav, footer, .cookie-banner, .cookie-modal { display: none !important; }
  section { page-break-after: always; }
}
