/* CSS RESET & NORMALIZE */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F7F8FA;
  color: #163355;
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #163355;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; margin-bottom: 10px; }
p, li, a, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #25395C;
}
strong { color: #163355; font-weight: 700; }

/* LINKS */
a {
  color: #00A186;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #00705A;
  text-decoration: underline;
  outline: none;
}

/* CONTAINER & WRAPPER LAYOUTS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER NAVIGATION */
header {
  background: #163355;
  color: #fff;
  padding: 0;
  box-shadow: 0 4px 12px rgba(24,40,78,0.05);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 0;
}
header a img {
  height: 42px;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: color .18s;
  border-radius: 4px;
}
header nav a:hover, header nav a:focus {
  color: #00A186;
  background: rgba(0,161,134,0.08);
}

.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #00A186;
  color: #fff !important;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 26px;
  font-size: 1.05rem;
  border: none;
  transition: background .20s, box-shadow .20s, color .16s;
  box-shadow: 0 4px 14px rgba(0,112,90,0.08);
  margin-left: 16px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cta-button:hover, .cta-button:focus {
  background: #00705A;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(0,160,133,0.12);
}

/* MOBILE MENU (BURGER) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 7px 13px;
  border-radius: 8px;
  z-index: 1001;
  transition: background .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(0,112,90,0.10);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #163355;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.75,.01,.49,1.02);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 30px 0 rgba(22,51,85,0.25);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  padding: 24px 22px 8px 24px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 999;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: rgba(0,112,90,0.12);
  border-radius: 50%;
}
.mobile-nav {
  width: 100%;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 28px 32px 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(247,248,250,0.12);
  transition: color .18s, background .12s;
  border-radius: 4px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(0,161,134,0.14);
  color: #00A186;
}

/* Show/hide navigation depending on breakpoint */
@media (max-width: 1080px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1081px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}


/* HERO SECTION */
.hero {
  background: #ffffff;
  border-bottom: 3px solid #E1E6F0;
  padding: 56px 0 48px 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 30px 0 rgba(22,51,85,0.07);
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 32px;
}
.hero h1 {
  color: #163355;
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.hero .subheadline {
  font-size: 1.18rem;
  color: #385377;
  margin-bottom: 32px;
  max-width: 600px;
}

/* SECTIONS SPACING PATTERN */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(22,51,85,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
section:last-child {
  margin-bottom: 0;
}

/* Feature Grid (/) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F8FA;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(22,51,85,0.06);
}
.feature-icon img {
  width: 32px;
  height: 32px;
}
.feature-description {
  flex: 1 1 200px;
  color: #25395C;
  font-size: 1rem;
  padding-left: 4px;
  min-width: 180px;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F7F8FA;
  color: #163355;
  border-radius: 10px;
  box-shadow: 0 1px 12px 0 rgba(22,51,85,0.09);
  margin-bottom: 20px;
  padding: 20px 32px 20px 20px;
  min-width: 200px;
  font-size: 1.10rem;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card p {
  color: #163355;
  margin-bottom: 5px;
}
.testimonial-card .testimonial-meta {
  color: #35537C;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 30px 0 rgba(0,160,133,0.12);
  transform: translateY(-3px) scale(1.01);
}

/* Card Container Example  */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(22,51,85,0.07);
  padding: 24px 20px;
  transition: box-shadow .18s, transform .13s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,160,133,0.13);
  transform: scale(1.02);
}

/* Content Grid  */
.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;
}

/* Step-By-Step Timeline (jak-to-dziala.html) */
.step-by-step-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0;
  margin: 0 0 32px 0;
}
.step-by-step-timeline li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  background: #F7F8FA;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 rgba(22,51,85,0.05);
  padding: 24px 20px;
}
.step-by-step-timeline img {
  min-width: 38px;
  max-width: 38px;
  margin-right: 6px;
}

/* Blog Posts */
.blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-post {
  flex: 1 1 280px;
  background: #F7F8FA;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(22,51,85,0.05);
  padding: 28px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  transition: box-shadow .17s, transform .11s;
}
.blog-post:hover {
  box-shadow: 0 8px 22px 0 rgba(0,160,133,0.10);
  transform: translateY(-2px);
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #F7F8FA;
  border-radius: 10px;
  box-shadow: 0 1px 10px 0 rgba(22,51,85,0.07);
  padding: 20px 24px;
  margin-bottom: 20px;
}

/* Section Titles with border for clarity (optional)*/
.content-wrapper > h2:not(:first-child) {
  margin-top: 40px;
  border-top: 1.1px solid #E1E6F0;
  padding-top: 32px;
}

/* TEXT SECTIONS FOR ABOUT/FAQ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* THANK YOU PAGE */
.thank-you-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  font-size: 1.15rem;
}

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

/* Contact Info & Map Section (kontakt.html) */
.contact-info, .map-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 10px;
}
.contact-info p, .footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0px;
}
.support-notice {
  color: #35537C;
  font-size: 0.98rem;
}


/* Footer styles */
footer {
  background: #163355;
  color: #fff;
  padding: 0px 0 0 0;
  margin-top: 62px;
  box-shadow: 0 -4px 18px 0 rgba(22,51,85,0.06);
}
footer p {
  color: white;
}
footer .container {
  flex-direction: column;
  padding: 0 20px 12px 20px;
}
footer .content-wrapper {
  flex-direction: column;
  padding: 40px 0 0 0;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #fff;
  font-size: 1rem;
  align-items: center;
  justify-content: flex-start;
}
footer nav a {
  color: #fff !important;
  transition: color .17s;
}
footer nav a:hover {
  color: #00A186 !important;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  width: 22px;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.footer-social a img {
  height: 32px;
  width: 32px;
  opacity: 0.82;
  transition: opacity .18s, transform .16s;
}
.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.07) translateY(-2px);
}
.brand-copyright {
  color: #e2e6ef;
  font-size: 0.98rem;
  align-self: flex-end;
  margin-top: 12px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #163355;
  color: #fff;
  border-top: 2px solid #00705A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px 8px 20px 8px;
  box-shadow: 0 -2px 22px 0 rgba(22,51,85,0.13);
  transition: transform .35s cubic-bezier(.68,.01,.38,1.01), opacity .2s;
  gap: 18px;
}
.cookie-banner.hide {
  transform: translateY(180%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-text {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-banner-btn {
  background: #00A186;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.03rem;
  font-weight: 600;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .19s, box-shadow .19s;
}
.cookie-banner .cookie-banner-btn.settings {
  background: #385377;
}
.cookie-banner .cookie-banner-btn.reject {
  background: #B8BBC4;
  color: #163355;
}
.cookie-banner button:hover,.cookie-banner .cookie-banner-btn:hover {
  background: #00705A;
}
.cookie-banner .cookie-banner-btn.reject:hover {
  background: #969ba7;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,51,85,0.65);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.21s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #163355;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(22,51,85,0.12);
  padding: 40px 28px 32px 28px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: slideInModal 0.25s cubic-bezier(.75,.01,.26,.99);
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideInModal { from { transform: translateY(40px); opacity:0 } to {transform: none; opacity: 1} }
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 15px;
  background: #fff;
  color: #163355;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px 10px;
  box-shadow: 0 1px 4px 0 rgba(22,51,85,0.06);
  transition: background .18s;
  z-index: 2201;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  background: #F7F8FA;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F7F8FA;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1.03rem;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: #B8BBC4;
  position: relative;
  outline: none;
  transition: background .14s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #00A186;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .17s;
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-category[data-essential] .cookie-toggle {
  background: #e2e6ef;
  cursor: not-allowed;
}
.cookie-category[data-essential] span {
  color: #818ba2;
  font-style: italic;
}


/* General List Styles */
ul, ol {
  padding-left: 19px;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #2B4161;
  line-height: 1.65;
}
ul li img {
  width: 22px;
  min-width: 18px;
  margin-right: 5px;
}
li strong {
  color: #163355;
}

/* Card and Section Spacing Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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 Design: Mobile First */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 42px 0 35px 0; min-height: 260px; }
  .testimonial-card { padding: 18px 12px; }
  .step-by-step-timeline li { padding: 18px 10px; gap: 15px; }
  .blog-posts { gap: 16px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 99vw; padding: 0 7px; }
  .hero .content-wrapper { padding: 0 2px; gap: 22px; }
  .hero { min-height: 180px; padding: 28px 0 18px 0; }
  section, .section { margin-bottom: 29px; padding: 22px 3px; border-radius: 10px; }
  .blog-posts, .card-container, .content-grid, .feature-grid {
    flex-direction: column !important;
    gap: 16px;
  }
  .card, .blog-post, .testimonial-card {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    padding: 13px 8px;
    border-radius: 9px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-contact, .footer-social, nav {
    gap: 8px;
  }
  .content-wrapper { gap: 12px; }
  .mobile-menu {
    width: 100vw;
    min-width: 0;
  }
  .mobile-nav { padding: 0 13px 20px 13px; }
  .thank-you-section { font-size: 1rem; }
  .cookie-modal { padding: 19px 8px 22px 8px; min-width: 0; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .footer-contact p img, .footer-contact img { width: 18px; }
  .footer-social a img { height: 24px; width: 24px; }
  footer .content-wrapper { padding: 22px 0 0 0; }
}

/* Util Classes */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.d-block { display: block !important; }


/* SCROLLBAR STYLING (only for desktop) */
@media (min-width:600px){
  ::-webkit-scrollbar { width: 9px; background: #f7f8fa;}
  ::-webkit-scrollbar-thumb { background: #E1E6F0; border-radius: 9px;}
  ::-webkit-scrollbar-thumb:hover { background: #b8bbc4; }
}

/* SHADOW/ANIMATION UTIL */
.fade-in {
  animation: fadeIn .35s ease;
}
.slide-in-up {
  animation: slideInModal .35s cubic-bezier(.76,.07,.39,1.04);
}

/* FORM FIELD Matching (if any forms will be added in future) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid #d4dde9;
  border-radius: 5px;
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  max-width: 360px;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #00A186;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

/* Hide visually but accessible for accessibility */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
