/* ===== 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F0F4F6;
  color: #1C3948;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1C3948;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #F5B742;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
th {
  background: #F0F4F6;
  font-weight: bold;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1C3948;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.32rem;
  line-height: 1.18;
}
h4 {font-size: 1.1rem;}

p, li, address, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #243847;
  line-height: 1.7;
  font-size: 1rem;
}
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #1C3948;
  border-left: 4px solid #F5B742;
  padding-left: 16px;
  margin-bottom: 16px;
  background: #fffbea;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* ===== LAYOUT CONTAINERS ===== */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
main {
  padding-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(34,50,63,0.07);
}

/* ======= FLEXBOX PATTERNS ======= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(28,57,72,0.09);
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
  min-width: 260px;
}
.card:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 36px 0 rgba(28,57,72,0.15);
}
.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: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(28,57,72,0.05);
  border-radius: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(28,57,72,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* ===== SECTION BACKGROUNDS & GRADIENTS ===== */
.hero {
  background: linear-gradient(82deg, #fbe2af 0%, #fafcff 100%);
  padding: 70px 0 52px 0;
  margin-bottom: 48px;
}
.features {
  background: linear-gradient(110deg, #F0F4F6 52%, #fcf6ea 100%);
  border-radius: 0 0 32px 32px;
}
.services, .services-offer, .trainings-offer, .pricing, .benefits, .about-section, .policy, .gdpr, .terms, .cookie-policy, .contact-form-section, .contact-details-section {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(44,64,80,0.07);
  margin-bottom: 40px;
  padding: 32px 20px;
}
.cta-section {
  background: linear-gradient(93deg,#f4e79b 0%, #fbe2af 50%, #F0F4F6 100%);
  border-radius: 16px;
  margin:32px 0;
}
.about, .about-section, .team{
  background: #fafcff;
}

.confirmation-message {
  background: linear-gradient(90deg,#fbe2af 0%, #fcf6ea 100%);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px 0 rgba(28,57,72,0.07);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 101;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 16px 0;
  font-weight: 600;
}
.main-navigation img {
  width: 135px;
  margin-right: 24px;
}
.main-navigation a {
  color: #1C3948;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 12px;
  border-radius: 8px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-navigation a.cta,
.cta.primary {
  background-color: #F5B742;
  color: #1C3948;
  border-radius: 24px;
  padding: 9px 28px;
  font-weight: 700;
  font-size: 1.03rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px 0 rgba(245,183,66,0.12);
  transition: background 0.20s, color 0.18s;
}
.main-navigation a.cta:hover, .cta.primary:hover {
  background: #ffcd68;
  color: #1C3948;
}
.main-navigation a:hover:not(.cta) {
  background: #F0F4F6;
  color: #F5B742;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1C3948;
  margin: 0 10px;
  z-index: 103;
  cursor: pointer;
  transition: color 0.15s;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(28,57,72,0.94);
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(.22,.61,.36,1), opacity 0.18s;
  opacity: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F5B742;
  font-size: 2.1rem;
  margin: 24px 28px 0 0;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.16s;
}
.mobile-nav {
  width: 300px;
  background: #fff;
  padding: 54px 18px 24px 18px;
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100vh;
  box-shadow: -2px 0 16px 0 rgba(28,57,72,0.10);
  z-index: 202;
}
.mobile-nav a {
  color: #1C3948;
  font-size: 1.09rem;
  padding: 13px 14px;
  border-radius: 14px;
  transition: background 0.17s, color 0.17s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:hover {
  background: #F5B742;
  color: #173242;
}
@media (max-width: 1024px) {
  .main-navigation {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-navigation a:not(.cta):not(:first-child) { font-size: 0.95rem; }
}
@media (max-width: 900px) {
  .main-navigation img { width: 110px; }
  .main-navigation {
    gap: 10px;
    font-size: 0.96rem;
  }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 24px;
    top: 18px;
  }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== CALL TO ACTION - BUTTONS ===== */
.cta {
  display: inline-block;
  background-color: #F5B742;
  color: #1C3948;
  border: none;
  border-radius: 30px;
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 3px 14px 0 rgba(245,183,66, 0.13);
  transition: background .19s, color .16s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta:hover,
.cta:focus {
  background: #FFD98A;
  color: #204467;
  outline: none;
  box-shadow: 0 6px 28px 0 rgba(245,183,66,0.17);
}
:focus {
  outline: 2px solid #F5B742;
}

/* ===== BLOG CARDS ===== */
.post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.post-card {
  flex: 1 1 290px;
  min-width: 250px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(28,57,72,.08);
  border-radius: 14px;
  padding: 24px 20px;
  transition: transform 0.19s, box-shadow 0.19s;
  margin-bottom: 20px;
}
.post-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 28px 0 rgba(28,57,72,0.12);
}
.blog-categories {
  margin-top: 12px;
  font-size: 0.98rem;
  color: #888;
}

/* ============ TABLES / PRICING =========== */
.pricing table {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(28,57,72,0.04);
  font-size: 1.01rem;
  margin-top:18px;
}
.pricing th, .pricing td {
  border-bottom: 1px solid #f2e2b5;
}
.pricing th {
  color: #1C3948;
  background: #fbe2af;
  font-weight: bold;
}
.pricing td {
  color: #204467;
}

/* ========== TESTIMONIAL AND REVIEW CARDS ========== */
.testimonials h2 {
  margin-bottom: 18px;
}
.testimonial-card {
  background: #fff;
  color: #1C3948;
  box-shadow: 0 2px 12px 0 rgba(245,183,66,0.08);
  border: 1.5px solid #FFD98A;
  margin-bottom: 24px;
  padding: 24px 20px;
  border-radius: 14px;
}
.testimonial-card blockquote {
  color: #1C3948;
  background: transparent;
  border-left-color: #f7c43d;
}
.testimonial-card div {
  font-weight: 600;
  font-size: 0.96rem;
  color: #204467;
}

/* =========== FOOTER =========== */
footer {
  position: relative;
  background: linear-gradient(88deg,#fbe2af 0%, #eee 75%, #F0F4F6 100%);
  padding: 30px 0 12px 0;
  margin-top: 48px;
  box-shadow: 0 -2px 8px 0 rgba(44,64,80,0.04);
  font-size: 0.98rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-navigation a {
  color: #1C3948;
  font-size: 1rem;
  opacity: 0.92;
  transition: color 0.20s, font-weight 0.18s;
}
.footer-navigation a:hover {
  color: #F5B742;
  font-weight: 700;
}
.footer-contact-details {
  color: #1C3948;
  font-size: 1rem;
  margin-top: 6px;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-social img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  display: inline-block;
}
.footer-social span { color: #243847; font-size: 1rem; }

@media (max-width: 900px) {
  .footer-content {
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 30px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    padding: 26px 0 10px 0;
  }
}

/* === ADDRESS === */
address {
  font-style: normal;
  color: #204467;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* =========== SPACING & ELEMENTS ===========*/
li {
  margin-bottom: 0.5em;
  padding-left: 0.3em;
  line-height: 1.6;
}
ul {
  margin-left: 1.1em;
}
ul li {
  position: relative;
  padding-left: 18px;
}
ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: #F5B742;
  border-radius: 50%;
  display: inline-block;
}
ol li {
  list-style-type: decimal;
  padding-left: 3px;
  margin-left: 0.2em;
}

/* ======= SECTION HEADERS & MARGINS ======= */
section {
  margin-bottom: 56px;
}
section:last-child,
.main > section:last-child {
  margin-bottom: 0;
}
h2 {
  margin-bottom: 12px;
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1024px) {
  .container {
    max-width: 96%;
    padding: 0 12px;
  }
  .section {
    padding: 32px 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .main-navigation img,
  header img {
    width: 100px;
    margin-right: 11px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .section, .features, .services, .about-section {
    padding: 22px 6px;
    margin-bottom: 34px;
    border-radius: 12px;
  }
  .card-container, .post-cards {
    flex-direction: column;
    gap: 10px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 10px;
    font-size: 0.97rem;
  }
  .footer-navigation {
    gap: 5px;
    font-size: 1rem;
  }
  .footer-social img {
    width: 26px;
    height: 26px;
    margin-right: 3px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.12rem; }
  h2 { font-size: 1rem; }
  table, th, td { font-size: 0.99rem; }
  .footer-content { font-size: 0.98rem; font-size: 0.97rem; }
  .testimonial-card, .card {
    padding: 16px 6px;
  }
}

/* ================ MICRO-ANIMATIONS & EFFECTS ================ */
.card, .testimonial-card, .cta, .post-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.cta:active {
  transform: translateY(2px) scale(0.98);
}

/* =============== COOKIE CONSENT =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: linear-gradient(90deg,#fbe2af 60%,#F5B742 100%);
  color: #1C3948;
  padding: 22px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 -2px 24px 0 rgba(28,57,72,0.12);
  transition: transform 0.26s, opacity 0.17s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner strong { font-weight: bold; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-btn {
  padding: 11px 22px;
  border-radius: 22px;
  border: none;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  color: #1C3948;
  box-shadow: 0 1px 8px 0 rgba(245,183,66,0.06);
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  margin-bottom: 7px;
}
.cookie-btn.primary {
  background: #F5B742;
  color: #1C3948;
}
.cookie-btn.primary:hover {
  background: #ffd98a;
}
.cookie-btn:focus {
  outline: 2px solid #F5B742;
}

@media (max-width: 599px) {
  .cookie-banner {
    font-size: 0.97rem;
    padding: 14px 6px;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}

/* === COOKIE PREFERENCE MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45,58,72,0.5);
  z-index: 10100;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 34px 26px 26px 26px;
  width: 100%;
  max-width: 390px;
  box-shadow: 0 2px 40px 0 rgba(28,57,72,0.24);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: showModal 0.24s cubic-bezier(.42,1.75,.57,1.15) both;
  color: #1C3948;
}
@keyframes showModal {
  0% { transform: translateY(40px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #F5B742;
  margin-right: 6px;
}
.cookie-category.essential label:after {
  content: "(zawsze włączone)";
  color: #888;
  font-size: .91em;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 22px 6px 11px 6px;
  }
}

/* === UTILITIES === */
.text-center { text-align: center !important; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-12 { margin-top: 12px; }

/* ===== SCROLLBAR (modern look) ===== */
::-webkit-scrollbar { width: 10px; background: #fafcff; }
::-webkit-scrollbar-thumb { background: #F0F4F6; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: #E9DBA2; }

/* === HIDE TEXT FOR ACCESSIBILITY === */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(1px,1px,1px,1px);
}

/* ========== PAGE-SPECIFIC EXTRAS ============= */
.next-steps p {
  color: #937c46;
  margin-bottom: 18px;
}

/* === Miscellaneous === */
::-moz-selection { background: #F5B742; color: #fff; }
::selection { background: #F5B742; color: #fff; }

/* ========== END OF STYLE.CSS ========== */
