/* 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,
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f6f7fa;
  color: #123e6b;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #19b0be;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #123e6b;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1em 1.5em;
  padding-left: 1em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: #123e6b;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #234465;
}
strong {
  font-weight: 700;
  color: #123e6b;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(25,176,190,0.07);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #f6f7fa;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(25,176,190,0.08);
  padding: 32px 22px;
  text-align: center;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(25,176,190,0.14);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* CARD AND FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18,62,107,0.07);
  position: relative;
  padding: 28px 20px;
  min-width: 260px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(18,62,107,0.07);
  border-left: 5px solid #19b0be;
  min-width: 250px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #222e3a;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.testimonial-card .author {
  color: #234465;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(25,176,190,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.client-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* HERO SECTION */
.hero {
  background: #19b0be;
  color: #fff;
  padding: 50px 0 60px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 15px 35px rgba(18,62,107,0.10);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 16px;
}
.hero p {
  color: #f6f7fa;
  margin-bottom: 22px;
}

/* BUTTONS */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 30px;
  border-radius: 32px;
  border: none;
  background: #123e6b;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(18,62,107,0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  display: inline-block;
  margin: 8px 0;
}
.cta-btn {
  background: #19b0be;
  color: #fff;
  font-size: 1.18rem;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(18,62,107,0.10);
}
.cta-btn:hover, .cta-btn:focus {
  background: #123e6b;
  color: #fff;
  box-shadow: 0 8px 32px rgba(18,62,107,0.14);
}
button:hover, button:focus, .mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: #19b0be;
  color: #fff;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 6px 24px rgba(18,62,107,0.09);
  position: relative;
  z-index: 100;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #123e6b;
  padding: 4px 3px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #19b0be;
  border-bottom: 2.5px solid #19b0be;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #19b0be;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border-radius: 8px;
  padding: 6px 16px;
  z-index: 110;
  position: relative;
  margin-left: 12px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #123e6b;
  color: #fff;
  z-index: 2001;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.35s cubic-bezier(.61,.23,.29,.92), opacity 0.23s;
  overflow-y: auto;
  transform: translateX(100vw);
  opacity: 0;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 18px 22px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
  box-shadow: none;
  padding: 4px 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  margin-top: 32px;
  padding: 0 34px;
  font-size: 1.3rem;
}
.mobile-nav a {
  color: #fff;
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-bottom: 2.5px solid transparent;
  line-height: 1.25;
  transition: color 0.17s, border-bottom 0.16s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #19b0be;
  border-bottom: 2.5px solid #19b0be;
}

/* FOOTER */
footer {
  background: #123e6b;
  color: #fff;
  border-radius: 32px 32px 0 0;
  margin-top: 70px;
  box-shadow: 0 -8px 40px rgba(18,62,107,0.07);
  position: relative;
  z-index: 10;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  padding: 48px 0 28px 0;
}
.footer-content > * {
  margin-right: 8px;
}
.footer-content .logo img,
.footer-content > a img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #19b0be;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.social-links img {
  width: 30px;
  height: 30px;
  opacity: 0.90;
  transition: opacity 0.14s;
  cursor: pointer;
}
.social-links img:hover {
  opacity: 1;
}
footer .contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
footer .contact-info span {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  gap: 7px;
  color: #e5fafd;
  font-size: 1rem;
}
.footer-copyright {
  text-align: center;
  color: #e5fafd;
  margin-top: 20px;
  font-size: 0.93rem;
  padding-bottom: 12px;
}

/* PRODUCT CATEGORIES (products.html) */
.product-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  list-style: none;
  margin-bottom: 24px;
  margin-left: 0;
}
.product-categories li {
  background: #19b0be;
  color: #fff;
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(18,62,107,0.10);
  transition: background 0.14s;
}
.product-categories li:hover {
  background: #123e6b;
}

/* FAQ SECTION (poradniki.html) */
.faq-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.faq-items > div {
  flex: 1 1 260px;
  background: #fff;
  border-left: 4px solid #19b0be;
  padding: 20px 20px;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(18,62,107,0.04);
  color: #123e6b;
}

/* GUIDES LIST */
.guides-list ul, .popular-topics ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc inside;
}

/* COOPERATION PROCESS (Wspolpraca) */
.cooperation-process ol {
  list-style: decimal inside;
  margin-bottom: 18px;
  padding-left: 0;
  color: #234465;
}
.cooperation-process li {
  margin: 7px 0 7px 0;
  font-size: 1rem;
}

/* MAP LOCATION (Kontakt) */
.map-location {
  margin-top: 12px;
  background: #f6f7fa;
  border-radius: 12px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #123e6b;
  font-size: 1rem;
  margin-bottom: 10px;
}
.map-location img {
  width: 28px;
  height: 28px;
}

/* TESTIMONIAL SLIDER (Index) - horizontal flex scroll for demo purposes */
.testimonial-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.testimonial-slider::-webkit-scrollbar {
  height: 8px;
  background: #e2f4f7;
  border-radius: 8px;
}
.testimonial-slider::-webkit-scrollbar-thumb {
  background: #19b0be;
  border-radius: 8px;
}

/* GENERAL SPACING FOR PAGES */
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #123e6b;
  box-shadow: 0 -6px 30px rgba(25,176,190,0.09);
  padding: 24px 18px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.33s cubic-bezier(.61,.23,.29,.92), opacity 0.2s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120px);
  opacity: 0;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button, .cookie-banner .cta-btn {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 28px;
  background: #19b0be;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.14s;
}
.cookie-banner button:hover, .cookie-banner .cta-btn:hover {
  background: #123e6b;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #123e6b;
  border: 2px solid #123e6b;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #19b0be;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,62,107,0.44);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #123e6b;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(25,176,190,0.16);
  padding: 32px 36px;
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modal-slide-in 0.33s cubic-bezier(.61,.23,.29,.92);
}
@keyframes modal-slide-in {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: #19b0be;
}
.cookie-modal-category {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  border-bottom: 1px solid #e7ecf1;
  padding: 10px 0 14px 0;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-switch input[type='checkbox'] {
  width: 38px;
  height: 20px;
  background: #d8f6fb;
  border-radius: 14px;
  appearance: none;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.cookie-switch input[type='checkbox']:checked {
  background: #19b0be;
}
.cookie-switch input[type='checkbox']::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: left 0.18s;
  box-shadow: 0 1px 4px rgba(18,62,107,0.08);
}
.cookie-switch input[type='checkbox']:checked::before {
  left: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 1.6rem;
  border: none;
  background: transparent;
  color: #19b0be;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: #123e6b;
}

/* MEDIA QUERIES */
@media (max-width: 1180px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 960px) {
  .footer-content {
    gap: 30px;
    flex-wrap: wrap;
  }
  .feature-grid > div, .faq-items > div {
    min-width: 160px;
    padding: 22px 10px;
  }
  .section, main section {
    padding: 30px 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
    font-size: 0.95rem;
  }
  .footer-content {
    gap: 18px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section, main section {
    padding: 22px 3vw;
    margin-bottom: 36px;
  }
  .feature-grid, .card-container, .content-grid, .faq-items, .testimonial-slider, .client-logos {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 34px 0 18px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .logo img { height: 38px; }
  .footer-content .logo img, .footer-content > a img { height: 40px; }
}
@media (max-width: 540px) {
  .container {
    padding: 0 8px;
  }
  .cookie-modal {
    padding: 16px 8px;
    min-width: 0;
    max-width: 99vw;
  }
  .section, main section {
    padding: 14px 2vw;
  }
  .footer-content {
    padding: 21px 0 11px 0;
    gap: 10px;
  }
  .cookie-banner {
    padding: 16px 6px;
    font-size: 0.97rem;
  }
}
/* MICRO-INTERACTIONS & ANIMATIONS */
.cta-btn, .feature-grid > div, .card, .testimonial-card,
.card, .cookie-banner, .cookie-banner button, .cookie-banner .cta-btn {
  transition: box-shadow 0.18s, background 0.20s, color 0.14s, transform 0.12s;
}
.cta-btn:active { transform: scale(0.97); }
.cookie-banner button:active, .cookie-banner .cta-btn:active { transform: scale(0.97); }
.feature-grid > div:active, .testimonial-card:active { transform: scale(0.98); }

/* REMOVE GRID/COLS */
/* (No display: grid or columns used anywhere per strict requirements.) */

/* END */
