 
    :root {
      --primary: #1e3a8a;
      --accent: #f59e0b;
      --text: #1f2937;
      --bg-light: #f8fafc;
      --white: #ffffff;
      --gray-border: #e2e8f0;
      --dark-nav: #050505;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--text);
      background-color: var(--bg-light);
      line-height: 1.6;
    }

    /* --- GÓRNY PASEK (TOP BAR) --- */
    .top-header {
      background-color: var(--white);
      border-bottom: 1px solid var(--gray-border);
      padding: 0.75rem 1.5rem;
    }

    .top-header-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    /* Lewa strona - Godło, BIP, Logo Szkoły i Nazwa */
    .header-left {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .godlo-img {
      height: 52px;
      width: auto;
    }

    .bip-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: #d90429;
      color: var(--white);
      font-weight: 900;
      font-size: 0.9rem;
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
      text-decoration: none;
      letter-spacing: 1px;
    }

    .school-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      border-left: 1px solid var(--gray-border);
      padding-left: 1rem;
    }

    .school-logo-img {
      height: 100px;
      width: auto;
    }
	
	.logo-bip {
	height: 50px;
    width: auto;
	}

    .school-title {
      font-weight: 800;
      font-size: 1.05rem;
      line-height: 1.2;
      color: #000;
    }

    .school-title span {
      display: block;
      font-weight: 600;
      font-size: 0.95rem;
    }

    /* Prawa strona - Social Media i Przycisk VULCAN */
    .header-right {
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }

    .social-icons {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .social-icon {
      color: #000;
      text-decoration: none;
      font-weight: bold;
      transition: transform 0.2s, color 0.2s;
    }

    .social-icon:hover {
      transform: scale(1.15);
      color: var(--primary);
    }

    .social-icon svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    /* Przycisk Dziennik VULCAN */
    .vulcan-btn {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background-color: #2b2a4c;
      color: var(--white);
      text-decoration: none;
      padding: 0.4rem 0.8rem;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: bold;
      transition: background-color 0.2s;
    }

    .vulcan-btn:hover {
      background-color: #1b1a30;
    }

    .vulcan-icon {
      background-color: #e63946;
      color: white;
      font-size: 0.65rem;
      padding: 2px 4px;
      border-radius: 3px;
    }

    /* --- CZARNY PASEK NAWIGACJI --- */
    .main-nav {
      background-color: var(--dark-nav);
      position: relative;
      z-index: 100;
    }

    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    /* Przycisk Hamburgera (domyślnie ukryty) */
    .hamburger {
      display: none;
      background: none;
      border: none;
      color: var(--white);
      font-size: 1.8rem;
      padding: 0.75rem 1.5rem;
      cursor: pointer;
      width: 100%;
      text-align: right;
    }

    .nav-links {
      display: flex;
      list-style: none;
      padding: 0.8rem 1rem;
      gap: 1.75rem;
      white-space: nowrap;
    }

    .nav-links a {
      color: var(--white);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: #93c5fd;
    }

    /* --- SEKCJE OGÓLNE (pomijamy slajder, żeby się nie rozjeżdżał) --- */
    section:not(.slider-section) {
      padding: 4rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* --- SLAJDER POD MENU --- */
    /* --- SLAJDER POD MENU (Poprawione przełączanie) --- */
    .slider-section {
      position: relative;
      width: 100%;
      max-width: 100%;
      height: 480px;
      overflow: hidden;
      background-color: #000;
      padding: 0;
      margin: 0;
    }

    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      z-index: 1; /* Nieaktywne slajdy są w tle */
      transition: opacity 0.8s ease-in-out;
    }

    .slide.active {
      opacity: 1;
      z-index: 2; /* Aktywny slajd wskakuje na wierzch */
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .slide-caption {
      position: absolute;
      bottom: 3.5rem;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(15, 23, 42, 0.75);
      color: #ffffff;
      padding: 1rem 2rem;
      border-radius: 8px;
      text-align: center;
      backdrop-filter: blur(4px);
      max-width: 80%;
      z-index: 10; /* Nad zdjęciem, ale pod przyciskami sterującymi */
    }
    .slide-caption h3 {
      font-size: 1.5rem;
      margin-bottom: 0.25rem;
      color: #38bdf8;
    }

    .slide-caption p {
      color: #ffffff;
      margin: 0;
    }

    /* Przycisk PDF w slajdzie */
    .slide-pdf-btn {
      display: inline-block;
      background-color: #ffcc00;
      color: #000000;
      padding: 0.625rem 1.25rem;
      border-radius: 0.625rem;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      border: 0.0625rem solid transparent;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      transition: background-color 0.2s;
      position: relative;
      z-index: 40;
      margin-top: 12px;
    }

    .slide-pdf-btn:hover {
      background-color: #e6b800;
    }

    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.3);
      color: #ffffff;
      border: none;
      font-size: 2rem;
      padding: 0.5rem 1rem;
      cursor: pointer;
      border-radius: 4px;
      transition: background 0.3s;
      z-index: 20;
    }

    .slider-btn:hover {
      background: rgba(255, 255, 255, 0.7);
      color: #0f172a;
    }

    .prev-btn { left: 1rem; }
    .next-btn { right: 1rem; }

    .slider-dots {
      position: absolute;
      bottom: 0.75rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.5rem;
      z-index: 20;
      margin: 0;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background 0.3s;
    }

    .dot.active {
      background: #38bdf8;
    }

    .section-title {
      text-align: center;
      font-size: 1.75rem;
      color: var(--primary);
      margin-bottom: 2.5rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    /* --- SEKCJE OGÓLNE --- */
    section {
      padding: 4rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      font-size: 1.75rem;
      color: var(--primary);
      margin-bottom: 2.5rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* --- NAJNOWSZE INFORMACJE --- */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
    }

    .news-card {
      background: var(--white);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0,0,0,0.05);
      border: 1px solid var(--gray-border);
      transition: transform 0.2s;
    }

    .news-card:hover {
      transform: translateY(-4px);
    }

    .news-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .news-card-content {
      padding: 1.25rem;
    }

    .news-card h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      color: var(--primary);
    }

    .news-card p {
      font-size: 0.9rem;
      color: #64748b;
    }

    /* --- WYBIERZ SWOJĄ DROGĘ --- */
    .path-section-wrapper {
      background-color: #eff6ff;
      width: 100%;
    }

    .path-buttons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .path-btn {
      background: var(--white);
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 1.25rem 2.5rem;
      font-size: 1.1rem;
      font-weight: bold;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .path-btn:hover {
      background: var(--primary);
      color: var(--white);
    }

    /* --- DLACZEGO NIETĄŻKOWO? --- */
    .features-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      max-width: 900px;
      margin: 0 auto;
      list-style: none;
    }

    .feature-item {
      background: var(--white);
      padding: 1.5rem;
      border-radius: 8px;
      display: flex;
      align-items: center;
      gap: 1rem;
      box-shadow: 0 2px 4px rgba(0,0,0,0.03);
      border: 1px solid var(--gray-border);
    }

    .feature-item span {
      font-size: 1.75rem;
    }

    .feature-item h3 {
      font-size: 1rem;
      font-weight: 600;
    }

    /* --- GALERIA / ŻYCIE SZKOŁY --- */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }

    .gallery-grid figure {
      margin: 0;
      overflow: hidden;
      border-radius: 6px;
    }

    .gallery-grid img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      display: block;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .gallery-grid img:hover {
      opacity: 0.85;
    }

    /* --- PARTNERZY --- */
    .partners-wrapper {
      background-color: var(--white);
      width: 100%;
    }

    .partners-logos {
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 2rem;
      opacity: 0.7;
    }

    .partner-placeholder {
      font-weight: bold;
      color: #94a3b8;
      font-size: 1.2rem;
    }

/* --- KONTAKT & FOOTER --- */
    footer {
      background-color: #0f172a;
      color: var(--white);
      padding: 0.75rem 1.5rem 0.75rem; /* Zmniejszono góra/dół z 1.5rem na 0.75rem */
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 1rem; /* Zmniejszono z 2rem na 1rem */
    }

    .footer-col h4 {
      margin-bottom: 1rem;
      color: var(--accent);
    }

    .footer-col address {
      font-style: normal;
    }

    .footer-col p, .footer-col a {
      color: #94a3b8;
      text-decoration: none;
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
      display: block;
    }

    .footer-col a:hover {
      color: var(--white);
    }

    .footer-social-links {
      display: flex;
      gap: 1rem;
    }

    .copyright {
      text-align: center;
      padding-top: 0.75rem; /* Zmniejszono z 1.5rem na 0.75rem */
      border-top: 1px solid #1e293b;
      color: #64748b;
      font-size: 0.85rem;
    }

    /* ========================================================= */
    /* RESPONSIVENESS & MOBILE OPTIMIZATIONS (MEDIA QUERIES)    */
    /* ========================================================= */

    @media (max-width: 900px) {
      /* Zmniejszenie sekcji głównych */
      section {
        padding: 2.5rem 1rem;
      }

      .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
      }

      /* Nagłówek i elementy górne */
      .top-header {
        padding: 0.5rem 1rem;
      }

      .top-header-container {
        justify-content: center;
        gap: 0.75rem;
      }

      .header-left {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
      }

      .school-logo-group {
        border-left: none;
        padding-left: 0;
      }

      .school-title {
        font-size: 0.95rem;
      }

      .school-title span {
        font-size: 0.85rem;
      }

      /* Slajder */
      .slider-section {
        height: 260px;
      }

      .slide-caption {
        bottom: 1.25rem;
        padding: 0.5rem 1rem;
        max-width: 90%;
      }

      .slide-caption h3 {
        font-size: 1.1rem;
      }

      .slide-caption p {
        font-size: 0.8rem;
      }

      .slider-btn {
        font-size: 1.4rem;
        padding: 0.3rem 0.6rem;
      }

      /* Menu Hamburger */
      .hamburger {
        display: block;
      }

      .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
        gap: 0;
        background-color: var(--dark-nav);
      }

      .nav-links.active {
        display: flex;
      }

      .nav-links li {
        width: 100%;
        text-align: center;
      }

      .nav-links a {
        display: block;
        padding: 0.85rem;
        border-bottom: 1px solid #1a1a1a;
      }

      /* Mniejsze bloki - Karta informacyjna */
      .news-grid {
        gap: 1.25rem;
        grid-template-columns: 1fr;
      }

      .news-card img {
        height: 150px;
      }

      .news-card-content {
        padding: 1rem;
      }

      /* Przyciski Wybierz Swoją Drogę */
      .path-buttons {
        flex-direction: column;
        gap: 0.75rem;
      }

      .path-btn {
        width: 100%;
        padding: 0.85rem;
        font-size: 1rem;
      }

      /* Dlaczego Nietążkowo - zmniejszone kafelki */
      .features-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
      }

      .feature-item {
        padding: 1rem;
      }

      /* Galeria */
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
      }

      .gallery-grid img {
        height: 120px;
      }
	  
	  

      /* Stopka w wersji mobilnej */
      footer {
        padding: 0.5rem 1rem 0.5rem; 
      }

      .footer-content {
        gap: 1.5rem;
      }
    }

    @media (max-width: 480px) {
      .slider-section {
        height: 200px;
      }

      .gallery-grid {
        grid-template-columns: 1fr;
      }
    }
body.font-size-large * {
    font-size: 1.2rem !important;
}

body.font-size-larger * {
    font-size: 1.4rem !important;
}