/* Vexora Cash Scandinavian Clean Style.css */

/* ===== 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,
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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
body {
  line-height: 1.55;
  min-height: 100vh;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select, button {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  color: inherit;
}
img { max-width: 100%; display: block; }

/* ===== SCANDINAVIAN CLEAN THEME VARS ===== */
:root {
  --vc-primary: #213F62;
  --vc-primary-rgb: 33,63,98;
  --vc-secondary: #E4AE47;
  --vc-accent: #FFFFFF;
  --vc-background: #F8F9FB;
  --vc-surface: #FFFFFF;
  --vc-border: #EDF0F4;
  --vc-card-shadow: 0 2px 10px 0 rgba(33,63,98,0.07);
  --vc-radius: 16px;
  --vc-font-display: 'Montserrat', Arial, sans-serif;
  --vc-font-body: 'Open Sans', Arial, sans-serif;
  --vc-text: #213F62;
  --vc-muted: #8797AA;
  --vc-placeholder: #CBD4DF;
}

/* ===== BASE STYLES ===== */
body {
  background: var(--vc-background);
  color: var(--vc-text);
  font-family: var(--vc-font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vc-font-display);
  color: var(--vc-text);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 22px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; }
p, ul, ol { margin-bottom: 16px; }
strong, b { font-weight: 700; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* grows to row on wide screens per layout */
}

.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Card and Grid Patterns */
.card-container,
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--vc-surface);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  box-shadow: var(--vc-card-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 20px -2px rgba(33,63,98,0.10);
  transform: translateY(-3px) scale(1.016);
}

.service-intro.single {
  background: var(--vc-surface);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  box-shadow: var(--vc-card-shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.service-intro.single:hover {
  box-shadow: 0 6px 20px -2px rgba(33,63,98,0.10);
  transform: translateY(-3px) scale(1.013);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--vc-surface);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 26px 20px 22px 20px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 260px;
  box-shadow: var(--vc-card-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.feature-item:hover {
  box-shadow: 0 6px 20px -2px rgba(33,63,98,0.09);
  transform: translateY(-1px) scale(1.011);
}
.feature-item img {
  width: 36px; height: 36px;
  margin-bottom: 6px;
}

/* Testimonials */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FCFCFD;
  border-radius: var(--vc-radius);
  border: 1px solid var(--vc-border);
  box-shadow: 0 2px 10px 0 rgba(33,63,98,0.07);
  padding: 20px 24px;
  min-width: 240px; max-width: 360px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px -2px rgba(33,63,98,0.11);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #23374F;
  line-height: 1.52;
  margin-bottom: 4px;
}
.testimonial-author {
  font-size: 0.95rem;
  color: var(--vc-muted);
  font-style: italic;
  padding-left: 2px;
}

/* POSTS & SIDEBAR (Blog) */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 2 1 0;
}
.post-item {
  background: var(--vc-surface);
  border-radius: var(--vc-radius);
  box-shadow: var(--vc-card-shadow);
  border: 1px solid var(--vc-border);
  padding: 22px 20px;
  transition: box-shadow 0.2s;
}
.post-item:hover {
  box-shadow: 0 8px 24px -4px rgba(33,63,98,0.13);
  transform: translateY(-2px) scale(1.01);
}
.post-item h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.post-item a {
  color: var(--vc-primary);
  font-weight: 600;
  font-family: var(--vc-font-display);
  margin-top: 6px;
  display: inline-block;
  transition: color 0.16s underline 0.16s;
}
.post-item a:hover { color: var(--vc-secondary); text-decoration: underline; }

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1 1 200px;
  margin-left: 34px;
}
.sidebar-block {
  background: #F8F9FB;
  border-radius: var(--vc-radius);
  box-shadow: var(--vc-card-shadow);
  border: 1px solid var(--vc-border);
  padding: 18px 16px;
}
.sidebar-block h4 {
  font-size: 1.03rem;
  color: var(--vc-primary);
  margin-bottom: 10px;
}
.sidebar-block ul li a {
  color: var(--vc-muted);
  font-size: 0.96rem;
  display: inline-block;
  padding: 3px 0;
  transition: color 0.18s;
}
.sidebar-block ul li a:hover {
  color: var(--vc-primary);
}
.sidebar-block input[type="text"] {
  background: #F2F4F7;
  border-radius: 8px;
  border: 1px solid var(--vc-border);
  padding: 7px 11px;
  width: 100%;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--vc-text);
  transition: border 0.14s;
}
.sidebar-block input[type="text"]:focus {
  border-color: var(--vc-primary);
}

/* ===== NAVIGATION & HEADER ===== */
header {
  background: var(--vc-surface);
  box-shadow: 0 2px 12px 0 rgba(33,63,98,0.04);
  padding: 0 0 0 0;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  padding: 20px 0;
  font-family: var(--vc-font-display);
  font-size: 1.07rem;
}
.main-nav a {
  padding: 8px 4px;
  color: var(--vc-text);
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a.cta-primary {
  background: var(--vc-primary);
  color: var(--vc-accent);
  padding: 8px 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 18px;
  transition: background 0.18s, color 0.16s, box-shadow 0.19s;
  box-shadow: 0 2px 8px 0 rgba(33,63,98,0.09);
  margin-left: 16px;
}
.main-nav a.cta-primary:hover {
  background: var(--vc-secondary);
  color: var(--vc-primary);
  box-shadow: 0 5px 18px 0 rgba(228, 174, 71, 0.13);
}
.main-nav a:hover:not(.cta-primary) {
  background: #F5F7FA;
  color: var(--vc-primary);
  text-decoration: underline;
}
.main-nav img {
  height: 32px;
  width: auto;
  margin-right: 18px;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px; top: 17px;
  background: var(--vc-primary);
  color: var(--vc-accent);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, box-shadow 0.18s;
  z-index: 106;
  outline: none;
}
.mobile-menu-toggle:active {
  background: var(--vc-secondary);
  color: var(--vc-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33, 63, 98, 0.98);
  z-index: 105;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.31s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--vc-accent);
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 22px; right: 32px;
  cursor: pointer;
  z-index: 109;
  text-align: center;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--vc-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 93px;
  gap: 18px;
  padding: 0 42px;
}
.mobile-nav a {
  color: var(--vc-accent);
  font-size: 1.18rem;
  padding: 16px 0;
  border-radius: 18px;
  font-weight: 600;
  font-family: var(--vc-font-display);
  transition: background 0.14s, color 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vc-secondary);
  color: var(--vc-primary);
}

@media (max-width: 1100px) {
  .container { max-width: 960px; }
}
@media (max-width: 900px) {
  .container { max-width: 720px; }
  .main-nav { gap: 0 16px; }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ===== LAYOUT BREAKPOINT PATTERNS ===== */
@media (max-width: 1024px) {
  .testimonial-card, .feature-item {
    flex: 1 1 48%;
    min-width: 205px;
  }
  .service-intro.single { flex: 1 1 48%; }
}
@media (max-width: 900px) {
  .content-wrapper { gap: 18px; }
  .feature-item, .service-intro.single {
    max-width: 100%;
  }
  .sidebar { margin-left: 0; }
}
@media (max-width: 768px) {
  .features-grid, .testimonials-slider, .posts-list, .sidebar, .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card, .feature-item, .service-intro.single {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .sidebar {
    width: 100%;
  }
}
@media(max-width: 500px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .section { padding: 28px 5vw; margin-bottom: 36px; }
  .card, .service-intro.single, .feature-item, .testimonial-card, .post-item, .sidebar-block { padding: 18px 6vw; }
}

/* ===== FOOTER ===== */
footer {
  background: #F4F6F9;
  border-top: 1px solid var(--vc-border);
  margin-top: 54px;
  padding: 0 0 36px 0;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 23px 0 10px 0;
  font-size: 0.99rem;
  color: var(--vc-muted);
}
.footer-menu a {
  color: var(--vc-muted);
  padding: 8px 8px;
  border-radius: 8px;
  font-family: var(--vc-font-body);
  transition: background 0.16s, color 0.15s;
}
.footer-menu a:hover {
  color: var(--vc-primary);
  background: #F0F3F7;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 18px 0 0 0;
}
.footer-contact > div:first-child img {
  width: 48px;
  margin-bottom: 12px;
}
.footer-contact > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--vc-text);
  font-size: 0.97rem;
}
.footer-contact img {
  margin-right: 10px;
  vertical-align: middle;
  width: 19px; height: 19px;
}
@media (max-width: 600px) {
  .footer-contact { flex-direction: column; gap: 0; }
  .footer-contact > div { margin-bottom: 10px; }
  .footer-menu { gap: 12px; font-size: 0.95rem; }
}

/* ======= BUTTONS & CTA ======= */
a.cta-primary, button.cta-primary {
  background: var(--vc-primary);
  color: var(--vc-accent) !important;
  padding: 11px 32px;
  border: none;
  border-radius: 18px;
  font-family: var(--vc-font-display);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.009em;
  display: inline-block;
  box-shadow: 0 2px 10px 0 rgba(33,63,98,0.07);
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.13s, box-shadow 0.17s;
  text-align: center;
  outline: none;
}
a.cta-primary:hover, button.cta-primary:hover {
  background: var(--vc-secondary);
  color: var(--vc-primary) !important;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 18px -2px rgba(228,174,71,0.13);
}
a.cta-primary:focus, button.cta-primary:focus {
  outline: 2px solid var(--vc-secondary);
  outline-offset: 2px;
}

/* Additional button style for cookie banner */
.button-secondary, .cookie-banner .cookie-btn-secondary {
  background: transparent;
  color: var(--vc-primary);
  border: 1.5px solid var(--vc-primary);
  border-radius: 16px;
  padding: 10px 18px;
  font-family: var(--vc-font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, border 0.13s;
}
.button-secondary:hover, .cookie-banner .cookie-btn-secondary:hover {
  background: #F2F4F7;
  color: var(--vc-secondary);
  border-color: var(--vc-secondary);
}

/* ======= COOKIE BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFFFFF;
  box-shadow: 0 -2px 16px rgba(33,63,98,0.08);
  border-top: 1px solid var(--vc-border);
  z-index: 9900;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 22px 5vw 22px 5vw;
  gap: 32px;
  font-size: 1.02rem;
  min-height: 64px;
  transition: transform 0.32s cubic-bezier(0.32,1.56,0.47,1), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 16px;
}
.cookie-banner button {
  margin: 0;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 5vw; }
  .cookie-banner .cookie-btn-group { margin-left: 0; gap: 10px; }
}

/* Cookie Modal Background */
.cookie-modal-bg {
  display: none;
  position: fixed;
  z-index: 10032;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(62,70,90,0.31);
  backdrop-filter: blur(2px);
}
.cookie-modal-bg.active { display: block; }
/* Cookie Preferences Modal/Layout */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  background: #FFF;
  z-index: 10050;
  border-radius: 16px;
  box-shadow: 0 14px 44px -8px rgba(33,63,98,0.19);
  min-width: 320px; max-width: 96vw;
  width: 430px;
  padding: 34px 28px 22px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-modal.active {
  display: block;
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 { font-size: 1.22rem; margin-bottom: 8px; }
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--vc-primary);
  width: 1.1em; height: 1.1em;
  margin-right: 2px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--vc-muted);
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover { color: var(--vc-primary); }
@media (max-width: 450px) {
  .cookie-modal { width: 96vw; min-width: 0; padding: 18px 5vw 12px 5vw; }
}

/* ======= UTILITIES ======= */
input[type="text"], input[type="email"], textarea {
  background: #F8F9FB;
  color: var(--vc-text);
  border-radius: 10px;
  border: 1px solid var(--vc-border);
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: border 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--vc-primary);
}

/* List bullets for policy pages */
ul, ol {
  margin-left: 25px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  color: var(--vc-text);
  font-size: 1rem;
  line-height: 1.5;
}
ul li::marker, ol li::marker { color: var(--vc-secondary); font-size: 1.11em; }

/* Table (if any): clean Scandinavian look */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--vc-surface);
  box-shadow: var(--vc-card-shadow);
  margin-bottom: 30px;
  border-radius: var(--vc-radius);
  overflow: hidden;
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--vc-border);
  text-align: left;
}
th {
  background: #F7F9FC;
  font-weight: 600;
  color: var(--vc-primary);
}
tr:last-child td {
  border-bottom: none;
}

/* ======= GENERIC MICRO-ANIMATIONS ======= */
.card, .service-intro.single, .feature-item, .testimonial-card, .post-item, .sidebar-block {
  transition: box-shadow 0.18s, transform 0.15s;
}
a, button, input, .cta-primary, .button-secondary {
  transition: background 0.16s, color 0.13s, border 0.14s, box-shadow 0.15s, outline 0.14s;
}

/* ENSURE CONSISTENT SPACING BETWEEN ALL CARDS/SECTIONS */
.section > .container > .content-wrapper > * { margin-bottom: 24px; }
.section > .container > .content-wrapper > *:last-child { margin-bottom: 0; }

/* Prevent overlapping */
.card, .service-intro.single, .feature-item, .testimonial-card, .post-item, .sidebar-block {
  z-index: 1;
}

/* Hide scroll on mobile menu when open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ======= END OF STYLE ======= */
