/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F6FA;
  color: #1E3246;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* FONT IMPORTS ----------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F6FA;
  color: #1E3246;
  word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1E3246;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; font-weight: 600; }

p, ul li, ol li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #1E3246;
}
strong {
  font-weight: 700;
  color: #1E3246;
}

.container {
  max-width: 1060px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* HEADER + NAVIGATION --------------------- */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 24px 20px 18px 20px;
  border-bottom: 1px solid #ecedf2;
  position: relative;
  z-index: 1002;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 36px;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
nav a {
  color: #1E3246;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #F5F6FA;
  color: #F7B718;
}

.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #F7B718;
  color: #1E3246;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 2px 10px 0 rgba(30,50,70,0.04);
  display: inline-block;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  margin-left: 24px;
}
.cta-button:hover, .cta-button:focus {
  background: #1E3246;
  color: #fff;
  box-shadow: 0 4px 16px 2px rgba(30,50,70,0.09);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION ---------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 18px;
  z-index: 1100;
  background: #fff;
  border: 1px solid #ecedf2;
  border-radius: 8px;
  font-size: 2rem;
  color: #1E3246;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(30, 50, 70, 0.06);
  transition: background 0.1s, box-shadow 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F5F6FA;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1200;
  min-width: 100vw;
  min-height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.7,.3,.2,1);
  box-shadow: 4px 0 24px 0 rgba(30,50,70,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #1E3246;
  align-self: flex-end;
  margin: 18px 28px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7B718;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
  margin-left: 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  padding: 16px 0;
  color: #1E3246;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F6FA;
  color: #F7B718;
}

@media (max-width: 1024px) {
  nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 400px) {
  .mobile-menu-close {
    font-size: 1.7rem;
    margin: 12px 8px 0 0;
  }
  .mobile-nav {
    margin-left: 14px;
  }
}


/* SECTIONS & LAYOUT CONTAINERS ----------------------------- */
main {
  flex: 1 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(30,50,70,0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  padding: 28px 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 2px rgba(30,50,70,0.13);
  transform: translateY(-2px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* Feature & Testimonial flex patterns ---------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(30,50,70,0.07);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 500px;
  transition: box-shadow 0.16s;
}
.testimonial-card strong {
  color: #1E3246;
  font-weight: 700;
  font-size: 1.04rem;
}
.testimonial-card p {
  color: #1E3246;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card img[alt="Ocena"] {
  width: 22px;
  margin-right: 2px;
  display: inline-block;
  filter: drop-shadow(0 1px 1px #f5f6fa);
}

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

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


/* BUTTON STYLES ---------------------- */
button {
  cursor: pointer;
}
button:focus {
  outline: 2px solid #F7B718;
}

/* General form of buttons */
.button, .cookie-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #F5F6FA;
  color: #1E3246;
  border: 1px solid #ecedf2;
  transition: background 0.17s, color 0.17s, border 0.17s;
  margin-right: 16px;
  font-weight: 600;
}
.button:hover, .cookie-btn:hover, .button:focus, .cookie-btn:focus {
  background: #F7B718;
  color: #1E3246;
  border: 1px solid #F7B718;
}
.button.primary, .cookie-btn.accept {
  background: #F7B718;
  color: #1E3246;
  border: 1px solid #F7B718;
}
.button.reject, .cookie-btn.reject {
  background: #F5F6FA;
  color: #1E3246;
  border: 1px solid #ecedf2;
}
.button.settings, .cookie-btn.settings {
  background: #fff;
  color: #1E3246;
  border: 1px solid #ecedf2;
}
.button:active, .cookie-btn:active {
  opacity: 0.88;
}

/* LISTS & ICONS ----------------------------- */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-left: 0;
}
ul li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

ul > li > ul, ol > li > ul {
  margin-left: 28px;
  margin-top: 6px;
}

/* FOOTER ----------------------------- */
footer {
  background: #fff;
  border-top: 1px solid #ecedf2;
  padding: 44px 0 20px 0;
  margin-top: 40px;
  color: #243B50;
}
.footer-menu {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.footer-menu a {
  color: #1E3246;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.18s, opacity 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F7B718;
  opacity: 1;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 16px 0;
}
.footer-info img {
  width: 36px;
  margin-bottom: 12px;
}
.footer-info address {
  font-style: normal;
  color: #506170;
  font-size: 0.98rem;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0 14px 0;
}
.footer-social a img {
  width: 29px;
  height: 29px;
}
.newsletter-signup {
  margin: 36px 0 0 0;
  padding: 16px 0;
  border-radius: 8px;
  background: #F5F6FA;
  width: 100%;
}
.newsletter-signup strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
  display: block;
  color: #1E3246;
}
.newsletter-signup p {
  margin-bottom: 0;
  color: #243B50;
  font-size: 0.98rem;
}

/* Responsive footer layout */
@media (min-width: 768px) {
  .container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: row;
    gap: 40px;
    justify-content: flex-start;
  }
  .footer-menu, .footer-info, .footer-social, .newsletter-signup {
    flex: 1 0 180px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}

/* COOKIE CONSENT BAR --------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(30,50,70,0.10);
  border-top: 1px solid #ecedf2;
  z-index: 2000;
  padding: 22px 8vw 16px 8vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.36s cubic-bezier(.7,.3,.2,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
.cookie-banner p {
  color: #1E3246;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 600px) {
  .cookie-banner { padding: 20px 8px 16px 8px; }
  .cookie-banner .cookie-actions {gap:8px;}
}

/* COOKIE MODAL -------------------------- */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,50,70,0.18);
  z-index: 2020;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 36px 2px rgba(30,50,70,0.13);
  padding: 36px 24px 26px 24px;
  min-width: 320px;
  max-width: 94vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fade-in-up 0.27s cubic-bezier(.7,.3,.2,1);
}
@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(40px) scale(0.97); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  margin: 0 0 10px 0;
  font-size: 1.35rem;
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1E3246;
  opacity: .92;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F7B718;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 1.03rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F7B718;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.cookie-category input[disabled] {
  opacity: 0.4;
}
.cookie-category .category-label {
  font-weight: 600;
  color: #1E3246;
}
.cookie-btns-modal {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
@media (max-width:440px) {
  .cookie-modal {
    padding: 16px 6vw 13px 6vw;
    min-width: unset;
  }
}

/* MICRO-INTERACTIONS & HOVER EFFECTS ------------------- */
section, .card, .card-container, .testimonial-card, .button, .cta-button, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.15s, border 0.18s, transform 0.18s;
}

section:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px 2px rgba(30,50,70,0.07);
}

.cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 1px 3px 0 rgba(30,50,70,0.10);
}

/* ACCESSIBILITY & FOCUS STATES ------------------------ */
a:focus, .cta-button:focus {
  outline: 2px solid #F7B718;
  outline-offset: 2px;
}
button:focus {
  outline: 2px solid #F7B718;
}

/* SPACING UTILITIES for FLEXBOX Patterns -------------- */
.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; }

/* RESPONSIVE ADJUSTMENTS ----------------- */
@media (max-width: 767px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 12px 10px 12px;
  }
  .container {
    padding: 0 8px;
  }
  .section, section {
    padding: 25px 8px;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 1.7rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.16rem;
    margin-bottom: 14px;
  }
  .card, .testimonial-card {
    min-width: unset;
    padding: 16px 8px;
  }
  .footer-menu, .footer-info, .footer-social, .newsletter-signup {
    flex: 1 1 85vw;
    margin-bottom: 16px;
  }
  .newsletter-signup {
    font-size: 0.96rem;
    margin: 24px 0 0 0;
    padding: 10px 0 14px 0;
  }
}

/* TYPOGRAPHIC SCALE for MINIMALISM ------------- */
:root {
  --sm-font-xs: 0.875rem;   /* 14px */
  --sm-font-s: 1rem;        /* 16px */
  --sm-font-m: 1.125rem;    /* 18px */
  --sm-font-l: 1.5rem;      /* 24px */
  --sm-font-xl: 2rem;       /* 32px */
  --sm-font-xxl: 3rem;      /* 48px */
}

/* MISC ---------------------------------------- */
::-webkit-scrollbar { width: 8px; background: #F5F6FA; }
::-webkit-scrollbar-thumb { background: #edeef3; border-radius: 4px; }

/* Address alignment */
address {
  line-height: 1.7;
  font-size: 1rem;
}
address img {
  display: inline;
  width: 22px;
  margin-bottom: -4px;
  margin-right: 5px;
}

/* Minimal decorative divider (can be used as needed) */
.divider {
  background: #ecedf2;
  height: 1px;
  border: 0;
  margin: 26px 0;
}

/* Hide elements utility */
.hide { display: none !important; }

/* ========== END OF CSS ========== */
