body {
font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

  
    /* Custom CSS for better visualization */
    .section {
      padding: 60px 0;
    }

    .about, .services, .portfolio, .testimonials, .contact {
      background-color: #f8f9fa;
    }

    .about {
      background-color: #fff;
    }

    .footer {
      background-color: #343a40;
      color: #fff;
      padding: 20px 0;
    }
	
	
	
	        .full-width-video-container {
            width: 100%;
            height: 100vh;
            overflow: hidden;
            position: relative;
            #padding-top:67px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto;
            transform: scale(1);
            transition: transform 1.5s ease, opacity 1.5s ease, border-radius 1.5s ease; /* Dodajemy płynne przejście */
            opacity: 1;
        }

        .full-width-video-container.shrink {
            transform: scale(0.85); /* Zmniejszenie wielkości dla ukrytych divów */
            opacity: 0.5; /* Zmniejszenie przezroczystości, gdy div jest mniej widoczny */
			border-radius: 15px;
        }

        video {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Utrzymuje proporcje wideo, wypełniając kontener */
        }
	
	/* Styl dla loadera i informacji "Scroll Down" */
    .scroll-down-container {
      position: absolute;
      top: 90%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: black;
background-color: rgba(255, 255, 255, 0.55); /* Półprzezroczyste białe tło */
	  
    }

.scroll-down-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 50px;
  color: black; /* Kolor tekstu, który pozostaje wyraźny */
}

    .scroll-down-arrow {
      font-size: 24px;
      margin-top: 10px;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(10px);
      }
    }
	
	
	
.parallax-section{
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* tło */
.parallax-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
  z-index: 0;
}

/* treść zawsze nad tłem */
.parallax-content{
  position: relative;
  z-index: 2;
}

/* opcjonalnie: żeby tekst nie “ginął” na jasnym tle */
.parallax-section .container{
  padding-left: 1rem;
  padding-right: 1rem;
}


	    /* Styl dla subtelnej belki nawigacyjnej */
    .navbar {
      background-color: #f8f9fa; /* Jasnoszare tło */
    }

    .navbar-nav .nav-link {
      color: #555; /* Ciemnoszary kolor linków */
      transition: color 0.3s;
    }

    .navbar-nav .nav-link:hover {
      color: #000; /* Kolor linku po najechaniu */
    }

    .navbar-brand {
      color: #333; /* Kolor tekstu marki */
      font-weight: bold;
    }
	
	.hidden-nav {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out;
}

.visible-nav {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease-in-out;
}

.smaller-text {
  font-size: 70%; /* Mniejsza czcionka niż small */
}
.semi-smaller-text {
  font-size: 85%; /* Mniejsza czcionka niż small */
}






.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Półprzezroczyste tło nakładki */
  z-index: 1;
}

.modal-content-inner {
  position: relative;
  z-index: 2; /* Przesunięcie powyżej nakładki */
}

.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.list-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 50%;
  border: 2px solid #fff; /* Biały obramowanie ikon */
}

.custom-list li:hover .list-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.custom-list li:hover {
  color: #ffeaa7; /* Kolor tekstu na hover */
  transition: color 0.3s ease;
}

.custom-card-deck {
  overflow-x: auto; /* Włącza poziome przewijanie */
  -webkit-overflow-scrolling: touch; /* Płynne przewijanie na urządzeniach mobilnych */
}

/* Stylizowanie całego paska przewijania */
.custom-card-deck::-webkit-scrollbar {
  width: 12px; /* Szerokość pionowego paska przewijania */
  height: 8px; /* Wysokość poziomego paska przewijania */
}

/* Stylizowanie tła paska przewijania (track) */
.custom-card-deck::-webkit-scrollbar-track {
  background: #f0f0f0; /* Kolor tła paska */
  border-radius: 10px; /* Zaokrąglenie paska */
}

/* Stylizowanie uchwytu (thumb) */
.custom-card-deck::-webkit-scrollbar-thumb {
  background-color: #888; /* Kolor uchwytu */
  border-radius: 10px; /* Zaokrąglenie uchwytu */
  border: 2px solid #f0f0f0; /* Obrys uchwytu, dopasowany do koloru tła paska */
}

/* Stylizacja podczas najechania myszką */
.custom-card-deck::-webkit-scrollbar-thumb:hover {
  background-color: #007bff; /* Zmiana koloru uchwytu na hover */
}


.custom-card-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px; /* Odstępy między kartami */
  padding-left: 0px;
  padding-right: 0px;
  margin-bottom: 10px;
}

.custom-card {
  flex: 0 0 30%; /* Na większych ekranach */
  min-width: 280px;
  min-height: 450px;
  border-radius: 10px;
  position: relative; /* Ustawia kontekst pozycjonowania dla plusika */
  transition: transform 0.3s, box-shadow 0.3s; /* Płynne przejście */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 1)); /* Gradient dla całej karty */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Zewnętrzny cień dla całej karty */
  overflow: hidden; /* Ukrywa wszelkie przewijanie wewnętrzne */
  display: flex;
  flex-direction: column;
  padding-top:10px;
}

.custom-card:hover {
  transform: translateY(-5px); /* Uniesienie karty na hover */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Cień na hover */
}

.card-plus-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.1);
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.card-plus-icon:hover {
  background-color: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .custom-card {
    flex: 0 0 80%;
  }
}

.card-header {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border-radius: 10px 10px 0 0 !important; /* Zaokrąglenie tylko górnych rogów */
}

.card-body {
  padding: 1.25rem;
  flex-grow: 1; /* Pozwala, aby card-body rosło, wypełniając dostępne miejsce */
  color: #000; /* Kolor tekstu */
}

.card-header.bg-pro,
.card-header.bg-premium,
.card-header.bg-platinum,
.card-header.bg-standard,
.card-header.bg-dodatki,
.card-header.bg-pakiet10h,
.card-header.bg-autoegzamin {
  color: white;
}

.bg-pro {
 
  background: linear-gradient(135deg, #dc3545, #b21f2d); /* Czerwony gradient */
}

.bg-premium {
  background: linear-gradient(135deg, #ffc107, #ff8c00);
}

.bg-platinum {
  background: linear-gradient(135deg, #e5e4e2, #bfc0c0);
  color: black;
}

.bg-standard {
  background: linear-gradient(135deg, #6c757d, #495057);
}
.bg-dodatki {
  background: linear-gradient(135deg, #28a745, #1c7430); /* Zielony gradient */
}

.bg-pakiet10h {
  background: linear-gradient(135deg, #17a2b8, #0e7c91); /* Turkusowy gradient */
}

.bg-autoegzamin {
   background: linear-gradient(135deg, #007bff, #0056b3);
}
.custom-container {
  width: 100%;
  overflow-x: auto; /* Umożliwia przewijanie poziome */
}

.custom-header {
  overflow-x: auto; /* Dodaje przewijanie poziome */
  -webkit-overflow-scrolling: touch; /* Lepsze przewijanie na urządzeniach mobilnych */
  font-size:14px; /* wielkosc czcionki w menu gornym na stronach poza glowna*/
}

.font-stopka {
	font-size:14px;
}

.custom-nav {
  display: flex;
  flex-wrap: nowrap; /* Zapobiega zawijaniu się elementów */
  overflow-x: auto; /* Umożliwia przewijanie poziome */
  list-style: none; /* Usuwa punkty listy */
  padding: 0; /* Usuwa domyślne wcięcie */
  margin: 0; /* Usuwa domyślne marginesy */
}

.custom-nav-item {
  white-space: nowrap; /* Zapobiega zawijaniu się tekstu */
}

.custom-nav-link {
  text-decoration: none;
}

   .counter {
      font-size: 3rem;
      font-weight: bold;
      color: #343a40;
    }