/* -------------------------------
   SPEAKFIRST MINIMALIST CSS
   Responsive, mobile-first, flexbox-only
   Consistent with brand, spacing, and minimalism
---------------------------------*/

/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #20232A;
  background: #F5F6FA;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #144375;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1);
}
a:hover, a:focus {
  color: #FFB94A;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* Typography */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #144375;
  margin-bottom: 16px;
  line-height: 1.13;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #144375;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #20232A;
  margin-bottom: 8px;
  line-height: 1.25;
}
h4, .h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
p, li, label, address {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
}
strong {
  font-weight: 600;
}
.subheadline {
  font-size: 1.125rem;
  color: #3c4357;
  margin-bottom: 20px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(33,42,63,0.04);
  border-radius: 16px;
}

/* Flexbox utility classes */
.feature-grid,
.case-study-list,
.post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F5F6FA;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33,42,63,0.045);
  border: 1px solid #eee;
  color: #20232A;
  min-width: 0;
  max-width: 520px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(20,67,117,0.06);
  margin-bottom: 0;
  flex: 1 1 230px;
  min-width: 210px;
}

/* Service List for Courses & Benefits */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list li {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 9px;
  padding: 20px 18px;
  box-shadow: 0px 2px 9px rgba(33,42,63,0.045);
  margin-bottom: 0;
  min-width: 220px;
}

/* Accordion - FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-accordion .faq-item {
  background: #fff;
  border-radius: 7px;
  padding: 14px 18px;
  box-shadow: 0 2px 7px rgba(20,67,117,0.04);
}

/* CTA Banner */
.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #F5F6FA;
  border-radius: 16px;
  padding: 38px 16px;
  box-shadow: 0 2px 32px 0 rgba(20,67,117,0.08);
  margin-bottom: 0;
}

/* Legal-content blocks */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  padding: 30px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(20,67,117,0.04);
}

/* Blog Previews / Posts */
.post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.post-preview {
  flex: 1 1 290px;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(20,67,117,0.04);
  padding: 18px 17px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.read-more {
  color: #144375;
  font-weight: 600;
  margin-top: 8px;
  font-size: 1rem;
}
.read-more:hover {
  color: #FFB94A;
}

/* Search/Filter */
.search-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.search-filter input[type='text'] {
  border: 1px solid #D2D6DF;
  padding: 8px 12px;
  border-radius: 5px;
  background: #F5F6FA;
  width: 180px;
  transition: border-color 0.2s;
}
.search-filter input[type='text']:focus {
  border-color: #144375;
}

/* Buttons */
.cta-btn, .cta-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 7px;
  padding: 12px 30px;
  background: #fff;
  color: #144375;
  box-shadow: 0 1px 5px rgba(120,130,160,0.05);
  border: 1.5px solid #144375;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin-top: 0;
}
.cta-btn.primary {
  background: #144375;
  color: #fff;
  border: 1.5px solid #144375;
  box-shadow: 0 2px 18px 0 rgba(20,67,117,0.08);
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFB94A;
  color: #144375;
  border-color: #FFB94A;
  text-decoration: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #FFC155;
  color: #144375;
  border-color: #FFC155;
  box-shadow: 0 4px 20px 0 rgba(255,185,74,0.08);
}

/* HEADER STYLES */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 32px 12px 32px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20,67,117,0.04);
  position: relative;
  z-index: 30;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 40px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: #144375;
  padding: 6px 6px;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFB94A;
  background: #F5F6FA;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: #144375;
  cursor: pointer;
  margin-left: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.16s;
  z-index: 45;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F6FA;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,246,250,0.97);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.55,0,0.45,1);
  box-shadow: 0 0 60px 0 rgba(20,67,117,0.09);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 26px 0 0;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #144375;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 101;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB94A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 32px 32px 0 0;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #144375;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 5px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB94A;
  color: #fff;
}

/* Hide mobile menu on desktop */
@media (min-width: 1036px) {
  .mobile-menu { display: none !important; }
}

/* Responsive Header (Nav collapse) */
@media (max-width: 1035px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* HERO STYLE */
section > .container > .content-wrapper > h1 {
  margin-top: 16px;
}

/* FOOTER */
footer {
  background: #fff;
  width: 100%;
  padding: 26px 0 0 0;
  margin-top: 60px;
  color: #144375;
  font-size: 1rem;
  box-shadow: 0 -2px 12px rgba(20,67,117,0.03);
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding: 0 20px 30px 20px;
  max-width: 1120px;
  margin: 0 auto 0 auto;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #144375;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 2px 2px 2px 0;
  border-radius: 2px;
}
.footer-nav a:hover {
  color: #FFB94A;
}
footer address {
  font-style: normal;
  color: #3c4357;
  font-size: 0.98rem;
  margin-top: 8px;
  line-height: 1.6;
}
.footer-copy {
  text-align: center;
  font-size: 0.93rem;
  color: #444f5c;
  background: #F5F6FA;
  padding: 15px 0 8px 0;
  border-top: 1px solid #eef0f4;
}

/* MISC & REUSE */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2000;
  background: #fff;
  box-shadow: 0px -2px 24px rgba(20,67,117,0.13);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 24px 18px;
  font-size: 1rem;
  color: #20232A;
  border-top: 2px solid #F5F6FA;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .cookie-message {
  max-width: 580px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  background: #F5F6FA;
  color: #144375;
  border: 1.5px solid #144375;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, border 0.19s;
}
.cookie-btn.primary {
  background: #144375;
  color: #fff;
  border: 1.5px solid #144375;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #FFB94A;
  color: #144375;
  border-color: #FFB94A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFC155;
  color: #144375;
  border-color: #FFC155;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 43, 72, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 6px 34px 0 rgba(20,67,117,0.18);
  padding: 38px 28px 32px 28px;
  width: 90%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #20232A;
  position: relative;
  animation: fadeInPop 0.35s cubic-bezier(0.4,0,0.2,1) both;
}

.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #144375;
  cursor: pointer;
  z-index: 11;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFB94A;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #144375;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 8px 0;
}
.cookie-modal .cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 15px;
  background: #F5F6FA;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
  border: 1.5px solid #D2D6DF;
  flex-shrink: 0;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: #FFB94A;
  border-color: #FFB94A;
}
.cookie-modal .cookie-toggle-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #D2D6DF;
  transition: left 0.18s cubic-bezier(0.6,0,0.4,1);
}
.cookie-modal .cookie-toggle[aria-checked="true"] .cookie-toggle-knob {
  left: 22px;
  border-color: #FFB94A;
}
.cookie-modal .cookie-category span {
  font-size: 1rem;
}
.cookie-modal .cookie-category .essential {
  font-size: 0.98rem;
  color: #808895;
}

/* Animations */
@keyframes fadeInPop {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Testimonial Slider (if present) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

/* Responsive - Mobile First */
@media (max-width: 920px) {
  .container {
    max-width: 94vw;
    padding: 0 13px;
  }
  .section {
    padding: 32px 10px;
  }
  .feature-grid,
  .card-container,
  .post-preview-grid,
  .case-study-list,
  .service-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section, .legal-content {
    gap: 18px;
  }
  .feature-grid,
  .card-container,
  .post-preview-grid,
  .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 10px 22px 10px;
  }
  .cta-banner {
    padding: 28px 6px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
  .feature-item, .service-list li, .post-preview, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header {
    flex-direction: row;
    padding: 14px 10px 8px 10px;
  }
}
@media (max-width: 520px) {
  h1, .h1 {
    font-size: 2.1rem;
  }
  h2, .h2 {
    font-size: 1.45rem;
  }
  .cta-btn, .cta-btn.primary {
    font-size: 1rem;
    padding: 9px 17px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 19px 6px;
    font-size: 0.98rem;
  }
  .cookie-btn,
  .cookie-btn.primary {
    padding: 8px 12px;
    font-size: 0.97rem;
  }
}

/* Remove last margin where needed */
.section:last-child { margin-bottom: 0 !important; }

/* UTILITIES */
.mt-0 { margin-top: 0 !important; } /* remove top margin */
.mb-0 { margin-bottom: 0 !important; } /* remove bottom margin */
.gap-0 { gap: 0 !important; }

/* Hide visually but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
