/* Mythic Nexus Modern Bold CSS Theme */

/* =========================
   CSS RESET & NORMALIZATION
   ========================= */
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 {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F7FA;
  color: #23427C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23427C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #71A50F;
  outline-offset: 2px;
}

/* For strong and headings: Modern bold typestyle */
strong {
  font-weight: 900;
}

/* =========================
   TYPOGRAPHY & SCALE
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  color: #23427C;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

p, ul, ol, blockquote {
  font-size: 1rem;
  color: #23427C;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 18px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-left: 6px solid #71A50F;
  padding-left: 20px;
  margin-bottom: 8px;
}

em {
  color: #71A50F;
  font-weight: 700;
  font-style: normal;
}

/* =========================
   MAIN CONTAINER PATTERNS
   ========================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(35,66,124,0.15);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  padding: 32px 24px;
  transition: box-shadow 0.18s cubic-bezier(0.33,1,0.68,1),
    transform 0.15s cubic-bezier(0.33,1,0.68,1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2.5px solid #71A50F;
}

.card:hover,
.card:focus-within {
  box-shadow: 0 6px 38px rgba(35,66,124,0.24);
  transform: translateY(-3px) scale(1.02);
}

.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;
  background: #fff;
  border-radius: 20px;
  border-left: 8px solid #71A50F;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35,66,124,0.10);
  transition: box-shadow .18s;
  min-width: 250px;
  max-width: 700px;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 6px 32px rgba(35,66,124,0.15);
}
.testimonial-meta {
  color: #23427C;
  font-weight: 700;
  margin-left: auto;
  font-size: .98rem;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

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

.text-section {
  margin-bottom: 22px;
}

/* =========================
   NAVIGATION & HEADER
   ========================= */
header {
  padding: 0;
  background: #F5F7FA;
  z-index: 20;
  position: relative;
  border-bottom: 2.5px solid #71A50F;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 0 18px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 30px;
}
.main-nav a {
  color: #23427C;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  transition: background 0.17s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus:not(.cta-btn) {
  background: #23427C10;
  color: #23427C;
}
.main-nav .cta-btn {
  background: #71A50F;
  color: #fff;
  padding: 8px 28px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 900;
  margin-left: 18px;
  letter-spacing: 0.025em;
  border: none;
  box-shadow: 0 3px 12px rgba(113,165,15,0.10);
  transition: background 0.17s, color 0.18s, box-shadow 0.16s;
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: #23427C;
  color: #fff;
  box-shadow: 0 7px 28px rgba(35,66,124,0.18);
}

/* Hamburger Mobile Button */
.mobile-menu-toggle {
  display: none;
  background: #71A50F;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 12px 18px;
  font-size: 2rem;
  margin: 0 10px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 15px;
  z-index: 1040;
  box-shadow: 0 2px 12px rgba(35, 66, 124, 0.14);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #23427C;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #23427C;
  z-index: 1100;
  padding: 32px 32px 24px 32px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.8,0,.3,1);
  box-shadow: 8px 0 32px rgba(35,66,124,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 28px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #71A50F;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  padding: 8px 0 8px 8px;
  border-radius: 8px;
  transition: background 0.12s, color 0.16s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus,
.mobile-nav a:active {
  background: #71A50F;
  color: #23427C;
}

@media (max-width: 1024px) {
  .main-nav {
    font-size: 1rem;
    gap: 10px;
  }
  .main-nav img {
    margin-right: 15px;
    height: 32px;
  }
}

@media (max-width: 900px) {
  .main-nav a:not(:first-child):not(.cta-btn) {
    padding: 6px 8px;
  }
}

@media (max-width: 800px) {
  .main-nav .cta-btn {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    min-height: 64px;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  background: #23427C;
  color: #fff;
  padding: 54px 0 64px 0;
  display: flex;
  align-items: center;
  min-height: 360px;
  margin-bottom: 48px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1,
.hero h2 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.09);
}
.hero p {
  font-size: 1.23rem;
  color: #e2e8f0;
  margin-bottom: 30px;
}
.hero .cta-btn {
  background: #71A50F;
  color: #fff;
  padding: 12px 38px;
  border-radius: 35px;
  font-size: 1.1rem;
  box-shadow: 0 6px 24px rgba(113,165,15,0.17);
  font-weight: 900;
  letter-spacing: 0.025em;
  transition: background 0.14s, box-shadow 0.16s;
}
.hero .cta-btn:hover,
.hero .cta-btn:focus {
  background: #fff;
  color: #23427C;
  box-shadow: 0 12px 36px rgba(35,66,124,0.18);
}

@media (max-width: 600px) {
  .hero {
    padding: 36px 0;
    min-height: 210px;
  }
  .hero .container {
    padding: 0 12px;
  }
  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 10px;
  }
  .hero p {
    font-size: 1.06rem;
    margin-bottom: 16px;
  }
  .hero .cta-btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}

/* =========================
   CALL-TO-ACTION BUTTONS
   ========================= */
.cta-btn {
  background: #71A50F;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.07rem;
  padding: 10px 30px;
  border-radius: 30px;
  border: none;
  letter-spacing: .02em;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(113,165,15,0.10);
  transition: background 0.16s, color 0.18s, box-shadow 0.15s, transform 0.15s;
  display: inline-block;
  text-transform: uppercase;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #23427C;
  color: #fff;
  box-shadow: 0 7px 24px rgba(35,66,124,0.12);
  transform: translateY(-2px) scale(1.025);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #23427C;
  color: #fff;
  padding: 40px 0 16px 0;
  margin-top: 90px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  padding: 6px 13px;
  transition: background 0.13s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #71A50F;
  color: #23427C;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-branding img {
  height: 44px;
  width: auto;
  margin-bottom: 7px;
}
.footer-branding div {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 13px;
    margin-bottom: 18px;
  }
}

/* =========================
   CARDS AND FEATURED ITEMS
   ========================= */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Lists in cards/sections */
.content-wrapper ul {
  list-style: disc inside;
  margin-bottom: 12px;
  color: #2a416d;
}
.content-wrapper ol {
  list-style: decimal inside;
  margin-bottom: 12px;
}

/* =========================
   SPACING & FLEX GAPS
   ========================= */
.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;
}

/* Consistent spacing for list items */
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* =========================
   RESPONSIVE FLEXBOX
   ========================= */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 5px;
  }
}

@media (max-width: 900px) {
  .card-container,
  .content-grid {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 4px 24px 4px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 8px;
    min-width: unset;
  }
  .footer-branding img {
    height: 32px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 2px;
  }
  .section {
    padding: 14px 2px;
  }
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.12rem;
  }
}

/* =========================
   BUTTONS & MICRO-INTERACTIONS
   ========================= */
button, .cta-btn {
  cursor: pointer;
  transition: background 0.14s, color 0.13s, box-shadow 0.14s, transform 0.13s;
}
button:focus {
  outline: 2px solid #71A50F;
  outline-offset: 2px;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #23427C;
  color: #fff;
  box-shadow: 0 -6px 32px rgba(35,66,124,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 16px 20px 16px;
  gap: 18px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieBannerFade .44s cubic-bezier(.62,0,.31,1);
}
@keyframes cookieBannerFade {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 10px 23px;
  border-radius: 30px;
  border: none;
  margin: 0 2px;
  transition: background 0.13s, color 0.14s;
}
.cookie-accept {
  background: #71A50F;
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #fff;
  color: #23427C;
}
.cookie-reject {
  background: #fff;
  color: #23427C;
  border: 2px solid #71A50F;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #23427C;
  color: #fff;
  border-color: #fff;
}
.cookie-settings {
  background: none;
  color: #71A50F;
  border: 2px solid #71A50F;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #71A50F;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1400;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(35,66,124,0.75);
  animation: cookieModalFade .32s cubic-bezier(.62,0,.31,1);
}
@keyframes cookieModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  color: #23427C;
  border-radius: 26px;
  box-shadow: 0 8px 50px rgba(35,66,124,0.26);
  padding: 42px 28px 24px 28px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalScale .3s cubic-bezier(.7,0,.5,1);
}
@keyframes modalScale {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-dialog h3 {
  margin-bottom: 5px;
  color: #23427C;
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal-dialog label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal-dialog input[type="checkbox"] {
  accent-color: #71A50F;
  width: 20px;
  height: 20px;
}
.cookie-modal-dialog .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 7px;
  justify-content: flex-end;
}
.cookie-modal-dialog button {
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  border-radius: 30px;
  border: none;
  transition: background 0.13s, color 0.13s;
  font-size: 1rem;
}
.cookie-modal-save {
  background: #71A50F;
  color: #fff;
}
.cookie-modal-save:hover {
  background: #23427C;
  color: #fff;
}
.cookie-modal-cancel {
  background: #23427C;
  color: #fff;
}
.cookie-modal-cancel:hover {
  background: #71A50F;
  color: #fff;
}

/* =========================
   MISC & UTILITIES
   ========================= */
::-webkit-scrollbar {
  width: 9px;
  background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
  background: #71A50F66;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #71A50F;
}
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 9px;
  border: 2px solid #23427C22;
  padding: 10px;
  width: 100%;
  margin-bottom: 8px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #71A50F;
  outline: none;
}

.text-section a {
  color: #71A50F;
  font-weight: 900;
  text-decoration: underline;
  transition: color 0.14s;
}
.text-section a:hover {
  color: #23427C;
  background: #71A50F22;
}

hr {
  border: none;
  border-bottom: 2px solid #71A50F;
  margin: 22px 0;
  height: 2px;
  width: 50%;
}

/* =========================
   PRINT/SIMPLE MODE
   ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}
