/* CSS RESET & BOX SIZING */
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,
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;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #191c1f;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
}
a {
  color: #174177;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #191c1f;
  outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #101014;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 8px;
  font-weight: 600;
}
h4, h5, h6 {
  margin-bottom: 6px;
}
p {
  margin-bottom: 16px;
  color: #222325;
}
strong {
  font-weight: 700;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/***** HEADER & NAVIGATION *****/
header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  z-index: 110;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #222326;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f0f0f0;
  color: #174177;
}
.main-nav .cta-primary {
  background: #101014;
  color: #fff;
  border-radius: 24px;
  padding: 10px 24px;
  margin-left: 12px;
  font-weight: 600;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  box-shadow: 0 2px 14px rgba(20,20,21,0.08);
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: #174177;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #101014;
  border: none;
  font-size: 2rem;
  padding: 4px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  margin-left: 10px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #dedede;
  color: #174177;
}
/***** MOBILE MENU *****/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #111216e6;
  color: #fff;
  z-index: 9200;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  margin: 24px 18px 0 18px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #29A398;
  background: #16191c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 34px;
  width: 100%;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #f2f2f2;
  padding: 10px 0;
  border-radius: 3px;
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #29A398;
  background: #101014;
}
@media (max-width: 1060px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
  }
  .main-nav .cta-primary {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
/******** HERO, CONTENT, SECTIONS ********/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 740px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper { gap: 14px; }
}
/******** GRID & FLEX LAYOUTS ******/
.feature-grid, .team-grid, .card-container, .stats-grid, .courses-list, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-grid, .stats-grid {
  gap: 32px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fafbfc;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(20,20,21,0.07);
  position: relative;
  padding: 24px;
  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;
}
@media (max-width: 900px) {
  .feature-grid, .team-grid, .card-container, .stats-grid, .courses-list, .testimonials-list, .content-grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .courses-list, .testimonials-list, .team-grid, .stats-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
/******** FEATURE ITEM ******/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 10px 0 rgba(20,20,21,0.045);
  padding: 24px 20px;
  min-width: 210px;
  max-width: 340px;
  border: 1px solid #edeef0;
  transition: box-shadow 0.18s, border 0.18s;
}
.feature-item:hover {
  box-shadow: 0 4px 28px 0 rgba(23,65,119,0.11);
  border: 1px solid #b1bac1;
}
/**** TEAM MEMBERS SECTION ****/
.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fcfcfc;
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 1px 12px rgba(20,20,21,0.05);
  min-width: 210px;
  max-width: 360px;
  gap: 7px;
  border: 1px solid #e6e9ef;
  margin-bottom: 20px;
}
.team-member h3 {
  font-size: 1.18rem;
  margin-bottom: 2px;
}
.team-member p {
  font-size: 1rem;
  color: #505258;
}
.team-member span {
  color: #32343a;
  font-size: .98rem;
}
/******* CTA BUTTONS ******/
.cta-primary,
.cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  padding: 12px 32px;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px 0 rgba(23,65,119,0.10);
  cursor: pointer;
  margin-top: 8px;
  transition: 
    background 0.22s, 
    color 0.19s,
    box-shadow 0.22s, 
    transform 0.13s;
  text-align: center;
}
.cta-primary {
  background: #101014;
  color: #fff;
  border: 2px solid #101014;
}
.cta-primary:hover, .cta-primary:focus {
  background: #174177;
  color: #fff;
  box-shadow: 0 5px 22px 0 rgba(23,65,119,0.18);
  transform: translateY(-1px) scale(1.018);
}
.cta-secondary {
  background: #fff;
  color: #174177;
  border: 2px solid #174177;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #174177;
  color: #fff;
}
/***** TESTIMONIALS *****/
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #f6f6f8;
  color: #151616;
  box-shadow: 0 2px 18px 0 rgba(23,65,119,0.05);
  min-width: 220px;
  max-width: 420px;
  border: 1px solid #e2e4e8;
  transition: border 0.17s, box-shadow 0.17s;
  margin-bottom: 20px;
}
.testimonial-card:hover {
  border: 1px solid #174177;
  box-shadow: 0 4px 24px 0 rgba(23,65,119,0.13);
}
.testimonial-card p {
  font-size: 1.13rem;
  line-height: 1.6;
  margin-bottom: 2px;
  color: #212124;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.99rem;
  color: #3a3c40;
}
.testimonial-meta strong {
  color: #174177;
}
/***** STATS GRID *****/
.stats-grid {
  gap: 28px;
  margin-bottom: 24px;
}
.stats-item {
  background: #191c1f;
  color: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  min-width: 172px;
  box-shadow: 0 1px 18px 0 rgba(20,20,21,0.10);
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stats-item h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #fff;
}
.stats-item p {
  color: #e3e6ea;
  font-size: 1rem;
}
/******** FAQ SECTION *******/
.faq-section, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fafbfb;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(23,65,119,0.06);
  padding: 18px 15px;
  border: 1px solid #e7e8ea;
  margin-bottom: 18px;
}
.faq-item h3 {
  font-size: 1.13rem;
  color: #174177;
}
.faq-item p {
  font-size: 1rem;
  color: #222324;
}
/**** OL & STEP LIST ****/
.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}
.step-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.11rem;
  color: #191c1f;
  padding-left: 6px;
}
.step-list li strong {
  margin-left: 3px;
}
/**** SEARCH BAR & FILTER ****/
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.search-bar input {
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 18px;
  border: 1px solid #d2d6de;
  color: #222225;
  background: #f9fafc;
  outline: none;
}
.categories-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.categories-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.categories-filter li {
  background: #e6e8eb;
  color: #222326;
  border-radius: 8px;
  padding: 3px 13px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
/***** FOOTER *****/
footer {
  background: #101014;
  color: #c4c7ca;
  font-size: 1rem;
  padding-top: 40px;
  padding-bottom: 28px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  min-width: 180px;
}
.footer-brand img {
  height: 34px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}
.footer-nav a {
  color: #c4c7ca;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 210px;
  color: #babdc4;
  font-size: 0.99rem;
}
.contact-info img {
  height: 18px;
  margin-right: 5px;
}
.social-media {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 2px;
}
.social-media a img {
  height: 28px;
  filter: grayscale(1) brightness(1.1);
  transition: filter 0.2s, transform 0.15s;
}
.social-media a:hover img {
  filter: grayscale(0) brightness(1.6);
  transform: scale(1.12);
}
@media (max-width: 1000px) {
  footer .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-brand {
    margin-bottom: 0;
  }
}
/**** THANK YOU & NEXT STEPS *****/
.thank-you-message {
  font-size: 1.16rem;
  font-weight: 500;
  background: #f5f7fa;
  color: #174177;
  border-left: 4px solid #174177;
  padding: 15px 18px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.next-steps {
  margin-bottom: 18px;
}
.next-steps h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.next-steps ul {
  margin-bottom: 0;
  font-size: 1rem;
}
/***** MISC & UTILITIES *****/
.hide {
  display: none !important;
}
/******** COOKIE CONSENT BANNER *******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #191c1fe6;
  color: #fff;
  padding: 20px 24px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -2px 24px 0 rgba(23,65,119,0.09);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  animation: cookieFadeIn 0.6s cubic-bezier(.45,.01,.41,1);
  width: 95%;
  max-width: 650px;
  margin: 0 auto;
  left: 0; right: 0;
}
@keyframes cookieFadeIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.02rem;
  margin-bottom: 7px;
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 22px;
  border: none;
  padding: 9px 26px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 9px 0 rgba(23,65,119,0.04);
  margin-right: 7px;
  transition: background 0.19s, color 0.15s;
}
.cookie-btn.accept {
  background: #174177;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #101014;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #222326;
  border: 1px solid #c8cccc;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  color: #174177;
  background: #ededed;
}
.cookie-btn.settings {
  background: #e6e8eb;
  color: #222326;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #bfc2c5;
  color: #101014;
}
/**** COOKIE MODAL ****/
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30,32,36,0.70);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  animation: cookieModalFadeIn 0.37s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #191c1f;
  border-radius: 14px;
  padding: 34px 32px;
  max-width: 434px;
  min-width: 310px;
  box-shadow: 0 2px 28px 0 rgba(30,44,79,0.20);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalScaleIn 0.32s cubic-bezier(.35,0,.3,1.1);
}
@keyframes cookieModalScaleIn {
  from { transform: scale(.89); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  padding: 12px 0;
}
.cookie-category label {
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #174177;
}
.cookie-category.essential label::after {
  content: '(zawsze włączone)';
  font-size: 0.92rem;
  color: #717177;
  margin-left: 10px;
  font-weight: 400;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 14px;
  color: #101014;
  background: transparent;
  border: none;
  font-size: 1.9rem;
  cursor: pointer;
  opacity: 0.85;
  transition: color 0.16s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #174177;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
/****** RESPONSIVE MEDIA QUERIES ******/
@media (max-width: 660px) {
  .cookie-banner {
    width: 98%;
    padding: 15px 8px;
  }
  .cookie-modal {
    padding: 18px 7px 17px 12px;
    min-width: 0;
    width: 92vw;
    max-width: 99vw;
  }
}
@media (max-width: 560px) {
  h1 {
    font-size: 1.7rem;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 1.33rem;
    margin-bottom: 12px;
  }
  section {
    padding: 18px 3px;
  }
  .container {
    padding: 0 4px;
  }
}
/* UTILS */
@media (max-width: 430px) {
  .mobile-nav {
    padding-left: 18px;
  }
  .footer-brand img {
    height: 28px;
  }
  .testimonial-card {
    padding: 11px;
  }
}
/****** MONOCHROME SOPHISTICATED EFFECTS ******/
/* Dramatic shadow and border, subtle monochrome accent for all cards and sections */
.card, .feature-item, .team-member, .testimonial-card, .faq-item {
  box-shadow: 0 2px 16px 0 rgba(10,10,11,0.04), 0 8px 42px 0 rgba(0,0,0,0.07);
  border: 1px solid #dedede;
}
/****** ACCENT, MONOCHROME & TYPOGRAPHY BALANCE ******/
body, html {
  background: #fff;
  color: #191c1f;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.01em;
  color: #101014;
}
.cta-primary, .main-nav .cta-primary {
  letter-spacing: 0.02em;
}
/***** ANIMATIONS ON HOVER/EFFECTS *****/
.card:hover, .feature-item:hover, .testimonial-card:hover, .team-member:hover {
  box-shadow: 0 8px 40px 0 rgba(23,65,119,0.14);
  border: 1px solid #174177;
}
.cta-primary:active {
  background: #222;
  color: #fff;
}
.cta-secondary:active {
  background: #edf1f5;
  color: #333;
}
/***** LIST FIX FOR SPACING BETWEEN ITEMS *****/
ul li, ol li {
  margin-bottom: 8px;
}
ul.courses-list li, .feature-grid .feature-item, .testimonials-list .testimonial-card {
  margin-bottom: 20px;
}
/***** DISABLED INPUT STYLE (search bar on course page) *****/
input:disabled {
  opacity: 0.65;
  background: #ececec;
  color: #acadb0;
  cursor: not-allowed;
}
/****** Z-INDEX SAFEGUARDS *****/
header, .mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 11000; }
.cookie-modal-overlay { z-index: 12000; }

/**** ENSURE NO GRID OR COLUMNS USED (MANDATORY FLEXBOX) ****/
/* All .grid-like and .container-like elements use only flex settings! */
/**** END - Fynex Credits Monochrome Sophisticated CSS ****/
