* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

body a {
    color: #333
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    width: 125px;
    height: auto;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a,
.social-links a,
.big-part a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px
}

.nav-links a:hover,
.social-links a:hover, {
    color: #39b549;
}

.social-links {
    display: flex;
    gap: 0.25rem;
}

.social-links i {
    font-size: 2rem;
    transition: all 0.3s ease
}

.big-part {
    padding: 7.5px 20px;
    background-color: #39b349;
    border-radius: 50px;
    border: 1px solid #39b349;
    transition: all 0.3s ease
}

.big-part i {
    margin-right: 5px;
    font-size: 1.25rem;
    color: white
}

.big-part a {
    color: white;
    align-items: center;
    display: flex
}

.big-part:hover {
    background-color: #2ea03b
}

.social-links i:hover,
.nav-links a:hover {
    color: #39b349;
}

@media (max-width: 1100px) {
  nav {
    flex-wrap: wrap;
    gap: 1rem;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
  }

  .nav-links,
  .social-links,
  .big-part {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
    
    .big-part {
        flex-basis: 50%;
    }

  .big-part {
    justify-content: center;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .logo {
    align-self: center;
  }
}

@media (max-width: 600px) {
  .nav-links a,
  .social-links a,
  .big-part a {
    font-size: 0.9rem;
  }

  .social-links i {
    font-size: 1.75rem;
  }

  .big-part {
    padding: 6px 16px;
  }

  .logo img {
    width: 125px;
  }
 
  .big-part {
        flex-basis: 90%;
    }
}

/*hero*/

.hero {
    background-image: url('/img/tloheader.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;    
    padding: 2rem ;
    width: 100%;
    background-size: 50% 
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 500px;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #666;
    font-style: italic
}

.highlight-yellow {
    color: #fbbc04;
    font-weight: 700;
}

.cta-button {
  margin: 1rem 0 2rem;
  display: inline-flex;
  align-items: center;
  background-color: #39b349;
  color: #fff;
  padding: 1rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 1.5rem;
}

.cta-button i {
    color: white
}

.cta-button:hover {
  background-color: #2ea03b;
}

.cta-button i {
  margin-right: 0.5rem;
}

.hero-image {
  flex: 1 1 350px;
  text-align: center;
    align-content: flex-end;
    display: flex;
    justify-content: center
}

.hero-image img {
  width: 100%;
  max-width: 400px;
}

@media(max-width:1025px) {
    .hero {  
    padding: 1rem ;
}


.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}


.cta-button {
  margin: 1rem 0 2rem;
  font-size: 1.25rem;
}

.cta-button i {
    color: white
}

.cta-button:hover {
  background-color: #2ea03b;
}

.cta-button i {
  margin-right: 0.5rem;
}

.hero-image {
  flex: 1 1 350px;
  text-align: center;
    align-content: flex-end;
    display: flex;
    justify-content: center
}

.hero-image img {
  width: 100%;
  max-width: 400px;
}
}

@media (max-width:700px) {
    .hero {
    background-image: none; 
    padding: 1rem ;
    width: 100%;
}
}

@media(max-width:500px) {
   .hero {
    background-image: none; 
    padding: 1rem ;
    width: 100%;
}

.hero-text h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-button {
  margin: 1rem 0 2rem;
  display: inline-flex;
  align-items: center;
  background-color: #39b349;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 1rem !important;
}

.cta-button i {
  margin-right: 0.5rem;
}
}

/*oferta*/

.oferty {
    background-color: #39b349;
    padding: 2rem 0 3rem
}

.oferty h2,
.oferty h3,
.oferty h5,
.oferty a,
.oferty p,
.oferty i,
.material-symbols-outlined {
    color: white
}

.oferty a {
    text-decoration: none
}

.oferty h2 {
    padding: 1rem 4rem 1rem;
    font-size: 3rem
}

.offer-all {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 95%;
    margin: auto
}

.oferr-onl {
    width: 25%;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.oferr-onl:hover {
    background-color: #2ea03b
}

.oferr-onl i {
    font-size: 3.25rem;
    padding: 10px 0
}

.oferr-onl h3 {
    font-size: 1.25rem;
    margin-bottom: 10px
}

.oferr-onl h5 {
    font-size: 1rem;
    font-weight: 400;
}

.oferr-onl p {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    font-weight: 700
}

.material-symbols-outlined {
    font-size: 2rem;
    margin-right: 10px
}

@media (max-width:1025px) {
    .oferty {
    padding: 1rem 0 2rem
}


.oferty h2 {
    padding: 1rem 2rem 1rem;
    font-size: 2.5rem
}

.oferr-onl {
    width: 33%;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.oferr-onl:hover {
    background-color: #2ea03b
}

.oferr-onl i {
    font-size: 3.25rem;
    padding: 10px 0
}

.oferr-onl h3 {
    font-size: 1.25rem;
    margin-bottom: 10px
}

.oferr-onl h5 {
    font-size: 1rem;
    font-weight: 400;
}

.oferr-onl p {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    font-weight: 700
}

.material-symbols-outlined {
    font-size: 2rem;
    margin-right: 10px
}
}

@media (max-width:700px) {
    .oferty {
    padding: 1rem 0 2rem
}


.oferty h2 {
    padding: 1rem 1rem 1rem;
    font-size: 2rem
}

.oferr-onl {
    width: 50%;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.oferr-onl:hover {
    background-color: #2ea03b
}

.oferr-onl i {
    font-size: 2.5rem;
    padding: 10px 0
}

.oferr-onl h3 {
    font-size: 1.25rem;
    margin-bottom: 10px
}

.oferr-onl h5 {
    font-size: 1rem;
    font-weight: 400;
}

.oferr-onl p {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    font-weight: 700
}

.material-symbols-outlined {
    font-size: 2rem;
    margin-right: 10px
}
}

@media(max-width:500px) {
    .oferty {
    padding: 2rem 0;
}

.oferty h2 {
    padding: 1rem;
    font-size: 2rem
}


.oferr-onl {
    width: 100%;
}

.oferr-onl i {
    font-size: 2.25rem;
    padding: 10px 0
}

.oferr-onl h3 {
    font-size: 1.15rem;
    margin-bottom: 10px
}

.oferr-onl h5 {
    font-size: 1rem;
    font-weight: 400;
}

.oferr-onl p {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    font-weight: 700
}

.material-symbols-outlined {
    font-size: 2rem;
    margin-right: 10px
}
}


.blink-link {
  font-weight: 700;
  text-decoration: none;
  position: relative;
  animation: pulseBlink 2s infinite;
  transition: all 0.3s ease;
  display: inline-block;
    padding: 1rem 2rem;
    border: 3px solid white;
    border-radius: 50px;
    margin-top: 3rem !imporant
}

.blink-link  {
    display: flex;
    align-items: center;
}

@keyframes pulseBlink {
  0%   { opacity: 1; }
  50%  { opacity: 0.4; }
  100% { opacity: 1; }
}

.blink-link:hover {
  transform: scale(1.1); /* powiększenie na hover */
}

.sprawddd {
    display: flex;
    align-items: center;
    margin: 2rem 0 0
}

.sprawddd h3 {
    display: flex;
    font-size: 1.25rem;
    align-items: center;
    margin: auto;
    
}

.sprawddd i {
    margin-right: 10px;
    font-size: 2rem
}

@media(max-width:700px) {

.blink-link:hover {
  transform: scale(1.05);
}

.sprawddd {
    margin: 1rem 0 0
}

.sprawddd h3 {
    font-size: 1.15rem;
    
}

.sprawddd i {
    margin-right: 7px;
    font-size: 1.5rem
}
}

@media(max-width:500px) {


.sprawddd {
    margin: 1rem 0 0
}

.blink-link {
    font-size: 1rem !important;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
}

.sprawddd i {
    margin-right: 7px;
    font-size: 1.5rem;
    display: none
}
}

/*ox*/

.poweryourenglish {
    width: 90%;
    margin: auto;
    padding: 3rem 0
}

.zfilmem {
    display: flex;
}

.zfilmem-text,
.film {
    flex: 1;
}

.zfilmem-text h2 {
    font-size: 2.75rem;
    margin-bottom: 25px
}

.zfilmem-text p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.05rem
}

.active-word,
.zfilmem-text a{
    color: #39b349;
    font-weight: 600
}

.film {
    display: flex
}

.film iframe {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: auto;
    border-radius: 15px
}

@media(max-width:768px) {
   .poweryourenglish {
        width: 90%;
        margin: auto;
        padding: 2rem 0 0
    }


    .zfilmem-text h2 {
        font-size: 2rem;
        margin-bottom: 25px
    }

    .zfilmem-text p {
        line-height: 1.5;
        margin-bottom: 15px;
        font-size: 1rem
    }

    .active-word,
    .zfilmem-text a{
        color: #39b349;
        font-weight: 600
    }

    .film {
        display: flex
    }

    .film iframe {
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: center;
        margin: auto;
        border-radius: 15px
    } 
    .wiecej-media {display: none}
}

/*więcej*/

.wiecej {
    width: 90%;
    margin: auto;
}

.wiecej h2 {
    font-size: 2.75rem;
    margin-bottom: 25px
}

.wiecej h3 {
    font-size: 1.75rem;
    margin: 20px 0 5px
}

.wiecej-contect {
    display: flex;
}

.wiecej-text, .wiecej-media {
    flex: 1;
} 

.wiecej strong {
    color: #39b349;
    font-weight: 500
}

.wiecej a {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700
}

.wiecej-contect {
    padding: 40px 0px;
}

.wiecej p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.05rem
}

.wiecej-media {
    margin: auto
}

.wiecej-media img {
    margin: auto;
    display: flex;
    width: 60%
}

@media(max-width:768px) {
   .wiecej {
    width: 90%;
    margin: auto;
}

.wiecej h2 {
    font-size: 2rem;
    margin-bottom: 15px
}

.wiecej h3 {
    font-size: 1.5rem;
    margin: 20px 0 5px
}

.wiecej a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700
}

.wiecej-contect {
    padding: 25px 0px;
}

.wiecej p {
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 1rem
}

.wiecej-media {
    margin: auto
}

    .wiecej-media {display: none}
}

/*statystyki*/

.stats-section {
  background-color: #39b349;
  color: white;
  padding: 4rem 2rem;
}

.stats-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.stats-text {
  flex: 1 1 400px;
}

.stats-text h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: white
}

.stats-text h2 span {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0 0.4rem;
  border-radius: 5px;
}

.stats-text p {
  font-size: 1.1rem;
  font-style: italic;
  color: #f0f0f0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Stałe 2 kolumny */
  gap: 1.5rem;
  flex: 1 1 500px;
}

.stat-box {
  background-color: white;
  color: #39b349;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-box p {
  font-size: 1rem;
  font-weight: 500;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

@media(max-width:900px) {
   .stats-section {
  padding: 3rem 2rem;
}

.stats-text {
  flex: 1 1 400px;
}

.stats-text h2 {
    font-size: 2.5rem;
}

.stats-text p {
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  flex: 1 1 400px;
}
}
    
@media(max-width:500px) {
        .stats-section {
  padding: 2rem 1rem;
}

.stats-content {
  gap: 1rem;
}


.stats-text h2 {
    font-size: 2rem;
}

.stats-text p {
  font-size: 1rem;
  font-style: italic;
  color: #f0f0f0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Stałe 2 kolumny */
}

.stat-box {
  color: #39b349;
  padding: 1rem 1rem;
}

.stat-box h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

    }


/*faq*/

.faq {
    margin: 0 auto;
    padding: 40px;
}

.faq h2 {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 20px;
}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.faq-column {
    flex: 1;
    min-width: 300px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    padding: 15px;
    text-align: left;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9e9e9;
}

.faq-answer {
    display: none;
    padding: 10px 15px;
    background-color: #ffffff;
    border-left: 3px solid #39b349;
    margin-top: 5px;
    font-size: 0.95rem;
    max-height: 0; 
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.faq-answer p {
    margin: 0;
}

.faq-answer.show {
    max-height: 200px; 
    opacity: 1;
    padding: 10px 15px; 
}

@media(max-width:900px) {
.faq {
    margin: 0 auto;
    padding: 30px;
}

.faq h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.faq-column {
    flex: 1;
    min-width: 300px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-answer.show {
    max-height: 200px; 
    opacity: 1;
    padding: 10px 15px; 
}
}

@media(max-width:500px) {
.faq {
    padding: 2rem 1rem;
}

.faq h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 10px;
}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
}

.faq-item {
    margin-bottom: 10px;
}

}

/* Styl dla footera */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px 20px;
    text-align: left;
    margin-top: 50px
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-container div {
    flex: 1;
    min-width: 200px;
}

.footer-container h4 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-container p, 
.footer-container ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ccc;
}

.footer-container a {
    text-decoration: none;
    color: #39b549;
    transition: color 0.3s ease;
}

.footer-container a:hover {
    color: #fff;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-map iframe {
    width: 90%;
    height: 200px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.footer-map p {
    margin-bottom: 15px
}

.footer-socials {
    display: 
}

.footer-socials i {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #39b349;
    transition: color 0.3s ease;
}

.footer-socials i:hover {
    color: #fff;
}

.socialek {
    margin: 10px 0
}

.socialek a{
    align-items: center;
    margin-left: auto;
    display: flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #aaa;
    width: 60%;
    margin: auto
}

.footer-bottom p{
    color: #fff
}

.footer-bottom a {
    color: #39b349;
    text-decoration: none;
    
}

.orl img {
    width: 100px;
    margin-top: 25px
}