/* Voltaic Ray Entreprenörskap | style.css | Soft Pastel, Flexbox-Only, Responsive, Brand-Guided */
/* ---------------------------------------------------
   CSS RESET & BASE
--------------------------------------------------- */
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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9FBFE;
  color: #222b3a;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #183A68;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6592fe;
  text-shadow: 0 2px 16px #B6CBFF55;
}
ul, ol {
  margin-left: 1.6em;
  margin-bottom: 14px;
}
strong, b {
  font-weight: 700;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* ---------------------------------------------------
   FONTS (Soft Pastel, Dreamy, European Tech)
--------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  color: #11305b;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.65rem;
  color: #28508d;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  color: #2b477f;
  margin-bottom: 8px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #2a3350;
}
p {
  margin-bottom: 15px;
}

/* ---------------------------------------------------
   COLOR PALETTE: Soft Pastel Variants (Accessible)
--------------------------------------------------- */
:root {
  --primary: #183A68;
  --primary-light: #B6CBFF;
  --primary-verylight: #eaf2fe;
  --secondary: #B6CBFF;
  --accent: #FFD43B;
  --accent-light: #FFF8CC;
  --pastel-pink: #ffe6ec;
  --pastel-green: #e6ffe6;
  --pastel-yellow: #fff8cc;
  --pastel-blue: #eaf2fe;
  --white: #fff;
  --gray-soft: #f7f9fa;
  --gray-light: #e3e7ee;
  --gray-border: #d1e0f9;
  --text-title: #183A68;
  --text-body: #223366;
  --shadow: 0 2px 16px 0 #b6cbff50;
}

/* ---------------------------------------------------
   LAYOUT CONTAINERS
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 #B6CBFFCC;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  margin-bottom: 20px;
  background: var(--pastel-blue);
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #b6cbff33;
  color: #133056;
  transition: box-shadow 0.2s, background 0.3s;
}
.testimonial-card blockquote {
  font-style: italic;
  margin: 0 0 2px 0;
  color: #183A68;
  font-size: 1.1rem;
  line-height: 1.4;
}
.testimonial-card p {
  color: #35588c;
  font-size: 1rem;
  margin: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}
.features div {
  background: var(--pastel-pink);
  border-radius: 12px;
  box-shadow: 0 2px 12px #ffe6ec88;
  color: #24385c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}
.features div:hover {
  background: var(--pastel-yellow);
}

.hero {
  background: linear-gradient(120deg,var(--primary-verylight) 80%,var(--pastel-yellow) 100%);
  padding: 48px 0 36px 0;
  margin-bottom: 45px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 2px 24px 0 #b6cbfff0;
}

/* ---------------------------------------------------
   BUTTONS & CTAS
--------------------------------------------------- */
.cta-primary {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 34px;
  font-size: 1.11rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--accent);
  color: var(--primary);
  border-radius: 24px;
  box-shadow: 0 2px 10px #ffd43b33;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
  border: none;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #e1bc32;
  color: #183A68;
  box-shadow: 0 2px 18px #ffd43b99;
}
button, .button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 20px;
  background: var(--secondary);
  color: var(--text-title);
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 1px 8px #B6CBFF33;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 16px #B6CBFF99;
}

/* ---------------------------------------------------
   NAVIGATION (Desktop/Mobile)
--------------------------------------------------- */
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}
header {
  background: var(--white);
  box-shadow: 0 2px 12px #B6CBFF33;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 90;
}
header nav a {
  color: #28508D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.13s;
}
header nav a.cta-primary {
  background: var(--accent);
  color: var(--primary);
  margin-left: 12px;
  font-size: 1.04rem;
  padding: 10px 22px;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #e1bc32;
  color: #11305b;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

header nav a img {
  height: 36px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: -4px;
}

/* Hide mobile menu by default; show burger on mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px #FFD43B55;
  position: absolute;
  top: 20px; right: 24px;
  z-index: 103;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}
@media (max-width: 992px) {
  nav {
    gap: 12px;
    min-height: 56px;
  }
}
@media (max-width: 860px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #eaf2feec;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.7,.2,.2,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 8px 0;
  font-size: 2.1rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 43px; height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px #FFD43B55;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  justify-content: center;
  padding: 50px 0 0 0;
  flex-wrap: nowrap;
}
.mobile-nav a {
  font-size: 1.4rem;
  color: var(--primary);
  background: var(--white);
  border-radius: 16px;
  padding: 14px 35px;
  margin-bottom: 0;
  transition: background 0.2s, color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent-light);
  color: #b49422;
}
@media (max-width: 860px) {
  .mobile-menu {
    display: flex;
  }
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: #eaf2fe;
  padding: 28px 0 0 0;
  box-shadow: 0 -2px 14px #B6CBFF33;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 18px;
}
footer nav {
  gap: 8px;
  margin-bottom: 8px;
}
footer nav a {
  color: #35588c;
  font-weight: 500;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  background: transparent;
  text-decoration: underline;
}
.contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  font-size: 1rem;
  color: #183A68;
}
.contact-bar img {
  width: 19px;
  margin-right: 6px;
  vertical-align: bottom;
  opacity: 0.85;
}

/* ---------------------------------------------------
   BLOGG: CATEGORY TAGS
--------------------------------------------------- */
.category-tag {
  display: inline-block;
  background: var(--pastel-yellow);
  color: #7a7a00;
  font-size: 0.99rem;
  padding: 5px 17px;
  border-radius: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 5px;
  box-shadow: 0 2px 7px #fff8ccdd;
}

/* ---------------------------------------------------
   CARDS, SHADOWS, VISUAL ENHANCEMENTS
--------------------------------------------------- */
.card, .testimonial-card, .features div, .cta-primary, button, .category-tag {
  box-shadow: 0 2px 14px 0 #b6cbff26;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 28px #b6cbff33;
}

/* ---------------------------------------------------
   SPACING PATTERNS (according to requirements)
--------------------------------------------------- */
h1,h2,h3,h4 { margin-bottom: 16px; }
h1 { margin-top: 0; }
.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; }

ul { margin-bottom: 18px; }
li { margin-bottom: 7px; }

/* ---------------------------------------------------
   RESPONSIVE MEDIA QUERIES
--------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section { padding: 28px 6px; margin-bottom: 38px; }
  .hero {
    padding: 30px 0 18px 0;
    border-radius: 0 0 18px 18px;
  }
  .content-grid { flex-direction: column; gap: 14px; }
  .card-container { flex-direction: column; gap: 15px; }
  .testimonial-card { flex-direction: column; gap: 10px; padding: 14px; }
  .features { flex-direction: column; gap: 12px; }
  .feature-item { align-items: flex-start; gap: 8px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 12px; }
  footer .content-wrapper { gap: 12px; }
}

@media (max-width: 520px) {
  .container { padding: 0 4px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.04rem; }
  h3 { font-size: 0.99rem; }
  .hero { padding: 14px 0 8px 0; }
}

/* ---------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
--------------------------------------------------- */
.cta-primary, button, .features div, .card, .testimonial-card, .category-tag {
  transition: background 0.16s, color 0.16s, box-shadow 0.21s, transform 0.17s;
}
.card:hover, .testimonial-card:hover, .features div:hover {
  transform: translateY(-2px) scale(1.02);
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: linear-gradient(90deg,#fff8cc 60%,#eaf2fe 120%);
  color: #183A68;
  padding: 22px 12px 18px 12px;
  box-shadow: 0 -4px 22px #FFD43B33;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px 24px;
  justify-content: center;
  font-size: 1.09rem;
  border-radius: 24px 24px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.37s cubic-bezier(.6,.16,0,1);
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(160px);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.cookie-banner button {
  padding: 11px 23px;
  border-radius: 32px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  margin-right: 2px;
  box-shadow: 0 1px 8px #183A6840;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner button.reject {
  background: #F9FBFE;
  color: #183A68;
  border: 1.5px solid #b6cbff;
}
.cookie-banner button.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #b6cbff;
  color: #11305b;
}
.cookie-banner button.accept:hover {
  background: #ffe066;
  color: #183A68;
}
.cookie-banner button.reject:hover {
  background: #ffe6ec;
  color: #183A68;
}
.cookie-banner button.settings:hover {
  background: #eaf2fe;
  color: #183A68;
}
@media (max-width: 600px) {
  .cookie-banner { padding: 14px 3px 11px 3px; flex-direction: column; gap: 11px; font-size: 0.97rem; }
  .cookie-banner .cookie-actions {gap: 8px;}
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: #183a6839;
  z-index: 8000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 4px 24px #b6cbff55;
  min-width: 97vw;
  max-width: 420px;
  margin: 0 8px 0 8px;
  padding: 32px 22px 24px 22px;
  position: relative;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookieModalSlideIn 0.48s cubic-bezier(.7,.16,.3,1);
}
@media (max-width: 520px) {
  .cookie-modal .cookie-modal-content { min-width: 100vw; padding: 19px 8px; }
}
.cookie-modal .modal-close {
  position: absolute;
  right: 22px; top: 12px;
  font-size: 1.7rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 37px; height: 37px;
  align-items: center; justify-content: center;
  display: flex;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--accent);
  color: #183A68;
}
.cookie-modal h3 {
  font-size: 1.21rem;
  margin-bottom: 0;
  color: var(--primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  color: #2b4376;
}
.cookie-toggle {
  width: 42px; height: 22px;
  background: #eaf2fe;
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  margin-left: 7px;
  transition: background 0.23s;
  border: 1px solid #B6CBFF;
}
.cookie-toggle input {
  width: 0; height: 0; opacity: 0; pointer-events: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #b6cbff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-toggle input:checked + .slider {
  left: 22px;
  background: var(--accent);
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-modal button {
  padding: 11px 23px;
  border-radius: 32px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  margin-right: 2px;
  box-shadow: 0 1px 8px #183A6840;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal button.save {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal button.save:hover {
  background: #ffe066;
  color: #183A68;
}
/* Animation for modal */
@keyframes cookieModalSlideIn {
  from { transform: translateY(320px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}

/* ---------------------------------------------------
   UTILITY CLASSES & TWEAKS
--------------------------------------------------- */
.text-center {text-align: center;}
.mt-2 {margin-top: 10px;}
.mt-3 {margin-top: 18px;}
.mb-2 {margin-bottom: 10px;}
.mb-3 {margin-bottom: 18px;}
.no-list {list-style: none; margin-left: 0; padding-left: 0;}

/* Hide/Show for accessibility and JS interactions */
[hidden], .hidden { display: none !important; }

/* High contrast overrides for testimonials (accessibility) */
.testimonial-card, .testimonial-card * {
  color: #153867;
  background: var(--pastel-blue);
}
.testimonial-card blockquote {
  color: var(--primary);
}

/* ---------------------------------------------------
   END STYLE.CSS
--------------------------------------------------- */
