/* -----------------------------
   LumenNode Vibrant Energetic STYLE CSS
   Author: Senior CSS Developer
   Only FLEXBOX layouts. No Grid/Columns.
------------------------------*/

/* CSS RESET & BASELINE -------------- */
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,
main, 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 {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #F4F7FA;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #21243d;
  background: #F4F7FA;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #174A7E;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #FFB03B;
  outline: none;
}
:focus {
  outline: 2px solid #FFB03B !important;
  outline-offset: 2px;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* TYPOGRAPHY HIERARCHY -------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #174A7E;
  letter-spacing: 0;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h4 {
  font-size: 1.25rem;
}
h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, table {
  font-size: 1rem;
  color: #21243d;
}
strong, b {
  font-weight: 700;
  color: #174A7E;
}

/* GENERAL SPACING + LAYOUT --------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 6px 40px 0 rgba(23,74,126, 0.08), 0 2px 8px 0 rgba(255,176,59,0.06);
}
main > section:last-child {
  margin-bottom: 0;
}

.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section p {
  margin-bottom: 8px;
}
ol, ul {
  margin-left: 28px;
  margin-bottom: 8px;
}
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Stacked gap classes for cards/layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(23,74,126,0.08);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 36px 0 rgba(23,74,126,0.16), 0 2px 8px 0 rgba(255,176,59,0.10);
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}

/* Testimonials --------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 8px solid #FFB03B;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(23,74,126,0.11);
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #21243d !important;
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #174A7E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.testimonial-card.featured {
  background: #FFB03B;
  color: #174A7E;
  border-left: 8px solid #174A7E;
  box-shadow: 0 10px 32px 0 rgba(255,176,59,0.14);
}
.testimonial-card.featured p, .testimonial-card.featured h2, .testimonial-card.featured strong {
  color: #174A7E !important;
}

/* Post Grid (Blog) ----------- */
.post-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.post-grid article {
  flex: 1 1 300px;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(23,74,126,0.06);
  padding: 24px 18px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.21s, transform 0.21s;
}
.post-grid article:hover {
  box-shadow: 0 9px 32px rgba(23,74,126,0.14);
  transform: translateY(-3px) scale(1.01);
}
.post-grid article h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.post-grid .featured-post {
  border-left: 6px solid #FFB03B;
  background: #FFF6EC;
}

/* TABLES --------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(23,74,126,0.08);
}
th, td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #E0E3E8;
  font-size: 1rem;
}
th {
  background: #174A7E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* CTA and BUTTONS ------------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 18px 34px;
  border-radius: 14px;
  background: #fff;
  color: #174A7E;
  box-shadow: 0 2px 12px 0 rgba(23,74,126,0.09);
  margin-top: 10px;
  margin-bottom: 8px;
  transition: background 0.15s, color 0.19s, box-shadow 0.17s, transform 0.15s;
  border: 2px solid #FFB03B;
  cursor: pointer;
  gap: 8px;
}
.cta:active {
  transform: scale(0.97);
}
.cta.primary {
  background: #174A7E;
  color: #fff;
  border: 2px solid #FFB03B;
  box-shadow: 0 4px 20px 0 rgba(23,74,126,0.19);
}
.cta:hover, .cta:focus {
  background: #FFB03B;
  color: #174A7E !important;
  box-shadow: 0 4px 24px 0 rgba(255,176,59,0.19), 0 2px 6px 0 rgba(23,74,126,0.13);
  text-decoration: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #FFB03B !important;
  border: 2px solid #174A7E;
}

button, input[type="submit"], .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  appearance: none;
}

/* NAVIGATION ------------------ */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(23,74,126,0.03);
  position: relative;
  z-index: 31;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0 10px 0;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #174A7E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: background 0.12s, color 0.16s;
}
.main-nav a.cta.primary {
  margin-left: 10px;
  background: #FFB03B;
  color: #174A7E !important;
  border: none;
  box-shadow: 0 2px 11px rgba(255,176,59,0.15);
  font-size: 1.08rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: #174A7E;
  color: #FFF !important;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #174A7E;
  color: #FFB03B !important;
  box-shadow: 0 8px 32px 0 rgba(23,74,126,0.17);
}
.main-nav img {
  height: 38px;
  margin-right: 12px;
}

/* Footer Navigation ----------- */
footer {
  background: #174A7E;
  color: #fff;
  margin-top: auto;
  padding: 38px 0 0 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 38px rgba(23,74,126,0.15);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  border-bottom: 2px solid transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 5px 10px;
  transition: color 0.12s, border-bottom 0.16s;
}
.footer-nav a:hover {
  color: #FFB03B;
  border-bottom: 2px solid #FFB03B;
}
footer address {
  color: #FFF6EC;
  font-size: 0.97rem;
  margin-bottom: 6px;
  line-height: 1.65;
  font-style: normal;
}
footer img {
  vertical-align: middle;
  margin-right: 6px;
}
footer small {
  display: block;
  color: #CAD8EC;
  text-align: center;
  margin: 22px 0 0 0;
  padding-bottom: 20px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* FEATURE + FLEX CLASSES------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ELECTRIFYING ENERGETIC THEME COLORS */
.bg-accent {
  background: #FFB03B !important;
  color: #fff !important;
}
.bg-primary {
  background: #174A7E !important;
  color: #fff !important;
}
.bg-secondary {
  background: #F4F7FA !important;
  color: #174A7E !important;
}

/* Micro-interactions & Animation */
.cta, .card, .testimonial-card, .post-grid article, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.22s, background 0.14s, color 0.17s, transform 0.19s;
}

/* TABLET & MOBILE RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .container { padding-left: 10px; padding-right: 10px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.55rem; }
  section { padding: 28px 8px; }
}
@media (max-width: 830px) {
  .main-nav { gap: 10px; font-size: 0.98rem; }
  .footer-nav { font-size: 0.97rem; gap: 14px; }
  .card, .testimonial-card, .post-grid article { padding: 16px 10px; font-size: 0.98rem; }
}
@media (max-width: 768px) {
  section { border-radius: 14px; padding: 20px 0px; }
  .content-wrapper, .content-grid, .card-container, .post-grid {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  .container { padding: 0 4px; }
  section { border-radius: 10px; }
  .footer-nav { gap: 8px; font-size: 0.94rem; }
  .testimonial-card, .card { padding: 12px 4px; }
}

/* HIDE SCROLLBAR ON MOBILE NAV OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  background: #174A7E;
  color: #fff;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  z-index: 99 !important;
  box-shadow: 0 0 26px 0 rgba(23,74,126,0.13);
  overflow-y: auto;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 28px 28px 22px;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  margin-bottom: 18px;
  font-size: 2rem;
  align-self: flex-end;
  color: #FFB03B;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus{
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: transparent;
  padding: 14px 3px;
  border-radius: 7px;
  font-size: 1.18rem;
  margin-bottom: 3px;
  transition: background 0.13s, color 0.11s;
  text-align: left;
  display: block;
}
.mobile-nav a:last-child {
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB03B;
  color: #174A7E;
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 120;
  background: #174A7E;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(23,74,126,0.13);
  transition: background 0.18s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFB03B;
  color: #174A7E;
}

/* FIX MOBILE NAV always ON TOP */
header, .mobile-menu, .mobile-menu-toggle {
  z-index: 122;
}

/* Hide main-nav at mobile breakpoint */
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
}

/* Hide mobile menu by default */
.mobile-menu { display: none; }
.mobile-menu.active { display: flex; }

/* Cookie Consent Banner ---------- */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #21243d;
  color: #fff;
  padding: 22px 16px 20px 16px;
  box-shadow: 0 -2px 32px 0 rgba(23,74,126,0.11);
  font-size: 1rem;
  z-index: 1201;
  gap: 20px;
  min-height: 64px;
}
.cookie-banner p {
  flex: 1 1 340px;
  margin-bottom: 0;
  color: #fff;
  font-size: 1.03rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button, .cookie-banner .cta {
  padding: 10px 20px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.09s;
}
.cookie-banner .accept {
  background: #FFB03B;
  color: #174A7E;
}
.cookie-banner .accept:hover {
  background: #fff;
  color: #FFB03B;
}
.cookie-banner .reject {
  background: #fff;
  color: #FFB03B;
}
.cookie-banner .reject:hover {
  background: #174A7E;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  border: 2px solid #FFB03B;
  color: #FFB03B;
}
.cookie-banner .settings:hover {
  background: #FFB03B;
  color: #174A7E;
}

@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-banner .cookie-btns { gap: 10px; }
}

/* Cookie Preferences Modal --------- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1210;
  left: 0; right: 0; top: 0; bottom: 0;
  justify-content: center;
  align-items: center;
  background: rgba(22,31,38, 0.44);
  animation: fadeIn 0.34s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  color: #174A7E;
  max-width: 420px;
  width: 95vw;
  padding: 38px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 7px 32px 0 rgba(23,74,126,0.19);
  position: relative;
  animation: slideUp .32s;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #174A7E;
}
.cookie-modal-content .category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.cookie-modal-content .category label {
  font-weight: 600;
  color: #21243d;
}
.cookie-modal-content input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #FFB03B;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 14px; right: 22px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #FFB03B;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-btn:hover { color: #174A7E; }
.cookie-modal-content .save-btn {
  margin-top: 12px;
  background: #174A7E;
  color: #fff;
  padding: 10px 22px;
  border-radius: 9px;
  font-size: 1.06rem;
}
.cookie-modal-content .save-btn:hover {
  background: #FFB03B;
  color: #174A7E;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity:1; } }
@keyframes slideUp { from {transform: translateY(40px); opacity:0;} to {transform: translateY(0); opacity:1;} }

/* Miscellaneous Classes & Utilities ---- */
.bg-white { background: #fff !important; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 0 18px rgba(23,74,126,0.11); }
.bg-alt { background: #E9F0F7 !important; }

/* ELECTRIC COLOR HIGHLIGHTS ---------- */
.highlight { color: #FFB03B; font-weight: 700; }
.bg-electricblue { background: #005CFF !important; color: #fff !important; }
.bg-hotpink { background: #FF2F6D !important; color: #fff !important; }
.electric-border { border: 2.5px solid #FFB03B; }

/* Accessibility Contrast Fix ----------- */
.testimonial-card, .testimonial-card.featured {
  color: #21243d !important;
  background: #fff;
}
.testimonial-card.featured {
  background: #FFB03B !important;
  color: #174A7E !important;
}
.testimonial-card.featured strong {
  color: #174A7E !important;
}

/* LIST MARKERS ----------- */
ul li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #FFB03B;
  flex-shrink: 0;
}
ul li img + *::before {
  display: none;
}

/* Hide default list bullets if item starts with image */
ul li img { margin-right: 8px; }

/* FORMS (Newsletter etc.) --------- */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1.5px solid #CAD8EC;
  padding: 10px 12px;
  width: 100%;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  border: 1.5px solid #FFB03B;
}

/* Hide scrollbars for overlays (optional for mobile menu and modal) */
.mobile-menu, .cookie-modal {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  display: none;
}

/* Z-INDEX for overlays ------------- */
.mobile-menu,
.mobile-menu-toggle,
.cookie-banner,
.cookie-modal {
  z-index: 1200;
}

/* Prevents overlapping of cards and sections */
.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 */
