/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #1C2942;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #1C2942;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27C2A6;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1C2942;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
strong {
  font-weight: 700;
  color: #1C2942;
}

/* CSS RESET FOR LISTS INSIDE CARDS */
li {
  margin-bottom: 8px;
}
li:last-child {
  margin-bottom: 0;
}

/* GENERAL CONTAINER STYLES */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* FLEX UTILS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(28,41,66,0.04);
  padding: 2rem;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(39,194,166,0.09), 0 1.5px 9px rgba(28,41,66,0.07);
}
.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: 20px;
  padding: 20px;
  background: #F6FAF9;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(28,41,66,0.05);
  margin-bottom: 20px;
  min-width: 250px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PAGE SECTIONS */
.hero {
  background: #F6FAF9;
  padding: 64px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.subheadline {
  font-size: 1.25rem;
  color: #1C2942;
  opacity: 0.7;
  margin-bottom: 28px;
  font-weight: 400;
}
.features {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 60px;
}
.features .content-wrapper {
  gap: 32px;
}
.feature-grid, .features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
}
.feature-grid li, .features-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(28,41,66,0.05);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid li:hover, .features-list li:hover {
  box-shadow: 0 6px 20px rgba(27,194,166,0.10),0 2px 8px rgba(28,41,66,0.07);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img, .features-list img {
  height: 38px;
  width: 38px;
  margin-bottom: 16px;
}
.feature-grid h3, .features-list h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
}
.services-list li {
  background: #F6FAF9;
  flex: 1 1 300px;
  min-width: 240px;
  padding: 28px 24px 18px 24px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  transition: box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(28,41,66,0.03);
}
.services-list li strong {
  color: #27C2A6;
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: 10px;
}

/* Testimonial styles */
.testimonials .testimonial-slider,
.testimonials .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
  justify-content: flex-start;
}

.star-ratings {
  color: #27C2A6;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #1C2942;
  opacity: 0.92;
  font-style: italic;
  margin-bottom: 8px;
  border-left: 4px solid #27C2A6;
  padding-left: 18px;
}
.testimonial-card p strong {
  color: #1C2942;
  font-weight: 700;
  opacity: 0.87;
}

/* CTA section */
.cta {
  background: #27C2A6;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  margin: 40px 0 60px 0;
  box-shadow: 0 2px 8px rgba(28,41,66,0.05);
  position: relative;
}
.cta .container, .cta .content-wrapper {
  align-items: center;
  justify-content: center;
  padding-top: 36px;
  padding-bottom: 36px;
  gap: 16px;
}
.cta h2 {
  color: #fff;
}
.cta .cta-primary {
  color: #1C2942;
  background: #fff;
  border: none;
  margin-top: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 10px;
  font-size: 1.10rem;
  box-shadow: 0 1px 4px rgba(28,41,66,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.cta .cta-primary:hover, .cta .cta-primary:focus {
  background: #27C2A6;
  color: #fff;
  box-shadow: 0 3px 12px rgba(28,41,66,0.11);
  outline: none;
}

/* SERVICE CARDS ON SZKOLENIA.HTML */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  flex: 1 1 260px;
  min-width: 220px;
  padding: 30px 22px 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(28,41,66,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.service-card:hover {
  box-shadow: 0 5px 14px rgba(39,194,166,0.10), 0 1.5px 9px rgba(28,41,66,0.08);
  transform: translateY(-3px) scale(1.015);
}
.price {
  color: #27C2A6;
  font-weight: 700;
  font-size: 1.01rem;
  margin-top: 10px;
}

.course-categories ul, .benefits-grid ul, .team-list ul, .expertise-highlights ul, .certifications ul, .industry-achievements ul {
  list-style-type: disc;
  padding-left: 1.4em;
  margin-bottom: 1.1em;
}
.learning-pathways {
  margin-top: 24px;
  margin-bottom: 10px;
}

/* ABOUT + TEAM */
.about-section, .contact-section, .values-section, .confirmation-section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
}
.text-section {
  max-width: 800px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.innovation-section, .security-section, .certifications, .years-experience, .industry-achievements {
  margin-bottom: 24px;
}

.team-list ul li, .expertise-highlights ul li {
  margin-left: 14px;
}

.map-embed {
  margin-top: 18px;
  font-style: italic;
  font-size: 1rem;
}

/* LEGAL SECTIONS */
.legal-section {
  padding: 48px 0;
  background: #fff;
  margin-bottom: 60px;
}
.legal-section h1, .legal-section h2 {
  color: #1C2942;
}
.legal-section ul {
  margin-bottom: 18px;
}
.legal-section a {
  color: #27C2A6;
}

/* SUCCESS/THANK YOU */
.confirmation-section .success-message {
  color: #27C2A6;
  font-size: 1.18rem;
  margin-bottom: 14px;
}
.confirmation-section .thanks-note {
  color: #1C2942;
  opacity: .68;
  margin-bottom: 32px;
}

/* HEADER & NAVIGATION*/
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 1px 10px rgba(28,41,66,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}
.logo-link img {
  height: 36px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  list-style: none;
  margin-left: 18px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.14s;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  background: #F6FAF9;
  color: #27C2A6;
}
.cta-primary {
  background: #27C2A6;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 26px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(39,194,166,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1C2942;
  color: #fff;
  outline: none;
  box-shadow: 0 5px 18px rgba(28,41,66,0.13);
}

/* MOBILE NAVIGATION STYLES */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1C2942;
  cursor: pointer;
  margin-left: 10px;
  outline: none;
  position: relative;
  z-index: 48;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6FAF9;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: -2px 0 16px rgba(28,41,66,0.13);
  transition: transform 0.34s cubic-bezier(.63,.01,.37,1), opacity 0.2s;
  transform: translateX(100vw);
  z-index: 99;
  flex-direction: column;
  padding-top: 32px;
  padding-left: 32px;
  padding-right: 32px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1C2942;
  cursor: pointer;
  margin-bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F6FAF9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #1C2942;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F6FAF9;
  color: #27C2A6;
}

/* FOOTER STYLES */
footer {
  background: #F6FAF9;
  padding-top: 50px;
  padding-bottom: 32px;
  margin-top: 80px;
  color: #1C2942;
  font-size: 0.97rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-top img {
  height: 36px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #1C2942;
  opacity: 0.75;
  padding: 6px 4px;
  transition: color 0.16s;
  font-size: 0.97rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #27C2A6;
  opacity: 1;
}
.contact-footer {
  color: #1C2942;
  text-align: center;
  opacity: 0.7;
  margin-top: 9px;
  letter-spacing: .01rem;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #F6FAF9;
  color: #1C2942;
  box-shadow: 0px -2px 12px rgba(28,41,66,0.06);
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 120;
  font-size: 0.99rem;
  animation: cookieSlideUp 0.5s cubic-bezier(.7,.05,.38,.93);
}
@keyframes cookieSlideUp {
  0% { transform: translateY(130%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  padding: 9px 22px;
  margin: 0;
  background: #27C2A6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.16s;
  box-shadow: 0 1px 4px rgba(28,41,66,0.07);
}
.cookie-consent-banner .reject {
  background: #fff;
  color: #1C2942;
  border: 1px solid #DDE6E4;
}
.cookie-consent-banner .cookie-settings {
  background: #1C2942;
  color: #fff;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #1C2942;
  color: #fff;
  outline: none;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #eee;
  color: #1C2942;
}
.cookie-consent-banner .cookie-settings:hover, .cookie-consent-banner .cookie-settings:focus {
  background: #27C2A6;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  content: '';
  background: rgba(28,41,66,0.36);
  position: fixed;
  z-index: 130;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.20s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: cookieFadeIn 0.3s cubic-bezier(.68,.01,.37,1);
}
@keyframes cookieFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 28px 24px;
  box-shadow: 0 6px 30px rgba(28,41,66,0.20);
  max-width: 410px;
  width: 92vw;
  font-size: 1rem;
  color: #1C2942;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: modalPopup 0.22s cubic-bezier(.63,.01,.37,1);
  position: relative;
}
@keyframes modalPopup {
  from { transform: scale(0.88) translateY(30px); opacity: 0; }
  to   { transform: scale(1) translateY(0px); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #1C2942;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.14s;
  width: 36px;
  height: 36px;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #F6FAF9;
}
.cookie-category {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #27C2A6;
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category .always {
  color: #fff;
  background: #27C2A6;
  font-size: 0.84rem;
  padding: 0 7px;
  border-radius: 6px;
  margin-left: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border-radius: 8px;
  padding: 8px 24px;
  background: #27C2A6;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-modal-actions button.secondary {
  background: #fff;
  color: #1C2942;
  border: 1px solid #DDE6E4;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #1C2942;
  color: #fff;
}
.cookie-modal-actions button.secondary:hover, .cookie-modal-actions button.secondary:focus {
  background: #eee;
  color: #1C2942;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px){
  .main-nav {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid li, .features-list li, .service-card, .services-list li {
    min-width: 180px;
    padding: 20px 14px 16px 14px;
  }
}
@media (max-width: 900px){
  .features .feature-grid, .features-list {
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature-grid li, .features-list li {
    flex: 1 1 45%;
    min-width: 160px;
  }
  .service-cards {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.28rem;
    margin-bottom: 10px;
  }
  body {
    font-size: 0.97rem;
  }
  .main-nav ul, .main-nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section, .hero, .legal-section, .about-section, .contact-section, .confirmation-section {
    padding: 24px 0 24px 0;
    margin-bottom: 34px;
  }
  .feature-grid, .features-list, .card-container, .services-list, .service-cards, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .features-list li, .services-list li, .service-card, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-slider, .testimonial-list {
    gap: 12px;
  }
  .cta {
    margin: 15px 0 35px 0;
    border-radius: 14px;
  }
  .content-wrapper, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 525px) {
  .hero {
    padding-top: 26px;
    padding-bottom: 14px;
  }
  .cta .container, .cta .content-wrapper {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .footer-top img {
    height: 29px;
  }
  .footer-nav {
    font-size: 0.90rem;
  }
  .cookie-modal {
    padding: 18px 6px 18px 6px;
    max-width: 98vw;
  }
}

/* MICRO-INTERACTIONS */
button, .cta-primary, .main-nav ul li a, .mobile-nav a, .service-card, .feature-grid li, .services-list li {
  transition: box-shadow 0.17s, background 0.15s, color 0.13s, transform 0.13s;
}

/* Hide elements visually but keep them accessible (for modals etc.) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
