/* Edukacyjny Impuls | style.css | Geometric Structured | Flexbox Only | BRAND COLORS: #1A4373 (primary), #89BA3C (secondary), #F5F5F5 (accent) | FONT: Montserrat (display), Roboto (body) -*- NO CSS GRID USAGE -*- */

/* == RESET & NORMALIZE == */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F5F5F5;
  color: #1A4373;
  line-height: 1.6;
  letter-spacing: 0.02em;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
}
a {
  color: #1A4373;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(0.53,0.21,0.29,0.97);
}
a:hover, a:focus {
  color: #89BA3C;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1A4373;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 14px; }
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* == GEOMETRIC STRUCTURED BASE == */
.section,
.hero,
.features,
.services,
.courses,
.team,
.values,
.cta,
.testimonials,
.webinars,
.about,
.privacy-policy,
.cookies-policy,
.terms,
.business-info,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26,67,115,0.09);
  position: relative;
}

main > section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* == HEADER & NAVIGATION == */
header {
  background: #F5F5F5;
  border-bottom: 2px solid #e3e8f0;
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  gap: 20px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.main-nav a {
  padding: 8px 0;
  position: relative;
  text-transform: uppercase;
  transition: color .2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: #89BA3C;
  border-radius: 1.5px;
  margin-top: 4px;
  transition: width .18s cubic-bezier(.5,.16,.4,1.1);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

.cta-btn {
  background: #1A4373;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  box-shadow: 0 2px 8px rgba(26,67,115,0.08);
  cursor: pointer;
  display: inline-block;
  margin-left: 14px;
  transition: background .17s, color .18s, transform .13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #89BA3C;
  color: #1A4373;
  transform: translateY(-2px) scale(1.03) skewX(-3deg);
}

/* == MOBILE NAV == */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #1A4373;
  border: 2px solid #1A4373;
  border-radius: 8px;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  transition: background .15s, color .13s, border-color .15s;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #89BA3C;
  color: #fff;
  border-color: #89BA3C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: #F5F5F5;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.74,.02,.43,1.35);
  box-shadow: -4px 0 24px rgba(26,67,115,0.10);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #1A4373;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 26px 26px 0 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s;
  padding: 3px 11px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e3e8f0;
  color: #89BA3C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 34px 0 0 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A4373;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: border .15s, color .17s;
  border-radius: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #89BA3C;
  border-bottom: 2px solid #89BA3C;
  background: #e9f1da;
}

/* == HERO == */
.hero {
  background: #1A4373;
  color: #fff;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 28px rgba(26,67,115,0.16);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #89BA3C;
  color: #1A4373;
  margin-left: 0;
  margin-top: 16px;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #1A4373;
}

/* == FEATURES == */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 18px;
}
.features li {
  min-width: 220px;
  background: #F5F5F5;
  box-shadow: 0 2px 10px rgba(26,67,115,0.06);
  padding: 18px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #1A4373;
  margin-bottom: 0;
}
.features li img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* == SERVICES == */
.services .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.service-card {
  background: #F5F5F5;
  border-radius: 16px;
  box-shadow: 0 2.5px 14px rgba(26,67,115,0.10);
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 28px 22px 20px 22px;
  transition: box-shadow .18s cubic-bezier(.53,.21,.29,.97), transform 0.15s;
  border: 2.5px solid transparent;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 30px rgba(26,67,115,0.22);
  border-color: #89BA3C80;
  transform: translateY(-4px) scale(1.025) skewX(-1deg);
}
.service-card h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  color: #1A4373;
}
.service-card .price {
  margin-top: 13px;
  font-weight: 700;
  color: #89BA3C;
  font-size: 1.01rem;
  letter-spacing: 0.03em;
  background: #fff;
  padding: 2px 10px;
  border-radius: 7px;
}

.services .service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-list li {
  display: flex;
  flex-direction: column;
  background: #F5F5F5;
  box-shadow: 0 2px 10px rgba(26,67,115,0.04);
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 20px;
  gap: 7px;
}
.service-list .price {
  color: #89BA3C;
  font-weight: 700;
  margin-left: 4px;
}

/* == TESTIMONIALS == */
.testimonials .content-wrapper {
  gap: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F5F5;
  border: 2px solid #e3e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(26,67,115,0.06);
  margin-bottom: 20px;
  transition: box-shadow .21s, border .17s;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A4373;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.07rem;
}
.testimonial-meta {
  font-size: .96rem;
  color: #384c64;
  font-weight: 600;
  margin-left: 12px;
  font-style: italic;
}
.testimonial-card:after {
  content: '\25B6';
  color: #89BA3C;
  margin-left: 12px;
  font-size: 1.6em;
  font-weight: 900;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 28px rgba(26,67,115,0.16);
  border-color: #89BA3C77;
}

/* == CTA == */
.cta {
  background: linear-gradient(99deg, #89BA3C 80%, #E9F1DA 100%);
  color: #1A4373;
  text-align: left;
  border-radius: 16px;
}
.cta .content-wrapper {
  align-items: flex-start;
}
.cta h2 { color: #1A4373; }
.cta p { margin-bottom: 18px; color: #274363; }
.cta .cta-btn {
  background: #1A4373;
  color: #fff;
  box-shadow: 0 3px 15px rgba(59,103,43,0.18);
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: #1A4373;
  border: 2px solid #1A4373;
}

/* == BLOG == */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list li {
  flex: 1 1 250px;
  background: #F5F5F5;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(26,67,115,0.06);
  padding: 22px 22px 16px 22px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.read-more-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #89BA3C;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 10px;
  align-self: flex-start;
  transition: color .16s, text-decoration .13s;
}
.read-more-link:hover, .read-more-link:focus {
  color: #1A4373;
  text-decoration: underline;
}

/* == NEWSLETTER == */
.newsletter-signup {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.newsletter-signup input[type='email'] {
  border: 2px solid #1A4373;
  border-radius: 7px 0 0 7px;
  padding: 10px 16px;
  font-size: 1rem;
  width: 210px;
  outline: none;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border .17s;
}
.newsletter-signup input[type='email']:focus {
  border-color: #89BA3C;
}
.newsletter-signup button {
  border: none;
  background: #89BA3C;
  color: #1A4373;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 0 7px 7px 0;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .17s, color .17s;
}
.newsletter-signup button:hover, .newsletter-signup button:focus {
  background: #1A4373;
  color: #fff;
}

/* == CONTACT INFO == */
.contact-info {
  font-size: 1.08rem;
  background: #F5F5F5;
  padding: 16px 22px;
  border-radius: 10px;
  color: #1A4373;
  box-shadow: 0 2px 10px rgba(26,67,115,0.07);
  margin-top: 10px;
}

.business-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* == FOOTER == */
footer {
  background: #1A4373;
  color: #fff;
  border-radius: 32px 32px 0 0;
  margin-top: 40px;
  padding: 38px 0 28px 0;
  box-shadow: 0 -3px 32px rgba(26,67,115,0.08);
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer .logo img {
  height: 54px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 3px 0;
  opacity: 0.93;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #89BA3C;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.97rem;
  color: #e2edc4;
  margin-top: 8px;
}

/* == CARDS, FLEX CONTAINERS (Mandatory) == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F5F5F5;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(26,67,115,0.08);
  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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* == MODALS, BANNERS == */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1A4373;
  color: #fff;
  z-index: 2500;
  padding: 26px 18px 24px 18px;
  box-shadow: 0 -2px 28px rgba(26,67,115,.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 24px 24px 0 0;
  transition: transform .34s cubic-bezier(.83,-.18,.38,1.35), opacity .19s;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  padding: 9px 28px;
  cursor: pointer;
  transition: background .16s, color .13s;
  margin-bottom: 0;
  margin-right: 0;
}
.cookie-consent-banner .accept {
  background: #89BA3C;
  color: #1A4373;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: #fff;
}
.cookie-consent-banner .reject {
  background: #fff;
  color: #1A4373;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #89BA3C;
  color: #1A4373;
}
.cookie-consent-banner .settings {
  background: transparent;
  color: #89BA3C;
  border: 2px solid #89BA3C;
  padding: 9px 24px;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #e3e8f0;
  color: #1A4373;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2600;
  background: rgba(26,67,115,.74);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .26s, background .17s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #1A4373;
  border-radius: 14px;
  box-shadow: 0 6px 42px rgba(26,67,115,0.20);
  padding: 30px 34px 28px 34px;
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 { font-size: 1.35rem; color: #1A4373; }
.cookie-modal .settings-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.09rem;
}
.cookie-modal input[type='checkbox'] {
  width: 22px; height: 22px; accent-color: #89BA3C;
  border-radius: 4px;
  margin-right: 8px;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 28px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background .17s, color .13s;
}
.cookie-modal .save {
  background: #89BA3C;
  color: #1A4373;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #1A4373;
  color: #FFF;
}
.cookie-modal .close {
  background: #fff;
  color: #70787E;
  border: 1.8px solid #cdd6e4;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #e3e8f0;
  color: #1A4373;
}

/* == GEOMETRIC SHAPES == */
.section:before, .section:after, .hero:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.section:before {
  top: -22px; left: 38px;
  width: 50px; height: 9px;
  background: #89BA3C;
  border-radius: 16px 2px 18px 3px;
  opacity: 0.18;
}
.section:after {
  bottom: -20px; right: 48px;
  width: 7px; height: 49px;
  background: #1A4373;
  border-radius: 1.5px 16px 2px 18px;
  opacity: 0.08;
}
.hero:before {
  left: -20px; top: 36px;
  width: 56px; height: 56px;
  background: #89BA3C;
  border-radius: 16px 6px 16px 16px;
  opacity: 0.14;
}

/* == RESPONSIVE (Mobile-First) == */
@media (max-width: 992px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 14px; font-size: 0.97rem; }
  .service-card, .blog-list li { min-width: 180px; }
  .footer-nav { gap: 7px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  header .container { padding: 12px 6px; }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero { padding: 36px 11px 36px 11px; border-radius: 0 0 22px 22px; }
  section, .section, .features, .services, .cta, .testimonials, .team, .about, .values, .courses, .business-info, .privacy-policy, .cookies-policy, .terms, .thank-you {
    padding: 22px 6px;
    margin-bottom: 32px;
    border-radius: 11px;
  }
  .service-cards, .blog-list, .card-container, .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .newsletter-signup {
    flex-direction: column;
    gap: 8px;
  }
  .newsletter-signup input[type='email'] { border-radius: 7px; width: 100%; }
  .newsletter-signup button { border-radius: 7px; width: 100%; }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-modal .cookie-modal-content { padding: 20px 8vw; min-width: 90vw; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .hero h1 { font-size: 1.42rem; }
  .hero .content-wrapper { gap: 6px; }
  .footer-contact, .cookie-consent-banner { font-size: .91rem; }
}

/* == ANIMATIONS & MICRO-INTERACTIONS == */
.cta-btn, .newsletter-signup button, .cookie-consent-banner button, .cookie-modal button {
  transition: background .19s, color .19s, border .14s, transform .11s;
}
.cta-btn:active, .newsletter-signup button:active, .cookie-consent-banner button:active, .cookie-modal button:active {
  transform: scale(0.97);
}
.service-card, .blog-list li, .testimonial-card {
  transition: box-shadow .22s cubic-bezier(.58,.16,.4,1.10), transform .13s;
}
.service-card:active, .blog-list li:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* == ACCESSIBILITY == */
:focus-visible {
  outline: 2.5px solid #89BA3C;
  outline-offset: 2px;
}

/* == PRINT (just minimum) == */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  .container, section, main { box-shadow: none !important; background: #fff !important; }
  body { color: #000; }
}

/* == END == */
