/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===================== LOADER � PREMIUM ===================== */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #0a2d5c 0%, #021F42 70%, #000000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  overflow: hidden;
}
#loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="4" height="4" fill="%23021433"/><rect x="0" y="0" width="1" height="1" fill="%23ffffff08"/><rect x="2" y="2" width="1" height="1" fill="%23ffffff08"/></svg>') repeat;
  opacity: 0.35;
  pointer-events: none;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { width: 340px; height: 340px; opacity: 0; transform: scale(0.6); transition: opacity 1.4s ease-out, transform 1.4s ease-out; }
.loader-logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0); transition: filter 1.6s ease-out; }
.loader-logo.visible { opacity: 1; transform: scale(1); }
.loader-logo.visible img { filter: brightness(1); }
.loader-logo.fade-out { opacity: 0.25; transform: scale(0.92); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-page { opacity: 0; transition: opacity 0.5s ease-in; }
.fade-page.loaded { opacity: 1; }



/* ===================== PRZEWIJANIE STRON ===================== */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;     /* KLUCZOWE – sekcje „przyklejają się” do ekranu */
}

body {
  margin: 0;
  overflow-x: hidden;
}

.section {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* PERFEKCYJNY PARALLAX 2025 – działa na wszystkich proporcjach zdjęć */
.parallax-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;           /* ZAWSZE wypełnia całą sekcję */
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);  /* centrowanie absolutne */
  z-index: -2;
  will-change: transform;
}

/* Warstwa z parallaxem – trochę większa niż sekcja */
.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

/* Teraz sam obrazek wewnątrz */
.parallax-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: none !important; /* bardzo ważne dla płynności */
  will-change: transform;
}

/* Przyciemnienie */
.section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: -1;
}

/* Treść */
.content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 0 20px;
  max-width: 1000px;
}
.content h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.9);
}
.content p {
  font-size: 1.65rem;
  line-height: 1.7;
  text-shadow: 0 2px 15px rgba(0,0,0,0.9);
}

/* ===================== OG�LNE ===================== */
body.dark-bg {
  background: #021F42;
  color: white;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
.top-bar {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
}

.top-left {
  display: flex;
  align-items: left;
  gap: 12px; /* 👈 TU kontrolujesz odległość */
}

#langCorner {
  position: static;
  top: 20px; right: 25px;
  background: #ffffffee;
  color: #003d7a;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 2100;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 12px #0004;
  cursor: pointer;
}
#langCorner img { width: 26px; height: 18px; border-radius: 3px; 
}
#hamburger {
  position: static;
  top: 20px; left: 20px;
  font-size: 38px;
  color: #ffffff;
  background: #003d7acc;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 2300;
  box-shadow: 0 0 12px #0006;
}

/* ===================== LOGO W LEWYM GÓRNYM ROGU ===================== */
#homeLogo {
  position: static;
  width:  clamp(50px, 13vw, 65px);
  height: clamp(50px, 13vw, 65px);
  top: clamp(14px, 4vw, 20px);
  left: clamp(95px, 18vw, 120px);
  z-index: 2200;                  /* wyżej niż hamburger (2200) i langCorner (2100) */
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.95;
  background: #003d7acc;
  border-radius: 10px;
  box-shadow: 0 0 12px #0006; 
}


#homeLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;             /* opcjonalnie – lekkie zaokrąglenie */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

#homeLogo:hover {
  transform: scale(1.08);
  opacity: 1;
}

#homeLogo:hover img {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Na małych ekranach (telefonach) – przesuń lekko, żeby nie nachodziło na hamburger */
@media (max-width: 768px) {
  /* Opcjonalnie: lekko przesuń hamburger, żeby nie nakładał się na logo */
  #hamburger {
    left: 15px;                   /* miejsce na logo + odstęp */
  }
}

#sideMenu {
  position: fixed;
  left: -260px;
  top: 0;
  width: 260px;
  height: 100%;
  background: #001a33;
  transition: 0.4s ease;
  padding-top: 100px;
  z-index: 1999;
}
#sideMenu a {
  display: block;
  color: #cfdfff;
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  transition: 0.3s;
  text-align:left;
}
#sideMenu a:hover { background: #0050a5; color: white; }
#menuOverlay {
  position: fixed;
  inset: 0;
  background: #00000088;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 1500;
}

/* Strona g��wna 
.section { height: 100vh; width: 100vw; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 2rem; a{color:#ffffff}}
#section1 { background: #003d7a; }
#section2 { background: #f0f0f0; color: #002b55; }
#section3 { background: #dce6f2; color: #002b55; }
#section4 { background: #003d7a; }*/

/* ===================== CZ�ONKOWIE � IDEALNIE WY�RODKOWANE ===================== */
/*.members-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
  background: #021F42;
  font-family: 'Segoe UI', sans-serif;
}*/

/* Usuwamy niebieskie tło strony członków */
.members-page {
  background: #021F42;
  min-height: 100vh;
  position: relative;
  z-index: 1; /* nad canvasem */
  padding: 40px 20px 60px;
  margin: 0 auto;
  max-width: 1100px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.members-page > h1 {
  font-size: 3.6rem;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: 500;
}

/* Linki w sekcji Social Media */
.members-page a {
  color: #ffffff;          /* bia�y kolor */
  text-decoration: none;   /* bez podkre�lenia */
  transition: color 0.3s;
}

.members-page a:hover {
  color: #bbeeff;          /* delikatny niebieski przy hoverze */
}

/* Nag��wki sekcji */
.single-section, .grid-section {
  margin-bottom: 40px;
}

.single-section h2, .grid-section h2 {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 70px;
  font-weight: 400;
}

/* Opiekun i Zarz�d � pionowo, idealnie na �rodku */
.person-single {
  margin: 60px auto;
  width: 280px;
  transition: border-color 0.3s ease;
}

.person-single:hover img {
  border-color: #bbeeff;
}

.person-single img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ffffff44;
  margin-bottom: 25px;
  transition: border-color 0.3s ease;
}

.members-grid-zarzad .person-single:hover img {
  border-color: #bbeeff;
}

/* Zwykli cz�onkowie � po 4 w rz�dzie */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 70px 50px;
  justify-items: center;
}

.members-grid-zarzad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 50px;
  justify-items: center;
}

.members-grid-zarzad .person1 img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.members-grid-zarzad2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 50px;
  justify-items: center;
}

.members-grid-zarzad2 .person2 img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}



.members-grid .person {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.members-grid .person img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.members-grid .person:hover img {
  border-color: #bbeeff;
}

/* Nazwy i role � wsp�lne */
.name {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 500;
  margin: 12px 0 6px;
}

.role {
  font-size: 1.2rem;
  color: #cce5ff;
  font-weight: 300;
}

/* Styl dla opiekuna */
.supervisor img {
  width: 160px;   /* mniejsze zdjęcie */
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 20px;
}

/* Wyłącz hover dla opiekuna */
.supervisor:hover img {
  border-color: #ffffff44 !important;
}

.supervisor-link:hover span {
  color: #bbeeff;
}

/* Linki pod opiekunem */
.supervisor-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  text-decoration: none;
  transition: color 0.3s;
}

.supervisor-link span {
  font-size: 1.2rem;
  color: #ffffff;   /* taki sam jak role */
  font-weight: 300;
}


/* Responsywno�� */
@media (max-width: 1100px) {
  .members-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 850px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .members-grid { grid-template-columns: 1fr; }
  .members-page > h1 { font-size: 2.9rem; }
  .single-section h2, .grid-section h2 { font-size: 2.3rem; }
  .person-single img { width: 180px; height: 180px; }
  .members-grid .person img { width: 160px; height: 160px; }
}

/* ===================== MEDIA ===================== */
.social-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 100px;
  text-align: center;
  background:#021F42;
  font-family: 'Segoe UI', sans-serif;
}

.social-page > h1 {
  font-size: 3.6rem;
  color: #ffffff;
  margin-bottom: 100px;
  font-weight: 500;
}

/* Linki w sekcji Social Media */
.social-page a {
  color: #ffffff;          /* bia�y kolor */
  text-decoration: none;   /* bez podkre�lenia */
  transition: color 0.3s;
}

.social-page a:hover {
  color: #bbeeff;          /* delikatny niebieski przy hoverze */
}

.social-grid4 img
{
  transition: border-color 0.3s ease;
}

.social-grid4:hover img
{
  color: #bbeeff;
}

/* Nag��wki sekcji */
.single-section, .grid-section {
  margin-bottom: 60px;
}

.single-section h2, .grid-section h2 {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Opiekun i Zarz�d � pionowo, idealnie na �rodku */
.person-single {
  margin: 60px auto;
  width: 280px;
}

.person-single img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ffffff44;
  margin-bottom: 25px;
}

/* Zwykli cz�onkowie � po 4 w rz�dzie */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 70px 50px;
  justify-items: center;
}

.social-grid-zarzad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 50px;
  justify-items: center;
}

.social-grid-zarzad .person1 img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.social-grid-zarzad2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 50px;
  justify-items: center;
}

.social-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 50px;
  justify-items: center;
  margin-bottom: 20px;
}

.social-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 70px 50px;
  justify-items: center;
  margin-bottom: 20px;
}

.social-grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 70px 50px;
  justify-items: center;
  margin-bottom: 20px;
}

.social-grid2 .person2 img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 10px;
  transition: border-color 0.3s ease;
}


.social-grid5 .person2 img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 10px;
  transition: border-color 0.3s ease;
}

.social-grid4 .person2 img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 10px;
  transition: border-color 0.3s ease;
}


.social-grid .person {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-grid .person img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff44;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.social-grid4 .person2:hover img {
  border-color: #bbeeff;
}

.social-grid5 .person2:hover img {
  border-color: #bbeeff;
}

.social-grid2 .person2:hover img {
  border-color: #bbeeff;
}

/* Nazwy i role � wsp�lne */
.name {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 500;
  margin: 12px 0 6px;
}

.role {
  font-size: 1.2rem;
  color: #cce5ff;
  font-weight: 300;
}

/* Responsywno�� */
@media (max-width: 1100px) {
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 850px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .social-grid { grid-template-columns: 1fr; }
  .social-page > h1 { font-size: 2.9rem; }
  .single-section h2, .grid-section h2 { font-size: 2.3rem; }
  .person-single img { width: 180px; height: 180px; }
  .social-grid .person img { width: 160px; height: 160px; }
}

/* ===================== KONTAKT ===================== */
/*.contact-box {
  background: rgba(0, 0, 0, 0.55);
  padding: 40px;
  border-radius: 15px;
  display: inline-block;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
}*/

.contact-text {
  font-size: 1.8rem;
  margin: 25px 0;
  color: #cce5ff;
}

.contact-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
}

.contact-btn {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #ffffff33;
  text-align: center;
  min-width: 280px;
}

.contact-btn.big {
  font-size: 1.6rem;
  padding: 18px 36px;
  min-width: 320px;
}

.contact-btn:hover {
  background: #bbeeff;
  color: #021F42;
  border-color: #bbeeff;
  box-shadow: 0 0 20px rgba(187,238,255,0.6);
}

/* ===================== NOWE: PRZYCISK OSIĄGNIĘĆ ===================== */
    .achievements-btn {
      padding: 16px 36px;
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      font-size: 1.4rem;
      font-weight: 500;
      border: 2px solid #ffffff44;
      border-radius: 50px;
      text-decoration: none;
      transition: all 0.4s ease;
      backdrop-filter: blur(8px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      cursor: pointer;
      display: inline-block;
      margin-left: 40px;
    }

    .achievements-btn:hover {
      background: #bbeeff;
      color: #021F42;
      border-color: #bbeeff;
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(187, 238, 255, 0.4);
    }

    .achievements-btS {
      margin-top: 40px;
      padding: 16px 36px;
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      font-size: 1.4rem;
      font-weight: 500;
      border: 2px solid #ffffff44;
      border-radius: 50px;
      text-decoration: none;
      transition: all 0.4s ease;
      backdrop-filter: blur(8px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      cursor: pointer;
      display: inline-block;
      margin-left: 40px;
    }

    .achievements-btS:hover {
      background: #bbeeff;
      color: #021F42;
      border-color: #bbeeff;
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(187, 238, 255, 0.4);
    }

    /* ===================== MODAL Z OSIĄGNIĘCIAMI ===================== */
    .achievements-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 3000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease, visibility 0.5s ease;
      backdrop-filter: blur(10px);
    }

    .achievements-modal.active {
      opacity: 1;
      visibility: visible;
    }

    .modal-content {
      background: #021F42;
      border: 1px solid #ffffff22;
      border-radius: 20px;
      max-width: 900px;
      width: 90%;
      max-height: 85vh;
      overflow-y: auto;
      padding: 50px 40px;
      position: relative;
      transform: scale(0.85);
      transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    }

    .achievements-modal.active .modal-content {
      transform: scale(1);
    }

    .modal-close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 2.8rem;
      color: #ffffff88;
      cursor: pointer;
      transition: color 0.3s ease, transform 0.3s ease;
    }

    .modal-close:hover {
      color: #bbeeff;
      transform: rotate(90deg);
    }

    .modal-title {
      font-size: 3rem;
      color: #ffffff;
      text-align: center;
      margin-bottom: 40px;
      text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    }

    .achievements-list {
      list-style: none;
      padding: 0;
    }

    .achievements-list li {
      background: rgba(255, 255, 255, 0.05);
      padding: 20px;
      margin: 15px 0;
      border-radius: 12px;
      font-size: 1.3rem;
      line-height: 1.6;
      border-left: 5px solid #bbeeff;
      transition: all 0.3s ease;
    }
/*
    .achievements-list li:hover {
      background: rgba(187, 238, 255, 0.1);
      transform: translateX(10px);
    }
*/
    /* Responsywność modalu */
    @media (max-width: 768px) {
      .modal-title { font-size: 2.4rem; }
      .modal-content { padding: 40px 25px; }
      .achievements-list li { font-size: 1.2rem; }
    }

    /* ===================== STATYSTYKI – PASEK ===================== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;                /* odstępy między bloczkami */
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 160px;
}

.stat-number {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  color: #bbeeff;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1.4rem;
  color: #ffffffcc;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== RESPONSIVE 768 PX ==================== */
@media (max-width: 420px) {
  html {
    font-size: 15px;           
  }

  body {
    overflow-x: hidden !important;
  }

  .top-bar {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    padding: 0 6px;
    height: 48px;
    align-items: center;
  }

  #hamburger {
    font-size: 28px !important;
    padding: 6px 10px !important;
    line-height: 1;
  }

  #homeLogo {
    width: 48px !important;
    height: 48px !important;
    margin-left: 4px !important;
  }

  #homeLogo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }

  /* Wszystkie główne nagłówki */
  .achievements-page h1,
  .news-main h1,
  .members-page > h1,
  .social-page > h1,
  .content h1 {
    font-size: 2.7rem !important;
    margin-bottom: 45px;
  }

  .content h1 {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1.2rem !important;
    padding: 0 12px !important;
  }

  .content p {
    font-size: 1.05rem !important;
    line-height: 1.48 !important;
    padding: 0 14px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Pasek statystyk */
  .stats-bar {
    flex-direction: column !important;
    gap: 28px !important;
    margin-top: 2rem !important;
    align-items: center !important;
  }

  .stat-item {
    width: 100% !important;
    max-width: 220px !important;
  }

  .stat-number {
    font-size: 3.4rem !important;
  }

  .stat-label {
    font-size: 1.1rem !important;
  }

  /* Newsy (Wydarzenia) */
  .news-main {
    padding: 95px 15px 50px;
  }
  .news-item {
    padding: 25px 20px;
    gap: 25px;
  }
  .news-image {
    height: 210px;
  }
  .news-title {
    font-size: 1.65rem;
  }

  /* Grids członków i social */
  .members-grid,
  .social-grid4,
  .social-grid5,
  .social-grid,
  .members-grid-zarzad {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 35px 20px !important;
  }

  /* Przyciski */
  .achievements-btn,
  .contact-btn,
  .more-btn {
    font-size: 1.1rem;
    padding: 14px 28px;
    width: 100%;
    max-width: 300px;
  }
  
  /* Zapobiega poziomemu scrollowi wszędzie */
  * {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  img, .parallax-bg img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 420px) {
  #section3 .content {          /* sekcja "Kim jesteśmy?" */
    padding: 20px 10px !important;
  }

  #section3 .content p {
    padding: 0 8px !important;
    hyphens: auto;              /* ładniejsze łamanie wyrazów po polsku */
  }

  .stats-bar {
    padding: 0 10px !important;
  }
}

