* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Trebuchet MS" sans-serif, "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

.main {
  line-height: 32px;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

main {
  align-items: center;
}

.xyz {
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
}

.logo-heading-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px; /* spacing between logo and text */
  justify-content: center; /* center both together horizontally */
  padding: 20px 0;
  height: 250px;
  background-color: #41b3ac;
  margin-top: -40px;
}

.logo-heading-container2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px; /* spacing between logo and text */
  justify-content: center; /* center both together horizontally */
  height: 10px;
  background-color: #735d78;
  margin-top: -40px;
  margin-bottom: 100px;
}

.logo-heading-container-background {
  background-color: #ffd700;
  padding: 100px;
}
.no-break {
  white-space: nowrap; /* Prevent breaking only for the key phrase */
  overflow-wrap: normal;
}

.popp {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  letter-spacing: 0px;
  font-weight: bolder;
  position: relative;
  display: inline;
  animation: bounce 1s ease infinite alternate;
  font-weight: bold;
  color: #1c3a41;
  vertical-align: baseline; /* or middle */
  line-height: 1; /* helps with smoother bounce */
  animation: smoothMove 2s ease-in-out infinite; /* 2s duration for slow movement */
}

.pop {
  letter-spacing: 0px;
  position: relative;
  display: inline;
  animation: bounce 1s ease infinite alternate;
  font-weight: bold;
  color: #d9d9ff;
  -webkit-text-stroke: 1px #1c3a41;
  vertical-align: baseline; /* or middle */
  line-height: 1; /* helps with smoother bounce */
  animation: smoothMove 2s ease-in-out infinite; /* 2s duration for slow movement */
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

@keyframes smoothMove {
  0%,
  100% {
    top: 0;
  } /* Start and end at normal position (middle) */
  50% {
    top: 4px;
  } /* Move slightly down */
}


header {
  color: #fff;
  text-align: center;
  position: relative;
}

.header h1 {
  color: #1c3a41;
}
.polup {
  text-align: center;
  font-family: "Amatic SC", sans-serif;
  font-weight: 100;
  font-style: normal;
  font-weight: 100;
  font-size: 22px;
  color: #95849a;
  letter-spacing: 2px;
}

.polup a {
}
nav {
  text-align: right;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  margin: 60px;
  margin-top: 60px;
  margin-bottom: 60px;
  position: relative;
  color: #8e7c93;
  letter-spacing: 5px;
}



/* DAWAJ Container (unchanged) */
.center-text {
  font-size: 20px;
  text-align: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.5s ease-in-out; /* 1s zamiast 0.3s */
  line-height: 30px;
  pointer-events: none; /* początkowo nieklikalne */
  z-index: 10;

  
}

/* pokaz tekst jeśli hover na kółku LUB na samym tekście */
.center-pulse:hover ~ .center-text,
.center-text:hover,
.center-text.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto; /* linki klikalne */
}

.center-text a:hover {
  animation: fadeIn 1s ease-in-out; /* Fade-in effect */
  transform: scale(1.05); /* Slightly scale the h1on on hover */
}

.center-text a {
  color: #41B3AC;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  pointer-events: auto; /* klikalny link */
    display: inline;      /* w jednej linii */

}




/* Pulse Animation for Pink Circle */
.pink-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.pink {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  margin-bottom: -30px; /* Moves text closer to the circle */
}

.pink::before {
  z-index: -1;
  content: "";
  position: absolute;
  top: -40px; /* Moves circle upwards */
  left: 80%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #8a2be2;
  border: 5px solid #efeff9;
  animation: pink-pulse-animation 1.5s infinite; /* Changed animation name */
  pointer-events: auto;
}

@keyframes pink-pulse-animation {
  /* Changed animation name */
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

/* Center Pulse Animation for "DAWAJ" */
.center-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px; /* Initial size of the circle */
  height: 120px; /* Initial size of the circle */
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    #9e9e9e 30%,
    #606060 60%,
    #3b3b3b 100%
  );
  box-shadow: 0 0 50px 25px rgba(28, 58, 65, 0.6),
    0 0 10px 4px rgba(255, 255, 255, 0.05) inset;
  transform: translate(-50%, -50%) scale(0.001); /* Start as a very small circle (~1mm) */
  animation: center-pulse-animation 2.5s infinite; /* Changed animation name */
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  background-image: url("https://www.transparenttextures.com/patterns/noise-1.png");
  background-blend-mode: overlay;
}

@keyframes center-pulse-animation {
  /* Changed animation name */
  0% {
    box-shadow: 0 0 50px 25px rgba(28, 58, 65, 0.6),
      0 0 10px 4px rgba(255, 255, 255, 0.05) inset;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.001);
  }
  50% {
    box-shadow: 0 0 150px 75px rgba(28, 58, 65, 0.8),
      0 0 20px 10px rgba(255, 255, 255, 0.15) inset;
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.8);
  }
  100% {
    box-shadow: 0 0 50px 25px rgba(28, 58, 65, 0.6),
      0 0 10px 4px rgba(255, 255, 255, 0.05) inset;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Hover animation for center-pulse circle */
.center-pulse:hover {
  animation: click-wave 0.6s ease-out forwards;
}

@keyframes click-wave {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

#name {
  display: inline-block;
  margin-left: 133px;
  margin-top: 40px;
  font-size: 2.44rem;
  letter-spacing: 5px;
  color: #9e829c;
  animation: fadeIn 3s ease-in;
  transition: transform 0.3s ease;
}

#name:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.neon {
  color: #8a2be2;
  -webkit-text-stroke: 1.2px #00ffff;
  text-shadow: 0 10px 1px rgba(0, 0, 0, 0.6); /* cieÅ„ z gÃ³ry */
}

.ppolish {
  text-shadow: 0 10px 1px rgba(0, 0, 0, 0.6);
  margin-top: 100px;
  margin-bottom: 100px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  animation: hitAndSettlePressed 1.5s ease forwards;
  opacity: 0; /* startowa przezroczystość */
  position: absolute;
  margin: 0;
  font-size: 80px;
  white-space: nowrap;
  overflow: hidden;
  color: #1c3a41;
  -webkit-text-stroke: 1px #00ffff;
  letter-spacing: -4px;
  word-spacing: 15px;
}

@keyframes hitAndSettlePressed {
  0% {
    transform: translateX(500px) scale(1);
    opacity: 0;
  }
  50% {
    transform: translateX(-10px) scale(1.05);
    opacity: 1;
  }
  70% {
    transform: translateX(5px) scale(0.95);
    opacity: 1;
  }
  85% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(0) scale(0.95, 0.9) translateY(3px);
    opacity: 1;
  }
}

.ppolish:hover {
  -webkit-text-stroke: 1.5px #8a2be2; /* grubość i kolor obramowania */
}

.details {
  position: relative; /* ważne — kontekst dla absolute */
}

.ppolish_basic {
  color: #1b998b;
  -webkit-text-stroke: 1.2px #8a2be2;
  text-shadow: 0 5px 1px rgba(0, 0, 0, 2);
  opacity: 0.1;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: bolder;
  line-height: 2;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: -4px;
  word-spacing: 15px;

  /* pozycja pionowa wewnątrz sekcji */
  position: absolute;
  top: -100px; /* startowa pozycja */
  margin-top: 130px;
  left: -55px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  z-index: 10;
  padding: 10px 5px;
  background: transparent;
  transition: all 0.7s ease-out;
}

/* klasa widoczności w obrębie sekcji */
.ppolish_basic.visible {
  top: 0;
  opacity: 0.2;
}

.ppolish_basic:hover {
  transform: rotate(180deg) scale(1.1); /* lekko powiększa, zachowując obrót */
}

.ppolish_intensive {
  color: #8a2be2;
  -webkit-text-stroke: 1.2px #1b998b;
  text-shadow: 0 5px 1px rgba(0, 0, 0, 2);
  opacity: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 60px;
  line-height: 2;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: -4px;
  word-spacing: 15px;

  /* pozycja pionowa po prawej stronie viewportu */
  position: absolute;
  top: -100px;
  margin-top: 710px;
  right: -50px;
  writing-mode: vertical-rl;
  transform: rotate(0deg);
  z-index: 10;
  padding: 10px 5px;
  background: transparent;
  transition: all 0.7s ease-out;
}

/* klasa widoczności w obrębie sekcji */
.ppolish_intensive.visible {
  top: 0;
  opacity: 0.2;
}

.polish {
  color: #1c3a41;
  opacity: 0.7;
  margin-top: 100px;
  margin-bottom: 100px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
  animation: slideFromRight 1s ease-out forwards;
  opacity: 0; /* startowo niewidoczny */
  position: absolute;
  margin: 0;
  font-size: 69px;
  white-space: nowrap;
  overflow: hidden;
  -webkit-text-stroke: 0.3px #000000; /* grubość i kolor obramowania */
  letter-spacing: 5px;
  word-spacing: 15px;
}

/* Kluczowa animacja */
@keyframes slideFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

#polishh {
  line-height: 0cm;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* center both together horizontally */
  padding: 35px;
  color: #1c3a41;
  font-weight: lighter;
  margin-bottom: 244px;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: -4px;
  font-weight: lighter;
  white-space: nowrap;
  margin: 0;
  font-size: 50px;
  background: linear-gradient(to left, #8d818c, #d9d9ff, #e6e6fa, #e9ebf8);
  border: 2px solid #e9ebf8;
  white-space: nowrap;
  -webkit-text-stroke: 1px #e9ebf8; /* grubość i kolor obramowania */
}

/*DIGITAL PLATFORM*/

/* Section containing all content */

.platform h3 {
  animation: zoomIn 1s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.logo-container {
  text-align: center; /* Centers text inside elements like h5 */
  margin-top: -250px;
}

.logo {
  height: 240px; /* Height of the circle */
  margin: 0 auto;
  border-radius: 50%;
  padding: 0px;
  margin-top: 50px;
  margin-bottom: -53px;
  animation: rotate 0.5s ease-in-out;
  z-index: 0;
  transition: transform 0.3s ease;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg); /* Start at 0 degrees */
  }
  100% {
    transform: rotate(720deg); /* Rotate halfway (1 full rotation) */
  }
}

.logo:hover {
  animation: beat 1.9s ease-in-out infinite; /* Beat effect on hover */
}

/* Keyframes for the heart-beat effect */
@keyframes beat {
  0% {
    transform: scale(1); /* Normal size */
  }
  30% {
    transform: scale(1.2); /* Slightly bigger */
  }
  50% {
    transform: scale(1); /* Back to normal size */
  }
  70% {
    transform: scale(1.2); /* Slightly bigger again */
  }
  100% {
    transform: scale(1); /* Back to normal size */
  }
}

.to {
  text-align: left; /* Align text to the left inside .to */
}

.to h4,
.to h2 {
  animation: fadeIn 2s ease-out;
}

.p {
  text-align: center;
}

.intro {
  display: flex;
  width: 100%;
}

h4 {
  letter-spacing: 4px;
  color: #8d818c;
  margin-top: 30px;
  font-family: "Annie Use Your Telescope", cursive;
}

.gray h4 {
  font-size: 0px;
  font-size: 30px;
  letter-spacing: 4px;
  margin-top: 30px;
  color: #e9ebf8;
  font-family: "Annie Use Your Telescope", cursive;
}

.type {
  font-size: 23px;
  letter-spacing: 4px;
  font-weight: bold;
  padding-right: 5px;
  transition: color 0.3s ease;
}

.main a {
  color: #1c3a41;
  font-weight: bolder;
}

#small,
#small_int {
  font-size: 15px;
  margin-top: -10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.color2:hover #small {
  opacity: 1;
  visibility: visible;
  color: #1b998b;
}

.color2:hover #small_int {
  opacity: 1;
  visibility: visible;
  color: #8a2be2;
}

#more {
  color: #00ffff;
  background: #1c3a41;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 0px;
  font-size: 16px;
  border: 0.5px outset #41b3ac;
  text-decoration: none;
  text-align: center;
  margin-top: -10px;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#more2 {
  color: #00ffff;
  background: #1c3a41;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 0px;
  font-size: 16px;
  border: 0.5px outset #00ffff;
  text-decoration: none;
  text-align: center;
  margin-top: -10px;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#more2:hover {
  color: #1c3a41 !important;
  background-color: #41b3ac;
  transform: translateY(4px);
  border: 1px outset #1c3a41;
  transition: color 0.4s ease-in-out, transform 0.1s ease-in-out;
}

#more3 {
  color: #f06c9b;
  background-color: #1c3a41;
  padding: 5px 10px;
  border-radius: 10px;
  letter-spacing: 0px;
  font-size: 36px;
  border: 0.5px outset #735d78;
  text-decoration: underline;
  text-align: center;
  margin-top: 0px;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}

#more3:hover {
  color: white !important;
  background-color: #1b998b;
  transform: translateY(4px);
  border: 1px outset #1c3a41;
}

#more_steady {
  color: #00ffff;
  background: #1c3a41;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 0px;
  font-size: 16px;
  border: 0.5px outset #66cccc;
  text-decoration: none;
  text-align: center;
  margin-top: -10px;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#more_steady:hover {
  background-color: #41b3ac !important;
  transform: translateY(4px);
  border: 1px outset #1c3a41;
  color: #1c3a41;
  transition: color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

#more:hover {
  background-color: #41b3ac !important;
  transform: translateY(4px);
  border: 1px outset #1c3a41;
  color: #1c3a41 !important;
  transition: color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

a#more:hover {
  color: #1c3a41 !important;
}


.highlight {
  letter-spacing: 0px;
  text-decoration: none;
  text-align: center;
  margin-top: -10px;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  transition: background-color 0.3s ease, transform 0.3s ease;
}


/* Pseudo-element: rozbłysk z fade-in */


h2 {
  font-size: 40px;
  color: #4c4c4c;
}

main h3 {
  font-size: 16px;
  letter-spacing: 4px;
  color: #4c4c4c;
  opacity: 0.85;
  text-align: center;
}

h3 span {
  opacity: 0; /* Start with each word invisible */
  display: inline-block; /* Allow each word to animate separately */
  animation: fadeInWord 1s ease forwards;
  animation-delay: calc(
    0.4s * var(--i)
  ); /* Delay each word by 0.5s times the index */
}

@keyframes fadeInWord {
  to {
    opacity: 1;
  }
}

/* Add a custom property to control the delay of each word */
h3 span:nth-child(1) {
  --i: 0;
}
h3 span:nth-child(2) {
  --i: 1;
}
h3 span:nth-child(3) {
  --i: 2;
}
h3 span:nth-child(4) {
  --i: 3;
}
h3 span:nth-child(5) {
  --i: 4;
}
h3 span:nth-child(6) {
  --i: 5;
}
h3 span:nth-child(7) {
  --i: 6;
}
h3 span:nth-child(8) {
  --i: 7;
}

h3:hover {
  color: #4e9ab7;
}

h5 {
  font-size: 16px;
  letter-spacing: 5px;
  color: #5fc4d9;
  text-align: center;
  margin: 30px;
}

p {
  font-size: 19.2px;
  padding-right: 10px;
  color: #4c4c4c;
}

ul {
  display: flex;
}

li {
  list-style-type: none;
  margin: 20px;
  padding: 10px;
}

a {
  text-decoration: none;
  margin: 0 auto;
  color: #1c3a41;
}

.gris {
  width: 50%;
  margin: 0 auto;
}

.color2 {
  width: 65%;
  margin: 0 auto;
  background-color: #735d78;
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: all 1s ease;
  margin-top: 10px;
}

.color2:hover {
  background-color: #f06c9b;
}

.courses h4 {
  transition: transform 0.3s ease;
  font-size: 50px;
  color: #1c3a41;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0px;
  margin-top: -15px;
  -webkit-text-stroke: 1.2px #00ffff;
  text-shadow: 0 10px 1px rgba(0, 0, 0, 0.6); /* cieÅ„ z gÃ³ry */
}

.coursess h4 {
  transition: transform 0.3s ease;
  font-size: 40px;
  color: #1c3a41;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0px;
  margin-top: -15px;
}

.stay p {
    text-align: right;
    font-size: 10px;

}

.stay h4 {
  transition: transform 0.3s ease;
  font-size: 80px;
  color: #1c3a41;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: bolder;
  letter-spacing: 0px;
  text-align: right;
  margin-top: -20px;
  -webkit-text-stroke: 1px #00ffff;
  text-shadow: 0 10px 1px rgba(0, 0, 0, 0.6); /* cieÅ„ z gÃ³ry */
}

.stay h4:hover {
  transition: transform 0.3s ease;
  font-size: 80px;
  color: #1c3a41;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: bolder;
  letter-spacing: 0px;
  text-align: right;
  margin-top: -20px;
  -webkit-text-stroke: 1px #8a2be2;
  text-shadow: 0 10px 1px rgba(0, 0, 0, 0.6); /* cieÅ„ z gÃ³ry */
}

.cour {
    font-family: "Amatic SC", sans-serif; 
font-weight: 700;
font-style: normal;
color: black; 
font-size: 32px;
}

.courses h2 {
  transition: transform 0.3s ease;
}

.courses h4:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.gray a {
  text-decoration: none;
  font-size: 22px;
  color: #e9ebf8;
  padding-right: 10px;
  margin: 0 auto;
}

.gray h2 {
  letter-spacing: 4px;
  font-size: 21px;
}

.center {
  margin: 0; /* Remove default margin */
  display: flex; /* Flexbox layout */
  align-items: center; /* Center vertically */
}

.pusmall {
  margin: 100px;
  margin-top: 60px;
  width: 300px;
}

.line2 {
  width: 0;
  max-width: 75%;
  height: 3px;
  margin: 0 auto;
  margin-top: 0px;
  display: block; /* Ensure it's treated as a block-level element */
  background-color: #8d818c;
  animation: dashBounce 0.2s linear infinite;
}

@keyframes dashBounce {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.05);
  }
  100% {
    transform: scaleX(1);
  }
}

.line6 {
  width: 0;
  max-width: 60%;
  margin: 0 auto;
  display: block; /* Ensure it's treated as a block-level element */
  position: relative;
  animation: slideInLine 1.5s ease-out forwards;
  color: pink;
}

@keyframes slideInLine {
  to {
    width: 75%;
  }
}

@keyframes glow-line {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 10px #2a2d34;
  }
}

.line7 {
  width: 80%;
  margin: 140px;
  margin-bottom: 100px;
  margin-top: 100px;
  display: block; /* Ensure it's treated as a block-level element */
  border-top: 1px solid #95849a;
}

.line8 {
  width: 40%;
  margin: 200px;
  margin-bottom: 40px;
  margin-top: 40px;
  display: block; /* Ensure it's treated as a block-level element */
  border-top: 1px solid #95849a;
}

.line3 {
  width: 25%;
  margin-left: 144px;
  border-top: 1px dotted #95849a;
}

.line5 {
  width: 25%;
  border-top: 1px dotted #95849a;
  margin-right: 144px;
}

.line4 {
  width: 80%;
  margin: 144px;
  margin-bottom: 100px;
  margin-top: 100px;
  display: block; /* Ensure it's treated as a block-level element */
  border-top: 2px solid #95849a;
}

.button {
  background-color: hsl(191, 40%, 18%);
  transition: all 0.3s ease;
  border-radius: 30px;
}

.button:hover {
  background-color: #4e9ab7;
  color: white;
  transform: translateY(4px);
}

.sylabus {
  display: inline-block;
  margin-top: -50px;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 0px;
  font-size: 15px;
  background-color: #efe9f4;
  text-align: center;
  border: none;
  transition: all 0.3s ease;
  color: black;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  border: 2px solid #8a2be2;
}

.sylabus:hover {
  transform: translateY(4px);
  color: #1c3a41;
  border: 0.2px outset white;
}

/* Key Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

h1 {
  font-family: "Annie Use Your Telescope", cursive;
  display: block;
  text-align: center;
  letter-spacing: 16px;
  color: white;
  animation: shake 0.5s ease-in-out;
  margin-bottom: 20px;

  transition: transform 0.3s ease;
  border-radius: 10px;
  color: #d9d9ff;
  line-height: 70px;
  padding: 10px;
  font-size: 50px;
  -webkit-text-stroke: 2px #1c3a41; /* grubość i kolor obramowania */
}

h1:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
  color: #1c3a41;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

.outline {
  display: flex;
  box-sizing: border-box;
  text-align: center;
  justify-content: center; /* This will justify items inside the container */
  margin: 100px 400px 35px 230px;
  transition: transform 0.3s ease-in-out;
  align-items: center;
  justify-content: center; /* Aligns content horizontally in the center */
  align-items: center; /* Aligns content vertically in the center */
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

h2 a {
  color: inherit;
  text-decoration: none;
  -webkit-text-stroke: inherit;
  font: inherit;
  border: none;
  padding: 0;
  margin: 0;
  display: inline;
}

.outline h2 {
  margin-right: 20px;
  margin-left: -40px;
  transition: transform 0.3s ease;
  border-radius: 10px;
  color: #735d78;
  line-height: 69px;
  padding: 100px;
  font-size: 100px;
  font-family: "Annie Use Your Telescope", cursive;
  -webkit-text-stroke: 2px #1c3a41; /* grubość i kolor obramowania */
  padding: 15px;
  text-align: center !important;
}

@keyframes slideUpLong {
  0% {
    opacity: 0;
    transform: translateY(300px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.outline h2.animate {
  animation: slideUpLong 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.outline h2:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.outline h2 {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 30px;
  letter-spacing: 10px;
  width: 500px;
}

.outline {
  letter-spacing: -2px;
}

.content {
  letter-spacing: 0px;
}

.outline p {
  text-justify: center;
  font-family: "Courier New", Courier, monospace;
  line-height: 30px;
}

.trans {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  width: max-content;
  margin: 0 auto;
  text-align: center;
  font-size: 30px;
  line-height: 30px;
}

.trans:hover {
  animation: fadeIn 1s ease-in-out; /* Fade-in effect */
  transform: scale(1.05); /* Slightly scale the h1on on hover */
}

.content {
  text-align: justify;
  line-height: 1.6;
  font-size: 18px;
  font-family: "Arial", sans-serif;
  color: #333;
  max-width: 400px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: bolder;
  margin-top: 40px;
}
.content-section {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center */
  width: 50%;
  padding: 15px;
  padding-bottom: 70px;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  margin-top: -30px;
  margin-left: 20px;
  margin-right: -30px;
  z-index: 100;
}

.content-section p {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 34px;
  line-height: 37px;
  letter-spacing: -1px;
  word-spacing: 2px;
}

.content-section2 {
  display: flex;
  margin-left: 160px;
  margin-right: 120px;
  margin-top: -100px;
  flex-direction: column;
  justify-content: center; /* Vertically center */
  width: 40%;
  padding: 15px;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
  text-align: center;
}
.content-section2 p {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
  font-size: 25px;
}

.start {
  margin-top: 100px;
  width: 300px;
  height: 300px;
  padding: 20px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.5) 20%,
    rgba(242, 242, 122, 0.75) 60%
  );
  opacity: 0.75;
  border-radius: 50%;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  animation: pulse 1.5s infinite alternate, sunrayEffect 2s ease-in-out infinite;
}

.start h3 {
  opacity: 0; /* Initially hide the text */
  transition: opacity 0.3s ease-in-out;
  font-size: 24px;
  text-align: center;
  color: #333;
}

.start.visible h3 {
  opacity: 1; /* Make the text visible when clicked */
}

.start.visible {
  transform: rotateY(0deg); /* Reset rotation on click if needed */
  background-color: #a1c24b; /* Slightly change background color to indicate it's visible */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Increase shadow for emphasis */
  animation: none; /* Stop pulse animation after click */
}

.start:hover {
  background-color: #e1e17d; /* Lighter background on hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

.start:active {
  transform: scale(0.98); /* Slight shrink effect on click */
}

/* Pulse effect to grab attention */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
}

/* Sunray Effect - Radiate animation */
@keyframes sunrayEffect {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
      0 0 25px rgba(255, 255, 255, 0.2), 0 0 35px rgba(255, 255, 255, 0.1);
  }
  100% {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8),
      0 0 45px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.2);
  }
}

/* Position the .start elements based on the logo */
.platform {
  display: flex;
  justify-content: space-between; /* This will justify items inside the container */
  line-height: 50px;
  margin: 30px 200px 110px 300px;
  width: 60%;
  gap: 100px;
}

.dynamic-cursor:hover {
  transform: translate(-50%, -50%) scale(1.5);
  transition: transform 0.3s ease;
}

.outline h5 {
  margin-top: 70px;
}

.info {
  padding-top: 80px;
  text-align: right;
  line-height: 50px;
  justify-content: center;
  margin: 0 auto;
}

.info h2 {
  transition: transform 0.1s ease-in-out;
  font-size: 40px;
  color: #1c3a41;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
}

.text {
  flex-direction: column; /* Stack text vertically */
  text-align: right; /* Align the text to the right */
  padding-left: 20px; /* Optional: Add padding to move text away from edge */
  margin-right: 100px;
  line-height: 1.6;
  position: relative;
  top: 50%;
}

.courses {
  padding-top: 80px;
  text-align: right;
  line-height: 50px;
  justify-content: center;
  margin: 10px 250px 30px 100px;
}

.progress {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center;
  padding-bottom: 100px;
  animation: fadeInUp 1s ease-in-out;
  margin-bottom: 0;
  margin-top: -30px;
  gap: 40px;
}

.progress p {
  color: #f8f8f2;
}
.rapid,
.steady {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin: 0; /* zamiast 100px z lewej i prawej */
  transition: transform 0.3s ease-in-out;
  margin-bottom: -20px;
}

.rapid:hover,
.steady:hover {
  transform: translateY(-10px);
}

.rapid p,
.steady p {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-size: 14px;
  color: black;
}

.image-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
}

.image-text-rapid h4 {
  transition: transform 0.3s ease;
  margin-bottom: 0;
  font-size: 55px;
  color: #8a2be2;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 2px;
  -webkit-text-stroke: 0.5px #00ffff;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); /* cieÅ„ z gÃ³ry */
}

.image-text-rapid h4:hover {
  margin-bottom: 0;
  color: #1c3a41;
  -webkit-text-stroke: 1px #00ffff;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); /* cieÅ„ z gÃ³ry */
}

.image-text-rapid-course h4 {
  transition: transform 0.3s ease;
  margin-bottom: 0;
  font-size: 45px;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0px;
}



.color2:hover .image-text-steady h4,
.color2:hover .image-text-rapid h4 {
  color: #1c3a41;
  transition: color 1s ease-in-out, transform 0.1s ease-in-out;
}

.image-text-steady h4 {
  transition: transform 0.3s ease;

  margin-bottom: 0;
  font-size: 55px;
  color: #f06c9b;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: bolder;
  letter-spacing: 0px;
  -webkit-text-stroke: 0.5px #00ffff;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); /* cieÅ„ z gÃ³ry */
}

.image-text-steady h4:hover {
  margin-bottom: 0;
  color: #1c3a41;
  -webkit-text-stroke: 1px #00ffff;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); /* cieÅ„ z gÃ³ry */
}

.image-text-steady-course {
  display: flex;
  flex-direction: column;
  align-items: center; /* WAŻNE: poziome centrowanie */
  text-align: center; /* Centrowanie tekstu */
}

.image-text-steady-course h4 {
  transition: transform 0.3s ease;
  margin-bottom: 0;
  font-size: 45px;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0px;
}
#basicLink,
#intensiveLink,
#basicPraxis,
#intensivePraxis,
#type1 {
  visibility: hidden;
  white-space: nowrap;
  overflow: hidden; /* opcjonalne: ukrywa nadmiar tekstu */
  text-overflow: ellipsis; /* opcjonalne: pokazuje "..." gdy się nie mieści */
}

#basicLink {
  -webkit-text-stroke: 0.5px #f06c9b;
}

#intensiveLink {
    -webkit-text-stroke: 0.5px #8A2BE2;

}

#schedule {
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 23px;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-weight: lighter;
}

#schedule:hover {
  transform: scale(1.05);
}

#rapidi {
  width: 102px;
  height: 102px;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 50%;
  margin-top: 15px;
}

#steadyi {
  width: 75px;
  height: 75px;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 50%;
  margin-bottom: 5px;
  margin-top: 15px;
}

#rapidi2 {
  width: 75px;
  height: 75px;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 50%;
  margin-top: 15px;
}

#steadyi2 {
  width: 75px;
  height: 75px;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 50%;
  margin-bottom: 5px;
  margin-top: 15px;
}

#steadyi:hover,
#rapidi:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Fade-in animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .courses {
    margin: 0;
    padding: 0 20px;
    text-align: center;
  }

  .progress {
    flex-direction: column;
    margin-right: 0;
  }

  .rapid,
  .steady {
    margin: 10px 0;
    text-align: center;
  }

  #rapidi,
  #steadyi {
    width: 60px;
    height: 60px;
  }

  #more {
    font-size: 16px;
    padding: 12px 20px;
  }
}

.guide {
  text-align: center;
  margin: 0 auto;
  height: 100px;
  margin: 180px;
  justify-content: center;
}

.guide h5 {
  color: #1c3a41;
  margin-bottom: 50px;
  font-size: 30px;
  letter-spacing: 0px;
  word-spacing: 3px;
  font-family: "Amatic SC", sans-serif;
  font-weight: lighter;
  font-style: normal;
}

.writer {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #333;
  font-family: monospace;
  display: inline-block;
  width: 0;
}

.typing {
  animation: typing 5s steps(70, end) forwards,
    blinkCursor 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkCursor {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #333;
  }
}

/* Initially hide the content off-screen to the left */
.guide h5,
.guide a {
  transform: translateX(-100%); /* Start off-screen to the left */
  opacity: 0; /* Initially invisible */
  transition: transform 1s ease-out, opacity 1s ease-out; /* Smooth transition */
}

/* Class to add after the element enters the viewport */
.guide.in-view h5,
.guide.in-view a {
  transform: translateX(0); /* Move to original position */
  opacity: 1; /* Make visible */
}

/* Optionally stagger the effects */
.guide.in-view h5 {
  transition-delay: 0.2s; /* Delay for the h5 element */
}

.guide.in-view a {
  transition-delay: 5s; /* Delay for the anchor tag */
}

/* Keyframes for the slide-in animation */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%); /* Start off to the left */
    opacity: 0; /* Start invisible */
  }
  100% {
    transform: translateX(0); /* Move to the original position */
    opacity: 1; /* Fully visible */
  }
}

#free {
  color: #00ffff;
  background-color: #1c3a41;
  border: 0.5px outset #41b3ac;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 0px;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  margin-top: 20px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  width: auto;
}

#free:hover {
  transform: translateY(4px);
  background: #41b3ac;
  color: #1c3a41;
  border: 0.2px outset #1c3a41;
  transition: color 0.3s ease-in-out, transform 0.1s ease-in-out;
  
}

#free2 {
  
  color: #00ffff;
  background-color: #1c3a41;
  border: 0.5px outset #66cccc;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 0px;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  margin-top: 20px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  font-weight: lighter;
  width: auto;
}

#free2:hover,
#free2:active,
#free2:focus {
  transform: translateY(4px);
  background: #41b3ac;
  color: #1c3a41;
  border: 0.2px outset #1c3a41;
  transition: color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

#free2:disabled {
  background-color: #41b3ac;
  cursor: not-allowed;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  margin-top: -230px;
}

.contact a:hover {
  transition: none;
  color: #00ffff;
}

.insta,
.demo,
.email {
  width: 20%;
  display: flex; /* Use Flexbox inside each item */
  flex-direction: column; /* Stack the ee and text vertically */
  align-items: center;
  margin: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.insta:hover,
.demo:hover,
.email:hover {
  transform: translateY(-10px); /* Hover effect to raise the item */
  opacity: 1;
}

.demoii {
  width: 100px;
  height: 100px;
  margin-top: 0px;
}

.emaili {
  width: 100px;
  height: 100px;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.demoi {
  width: 80px;
  height: 80px;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
    margin-bottom: 20px;

}

.instai {
  width: 80px;
  height: 80px;
  opacity: 1;
  transition: transform 0.3s ease, 0.3s ease;
  margin-bottom: 20px;
}

.instai:hover,
.demoi:hover,
.emaili:hover {
  transform: scale(1.2); /* Slight zoom effect on hover */
  opacity: 1.4;
}

.demo a,
.insta a,
.email a {
  font-size: 23px;
  font-family: "Annie Use Your Telescope", cursive;

  color: #1c3a41;
  letter-spacing: 2px;
  padding: 15px;
}

#green {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
  transition: all 0.2s ease; /* ← add this */
  font-size: 16px;
  background-color: #8a2be2;
  padding: 10px 30px;
  border-radius: 10px;
  letter-spacing: 0px;
  color: #00ffff;
  border: 0.5px outset #66cccc;
}

#green:hover {
  background-color: #41b3ac;
  border: 0.5px outset #8a2be2;
  padding: 10px 30px;
  border-radius: 10px;
  letter-spacing: 0px;
  transform: translateY(4px);
}

.gray:hover #green {
  transition: background-color 1s ease-in-out, transform 0.1s ease-in-out;
  transition: color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.gray:hover #green:hover {
  background-color: #41b3ac;
  color: #1c3a41;
  border: 0.5px outset #8a2be2;
}

.gray {
  background-color: #8a2be2;

  width: 80%;
  margin: 0 auto;
  height: 450px;
  padding-top: 60px;
  padding-bottom: 60px;
  border-radius: 50px;
  transition: background-color 1s ease-in-out, transform 1s ease-in-out;
  transform: rotate(0deg);
}

.gray:hover {
  background-color: #1c3a41;
  transform: translateY(4px);
}

.gray .info h2 {
  transition: color 2s ease-in-out, transform 2s ease-in-out;
  color: #8d818c;
}

.gray:hover a,
.gray:hover .info h2 {
  color: #8d818c;
  transition: color 2s ease-in-out, transform 2s ease-in-out;
}

footer {
  display: flex;
  justify-content: center; /* Centers content horizontally */
  align-items: center; /* Centers content vertically */
  margin: 50px;
  margin-top: 120px;
}

.link {
  font-size: 22 px;
  color: #95849a;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.link:hover {
  color: #8a2be2; /* On hover, change color to match the rest of the site */
}

.dawaj {
  margin-top: 100px; /* Optional: removes default margin from <p> */
  margin-bottom: 20px;
}

.dawaj2 {
  margin: 0;
  margin-bottom: -30px;
}

.dawaj3 {
  margin-top: 60px;
  margin-bottom: 0px;
}

footer {
  margin-top: 0px;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer {
  overflow: hidden;
}

/*COURSES*/
/* General Styles for Pricing Section */
/* Container for pricing items */
/* Pricing container styles */



.pricing-container {
  height: 100px;
  margin-top: 0; /* Remove any top margin */
  padding-top: 0; /* Remove any top padding if needed */
  display: flex;
  justify-content: center;
  gap: 30px; /* was too small before */
  margin-left: 270px;
  margin-right: 270px;
  margin-top: -50px;
  margin-bottom: 0;
  border-radius: 10px;
  padding: 30px;
  transform: translateY(100px); /* Start below the viewport */
  opacity: 0;
  transition: opacity 0.5s ease, transform 2s ease; /* Smooth animation */
}

/* Fade-In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pricing-container.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Styling for the Pricing Links */
.pricing-link {
  color: white;
  text-decoration: none;
  padding: 20px;
  display: block;
  font-size: 17px;
  background-color: #1c3a41;
  border-radius: 10px;
  font-weight: lighter;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 3px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.pricing-link:hover {
  background-color: #1B998B;
  border: 2px outset #1c3a41;
  transform: translateY(4px);
  color: #1c3a41;
}

/* Each pricing item styles */
.pricing-item {
  transition: all 0.3s ease;
}




.pricing-section {
  margin: 70px 220px;

}

.pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);

}

/* Notification style for pricing submenu content */
.pricing-submenu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #735D78;
  border: 2px solid white;
  color: #1c3a41; /* Adjust text color */
  padding: 20px;
  padding-right: 5px; padding-left: 5px;
  padding-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
    backdrop-filter: none;     /* prevent blur/filter from showing background */
mix-blend-mode: normal;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, width 0.4s ease; /* Ensure width change is smooth */
  width: 300px; /*Set the default width */
  display: block;
  font-weight: lighter;
  font-family: "Amatic SC", sans-serif; 
font-weight: 700;
font-style: normal;
   letter-spacing: 1px;
}

.pricing-container .pricing-item p {
  font-size: 30px !important;
}


.pricing-submenu-content.show {
  opacity: 1;
  pointer-events: auto;
  top: 50%;
  left: 50%;
  width: 270px; /* Keep width consistent even when showing */
}

/* Notification-style centered */
.pricing-submenu-content.notification-style {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 400px; /* Ensure consistent width */
  max-width: 90vw;
}

.stamp-effect {
  animation: stamp 0.5s ease forwards;
}

.sale-tag {
  position: absolute;
  top: 10px;
  right: -35px;
background: linear-gradient(135deg, #ffd93d 0%, #ffe873 50%, #ffd93d 100%);
  color: #1c3a41;
  padding: 6px 18px 6px 22px;
  font-size: 18px;
  font-weight: bold;
  transform: rotate(20deg);
  z-index: 1000;
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 50%,
    calc(100% - 15px) 100%,
    0 100%
  );
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  border: 0.2px outset #e6e6fa;
}

/* Paper hole (eyelet) */
.sale-tag::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: #1c3a41;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

/* Optional glow-on-hover effect */
.sale-tag:hover {
  box-shadow: 0 0 12px rgba(255, 217, 61, 0.8), 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Stamp animation */
@keyframes stamp {
  0% {
    transform: rotate(20deg) scale(2);
    opacity: 0;
  }
  35% {
    transform: rotate(20deg) scale(0.9);
    opacity: 1;
  }
  60% {
    transform: rotate(21.5deg) scale(1.05);
  }
  80% {
    transform: rotate(19.5deg) scale(0.97);
  }
  100% {
    transform: rotate(20deg) scale(1);
  }
}

.stamp-effect {
  animation: stamp 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) forwards;
}

/* Hole in the tag */

/* Animate only when .animate-tag is applied */
.animate-tag {
  animation: bounceIn 0.8s ease-out, glow 2s infinite alternate;
}

.action {
  margin-left: 270px;
  margin-top: 80px;
}

.pen_green {
  display: inline;
  background: linear-gradient(
      to right,
      rgba(240, 108, 155, 0.3) 0%,
      rgba(240, 108, 155, 0.6) 20%,
      rgba(240, 108, 155, 0.4) 40%,
      rgba(240, 108, 155, 0.7) 60%,
      rgba(240, 108, 155, 0.5) 80%,
      rgba(240, 108, 155, 0.65) 100%
    ),
    linear-gradient(
      135deg,
      transparent 10%,
      rgba(240, 108, 155, 0.2) 30%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 20%,
      rgba(240, 108, 155, 0.15) 40%,
      transparent 60%
    );

  background-repeat: no-repeat;
  background-size: 100% 0.8em;
  background-position: 0 85%;
  padding: 0 2px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-weight: bolder;
}

.pen {
  display: inline;
  background: linear-gradient(
      to right,
      rgba(138, 43, 226, 0.3) 0%,
      rgba(138, 43, 226, 0.6) 20%,
      rgba(138, 43, 226, 0.4) 40%,
      rgba(138, 43, 226, 0.7) 60%,
      rgba(138, 43, 226, 0.5) 80%,
      rgba(138, 43, 226, 0.65) 100%
    ),
    linear-gradient(
      135deg,
      transparent 10%,
      rgba(138, 43, 226, 0.2) 30%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 20%,
      rgba(138, 43, 226, 0.15) 40%,
      transparent 60%
    );
  background-repeat: no-repeat;
  background-size: 100% 0.8em;
  background-position: 0 85%;
  padding: 0 2px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-weight: bolder;
}

.type3 {
  padding-right: 2px; /* minimal space for the cursor */
  font-weight: lighter;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.75s step-end infinite;
  display: inline-block;
  font-size: 20px;
  word-spacing: 0px;
  /* Reserve space from the start and prevent shifting */
  min-width: 15ch; /* Adjust this based on the longest text you expect (e.g., "BASIC COURSE") */
  width: auto; /* Ensure the width adapts to the content */
}

/* Adjust cursor animation for blinking effect */
@keyframes blinkCursor {
  0% {
    border-right: 2px solid transparent;
  }
  50% {
    border-right: 2px solid black;
  }
  100% {
    border-right: 2px solid transparent;
  }
}

.type4 {
  padding-right: 2px; /* minimalna przestrzeń dla kursora */
  font-family: "Bebas Neue", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.75s step-end infinite;
  display: inline-block;
  font-size: 27px;
  letter-spacing: 3px;
  word-spacing: 0px;

  /* ✅ Rezerwuj miejsce od razu */
  min-width: 8ch; /* dostosuj do długości tekstu */
}

@keyframes blinkCursor {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: black;
  }
}

.type {
  font-size: 25px;
  letter-spacing: -1px;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.75s step-end infinite;
  display: inline-block;

  /* ✅ Rezerwuj miejsce od razu */
}

@keyframes blinkCursor {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: black;
  }
}

.type2,
#type1 {
  letter-spacing: 0px;
  -webkit-text-stroke: 0.3px #00ffff;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); /* cieÅ„ z gÃ³ry */

  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
  color: #00ffff;
  font-weight: lighter;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.75s step-end infinite;
  display: inline-block;
  font-size: 23px;
  padding-right: 5px;

  /* ✅ Rezerwuj miejsce od razu */
  min-width: 13ch; /* dostosuj do długości tekstu */
  letter-spacing: 0.5px;
}

@keyframes blinkCursor {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: black;
  }
}

.nav {
  position: fixed;
  margin: 0 auto;
}

nav a {
  font-size: 23px;
  letter-spacing: 4px;
  padding-right: 5px;
  color: #d9d9ff;
  margin: 0 auto;
}

nav li {
  transition: transform 0.3s ease, 0.3s ease;
  padding: 25px;
}

nav li:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.nav .ul {
  display: block;
  width: 400px;
  margin: 0;
}

nav h2 a {
  color: #1c3a41;
}

.ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.li {
  position: relative;
  display: block;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  margin-bottom: 5px;
  padding: 0; /* Reset padding if needed */
  position: relative; /* Needed for positioning the submenu */
}

.menu-item a {
  display: block;
  padding: 10px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border: 1px solid #444;
  width: 250px;
  margin: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-item a:hover {
  background-color: #555;
  transform: scale(1.05); /* Slightly scale the h1on on hover */
}

.menu-link {
  text-decoration: none;
  color: #333;
  padding: 10px;
  display: block;
  font-weight: bold;
  font-family: "Bebas Neue", sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}

.menu-link:hover {
  background-color: #ddd;
}

.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px); /* Start position off-screen */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.menu-item.active .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(0); /* Smoothly slide in */
}

.submenu-content {
  margin-top: 10px; /* Space between submenu items */
  padding-left: 10px; /* Padding for better alignment */
}

.submenu-content p {
  margin: 5px 0; /* Add vertical space between paragraphs */
}

.submenu-content .no {
  background-color: #8e7c93;
  padding: 12px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.submenu-content .no:hover {
  background-color: #e3e3e3;
}

#int {
  margin-top: 60px;
}

.vertical-line {
  width: 1px;
  height: 100px;
  background-color: #66cccc;
  margin: 0 40px; /* lub inna wartość */
  /* Pozycja linii w poziomie (50% oznacza środek ekranu) */
}

/* Styl tekstu */
.wave {
  border: none;
  height: 8px;
  background: repeating-radial-gradient(
    circle at 0 50%,
    #1c3a41 0px,
    #1c3a41 3px,
    transparent 3px,
    transparent 8px
  );
  background-size: 16px 100%;
}

.details {
  padding: 80px;
  padding-top: 20px;
  display: grid;
  justify-content: space-between; /* This will justify items inside the container */
  margin: 270px;
  margin-top: 0px;
  margin-bottom: 10px;
  background: linear-gradient(to right, #ccc 1px, transparent 1px),
    /* Linie pionowe */ linear-gradient(to bottom, #ccc 1px, transparent 1px); /* Linie poziome */
  background-size: 20px 20px; /* Rozmiar kratki */
}
.card-brand {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: bold;
  word-spacing: 5px;
  letter-spacing: 5px;
  color: #8A2BE2;
   -webkit-text-stroke: 0.5px #00ffff;
  text-shadow: 0 3px 1px rgba(0, 0, 0, 0.6); /* cieÅ„ z gÃ³ry */

  font-family: 'Poppins', sans-serif;
    font-family: "Poppins", sans-serif;
  font-weight: bolder;
  margin: 0px;
  background: #66CCCC;
  width: 100%;
}


.card-3d-wrapper {
  perspective: 1200px;
  width: 475px;
  height: 180px;
  margin: 60px auto;
  transition: width 0.8s ease;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.card-3d-wrapper.expanded {
  width: 100vw;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

.card-3d {
  height: auto; /* pozwól rosnąć zgodnie z zawartością */

  width: 100%;
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  min-height: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  background: transparent;
}

.card-3d.flipped {
  transform: rotateY(180deg);
}
.click-animation {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  background-color: #8A2BE2;
  border-radius: 10px;
  z-index: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px #8A2BE2, 0 0 20px #00ffff;
  }
  100% {
    box-shadow: 0 0 20px #00ffff, 0 0 30px #8A2BE2;
  }
}

.white {
  color: white;
}


.card-face {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  overflow-y: auto;
  background: white;
padding: 100px;
}

.card-face p {
  font-size: 32px;
  color: #00FFFF;
}



.card-face h3 {
  color: #8A2BE2;
  -webkit-text-stroke: 1.2px #00ffff;
    font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6); /* cieÅ„ z gÃ³ry */

  font-size: 23px;
  letter-spacing: -2px;
}

/* front - mała wizytówka */
.card-front {
  background: #1c3a41;
    color: #00ffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:   center;
  font-family: "Amatic SC", sans-serif;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    height: 300px;

}

.card-bottom-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 18px;
  color: #1c3a41;
  font-weight: bold;
}

/* back - rozciąga się na całą szerokość przy expanded */
.card-back {
  transform: rotateY(180deg);
  background: #1c3a41;
  min-height: 500px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Gdy wrapper jest rozszerzony (po flipie) karta tył ma max szerokość */
.card-3d-wrapper.expanded .card-back {
  width: 100vw;
  max-width: 100%;
  height: auto;
  position: relative;
  border-radius: 0;
  padding: 40px;
  box-shadow: none;
  overflow-y: visible;
}

/* Style tekstu */
.details2 {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  color: white;
  font-weight: lighter;
}

/* Ukryj scrollbar w przeglądarkach */
.card-back::-webkit-scrollbar {
  width: 0;
  background: transparent;
}



.details2 {
  padding-bottom: 0; /* Remove bottom padding */
  margin: 270px;
  padding: 80px;
  display: grid;
  justify-content: space-between; /* This will justify items inside the container */
  margin-top: 0px;
  margin-bottom: 0px;
  background-size: 20px 20px; /* Rozmiar kratki */
  font-family: "Courier New", Courier, monospace;
  letter-spacing: -2px;
  z-index: -1;
  position: relative;

}

.details2 p {
  font-size: 31px;
  color: white;
    font-family: "Amatic SC", sans-serif; 
font-weight: 100;
font-style: normal;
letter-spacing: 1px;
}

#details3 {
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: lighter;
    letter-spacing: 0;
}

.details2 a,
.details a {
  font-weight: bold;
  text-decoration: underline;
}

.details a,
.action a {
  font-size: 32px;
  font-weight: bold;
  text-decoration: underline;
}

.details a:hover {
  -webkit-text-stroke: 0.5px black;
font-style: italic;
}

.details p,
.action p {
  margin-top: 0px;
  font-size: 32px;
  display: inline;
  line-height: 40px;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a.shiny-link {
  display: inline-block;
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: bold;
  overflow: hidden;
  z-index: 1;
  
}

a.shiny-link::after {
    z-index: -1; /* <<< to najważniejsze */

  content: "";
  position: absolute;
  top: 50%;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    #ffe770 50%,
    transparent 100%
  );
  transform: translateY(-50%) skewX(-25deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

a.shiny-link:hover::after {
  opacity: 1;
  animation: shineMove 0.8s forwards;
}

@keyframes shineMove {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

#ten,
#fifty {
  padding-left: 45px;
}

#one,
#twofive {
  margin: 0 auto;
  font-size: 30px;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: -2px;
  font-weight: lighter;
}

/* Responsive Design for tablets and mobile devices */
@media (max-width: 768px) {
  /* Adjust the main container for mobile */
  .extend {
    margin-left: 0; /* Reset left margin on smaller screens */
    padding: 10px;
    flex-direction: column; /* Stack the content vertically */
  }

  /* Adjust navigation for smaller screens */
  .main-nav {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
  }

  .main-nav a {
    text-decoration: none;
    color: #333;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .menu-item {
    margin-bottom: 10px; /* Space between menu items */
  }

  /* Make menu links take up the full width of the container */
  .menu-item a {
    width: 100%; /* Full width for mobile screens */
    text-align: center; /* Center align text */
  }

  /* Make submenu items look better on smaller screens */
  .submenu-content {
    flex-direction: column; /* Stack submenu items vertically */
  }

  /* Adjust submenu appearance for mobile */
  .submenu {
    position: static; /* Display the submenu under the menu item on mobile */
    width: 100%; /* Make submenu items take up the full width */
    box-shadow: none; /* Remove shadow for a cleaner look */
    border: none; /* Remove the border for a simpler design */
  }

  /* Optional: You can hide the menu or create a hamburger menu for mobile */
  /* For a hamburger menu, you would add some JavaScript and additional styling */
}

/*FAQ*/
.circle-wrapper {
  width: 130px;
  height: 130px;
  overflow: hidden;
  border-radius: 50%;
  background-color: #357346;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px auto; /* center horizontally + spacing above/below */
  transform: translateY(-10px); /* optional small shift */
  position: relative; /* keep normal document flow */
}

.circle-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background-color: #031023;
  display: block;
  transform: translateY(-10px);
  transform-origin: center center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: none; /* brak animacji domyślnej */
}

/* Animacja dwóch obrotów */
@keyframes rotateTwoTurns {
  0% {
    transform: translateY(-10px) rotate(0deg);
  }
  100% {
    transform: translateY(-10px) rotate(360deg);
  }
}

/* Hover - animacja dwóch obrotów i cień */
.circle-wrapper img:hover {
  animation: rotateTwoTurns 1s ease-in-out forwards;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.rotate-animation {
  animation: rotateTwoTurns 1s ease-in-out forwards;
}

#hiddenParagraph4 .language-row {
  display: flex;
  align-items: flex-start;
  justify-content: center; /* całość na środku */
  gap: 20px;
  text-align: left; /* tekst wraca na lewo */
}

#hiddenParagraph4 {
  position: relative; /* potrzebne, by wystawiające elementy miały punkt odniesienia */
  overflow: visible; /* pozwala obrazowi „wyjść” poza box */
  border-left: 4px solid #f06c9b;
}

#maszyna1,
#maszyna2,
#maszyna4,
#maszyna5 {
  display: inline-block; /* Ensure all tabs are visible */
  visibility: visible; /* Make sure none of them are hidden */
  opacity: 1; /* Ensure none are invisible */
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
  color: #1c3a41;
  font-size: 24px;
}

#maszyna4 {
  letter-spacing: 2px;
}

#maszyna3 {
  display: inline-block; /* Ensure all tabs are visible */
  visibility: visible; /* Make sure none of them are hidden */
  opacity: 1; /* Ensure none are invisible */
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
  z-index: 100;
  color: #1c3a41;
  font-size: 24px;
}

/* Additional styling for hover effects (optional) */
.hidden {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  margin-top: 1em;
  margin-bottom: 1em;
}

.show {
  display: block;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#hiddenParagraph,
#hiddenParagraph2,
#hiddenParagraph3,
#hiddenParagraph4 {
  background-color: #735d78;
  border-radius: 8px;
  color: white;

  font-family: "Amatic SC", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 32px;
  padding: 20px;
}

.main {
  max-width: 800px;
  margin: 0px auto;
  font-family: "Open Sans", sans-serif;
  padding: 20px;
  line-height: 1.6;
}

.clickable {
  color: #8a2be2;
  border: 1px outset #66cccc;
  font-size: 40px;
  font-weight: bolder;
  word-spacing: 3px;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  letter-spacing: 0px;
  cursor: pointer;
  padding: 15px 20px;
  /*background: linear-gradient(135deg, #FFFFFF 0%, #D9D9FF 100%);*/
  background: #1c3a41;
  border-radius: 8px;
  margin: 10px 0;
  display: inline-block;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.clickable:hover {
  background: #41b3ac;
  color: #1c3a41;

  transform: translateY(4px);
  border: 1px outset #1c3a41;
  transition: color 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.clickable:active {
  top: 2px;
}

.hidden {
  display: none;
}

.main p {
  background-color: #fafafa;
  padding: 15px 20px;
  border-left: 4px solid #f06c9b;
  border-radius: 0 0 8px 8px;
  margin: 0 0 20px;
  animation: fadeIn 0.4s ease;
}

.more {
  color: pink;
  letter-spacing: -2px;
  text-decoration: underline;
}

#me {
  max-width: 150px;
  display: block;
  margin: 20px auto 0;
  border-radius: 50%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq {
  margin: 210px;
  margin-top: 0;
  line-height: 32px;
  text-align: justify;
}

#me {
  height: 230px;
  width: 230px;
  border-radius: 50%;
}

/* Initial state for all h2 elements */
.main h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
  cursor: pointer;
  transition: color 0.3s ease;
  display: block; /* Ensure each h2 stays on its own line */
  margin-bottom: 20px; /* Space between the h2 elements */

  font-size: 23px;
  letter-spacing: -1px;
  font-weight: bold;
  padding-right: 5px;
  color: #1c3a41;
}

/* Delay each h2's animation */
.main h2:nth-of-type(1),
#this {
  animation-delay: 0.1s; /* 0.2s for the first h2 */
}

.main h2:nth-of-type(2),
#how {
  animation-delay: 0.4s; /* 0.4s for the second h2 */
}

.main h2:nth-of-type(3),
#what {
  animation-delay: 0.6s; /* 0.6s for the third h2 */
}

.main h2:nth-of-type(4),
#who {
  animation-delay: 0.8s; /* 0.8s for the fourth h2 */
}

/* Keyframes for fadeInUp animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effect to catch attention */
.main h2:hover,
.main .h2:hover {
  transform: scale(1.1) translateY(-5px);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Style the links inside h2 */
.main h2 a {
  text-decoration: none;
  color: inherit; /* Inherit color from h2 */
  transition: color 0.3s ease;
  letter-spacing: -2px;
}

.main h2 a:hover {
  color: #8d818c; /* Hover color for links */
}

/*FREE*/
.slots {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: -1px;
  font-weight: lighter;
}

#submit {
  width: 20%;
  background-color: #8d818c;
}

#submit:hover {
  background-color: #def2c8;
  border: 2px solid #8d818c;
  color: #8d818c;
}

.touch h4 {
  padding-bottom: 10px;
  letter-spacing: 0px;
}

#namee,
#age,
#touch-email,
#touch-phone {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#namee:hover,
#age:hover,
#touch-email:hover,
#touch-phone:hover {
  transform: scale(1.05);
}

.radio-buttons {
  display: flex;
  align-items: center; /* Vertically align radio buttons and labels */
  justify-content: center; /* Center the radio buttons and labels horizontally */
}

#option {
  margin-top: 20px;
}

.level-label {
  padding: 30px;
  padding-bottom: 45px;
  letter-spacing: px;
}

.cta-text {
  text-align: center;
  font-size: 18px;
  color: #e67e22;
  margin-bottom: 20px;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: -2px;
  font-weight: lighter;
}

/* Days and Slots Layout */
.weekdays {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 15px;
}

.day {
  width: 48%;
  background-color: #735d78;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  margin: 0 auto;
  justify-content: center; /* Center content vertically within the container */
  align-items: center; /* Center align content horizontally */
}

/* Initial state: hidden and moved down */
.day {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

/* When in view, reset to normal */
.day.show {
  opacity: 1;
  transform: translateY(0);
}

.time {
  font-family: "Indie Flower", "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

.day h2,
.day .weekdays h2 {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-weight: bolder;
  font-size: 100px;
}

.day h2 {
  font-size: 100px;
}

.time-slots button {
  background-color: #66cccc;
  color: #1c3a41;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin: 10px 0;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.time-slots button.active {
  background-color: #1b998b;
  transform: scale(1.05);
}

.time-slots button:hover {
  background-color: #1b998b;
  transform: scale(1.05);
}

.time-slots button:active {
  transform: scale(1.02);
}

.time-slots button .minute {
  font-size: 0.85em;
}

/* Custom Time Input Section */
.custom-time {
  width: 40%;
  min-width: 300px; /* Zapewnia dobrą czytelność na małych ekranach */
  margin: 30px auto; /* Wyśrodkowanie w kontenerze */
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  flex-basis: 40%; /* Zajmuje 40% szerokości w flexboxie */
  flex-grow: 0; /* Nie rośnie ponad 40% */
  flex-shrink: 0; /* Nie kurczy się przy braku miejsca */
}

section.custom-time label {
  font-size: 30px !important;
  font-weight: lighter;
}

textarea {
  display: block;

  width: 80%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #bdc3c7;
  font-size: 16px;
}

textarea:focus {
  outline: none;
  border: 2px solid #41b3ac;
}

/* Submit Button */
.submit-btn {
  text-align: center;
  margin-top: 20px;
  /* Remove padding here if it's applied in .submit */
}

/* Submit Button (additional styles) */
.submit {
  background-color: #e67e22;
  color: white;
  padding: 10px 40px; /* Padding applied here */
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .weekdays {
    flex-direction: column;
    align-items: center;
  }

  .day {
    width: 80%;
    margin-bottom: 20px;
  }
}

/**/
.experience,
.choice,
.touch {
  text-align: center;
}

.time input[type="checkbox"] {
  margin-right: 10px; /* Space between checkbox and label */
}

.time {
  flex-direction: column; /* Stack days vertically */
  display: flex; /* Use flexbox to align items horizontally */
  justify-content: flex-start; /* Align checkboxes and labels to the left */
  align-items: center; /* Vertically align checkbox and label */
  flex-wrap: wrap; /* Allow wrapping if there are too many items in one line */
  gap: 20px; /* Space between checkboxes and their labels */
  margin-top: -20px;
}

.time p {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  letter-spacing: -1px;
  word-spacing: 1px;
}

.small {
  font-weight: lighter !important;
}

.time h2 {
  font-size: 35px;
  letter-spacing: 2px;
  text-align: center;
  color: #f06c9b;
  font-weight: bolder;
  -webkit-text-stroke: 0.5px #00ffff;
}

.time-slots label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.selected-times-container {
  margin-top: 30px;
}

.selected-times-container h3 {
  font-size: 20px;
  color: #333;
}

#selected-times-list {
  list-style-type: none;
  padding: 0;
}

#selected-times-list li {
  background-color: #e2e2e2;
  margin: 5px 0;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

/* Custom "checkbox" styled as an emoticon */
.slot-checkbox:checked + .time::before {
  font-size: 20px; /* Increase size of the emoticon */
  color: white; /* White color for the checkmark */
  position: absolute;
  top: -8px;
  left: 120px;
}

.slot-checkbox:checked {
  accent-color: #1b998b;
}

.slot {
  font-size: 24px;
  padding: 10px 20px;
  background-color: blue;
  border: 1px solid #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  flex-grow: 1;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.slot.clicked {
  background-color: #4caf50; /* Change background to green */
  color: white; /* Change text color */
  border: 1px solid #388e3c; /* Change border color */
}

.slot:hover {
  background-color: #ddd;
}

/* Active state (temporary press effect when the button is being pressed) */
.slot:active {
  background-color: #bbb;
  transform: scale(0.98);
}

/* Styling for hour and minute spans */
.hour {
  display: inline-block;
}

.minute {
  display: inline-block;
  font-size: 0.8em; /* Adjust the size to fit visually */
  position: relative;
  top: -5px; /* Adjust the vertical position to raise the minutes */
}

/* Additional styles for the minutes with "quarter" effect */
.slot span {
  display: inline-block;
  margin: 0 2px; /* Spacing between the hour and minute elements */
}

.time-slots {
  display: flex;
  flex-wrap: wrap; /* Wrap items if there are too many in one row */
  gap: 15px; /* Add space between the checkboxes */
  margin: 10px;
  justify-content: space-between; /* Evenly space out time slots vertically */
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 10px;
}

.experience {
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  width: 50%;
  margin: 0 auto;
  font-weight: lighter;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.6s ease-out;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 22px;
  letter-spacing: 1px;
  font-weight: lighter;
}

/* When in view, trigger animation */
.experience.show {
  opacity: 1;
  animation: wideShakeX 1s ease;
  transform: translateX(0);
}

/* Wider, calmer shake keyframes */
@keyframes wideShakeX {
  0% {
    transform: translateX(100px);
  }
  25% {
    transform: translateX(-30px);
  }
  50% {
    transform: translateX(20px);
  }
  75% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

.experience h4 label {
  font-size: 30px !important;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-weight: lighter;
  word-spacing: -2px;
  letter-spacing: 1px;
}

.level-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

input[type="range"] {
  width: 100%;
  max-width: 400px;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  background: #f06c9b;
  border-radius: 5px;
  transition: background 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

input[type="range"]:hover {
  background: #41b3ac;
  transform: scale(1.03);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #8d818c;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #d9d9ff;
  cursor: pointer;
}

/* Choice Section Styles */
.choice {
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 30%;
  margin: 0 auto;
  font-size: 30px;
}
.choice {
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.choice.show {
  opacity: 1;
  animation: wideShakeX 1s ease;
  transform: translateX(0);
}

@keyframes wideShakeX {
  0% {
    transform: translateX(100px);
  }
  25% {
    transform: translateX(-30px);
  }
  50% {
    transform: translateX(20px);
  }
  75% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

.choice label {
  font-size: 30px; /* Change as needed */
  font-weight: lighter;
}

.choice input[type="text"] {
  font-size: 23px; /* Change input field text size */
}

.choice h4 {
  word-spacing: -2px;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.radio-buttons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + label {
  background-color: #e6e6fa;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type="radio"]:not(:checked) + label {
  background-color: #f1f1f1;
  color: #444;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="radio"]:not(:checked) + label:hover {
  background-color: #ddd;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .level-range {
    flex-direction: column;
    align-items: flex-start;
  }

  input[type="range"] {
    max-width: 100%;
  }

  .radio-buttons {
    flex-direction: column;
  }

  .radio-buttons label {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  h4 {
    font-size: 1rem;
  }

  .level-range span {
    font-size: 0.9rem;
  }
}

label {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}

input {
  padding: 10px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #41b3ac;
  outline: none;
}

input::placeholder {
  color: #888;
}

button {
  background-color: #4caf50;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #45a049;
}

button:active {
  transform: scale(0.98);
}

/* Section Layout */
.choice,
.touch {
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  justify-content: center; /* Center vertically */
  padding-top: 0;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}

section.touch {
  border: none;
  box-shadow: none;
  outline: none;
}

.touch input {
  font-family: inherit; /* dziedziczy z rodzica `.touch` */
  font-size: 23px;
}

hr.line7 {
  border: 0;
  height: 1px;
  background-color: #ddd;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .choice,
  .touch {
    padding: 15px;
  }

  input,
  button {
    font-size: 0.9rem;
  }

  button {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  h4 {
    font-size: 1rem;
  }

  input,
  button {
    font-size: 0.9rem;
  }
}

.time h2 {
  margin-bottom: 0px;
  margin-top: 22px;
}

.demoo {
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center */
  margin: 120px;
}

.june {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Adds space between rows */
  justify-content: center; /* Vertically center the entire section */
  align-items: center; /* Horizontally center the content */
  margin-top: 100px;
}

.weekdays {
  display: flex;
  justify-content: space-between; /* Distribute Monday & Tuesday across the first row, Wednesday & Thursday across the second */
  width: 100%; /* Ensures it takes the full width available */
  max-width: 1000px; /* Optional: Restrict the maximum width to prevent stretching */
  justify-content: center; /* Evenly distributes the weekdays across the row */
  flex-wrap: wrap;
  gap: 30px; /* odstęp między kolumnami */
}

.tue ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-items: stretch; /* each li stretches to fill its grid cell */
}

.tue ul li,
.mon ul li,
.wed ul li,
.thu ul li {
  text-align: center;
  background: #f0f0f0;
  padding: 8px;
  border-radius: 4px;
  font-weight: lighter;
  font-family: "Courier New", Courier, monospace;
}

.tue {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tue h2 {
  text-align: center;
  margin-bottom: 20px;
  font-family: "Courier New", Courier, monospace;
}

.tue ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%; /* optional if you want full width alignment */
  max-width: 600px; /* optional to limit max width */
}

.tue ul li {
  text-align: center;
  background: #e9ebf8;
  padding: 8px;
  border-radius: 4px;
  border: 2px #d9d9ff solid;
}

.june {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: 0px;
}

h5 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #444;
  text-align: center;
}

.weekdays {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px; /* Optional: Restrict the maximum width */
}

.mon,
.tue,
.wed,
.thu {
  width: 48%; /* Adjust width to fit two items per row */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 1.2rem;
  color: #1c3a41;
  margin-bottom: 10px;
  font-family: "Bebas Neue", sans-serif;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  color: #666;
}

ul li {
  margin: 10px 0;
  text-align: center;
  color: #333;
}

.vertical {
  width: 1px;
  height: 150px;
  background-color: #333;
  position: absolute;
  left: 50%;
  margin-top: 100px;
  display: none; /* Initially hidden */
}

/* Responsive Design */
@media (max-width: 768px) {
  .weekdays {
    flex-direction: column; /* Stack weekdays vertically on smaller screens */
  }

  .mon,
  .tue,
  .wed,
  .thu {
    width: 100%; /* Make each day take full width */
    margin-bottom: 20px;
  }

  .vertical {
    display: none; /* Hide the vertical line on mobile */
  }
}

@media (max-width: 480px) {
  h5 {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1rem;
  }

  ul li {
    font-size: 0.9rem;
  }
}

/*DAWAJ*/
#dawaj {
  background: radial-gradient(
    circle at center center,
    #1c3a41 0%,
    #0a0a0a 100%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  /* Dodaj pseudo-element z delikatnym noise'em */
}

#dawaj::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAACklEQVR4AWP4DwQACfsD/Q0YOq8AAAAASUVORK5CYII=")
    repeat;
  opacity: 0.03;
  z-index: 9999;
  pointer-events: none;
}



/* Dostosowanie dla telefonów FREE */
@media screen and (max-width: 480px) {
  .logo-heading-container2 {
    margin-bottom: 50px;
  }

  .ppolish {
    font-size: 50px; /* mniejszy nagłówek na telefonach */
    margin-bottom: 0px;
    padding-top: -30px;
  }

  .time {
    padding: 0 15px; /* padding od krawędzi ekranu */
    text-align: center;
      font-family: "Indie Flower", cursive !important;

  }

  .time p {
    font-size: 23px; /* tekst bardziej kompaktowy */
    margin-bottom: 0px;
  }

  .time .small {
    font-size: 22px;
  }
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    /* Ogólny kontener */
    form {
        padding: 10px;
    }

    /* Dni tygodnia w kolumnie */
    .weekdays {
        display: flex;
        gap: 20px;
        flex-direction: column;
    }

    .day {
        width: 100%;
    }

    .day h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    /* Przyciski slotów w siatce 2 kolumny */
      .time-slots {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 8px;
      }

  .slot {
    padding: 8px;       /* równy padding po wszystkich stronach */
    font-size: 0.9rem;
    text-align: center;
    box-sizing: border-box; /* aby padding wliczał się w szerokość */
}

    .slot .time {
        display: block;
        font-size: 0.85rem;
    }

    

    /* Tekst obszarów textarea i inputów */
    textarea,
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[list] {
        width: 100%;
        font-size: 0.95rem;
        padding: 8px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    /* Zakres poziomu doświadczenia */
    .level-range {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .level-range input[type="range"] {
        width: 100%;
    }

    /* Przycisk submit */
    #free2 {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    /* Marginesy sekcji */
    section {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
  .experience {
    width: 100%;      /* cała szerokość ekranu */
    margin: 0;        /* usuń automatyczne centrowanie */
    padding: 15px;    /* opcjonalnie zmniejsz padding na mobilkach */
    box-sizing: border-box; /* uwzględnij padding w szerokości */
    padding-bottom: 70px;
  }

  .experience h4 label {
  display: block;      /* żeby margin-bottom działał */
  margin-bottom: 15px; /* odstęp pod tekstem */
  margin-top: -10px;
}

  .level-range {
    flex-direction: row;       /* etykiety po bokach suwaka */
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  input[type="range"] {
    max-width: 100%;
    flex: 1;                   /* zajmuje całą szerokość między etykietami */
    margin: 0 10px;
  }

  .level-label {
    padding: 0;
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .time {
    max-width: 90%;
    font-size: 16px;
    padding: 0 20px;
      font-family: "Indie Flower", cursive !important;

  }
}

/* === Małe tablety i większe telefony (np. 768px) === */
@media (max-width: 768px) {
  .time {
    font-size: 15px;
    padding: 0 16px;
      font-family: "Indie Flower", cursive !important;

  }
}

/* === Telefony (np. iPhone SE, Galaxy mini – 480px i mniej) === */
@media (max-width: 480px) {
  .time {
    font-size: 14px;
    padding: 0 12px;
      font-family: "Indie Flower", cursive !important;

  }
}

@media (max-width: 768px) {
  .time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;        /* równy odstęp lewa/prawa */
    box-sizing: border-box;
  }

  .slot {
    width: 100%;
    text-align: center;
  }
}

  .slot .time {
    white-space: nowrap;   /* zabrania łamania linii */
    font-size: 0.8rem;     /* lekko mniejsza czcionka, żeby się zmieściło */
  }

  .slot .minute {
    font-size: 0.7rem;     /* jeszcze mniejsze minuty w indeksie */
  }

  /* TABLETY (np. iPad Air) */
@media (min-width: 769px) and (max-width: 1024px) {
  .time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* zamiast 3 kolumn */
    gap: 12px;
    padding: 0 10px; /* ładny margines od brzegów */
    box-sizing: border-box;
  }

  .slot .time {
    white-space: normal;  /* pozwól łamać się tekstowi */
    text-align: center;
    line-height: 1.2;     /* trochę ciaśniej */
    display: inline-block;
  }

  .slot .minute {
    font-size: 0.8rem;    /* trochę mniejsze minuty */
  }
}

/* TABLETY (np. iPad Air) */
@media (min-width: 769px) and (max-width: 1024px) {
  .weekdays {
    display: flex;
    flex-direction: column; /* dni w kolumnie */
    gap: 20px;
  }

  .day {
    width: 100%; /* każdy dzień na pełną szerokość */
  }

  .custom-time {
    margin-top: 20px; /* odstęp od Sunday */
    display: block;
    width: 100%;
  }
}
/* ULTRA-WĄSKIE TELEFONY np. Galaxy Fold, iPhone SE */
@media (max-width: 360px) {
  form {
    padding: 6px;
  }

  .weekdays {
    display: flex;
    flex-direction: column; /* dni w jednej kolumnie */
    gap: 15px;
  }

  .day h2 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 6px;
  }

  .time-slots {
    display: grid;
    grid-template-columns: 1fr; /* tylko 1 kolumna slotów */
    gap: 6px;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .slot {
    font-size: 0.8rem;
    padding: 6px;
    text-align: center;
    width: 100%;
  }

  .slot .time {
    white-space: nowrap;  /* godziny zawsze w jednej linii */
    font-size: 0.8rem;
  }

  .slot .minute {
    font-size: 0.65rem; /* minuty mniejsze, żeby się mieściło */
  }

  /* textarea, inputy itp. na pełną szerokość */
  textarea,
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[list] {
    width: 100%;
    font-size: 0.85rem;
    padding: 6px;
    margin-bottom: 8px;
  }

  /* suwak poziomu języka */
  .experience {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

@media (max-width: 360px) {
  .level-range {
    display: flex;
    flex-direction: row;     /* poziomo zamiast kolumny */
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .level-label {
    flex: 0 0 auto;          /* etykiety trzymają swoją szerokość */
    font-size: 0.8rem;       /* trochę mniejsze na wąskich ekranach */
    white-space: nowrap;     /* nie łamać tekstu */
  }

  .level-range input[type="range"] {
    flex: 1 1 auto;           /* suwak wypełnia przestrzeń między etykietami */
    min-width: 0;             /* żeby się nie wychodził poza kontener */
  }

  /* przycisk wysyłania */
  #free2 {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px;
  }
}
.level-range {
  display: flex;
  justify-content: space-between; /* BEGINNER na lewo, ADVANCED na prawo */
  align-items: center;
  gap: 10px;
  width: 100%;
}

.level-label {
  flex: 0 0 auto;      /* etykiety trzymają swoją szerokość */
  font-size: 0.9rem;
}

.level-range input[type="range"] {
  flex: 1;             /* suwak wypełnia resztę miejsca */
  max-width: none;     /* usuń ograniczenia */
}

  .time-slots {
    display: grid;
    grid-template-columns: 1fr; /* tylko jedna kolumna */
    gap: 6px;
    padding: 0 10px;            /* równe marginesy po lewej i prawej */
    box-sizing: border-box;
  }

  .slot {
    width: 100%;                /* wypełnia całą kolumnę */
    box-sizing: border-box;     /* padding wliczony w szerokość */
    padding: 8px 0;             /* wewnętrzny padding góra/dół */
    text-align: center;         /* godziny na środku */
    font-size: 0.8rem;
  }

  .slot .time {
    white-space: nowrap;        /* godziny w jednej linii */
  }

  .slot .minute {
    font-size: 0.65rem;         /* minuty mniejsze, żeby się mieściło */
  }
}

/* --- iPad Air: sekcja Your Polish level --- */
@media (min-width: 768px) and (max-width: 820px) {
  .experience {
    width: 100%;
    padding: 40px 20px;
    margin: 40px auto;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .experience h4 {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .level-range {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
    width: 90%;
    max-width: 650px;
    margin: 0 auto;
  }

  .level-labels {
    display: flex !important;      /* wymusz flex */
    flex-direction: row !important; /* ustaw w poziomie */
    justify-content: space-between; /* beginner po lewej, advanced po prawej */
    width: 100%;
  }

  .level-range input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 14px;
    border-radius: 7px;
    outline: none;
  }

  .level-range input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -7px; /* wycentrowanie */
  }

  .level-range input[type=range]::-moz-range-thumb {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    cursor: pointer;
  }
}


@media (max-width: 768px) {
  .choice-section {
    max-height: 60vh;
    overflow-y: auto; /* umożliwia przewijanie wyborów */
  }
}

/* Mobile fix – separacja linków w FAQ */
@media (max-width: 480px) {
  #hiddenParagraph a#more3 {
    display: block;
    margin-bottom: 12px;
    text-align: center; /* opcjonalnie, żeby były ładnie wyśrodkowane */
  }
}

/* Telefony portret (max-width: 480px) */
@media screen and (max-width: 480px) {
  .main-nav ul {
    flex-direction: column;
  }

  .logo-heading-container h1 {
    font-size: 2rem;
  }

  .progress {
    flex-direction: column;
  }

  .vertical-line {
    display: none;
  }

  .content-section, .content-section2 {
    padding: 0 10px;
  }

  .container {
    flex-direction: column;
  }
}

/* Telefony poziom (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .logo-heading-container h1 {
    font-size: 2.5rem;
  }

  .progress {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .vertical-line {
    display: none;
  }

  .content-section, .content-section2 {
    padding: 0 15px;
  }
}

/* Tablety i małe laptopy (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .logo-heading-container h1 {
    font-size: 2.8rem;
  }

  .progress {
    flex-wrap: nowrap;
  }

  .vertical-line {
    display: block;
  }

  .container {
    flex-wrap: nowrap;
  }
}

/* Duże laptopy i desktopy (1025px+) */
@media screen and (min-width: 1025px) {
  .logo-heading-container h1 {
  }

  .progress {
    flex-wrap: nowrap;
  }

  .vertical-line {
    display: block;
  }
}

/* Telefony (do 600px) */
@media (max-width: 600px) {
  .details {
    padding: 20px;
    margin: 10px;
    background: 
      linear-gradient(to right, #e0e0e0 1px, transparent 1px),
      linear-gradient(to bottom, #e0e0e0 1px, transparent 1px);
    background-size: 30px 30px; /* większe kratki */
  }
}

/* Tablety (601px–1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .details {
    padding: 40px;
    margin: 20px auto;
    background: 
      linear-gradient(to right, #ddd 1px, transparent 1px),
      linear-gradient(to bottom, #ddd 1px, transparent 1px);
    background-size: 25px 25px; /* umiarkowane kratki */
  }
}

