/* 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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F7FB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #17306B;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* VARIABLES (with fallbacks) */
:root {
  --primary: #17306B;
  --secondary: #61C2A2;
  --accent: #F4F7FB;
  --danger: #ed4747;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-main: 0 2px 24px 0 rgba(23,48,107,0.09);
  --radius: 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: #17306B;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #17306B;
}
.subheadline, .thank-you-message, .next-steps-info {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #17306B;
  margin-bottom: 24px;
}
.author {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #17306B;
}

strong {
  font-weight: 800;
  color: var(--primary);
}

/* CONTAINER & SECTION */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEX LAYOUTS MANDATORY */
.card-container, .feature-grid, .service-details-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(23,48,107,0.14);
  transform: translateY(-4px) scale(1.025);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 24px 32px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-main);
  border-left: 8px solid var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: var(--shadow-main);
  position: sticky;
  top: 0;
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.12s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus:not(.primary-cta) {
  background: var(--secondary);
  color: #fff;
}
.main-nav img {
  height: 38px;
  margin-right: 10px;
}
.primary-cta {
  background: var(--primary);
  color: #fff!important;
  font-weight: 800;
  border-radius: 18px;
  padding: 10px 26px;
  box-shadow: 0 2px 8px 0 rgba(23,48,107,0.12);
  margin-left: auto;
  letter-spacing: 0.025em;
  transition: background 0.22s, transform 0.12s;
  border: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--secondary);
  color: #17306B!important;
  transform: scale(1.06);
}

/* HERO / CTAS */
.cta-hero, .cta-main, .cta-footer, .cta-service, .cta-return-home, .cta-hero, .cta-main, .cta-footer {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  padding: 14px 34px;
  border-radius: 30px;
  margin-top: 12px;
  box-shadow: 0 1px 12px 0 rgba(23,48,107,0.10);
  transition: background 0.2s, color 0.14s, transform 0.14s;
  border: none;
  letter-spacing: 0.04em;
}
.cta-hero:hover, .cta-main:hover, .cta-footer:hover, .cta-service:hover, .cta-return-home:hover{
  background: var(--primary);
  color: #fff;
  transform: scale(1.04);
}

/* ADDITIONAL BUTTON STYLES */
.cta-service {
  background: var(--primary);
  margin-top: 20px;
  margin-bottom: 8px;
}
.cta-service:hover {
  background: var(--secondary);
  color: #17306B;
}
.cta-return-home {
  background: var(--secondary);
}
.cta-return-home:hover {
  background: var(--primary);
  color: #fff;
}

/* CARD & LISTS */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.12s;
}
.service-card:hover {
  box-shadow: 0 4px 28px 0 rgba(23,48,107,0.13);
  transform: translateY(-3px) scale(1.018);
}
.service-details-grid {
  gap: 24px;
}
.service-details-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid li {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-main);
  padding: 24px 24px 20px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 200px;
  font-weight: 700;
  font-family: var(--font-body);
  color: #17306B;
  font-size: 1.12rem;
}
.feature-grid img {
  width: 36px;
  height: 36px;
}

.service-list, .benefit-list, .product-benefits, .workshop-list, .trainer-profiles, .workshop-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.service-list li, .benefit-list li, .workshop-list li, .trainer-profiles li, .workshop-benefits li, .product-benefits li {
  background: #fff;
  border-radius: 13px;
  padding: 14px 22px;
  box-shadow: 0 1px 10px rgba(23,48,107,0.07);
  font-weight: 700;
  font-size: 1.05rem;
  color: #17306B;
  display: flex;
  align-items: center;
  gap: 10px;
}
.benefit-list img, .product-benefits img {
  width: 28px;
  height: 28px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 12px 0 rgba(23,48,107,0.08);
  padding: 22px 30px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-weight: 600;
  color: #17306B;
}
.contact-info img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.map-address {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(23,48,107,0.07);
  padding: 14px 24px;
  margin-bottom: 16px;
}

.expert-insights, .brand-highlights, .group-motivation {
  background: var(--secondary);
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 22px;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-main);
  border-left: 8px solid var(--secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px 22px 34px;
  min-width: 260px;
  max-width: 480px;
  margin-bottom: 20px;
  color: #17306B;
}
.testimonial-card p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 4px;
  font-family: var(--font-body);
  color: #17306B;
}
.testimonial-card .author {
  font-size: 1.02rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 6px;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
}
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  padding: 32px 0 16px 0;
}
.footer-nav nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.14s;
}
.footer-nav a:hover {
  background: var(--secondary);
  color: #17306B;
}
.footer-nav img {
  height: 37px;
  margin-right: 12px;
}
.footer-nav span {
  color: rgba(255,255,255,0.71);
  font-size: 0.98rem;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 120;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(23,48,107,0.10);
  transition: background 0.2s, color 0.15s, transform 0.10s;
}
.mobile-menu-toggle:active {
  background: var(--primary);
  color: #fff;
  transform: scale(0.96);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.52,1.64,.37,.66);
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  box-shadow: 0 0 0 100vw rgba(23,48,107,0.16);
  opacity: 0.99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 26px 12px 0;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 2.0rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(23,48,107,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: #17306B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 32px 0 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 0 9px 2px;
  border-radius: 8px;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1020px) {
  .main-nav {
    gap: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 7px;
  }
  .feature-grid,
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .service-details-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section, section {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 8px;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-details-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid,
  .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .contact-info {
    padding: 14px 9px;
  }
  .map-address {
    padding: 8px 8px;
  }
  .footer-nav img {
    height: 35px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.38rem;
  }
  .cta-hero, .cta-main, .cta-footer, .cta-service {
    font-size: 1rem;
    padding: 12px 16px;
  }
  .card, .service-card {
    padding: 20px 10px;
  }
  .contact-info {
    padding: 9px 4px;
  }
}

/* =================== ACCESSIBILITY & INTERACTIONS =================== */
a:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

/* MICRO-INTERACTIONS (shadows, hover, transitions included above) */

/* -------------- COOKIE CONSENT BANNER -------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #17306B;
  color: #fff;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 20px 26px 20px;
  box-shadow: 0 -3px 24px 0 rgba(23,48,107,0.13);
  font-family: var(--font-body);
  font-size: 1.08rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s;
}
.cookie-consent-banner.hide {
  transform: translateY(140%);
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-close-btn {
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 21px;
  padding: 9px 24px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.12s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #17306B;
}
.cookie-btn.accept:hover {
  background: #18bc98;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--danger);
  font-weight: 800;
  border: 2px solid #ed4747;
}
.cookie-btn.reject:hover {
  background: #fedede;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #17306B;
}

/* ------------- COOKIE SETTINGS MODAL ------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  right:0;
  bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,48,107,0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  color: #17306B;
  border-radius: 22px;
  padding: 36px 28px 24px 28px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 2px 34px rgba(23,48,107,0.16);
  z-index: 210;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  animation: cookie-modal-in 0.37s cubic-bezier(.44,1.62,.33,.98);
}
@keyframes cookie-modal-in {
  from {transform: scale(0.80) translateY(60px); opacity: 0.15;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.29rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e9e9f0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  margin-left: auto;
  appearance: none;
  width: 44px;
  height: 24px;
  background: #eee;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 21px;
  height: 21px;
  background: #fff;
  box-shadow: 0 1px 3px #0001;
  border-radius: 50%;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left 0.15s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-category .always-on {
  font-size: 1.05em;
  color: #aaa;
  font-weight: 700;
  margin-left: 18px;
}
.cookie-close-btn {
  position: absolute;
  top: 13px;
  right: 17px;
  background: transparent;
  color: #17306B;
  border-radius: 7px;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border: none;
  padding: 0;
  transition: background 0.16s;
}
.cookie-close-btn:hover {
  background: #f2f2f2;
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 22px 5vw 18px 5vw;
    min-width: 210px;
  }
  .cookie-consent-banner {
    padding: 18px 6px 17px 6px;
  }
}

/* ==================== UTILITY ==================== */
.gap-20 {gap: 20px !important;}
.mt-20 {margin-top: 20px !important;}
.mb-20 {margin-bottom: 20px !important;}
.flex-center {display: flex; align-items: center; justify-content: center;}
.rounded {
  border-radius: var(--radius);
}
.shadow-main {box-shadow: var(--shadow-main);}

/* ==================== PRINT STYLES ==================== */
@media print {
  * {
    background: none !important;
    box-shadow: none !important;
    color: #000 !important;
  }
  .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
