html{
    scroll-behavior: smooth;
}
body
{
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: white;
    font-family:'Poppins','sans-serif';
}
.bigText {
  font-size: clamp(24px, 4vw, 28px);
  margin-bottom: 40px;
}
.smallBlack{
    font-size: 20px;
    color: black;
    font-weight: 300;
}
.smallBlack1{
    margin-top: 0%;
    font-size: 20px;
    color: black;
    font-weight: 300;
    margin-bottom: 0%;
}
.opis > p {
  font-size: clamp(16px, 2vw, 18px);
}

.opis h3 {
  font-size: 15px !important;
}

.bottomText{
    margin-top: 10%;
    font-size: 20px;
    text-transform: uppercase;
}
.lewo-prawo{
    display: flex;
    width: 100vw;
    overflow: hidden;
}
.gora{
    margin-top: 100px;
}
.lewo-prawo-elem{
    width: 100%;
    transition: 0.5s;
}
.lewo-prawo-text{
    background-color: #2ca955;
    height: 87vh;
    min-height: fit-content;
    display: flex;
    align-items: center;
    color: black;
    width: 140%;
    max-width: 900px;
}
.lewo-prawo-content {
    margin-left: 10%;
    width: 90%;
    padding: 30px;
    margin-right: 10%;
} 
.puste{
    background-image: url(../img/zdj6.png);
    background-repeat: no-repeat;
    background-position-x: 600px;
    background-position-y: 55%;
    background-size: 150px;
    position: relative;
} 
.puste1{
    background-image: url(../img/zdj10.png);
    background-repeat: no-repeat;
    background-position-x: 500px;
    background-position-y: 53%;     
    background-size: 250px;
    position: relative;
}
.puste2{
    background-image: url(../img/zdj8.png);
    background-repeat: no-repeat;
    background-position-x: 500px;
    background-position-y: 53%;
    background-size: 150px;
    position: relative;
}
  
.btn{
    border: 1px solid #000000;
    width: fit-content;
    padding: 20px 40px;
    font-size: 17px;
    border-radius: 10px;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: black;
    
}
.btn:hover{
    transition: 0.2s;
    color: white;
    background-color:#063906;
}
.zolty:hover{
    transition: 0.2s;
    color: white;
    background-color:#645704;
}
.pomaranczowy:hover{
    transition: 0.2s;
    color: white;
    background-color:rgb(135, 94, 17);
}
.niebieski:hover{
    transition: 0.2s;
    color: white;
    background-color:#032a5e;
}
.zdjecie{
    width: 85%;
    height: 75vh;
    min-height: 75%;  
    filter: brightness(1);
    transition: 0.5s;
    object-position: center;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    margin-left: 15%;
    box-shadow:0 10px 60px rgba(0, 0, 0, 0.5) ;
}
.zdjecie1{
    width: 85%;
    height: 75vh;  
    min-height: 75%;  
    filter: brightness(1);
    transition: 0.5s;
    object-position: center;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    margin-right: 15%;
    box-shadow:0 10px 60px rgba(0, 0, 0, 0.5) ;
}
.prawo{
    border-bottom-left-radius: 40px;
}
.lewo{
    border-bottom-right-radius: 40px;
}

/*NAGŁÓWEK*/
#naglowek
{
    background-color: white;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: clamp(20px, 5vw, 30px);
    padding-right: clamp(20px, 5vw, 60px);
    z-index: 100;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', 'sans-serif';
}
#logo{
    display: flex;
}
#logo span {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #2ca955; /* lub inny kolor pasujący do tła */
  font-weight: 600;
  margin-left: 10px;
}
#logo img
{
    height: 80px;
    width: 160px;
    flex-shrink: 0;
    align-items: center;
}
#logo > a{
    display: block;
    width: fit-content;
}
#nav_dropdown{
    display: none;
}

.pasek a
{
    text-decoration: none;
    color: #1e6432;
}
.pasek
{   
    text-decoration: none;
    display: flex;
    font-size: 18px;    
    gap: 3vw; 
}
.pasek > a{
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}
.pasek > a:hover{
    background-color: rgb(188, 252, 209);
    transition: 0.3s;
}
#nav_dropdown
{
    position: relative;
    font-size: 20px;
    font-family: "Raleway", sans-serif;
    width: 50px;
    height: 50px;
}
#logomenu_icon{
    width: 40px;
    height: 50px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}
#logomenu_icon > span{
    width: 100%;
    height: 5px;
    display: block;
    background-color: black;
    border-radius: 5px;
}

/*ROZIJANE O NAS*/
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: 0.3s;
  color: #1e6432;
  text-decoration: none;
  display: inline-block;
}

.dropdown-toggle:hover {
  background-color: rgb(188, 252, 209);
}
.dropdown-toggle-kursy:hover {
  background-color: rgb(188, 252, 209);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 10;
  flex-direction: column;
  min-width: 200px;
  font-size: 16px;
}

.dropdown-menu a {
  padding: 10px;
  display: block;
  color: #1e6432;
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-menu a:hover {
  background-color: #c8f8dd;
}

.dropdown:hover .dropdown-menu {
  display: flex !important;
}
.dropdown-toggle .znacznik {
  font-size: 20px;
  margin-left: 0px;
  transition: transform 0.3s;
  display: inline-block;
}

.dropdown:hover .znacznik {
  transform: rotate(180deg);
}


/*ROZWIJANE KURSY*/

.dropdown-kursy {
  position: relative;
}

.dropdown-toggle-kursy {
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: 0.3s;
  color: #1e6432;
  text-decoration: none;
  display: inline-block;
}

.dropdown-toggle-kursy .znacznik {
  font-size: 20px;
  transition: transform 0.3s;
  display: inline-block;
}

.dropdown-toggle-kursy:hover .znacznik {
  transform: rotate(180deg);
}

.kursy-menu {
  display: none;
  position: absolute;
  top: 45px;
  left: -50px;
  padding: 20px;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 20;
  min-width: 600px;
  border-radius: 10px;
  gap: 20px;
  flex-wrap: nowrap;
}

.dropdown-toggle-kursy:hover + .kursy-menu,
.kursy-menu:hover {
  display: flex !important;
}
.kurs {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  transition: background-color 0.3s;
  width: 180px;
}

.kurs:hover {
  background-color: #c8f8dd;
}

.kurs img {
  max-width: 100%;
  height: 150px;
  border-radius: 8px;
  margin-top: 0px;
}

.kurs p {
  font-size: 14px;
  margin: 0;
  font-family: 'Poppins',sans-serif;
}
.rob:hover{
    background-color: #FFF176;
}
.ang:hover{
    background-color: #ffbb66;
}
.mne:hover{
    background-color: #81d4fa;
}

/*MOBILE MENU*/
#mobile_menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

#mobile_menu.mobile-visible {
  transform: translateX(0%);
}

#mobile_menu .menu-top {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}

#menu_close {
  font-size: 30px;
  cursor: pointer;
}

.mobile-links {
  list-style: none;
  padding: 0 30px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-links a {
  text-decoration: none;
  color: #1e6432;
  padding: 10px 0;
  display: block;
}

.expandable .expand-toggle {
  cursor: pointer;
  font-weight: bold;
  color: #1e6432;
  display: block;
}

.submenu {
  display: none;
  flex-direction: column;
  padding-left: 15px;
  margin-top: 10px;
}

.submenu a {
  font-size: 16px;
  color: #333;
}

.expandable.active .submenu {
  display: flex;
}
.expand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: default;
}

.expand-label {
  font-size: 22px;
  color: white;
  font-weight: 100;
}

.expand-toggle {
  font-size: 22px;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.expand-label a {
  text-decoration: none;
  color: white;
  font-size: 22px;
  font-weight: 100;
}

/* Obrócenie strzałki po aktywacji */
.expandable.active .expand-toggle {
  transform: rotate(180deg);
}
.submenu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: white;
  background-color: #1e6432;
  padding: 10px;
  border-radius: 10px;
  gap: 10px;
}

.submenu-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.submenu-title {
  font-size: 18px;
  font-weight: bold;
}

.submenu-desc {
  font-size: 14px;
  font-weight: normal;
  margin-top: 4px;
  color: #d3f6d3;
}

.submenu-icon-right {
  width: auto;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
}
@media screen and (max-width: 900px) {
  #mobile_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #2e4d34; 
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    font-family: 'Poppins',sans-serif;
  }
  
  #mobile_menu.mobile-visible {
    transform: translateX(0%);
  }

  #mobile_menu .menu-top {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
  }
  .menu-top{
    border-bottom: 1px black solid;
  }

  #menu_close {
    font-size: 36px;
    cursor: pointer;
    margin-right: 15px;
    color: white;
  }

  .mobile-links {
    list-style: none;
    font-size: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-links a {
    text-decoration: none;
    color: white;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
    font-weight: 100;
  }

  .mobile-links a:hover {
    background: #b6eeb6;
  }

  .expandable .expand-toggle {
    cursor: pointer;
    font-weight: bold;
    color: white;
    font-size: 16px;
    display: block;
    padding: 12px 16px;
    font-weight: 100;
  }

  .submenu {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-left: 10px;
  }

  .expandable.active .submenu {
    display: flex;
  }

  .submenu a {
    font-size: 18px;
    padding-left: 50px;
  }

  .submenu-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }
}
@media screen and (max-height: 800px) {
  .mobile-links {
    font-size: 16px;
  }

  .submenu a {
    font-size: 14px;
  }

  .expand-label a {
    font-size: 18px;
  }

  .expand-toggle {
    font-size: 18px;
  }
  #menu_close{
    font-size: 20px;
  }
}
@media screen and (max-width: 900px) {
  .mobile-links {
    padding-bottom: 100px; /* lub więcej, jeśli header jest wyższy */
  }
}

/* COOKIE */
#cookie-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background-color: #2e7d32;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#cookie-popup {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 320px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 9999;
  display: none;
  font-size: 14px;
}

#cookie-popup h2 {
  margin-top: 0;
  font-size: 16px;
}

.cookie-buttons {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
}

.cookie-buttons button {
  padding: 6px 10px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#reject-all {
  background: #e53935;
  color: white;
}

#cookie-form button[type="submit"] {
  background: #2e7d32;
  color: white;
}
@media (max-width: 900px) {
  #cookie-button {
    top: 20px;
    bottom: auto;
    left: 20px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  #cookie-popup {
    bottom: auto;
    top: 70px;
    left: 20px;
    width: 260px;
    padding: 15px;
    font-size: 12px;
  }

  #cookie-popup h2 {
    font-size: 14px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-buttons button {
    font-size: 13px;
    padding: 5px 8px;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .grecaptcha-badge {
    bottom: 80px !important; /* lub więcej, jeśli header jest wyższy */
  }
}

