/* =============================================================
   Axira Edukacja – Industrial Modern Responsive CSS Style
   Brand: #183153 (primary), #26A69A (secondary), #F3F6F9 (accent)
   Fonts: Montserrat (display), Roboto (body)
   Only Flexbox layouts – NO GRID/COLUMNS
   ============================================================= */

/* --- 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 {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}
body {
  line-height: 1.4;
  background: #141921;
  color: #F3F6F9;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.05em;
}
img {max-width: 100%; display: block;}
a {color: #26A69A; text-decoration: none; transition: color .18s cubic-bezier(.6,0,.3,1);}
a:hover,a:focus {color: #F3F6F9; text-decoration: underline;}
ul, ol {list-style: none;}
button, input, select, textarea {font-family: inherit; font-size: inherit; background: none; border: none; outline: none;}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F3F6F9;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
h1   {font-size: 2.75rem; margin-bottom: 20px;}
h2   {font-size: 2rem; margin-bottom: 16px;}
h3   {font-size: 1.3rem; margin-bottom: 12px; font-weight: 600;}
h4   {font-size: 1.12rem; margin-bottom: 10px;}
.subheadline {font-size: 1.15rem; color: #C4D0DF; font-weight: 400;}
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.12rem;
  background: #1f2836;
  padding: 18px 28px;
  border-left: 4px solid #26A69A;
  color: #F3F6F9;
  margin: 0 0 20px 0;
  border-radius: 4px;
}

p {margin-bottom: 18px; font-size: 1rem; color: #DFE6F3;}
strong {color: #F3F6F9; font-weight: 700;}

/* --- Layout Containers --- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1220px;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

/* --- Section Spacing (MANDATORY) --- */
.section,
.hero,
.features,
.cta,
.testimonials,
.services,
.about,
.philosophy,
.faq,
.contact-details,
.text-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(24,49,83,0.97);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(16,24,32,0.10);
}

/* --- Header --- */
header {
  width: 100%;
  background: #1b2533;
  box-shadow: 0 2px 16px rgba(15,20,27,.10);
  display: flex;
  align-items: center;
  min-height: 70px;
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {display: flex; align-items: center; height: 60px;}
.logo img {height: 45px; width: auto;}

/* ----- Main Navigation ----- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  color: #F3F6F9;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 0;
  transition: color 0.16s cubic-bezier(.55,0,.3,1);
}
.main-nav a:hover, .main-nav a:focus {
  color: #26A69A;
}
.main-nav .btn-primary {
  margin-left: 18px;
}

/* --- Burger Menu Button --- */
.mobile-menu-toggle {
  display: none;
  background: #1f2836;
  color: #26A69A;
  font-size: 2.1rem;
  border-radius: 6px;
  padding: 4px 14px;
  margin-left: 24px;
  border: 2px solid #25395c;
  cursor: pointer;
  transition: background .14s, color .16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #25395c;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  background: #183153;
  z-index: 900;
  transform: translateX(-120%);
  transition: transform .28s cubic-bezier(.86,0,.07,1);
  box-shadow: 4px 0 32px rgba(24,49,83,.22);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 28px 12px 0;
  font-size: 2.25rem;
  background: none;
  color: #26A69A;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: color .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F3F6F9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 38px;
}
.mobile-nav a {
  color: #F3F6F9;
  font-size: 1.2rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  width: 100%;
  padding: 10px 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #26A69A;
}

@media (max-width: 1080px) {
  .main-nav {gap: 18px;}
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 360px;
  background:
    linear-gradient(113deg,rgba(24,49,83,0.95) 75%,rgba(38,166,154,0.14)),
    url('../assets/bg-industrial.jpg') center center/cover no-repeat;
  color: #F3F6F9;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  box-shadow: 0 6px 42px rgba(24,49,83,.09);
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
}

/* --- Features Section --- */
.features .content-wrapper > h2 {margin-bottom: 12px;}
.feature-grid,
.features .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 8px;
}
.feature-col, .features .feature-list li {
  background: #222A36;
  flex: 1 1 270px;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(24,49,83,.07);
  padding: 24px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 240px;
  min-height: 220px;
  margin-bottom: 20px;
  border: 1.5px solid #25395c;
  transition: border .15s, transform .18s, box-shadow .22s;
}
.feature-col img,
.features .feature-list img {
  width: 36px; height: 36px; filter: grayscale(1) brightness(.88) contrast(1.04);
  margin-bottom: 6px;
}
.feature-col:hover, .features .feature-list li:hover {
  border-color: #26A69A;
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 8px 32px rgba(38,166,154,.12);
}
.features .feature-list {
  flex-direction: row;
}
.features .feature-list li {
  min-width: 210px;
  background: #232C37;
  color: #F3F6F9;
  border-radius: 8px;
  gap: 10px;
  padding: 18px 16px;
  margin-bottom: 20px;
  transition: border .13s, box-shadow .16s;
  border: 1px solid #242D3A;
}
.features .feature-list a {
  color: #26A69A; font-weight: 500; text-decoration: underline dotted;
}

/* --- Service/Category List --- */
.services .service-list, .services .webinar-list, .features .feature-list, .philosophy .value-list, .stats ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 18px;
}
.services .service-list li,
.services .webinar-list li,
.features .feature-list li,
.philosophy .value-list li {
  padding-left: 0;
  font-size: 1.04rem;
  position: relative;
  line-height: 1.38;
  color: #DFE6F3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.services .service-list strong,
.services .webinar-list strong {
  color: #26A69A;
  font-weight: 600;
}
.stats ul {flex-direction: row; gap: 38px; margin-top: 20px; color: #26A69A;}
.stats li strong {font-size: 1.6rem; color: #26A69A;}

/* --- Testimonials --- */
.testimonials .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F3F6F9;
  color: #25395C;
  border-radius: 12px;
  padding: 20px 28px;
  min-width: 260px;
  max-width: 450px;
  min-height: 140px;
  box-shadow: 0 2px 14px rgba(24,49,83, .10);
  border: 1.5px solid #D3D8DF;
  margin-bottom: 20px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.07rem;
  position: relative;
  transition: box-shadow .18s, transform .15s;
}
.testimonial-card blockquote {
  color: #25395C;
  font-family: inherit;
  background: none;
  border-left: 3px solid #26A69A;
  padding: 0 0 0 15px;
  margin-bottom: 10px;
}
.testimonial-details {
  color: #183153;
  font-size: 0.95rem;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px #222A3650;
  transform: scale(1.018);
}

/* --- CTA Section --- */
.cta {
  background: #222a36;
  border-radius: 16px;
  box-shadow: 0 2px 22px rgba(24,49,83,0.14);
  margin-bottom: 58px;
  text-align: center;
  align-items: center;
}
.cta .content-wrapper {
  justify-content: center; align-items: center;
  gap: 18px;
}
.cta h2 {color: #F3F6F9;}
.cta a.btn-primary {margin-top: 14px;}

/* --- Cards & Card Container --- */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232C37;
  color: #DFE6F3;
  border-radius: 10px;
  box-shadow: 0 2px 18px rgba(38,166,154,.13);
  min-width: 240px;
  min-height: 160px;
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #25395c;
  transition: box-shadow .12s, border .10s;
}
.card:hover {
  border: 1.5px solid #26A69A;
  box-shadow: 0 8px 36px rgba(38,166,154,.16);
  z-index: 3;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  margin-top: 10px;
}
.faq-accordion h3 {
  font-size: 1.09rem;
  color: #26A69A;
  cursor: pointer;
  padding-top: 10px;
}
.faq-accordion p {
  color: #DFE6F3;
  padding-left: 12px;
  margin-bottom: 6px;
}

/* --- Text/Image Section --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.text-image-section img {
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(24,49,83, .10);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 10810;
  background: #232C37;
  box-shadow: 0 -2px 24px rgba(24,49,83, .21);
  color: #F3F6F9;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 20px 30px 16px 30px;
  border-top: 2px solid #26A69A;
  transition: transform .36s cubic-bezier(.55,0,.19,1);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner .cookie-text {
  max-width: 600px; font-size: 1rem;
  color: #F3F6F9;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* --- Cookie Buttons --- */
.btn-cookie,
.cookie-banner button,
.cookie-modal button {
  cursor: pointer;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  border: none;
  outline: none;
  min-width: 120px;
  padding: 9px 21px;
  margin: 0;
  transition: background .13s, color .13s, border .13s;
  margin-right: 6px;
}
.btn-cookie.accept,
.cookie-banner .accept {
  background: #26A69A;
  color: #F3F6F9;
  border: 1.5px solid #26A69A;
}
.btn-cookie.accept:hover,.cookie-banner .accept:hover {
  background: #149b8d;
}
.btn-cookie.reject,
.cookie-banner .reject {
  background: #25395c;
  color: #DFE6F3;
  border: 1.5px solid #25395c;
}
.btn-cookie.reject:hover {
  background: #183153;
  color: #F3F6F9;
}
.btn-cookie.settings {
  background: #f3f6f9;
  color: #25395c;
  border: 1.5px solid #d3d8df;
}
.btn-cookie.settings:hover {
  background: #e0e6ef;
}

/* --- Cookie Modal --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 12121;
  background: rgba(24,49,83, 0.88);
  align-items: center;
  justify-content: center;
  animation: fadeInModal .32s cubic-bezier(.6,0,.3,1);
}
.cookie-modal.open {display: flex;}
.cookie-modal-content {
  background: #222A36;
  color: #F3F6F9;
  border-radius: 16px;
  padding: 38px 34px 24px 34px;
  min-width: 330px;
  box-shadow: 0 8px 54px rgba(24,49,83, 0.30);
  display: flex;
  flex-direction: column;
  gap: 27px;
  align-items: flex-start;
}
.cookie-modal-content h3 {margin-bottom: 10px; color: #26A69A;}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #25395c;
  border-radius: 12px;
  position: relative;
  margin-left: 10px;
  cursor: pointer;
  transition: background .13s;
}
.cookie-toggle input {display:none;}
.cookie-toggle .slider {
  position: absolute; left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #F3F6F9;
  border-radius: 50%;
  transition: left .13s;
}
.cookie-toggle input:checked + .slider {
  left: 21px; background: #26A69A;
}
.cookie-modal-footer {
  margin-top: 16px;
  width: 100%; display: flex; gap: 16px; align-items: center; justify-content: flex-end;
}
.cookie-modal button.close {
  position: absolute; top: 14px; right: 19px; background: none; border: none; color: #26A69A; font-size: 1.8rem; cursor: pointer;
}

@keyframes fadeInModal {
  from {opacity: 0;} to {opacity: 1;}
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: #26A69A;
  color: #FFF;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 13px 28px;
  box-shadow: 0 3px 18px rgba(38,166,154,.10);
  border: none;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #183153;
  color: #FFF;
  box-shadow: 0 8px 28px rgba(24,49,83,.22);
  text-decoration: none;
}

/* --- Footer --- */
footer {
  width: 100%;
  background: #1b2533;
  padding: 0;
  margin-top: 48px;
}
footer .container {
  padding: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 34px 20px 0 20px;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-nav a, .footer-menu a {
  color: #C4D0DF;
  font-size: 1rem;
  transition: color .13s;
}
.footer-nav a:hover, .footer-menu a:hover {color: #26A69A;}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #DFE6F3;
  font-size: 1rem;
}
.footer-contacts img {vertical-align: middle; margin-right: 10px; width: 21px; height: 21px; display: inline;}
.footer-social {
  display: flex; gap: 18px; align-items: center;
}
.footer-social a img {
  filter: grayscale(0.8) brightness(0.85);
  opacity: 0.76;
  transition: filter .12s, opacity .13s;
  width: 28px; height: 28px;
}
.footer-social a:hover img {filter: grayscale(0) brightness(1.1); opacity: 1;}
.copyright {
  flex-basis: 100%;
  color: #7A929F;
  font-size: 0.95rem;
  margin-top: 28px;
  margin-bottom: 14px;
  text-align: left;
}

/* --- Misc --- */
.section:last-child,.cta:last-child,.hero:last-child {margin-bottom: 0;}

/* --- Spacing & Utility --- */
.mb-20 {margin-bottom: 20px;}
.mt-20 {margin-top: 20px;}
.mt-40 {margin-top: 40px;}
.gap-16 {gap:16px;}

/* --- Responsive Design --- */
@media (max-width: 1080px) {
  .container {max-width: 960px;}
}
@media (max-width: 900px) {
  .container {max-width: 97vw;}
  .content-wrapper {gap: 14px;}
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px; padding-right: 8px; min-width: 0;
  }
  .section,.hero,.features,.cta,.testimonials,.about,.philosophy,.faq,.contact-details,.text-section {
    padding: 27px 7px;
    border-radius: 8px;
    margin-bottom: 39px;
  }
  .hero h1 {font-size: 2.05rem;}
  h2 {font-size: 1.45rem;}
  .features .feature-list, .feature-grid, .testimonial-list,
  .card-container, .card-grid, .footer .content-wrapper, .philosophy .value-list, .stats ul {
    flex-direction: column;
    gap: 16px;
  }
  .feature-col, .features .feature-list li {min-width: 0; width: 100%;}
  .testimonial-card {max-width: 100%;}
  .footer .content-wrapper {
    gap: 24px; flex-direction: column;
  }
  .cta .content-wrapper, .content-wrapper {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .mobile-menu-toggle {
    font-size: 2.1rem;
    padding: 2px 10px;
    margin-left: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px 14px 12px;
  }
  .cookie-banner .cookie-buttons {flex-direction: row; gap: 7px;}
  .testimonial-list, .card-container, .card-grid {gap: 18px;}
}

@media (max-width: 550px) {
  .content-wrapper {gap: 9px;}
  .hero h1 {font-size: 1.36rem;}
  .footer .content-wrapper {
    padding-left: 4px; padding-right: 4px;
  }
  .testimonials .testimonial-list, .feature-list, .feature-grid, .stats ul, .card-container, .card-grid {
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .feature-col, .features .feature-list li, .testimonial-card {
    padding: 13px 8px;
    font-size: 0.97rem;
  }
  .cookie-modal-content {
    min-width: unset; max-width: 98vw; padding: 20px 8px 16px 14px;
  }
}

/* --- Animation/Microinteractions --- */
.btn-primary, .btn-cookie, .btn-cookie.accept, .btn-cookie.reject, .btn-cookie.settings {
  transition: box-shadow .12s, background .13s, color .10s, transform .12s;
}
.btn-primary:active, .btn-cookie:active {
  transform: scale(0.97);
}
.card, .feature-col, .testimonial-card {
  transition: box-shadow .19s, transform .19s, border .16s;
}

/* --- Accessibility Focus --- */
:focus-visible {outline: 2.5px solid #26A69A; outline-offset: 2.5px;}

/* --- Print Friendly --- */
@media print {
  header,footer,.mobile-menu,.cookie-banner,.cookie-modal {display: none!important;}
  main {margin:0;padding:0;}
  body {background: #fff; color: #222!important;}
}
