/* =====================================================
   Pioneer Bright Style.css – Geometric Structured Design
   Based on brand guidelines and HTML structure
   Flexbox-only! No CSS Grid or Columns.
   ===================================================== */

/* ===================
   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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #FFFFFF;
  color: #184C6C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
  margin: 0 0 1em 1.2em;
}
a {
  color: #184C6C;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:focus, a:hover {
  color: #A14C00; /* accent */
  outline: none;
}

/* Heading fonts */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.025em;
  color: #184C6C;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.375rem; margin-bottom: 18px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }

/* Responsive typography (mobile-first) */
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}
@media (min-width: 1000px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
}

p, blockquote, ul, ol, li, .subheadline, span, label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #184C6C;
}
.subheadline {
  font-size: 1.125rem;
  margin-bottom: 18px;
}
blockquote {
  margin: 20px 0;
  padding: 20px 30px;
  border-left: 5px solid #D97A2B;
  background: #F6F6F9;
  color: #184C6C;
  font-style: italic;
  border-radius: 6px;
}

/* Geometric Structured Base Layout / Spacing -------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper, .content-grid, .feature-grid, .article-list, .testimonials, .tip-cards, .strategy-highlights, .exercise-cards, .practice-highlights, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.article-list, .blog-list {
  gap: 24px;
}

@media (max-width: 960px) {
  .container {
    padding: 0 10px;
  }
}

/* =============================
   Header & Navigation (desktop)
   ============================= */
header {
  background: #E3F6F2;
  border-bottom: 4px solid #184C6C;
  box-shadow: 0 2px 8px rgba(24, 76, 108, 0.06);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.button-primary {
  padding: 10px 24px;
  background: #184C6C;
  color: #FFFFFF;
  border-radius: 20px;
  font-weight: 700;
  margin-left: 14px;
  letter-spacing: 0.05em;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.button-primary:hover, .main-nav a.button-primary:focus {
  background: #A14C00;
  color: #fff;
}

.main-nav a:not(.button-primary):hover, .main-nav a:not(.button-primary):focus {
  background: #D97A2B20;
  color: #A14C00;
}

.mobile-menu-toggle {
  display: none;
  background: #184C6C;
  color: #fff;
  border: none;
  font-size: 2rem;
  height: 44px;
  width: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A14C00;
  color: #fff;
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  background: #E3F6F2;
  box-shadow: 0 0 32px rgba(24,76,108,0.16);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 0 0 40px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #184C6C;
  border: none;
  font-size: 2.2rem;
  margin: 24px 32px 8px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A14C00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 20px 36px;
}
.mobile-nav a {
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 10px 12px 0;
  border-radius: 10px;
  color: #184C6C;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a.button-primary {
  background: #184C6C;
  color: #fff;
  padding: 12px 24px;
  border-radius: 18px;
  margin: 12px 0;
  letter-spacing: 0.03em;
}
.mobile-nav a.button-primary:hover, .mobile-nav a.button-primary:focus {
  background: #A14C00;
  color: #fff;
}
.mobile-nav a:not(.button-primary):hover, .mobile-nav a:not(.button-primary):focus {
  background: #D97A2B20;
  color: #A14C00;
}

@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }
}

/* =================================
   HERO & SECTION BASICS
   ================================= */
section {
  width: 100%;
  padding: 40px 0;
  margin-bottom: 60px;
}
section .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* =============================
   FEATURE/ARTICLE GRID FLEXBOX
   ============================= */
.feature-grid, .content-grid, .article-list, .blog-list,
.testimonials, .testimonial-row, .tip-cards, .strategy-highlights, .exercise-cards, .practice-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature, .tip-card, .strategy-card, .exercise-card, .practice-card, .card, .testimonial-card, .article-list article, .blog-list article {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #E3F6F2;
  box-shadow: 0 3px 18px 0 rgba(24,76,108,0.06);
  padding: 30px 26px 26px 26px;
  margin-bottom: 20px;
  min-width: 246px;
  flex: 1 1 285px;
  position: relative;
  transition: box-shadow 0.16s, border-color 0.2s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.feature img, .strategy-card img, .practice-card img {
  height: 54px;
  width: 54px;
  margin-bottom: 10px;
  user-select: none;
}
.feature:hover, .tip-card:hover, .strategy-card:hover, .practice-card:hover, .exercise-card:hover, .testimonial-card:hover, .blog-list article:hover, .article-list article:hover {
  box-shadow: 0 10px 26px 0 rgba(24, 76, 108, 0.14);
  border-color: #D97A2B;
  transform: translateY(-4px) scale(1.025);
}

@media (max-width: 900px) {
  .feature-grid, .content-grid, .article-list, .blog-list, .testimonials, .testimonial-row, .tip-cards, .strategy-highlights, .exercise-cards, .practice-highlights {
    gap: 14px;
  }
  .feature, .tip-card, .strategy-card, .exercise-card, .practice-card, .testimonial-card, .article-list article, .blog-list article {
    min-width: 185px;
    padding: 20px 10px;
  }
}
@media (max-width: 540px) {
  .feature, .tip-card, .strategy-card, .exercise-card, .practice-card, .testimonial-card, .article-list article, .blog-list article {
    min-width: 100%;
    width: 100%;
  }
}

/* CARD CONTAINER for custom groupings (mandated) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(24,76,108,0.09);
  border: 1.5px solid #E3F6F2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(24,76,108,0.11);
  transform: scale(1.018);
  border-color: #D97A2B;
}

/* ======================================
   TESTIMONIALS (MANDATORY CONTRAST!)
   ====================================== */
.testimonials {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FAFEFD;
  border-radius: 18px;
  min-width: 230px;
  box-shadow: 0 1px 8px 0 rgba(24,76,108,0.15);
  border: 2px solid #E3F6F2;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, border-color 0.14s, transform 0.16s;
}
.testimonial-card p {
  color: #184C6C;
  font-size: 1.06rem;
  font-weight: 500;
}
.testimonial-card span {
  color: #A14C00;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(24,76,108,0.21);
  border-color: #D97A2B;
  transform: translateY(-2px) scale(1.02);
}

/* VISUAL FLEXBOX UTILITIES ------------------ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* GENERAL BUTTON STYLES --------------------- */
.button-primary, button.button-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #184C6C;
  color: #fff;
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 24px;
  border: none;
  font-size: 1.13rem;
  cursor: pointer;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(24,76,108,.07);
  transition: background 0.17s, color 0.17s, transform 0.13s;
  margin-top: 14px;
}
.button-primary:hover, .button-primary:focus {
  background: #A14C00;
  color: #fff;
  transform: scale(1.035);
}

/* OUTLINE BUTTON (for cookie banner or settings) */
.button-outline {
  background: #fff;
  color: #184C6C;
  border: 2px solid #184C6C;
  padding: 12px 22px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.17s;
}
.button-outline:hover, .button-outline:focus {
  background: #184C6C;
  color: #fff;
}

/* PAGINATION ----------------------------- */
.pagination {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.pagination a {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #E3F6F2;
  color: #184C6C;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  margin-bottom: 6px;
  transition: background 0.17s, color 0.17s;
}
.pagination a.active, .pagination a:hover {
  background: #184C6C;
  color: #fff;
}

/* Filter/Categories navs ----------------------------- */
.filter-options, .categories-filter {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.filter-options a, .categories-filter a {
  background: #E3F6F2;
  padding: 6px 16px;
  border-radius: 8px;
  color: #184C6C;
  font-weight: 600;
  font-size: 1.01rem;
  transition: background 0.15s, color 0.14s;
}
.filter-options a:hover, .filter-options a:focus, .categories-filter a:hover, .categories-filter a:focus {
  background: #D97A2B;
  color: #fff;
}
.filter-options a.active, .categories-filter a.active {
  background: #A14C00;
  color: #fff;
}

/* ---------------------------------------------
   CTA & QUICK ACTIONS + Microinteractions
   --------------------------------------------- */
.quick-actions, .practical-examples, .how-to-guides, .step-by-step-guides {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}
.quick-actions a, .cta a, .content-wrapper > a.button-primary {
  margin-right: 10px;
  margin-bottom: 10px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #184C6C;
  color: #fff;
  padding: 38px 0 20px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  padding: 0 0 2px 0;
  font-weight: 500;
  border-radius: 0;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D97A2B;
}
footer .logo img, footer img {
  max-height: 44px;
  margin-bottom: 10px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #fff;
  margin-top: 12px;
}
.contact-details span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.contact-details img {
  max-height: 20px;
  width: auto;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  z-index: 999999;
  left: 0;
  right: 0;
  bottom: 0;
  background: #184C6C;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 18px;
  box-shadow: 0 -2px 16px 0 rgba(24,76,108,0.23);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  font-size: 1rem;
  animation: cookieFadeIn 0.7s;
}
@keyframes cookieFadeIn {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 190px;
  color: #fff;
  margin-right: 12px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner .button-primary {
  background: #D97A2B;
  color: #fff;
  padding: 10px 20px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: none;
}
.cookie-banner .button-primary:focus, .cookie-banner .button-primary:hover {
  background: #A14C00;
}
.cookie-banner .button-outline {
  color: #184C6C;
  background: #fff;
  border: 2px solid #E3F6F2;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 16px;
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 18px 8px;
    gap: 8px;
  }
  .cookie-banner-buttons {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* Cookie Settings Modal ------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9999999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(24, 76, 108, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeModal .45s;
}
@keyframes cookieFadeModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFFFFF;
  color: #184C6C;
  border-radius: 20px;
  max-width: 390px;
  width: 96%;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 6px 44px 0 rgba(24,76,108,0.11);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookieModalSlide .6s;
}
@keyframes cookieModalSlide {
  from { transform: translateY(88px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-toggle input[type=checkbox] {
  width: 38px;
  height: 21px;
  accent-color: #D97A2B;
}
.cookie-toggle input[type=checkbox]:disabled {
  accent-color: #b3d2c7;
  opacity: 0.6;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.button-close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 10;
  background: none;
  color: #184C6C;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.button-close-cookie-modal:hover {
  color: #A14C00;
}

/* ================================
   RESPONSIVENESS & FLEXBOX
   ================================ */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  .feature-grid, .content-grid, .article-list, .blog-list, .testimonials {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  .feature-grid, .content-grid, .article-list, .blog-list, .testimonials {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.08rem; }
}

/* ===================
   UTILITIES
   =================== */
.hide-visually {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px; width: 1px;
  margin: -1px; padding: 0; border: 0;
}

/* ANIMATIONS & MICROINTERACTIONS */
.card, .feature, .tip-card, .strategy-card, .practice-card, .exercise-card, .testimonial-card, .blog-list article, .article-list article, .button-primary {
  will-change: transform;
}

/* ===================
   FORM INPUTS (if used)
   =================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #E3F6F2;
  padding: 10px 12px;
  margin-bottom: 14px;
  box-shadow: 0 1px 6px rgba(24,76,108,0.03);
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #184C6C;
}

/* =============================
   GEOMETRIC DECORATIVE SHAPES
   (optional for backgrounds, not content)
   ============================= */
.geometric-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.10;
  z-index: 0;
}

/* =======================================
   MANDATORY FLEXBOX SPACING PATTERNS
   ======================================= */
.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;
}

/* ===================
   END OF STYLE.CSS
   =================== */
