@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto+Slab&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/*typography */ 
h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-style: normal;
    font-family: 'Roboto Slab', serif;
    margin: 0;
    color: #182850;
    font-size: 60px;
    line-height: 1.2;
    letter-spacing: -1px;
}
h2 {
    font-weight: 700;
    font-style: normal;
    font-family: 'Roboto Slab', serif;
    color: #182850;
    font-size: 45px;
    line-height: 1.1;
    letter-spacing: 0px;
    margin: 20px auto;
}

h3 {
    font-weight: 400;
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
    color: #182850;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0px;
}

p { font-weight: 400;
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
    color: #182850;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0px;
}

a { font-size: 1.2rem;   
    text-decoration:none;
    font-family: 'Indie Flower', cursive;
    padding: 0;
    color: #35c2b2;

  }

  button {
    margin-top: 30px;
    background-color: #35c2b2;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    min-width: 160px;;
    font-size: 1.1rem;
    color: white;
    font-family: 'Roboto Slab', serif;
    transition: background-color 0.2s ease-in;
    cursor:pointer
}
    button:hover {
        background-color: #2d988c;
    }

/*nabvbar*/
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: #246780; /* Válaszd meg a megfelelő háttérszínt */
    min-height: 70px; /* Maradjon meg a min-height érték */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 24px;
    z-index: 10;
    
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
}

.nav-menu li {
    list-style: none;    
}

.nav-item a{
    padding: 10px 20px;   
    border: 2px solid #35c2b2; 
    border-radius: 15px; 
}

.logo {
    font-size: 2rem;
}

.nav-link {
    transition: 0.7s ease;
}

.nav-link:hover {
    color: white;
    background-color:#35c2b2
}

.nav-item-1 a{
    padding: 10px 20px;   
    border: 2px solid #fff; 
    border-radius: 15px;
    background-color: #35c2b2; 
    color:#fff;
}
.nav-item-1 a:hover {
    background-color:#fff;
    color:#35c2b2;
    border: 2px solid #35c2b2; }


.hamburger {
    cursor: pointer;
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 3px;    
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    background:#35c2b2;
    
    
}

@media (max-width: 1199px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        flex-direction: column;
        background-color: #246780;
        z-index: 2;
        padding: 20px 0;
        gap:10px;
        border-bottom-left-radius:15%; ;
    }
    .navbar {
        justify-content: space-between;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
        background-color: #246780;
    }
}


/*header*/
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    max-width: 80vw;
    margin: auto;
    gap: 60px;
}

.header h1{
    margin:20px auto;
}

.header img {
    width: 400px; 
    height: 400px;
    transform: rotate(-20deg);
    margin: 120px auto auto auto;
}

.header-text {
    width: 50%; 
    padding: 0 20px; 
}
.courses-click {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.courses-click img {
    width: 42px;
    height: auto;
    margin:15px;
}

.welcome {
    width: 90vw;
    background-color: #cbe8f2;
    background-image: url(img/location-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-right-radius: 55px;
    border-bottom-right-radius: 55px;
}

.welcome-content {
    display: flex;
    gap: 30px;
    width: 100%;
    
   
}

.welcome-text {
    padding: 60px 0;
    width: 100%;
    margin: auto auto auto 120px;   
    flex-wrap: wrap;     
}

.welcome-text h2{
    margin-bottom: 30px;
}

.welcome-text p {
    border-top: 2px dashed #182850;
    border-left: 2px dashed #182850;
    border-bottom: 2px dashed #182850;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 20px;
}

.welcome-img img{
    margin: 80px auto auto 120px;
    max-width:400px;
    transform: rotate(-5deg);
    border-radius: 25px;  
}

.welcome-button{
    display: flex;
    flex-direction: row;
    flex: 0.5;
    flex-wrap: wrap;
    gap: 30px;
    width: 600px;
    max-width: 95%;
    margin: auto;
    text-align: center;
    justify-content: center;
    padding-bottom: 60px;
}

.welcome-button p {
    flex: 1 0 calc(50% - 40px);
    margin: auto;
    border: 2px solid #182850;
    color: #182850;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    transition: background-color 0.2s ease-in;
}
    .welcome-button p:hover {
        background-color: #246780;
        border: 2px solid #246780;
        color: white;
    }

.courses {
    padding: 60px 0;
    text-align: center;
}    

.courses-click {
    cursor: pointer;
}

.courses-card {
    display: flex;
    flex-direction: row;
    width:80%;
    margin: auto;
    text-align: left;
    gap:80px;        
}

.courses-card img{
    width: 400px;
    height: 200px;    
    margin:auto auto 20px auto;
    max-width: 90%;
    max-height: 20%;
}

.courses-card h3 {
    margin:20px auto;
    font-size: 1.6rem;
    font-family: 'Roboto Slab', serif;
    text-align: center;    
}

.courses-card-1, 
.courses-card-2, 
.courses-card-3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    flex:1;
} 


.price {
    width: 90vw;
    margin: auto auto 60px auto;
    background-color: #ffd25f;
    border-radius: 55px;
    padding: 60px 0;
    text-align: center;
}    

.price h2 {
    margin-bottom: 60px;
}
.price-card {
    display: flex;
    flex-direction: row;
    width:70vw;
    margin: auto;
    text-align: left;
    gap:30px;    
    flex-wrap: no-wrap;
    
}




.price-card h3 {
    margin:20px auto;
    font-size: 1.6rem;
    font-family: 'Roboto Slab', serif;
    text-align: center;        
    
}

.price-card-1, 
.price-card-2, 
.price-card-3 {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border:2px dashed #fff;
    border-radius: 15px;    
    width: 45%;
    min-height: 400px;
    margin: auto;
    
} 
.price-title {
    background-color:#fff;
    border-radius: 15px;
    margin:20px 0 20px 0;
}
.price-card-1 li, 
.price-card-2 li , 
.price-card-3 li {
    font-weight: 400;
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
    color: #182850;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0px;
    list-style: none;
    list-style-image: url(img/list.png);
}

.price-card-1 a, 
.price-card-2 a , 
.price-card-3 a {
    color: #182850;
    font-size: 28px;
    padding: 10px 0;
    background-color: #1d809f;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    margin: 20px 0 10px 0;
}


.testimonial {
    display: flex;
    width: 90vw;
    background-color: #e5e0fa;
    margin: auto 0px auto auto;
    align-items: center;
    gap:60px;
    border-top-left-radius: 55px;
    border-bottom-left-radius: 55px;
}

/*Slider*/
.slider-container {
    width: 100%;
    position: relative;
    padding:0 0 0 20px ;
  }
  
  .slide {
    width: 100%;
    display: none;
  }
  
  .slide-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.6);
  }
  
  .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
  }

  .slide-desc {
    width: 90%;
    max-width: 50rem;
    font-size: 1.5rem;   
    text-decoration:none;
    font-family: 'Indie Flower', cursive;
    padding: 0;
    color:#fff;
    
  }
  .slide-btn {
    color: black;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1rem;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    text-transform: capitalize;
    transition: ease 0.3s;
  }
  .slide-btn:hover {
    gap: 1rem;
  }
  
  
  
  .slider-nav {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  .slider-nav-btn {
    cursor: pointer;
    background-color: rgba(211, 211, 211, 0.226);
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease 0.3s;
  }
  .slider-nav-btn:hover {
    background-color: white;
    color: black;
  }
  
  .dot-container {
    position: absolute;

    bottom: 1rem;
    left: 0;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .dot {
    cursor: pointer;
    height: 1rem;
    width: 1rem;
    background-color: rgba(211, 211, 211, 0.226);
    border-radius: 50%;
    display: inline-block;
    transition: ease 0.3s;
  }

  .dot:hover {
    background-color: white;
  }
  
  .fade {
    animation-name: fade;
    animation-duration: 1s;
  }
  @keyframes fade {
    from {
      opacity: 0.8;
    }
    to {
      opacity: 1;
    }
  }
  

.testimonial img{
    width: 600px;
    height: 400px;
    
    border-radius: 15px;
    margin:auto;
}
.testimonial-text {
    width:30%;
    margin: 60px auto auto 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap:30px;
}

.testimonial-text p{
    border-top: 2px dashed #35c2b2;
    border-right: 2px dashed #35c2b2;
    border-bottom: 2px dashed #35c2b2;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 20px;
}


.testimonial-text img {
    width: 100px;
    height: auto;
    margin: auto;    
}

.location {
    text-align: center;
    padding: 60px 0;
    background-image: url(img/location-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.location-text {
    max-width:800px;
    margin: auto;
    border-left:2px dashed #182850;
    border-top:2px dashed #182850;
    border-top-left-radius:15px;
}


/*faq*/
.faq-all {
    background-color: #cbe8f2;
    margin-top:60px;
    width:90vw;
    padding: 60px 0 30px 0;
    border-top-right-radius: 55px;
    border-bottom-right-radius: 55px;
    background-image: url(img/faq-back.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.faq-all h2 {
    margin: auto auto auto 15% ;
    
}

.faq {
    background-color: #f9f9f8;
    max-width: 95%;
    margin: 50px auto;
    border-radius: 15px;
    padding: 10px 0;
}

.faq-content {
    margin: 0 auto;
    max-width: 90%;
}

.faq-question {
    margin: 20px 0;
    padding: 10px 0;
    border: 1px solid #1d809f;
    border-radius: 15px;
    color: #182850;
}

    .faq-question:hover {
        box-shadow: 3px 3px 3px 0px #1d809f;
        transition: .4s ease;
    }

.panel-title {
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 10px 10px 0 48px;
    display: block;
    cursor: pointer;
}

.panel-content {
    color: #182850;
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
    padding: 0px 14px;
    margin: 10px;
    height: 0;
    overflow: hidden;
    z-index: 0;
    position: relative;
    opacity: 0;
    -webkit-transition: .4s ease;
    -moz-transition: .4s ease;
    -o-transition: .4s ease;
    transition: .4s ease;
}

.panel:checked ~ .panel-content {
    height: auto;
    opacity: 1;
    padding: 14px;
}

.plus {
    position: absolute;
    margin-left: 20px;
    margin-top: 14px;
    z-index: 5;
    font-size: 1.3rem;
    line-height: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
}

.panel:checked ~ .plus {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.panel {
    display: none;
}


@media only screen and (max-width: 600px) {
    .faq-question {
        padding: 3px 0;
    }
}




/*contact*/
.contact-all {
    padding: 60px 0;
    background-color: #ffd25f;
    width: 70vw;
    margin:30px auto;
    border-radius: 55px;
}

    .contact-all h2 {
        text-align: center;
        color: #182850;
        margin:auto auto auto 20px;
      
    }

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20px;
}

.contact-text img{
   margin: auto 20px auto auto;
   height: 62px;
   align-items: center;
   
}

.contact-cont {
    text-align: center;
    padding-bottom: 24px;
    max-width:600px;
    margin: auto;
    border-right: 2px dashed #182850;
    border-bottom: 2px dashed #182850;
    border-bottom-right-radius: 15px;


}

    .contact-cont h3 {
        margin-bottom: 30px;
        margin-top: 30px;
    }

.cont-phone {
    display: flex;
    justify-content: center;
    align-items:center;
}

    .cont-phone h4 {
        margin-left:10px;
    }

    .cont-phone i {
        border: 2px solid #1d809f;
        border-radius:50%;
        padding:5px;
        filter: invert(43%) sepia(41%) saturate(890%) hue-rotate(148deg) brightness(89%) contrast(86%);
    }


.wrapper {
    width: 90%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.05);
}



    .wrapper form {
        margin: 35px 30px;
    }

        .wrapper form.disabled {
            pointer-events: none;
            opacity: 0.7;
        }

form .dbl-field {
    display: flex;
    margin-bottom: 25px;
    justify-content: space-between;
}

.dbl-field .field {
    height: 50px;
    display: flex;
    position: relative;
    width: calc(100% / 2 - 13px);
}

.wrapper form i {
    position: absolute;
    top: 50%;
    left: 18px;
    color: #1d809f;
    font-size: 17px;
    pointer-events: none;
    transform: translateY(-50%);
}

form .field input,
form .message textarea {
    width: 100%;
    height: 100%;
    outline: none;
    padding: 0 18px 0 48px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #1d809f;
    color: #1d809f;
}

.field input::placeholder,
.message textarea::placeholder {
    color: #1d809f;
}

.field input:focus,
.message textarea:focus {
    padding-left: 47px;
    border: 2px solid #1d809f;
}

    .field input:focus ~ i,
    .message textarea:focus ~ i {
        color: #1d809f;
    }

form .message {
    position: relative;
}

    form .message i {
        top: 30px;
        font-size: 20px;
        color: #1d809f
    }

    form .message textarea {
        min-height: 130px;
        max-height: 230px;
       
        padding: 15px 20px 0 48px;
        color: #1d809f
    }

        form .message textarea::-webkit-scrollbar {
            width: 0px;
        }

.message textarea:focus {
    padding-top: 14px;
}

form .button-area {
    margin: 25px 0;
    display: flex;
    align-items: center;
}



.button-area span {
    font-size: 17px;
    margin-left: 30px;
    display: none;
}

@media (max-width: 600px) {
    .wrapper header {
        text-align: center;
    }

    .wrapper form {
        margin: 35px 20px;
    }

    form .dbl-field {
        flex-direction: column;
        margin-bottom: 0px;
    }

        form .dbl-field .field {
            width: 100%;
            height: 45px;
            margin-bottom: 20px;
        }

    form .message textarea {
        resize: none;
    }

    form .button-area {
        margin-top: 20px;
        flex-direction: column;
    }

    .button-area button {
        width: 100%;
        padding: 11px 0;
        font-size: 16px;
    }

    .button-area span {
        margin: 20px 0 0;
        text-align: center;
    }
}

.about {
    width: 90vw;
    background-color: #bfedea;
    margin:60px auto auto a;
    border-top-right-radius: 55px;
    border-bottom-right-radius: 55px;
}

.about-content {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    margin: 60px auto;
 
    
}

.about-text {
    padding: 60px 0;
    width: 100%;
    margin: auto auto auto 120px;   
    flex-wrap: wrap;         
}

.about-text h2{
    margin-bottom: 30px;
}

.about-text p {
    border-top: 2px dashed #182850;
    border-left: 2px dashed #182850;
    border-bottom: 2px dashed #182850;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 20px;
}

.about-img img{
    margin: 80px auto auto 120px;
    width:400px;
    transform: rotate(-5deg);
    border-radius: 25px;  
    background-color:#ffd25f;
}


footer {
    background-image: url(img/footer.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    align-self: center;
        
}

footer p {
    font-size: 2.8rem;
    font-family: 'Indie Flower', cursive;
    margin: 20px auto;
    }

footer img {
    filter: invert(12%) sepia(16%) saturate(6110%) hue-rotate(204deg) brightness(91%) contrast(92%);
}    

p.copyright {
    font-size: 1.8rem;
    font-family: 'Indie Flower', cursive;
    margin: 20px auto;
}

.footer-flex {
    display: flex;
    justify-content:center;
       
}

.footer-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    width:33%;
}
.footer-center{
    width:33%;
}
.impress {
    display: flex;
    flex-direction: column;
    padding-left: 40px;;
}


.impress a {
    font-size: 1.4rem;   
    cursor: default; 
    padding:5px;
    transition: 0.7s ease;
}

.impress a:hover {
    color: #2d988c;
    text-decoration: underline;
}

.footer-arrow {
    width:33%;
    align-self: center;
    display: flex;    
    justify-content: end;
    padding-right: 40px;;
}

.footer-arrow img {
    filter:none;
    width: 64px;
    cursor:pointer
    
}



/*media*/
@media screen and (max-width: 1300px) {
    .price-card {
        width:95%;
    }
}


@media screen and (max-width: 1200px) {
    .courses-card {
        width:90%
    }

    .price-card {
        flex-direction: column;
    }
    .price-card-1,
    .price-card-2, 
    .price-card-3  {
        width: 55%;
        
        
        
        
    }

    .testimonial {
        flex-direction: column-reverse;
        gap:0

    }
    .testimonial-text {
         width: 80%;
         margin: auto 20px auto auto;
         padding-top:60px
    }

    .testimonial img:last-child {
        display: none;
    }
    .testimonial img:first-child{
        margin: 20px auto;
    }
    .dot {margin-bottom: 30px;}
    .slider-nav-btn {margin-bottom: 15px;}
}

@media screen and (max-width: 1024px) {
    .header {
        flex-direction: column;
    }

    .header-text {
        margin: auto;
        width: 90%;
    }
    .courses-click {
        margin:30px auto;
    }
    .welcome-content {
        flex-direction: column;
        gap:0;
    }
    .welcome-text {
        width:60%;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .welcome-img img {
        margin: 20px auto;
        display: flex;
        align-self: center;
    }

    .courses-card {
        width:60%;
        flex-direction: column;
        gap:10px;
    }

    .courses-card-1 p,
    .courses-card-2 p,
    .courses-card-3 p{
        border-bottom: 2px dashed #ffd25f;
        padding-bottom: 20px;
        
    } 

    .price-card-1,
    .price-card-2,
    .price-card-3 {
        width:80%
    }

    


    .about-content {   
        flex-direction: column;
        gap:0

    }
    .about-text {
        width:80%;
    }
    .about-img img{
        margin: 0 auto;
        display: flex;        
    }
}

@media screen and (max-width: 768px) {
    .welcome {
        width: 100%;
    }
.welcome-content h2 {
    text-align: center;
}

    .contact-all {
        width: 95%;
    }

    .price {
        width: 95%;
    }

    .price-card-1,
    .price-card-2,
    .price-card-3 {
        width:100%        
    }
    

    .welcome-text{
        width:80%;
        margin: auto auto auto 30px;
    }
    .testimonial {
        width: 100%;
    }

    .testimonial-text {
        margin: auto;
        text-align: center;
    }

    .testimonial img{
        width: 500px;
        height: 400px;
    }

    .faq-all {
        width: 100%;
    }
    .about {
        width: 100%;
    }    

    .about h2 {
        text-align: center;
        margin: auto auto 30px auto;
        
    }
    .about-text {
        width:80%;
        margin: auto auto auto 30px;
        padding-top: 30px;
    }

    .location {
        padding-bottom: 0;
    }
    .location-text {
        width: 95%;
    }
    .faq-all h2 {
        margin: auto;
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .header {
        width: 100%;
    }
    .header-text{
        width:100%;
    }

    .price-card {
        width: 95%;
    }
    .price-card-1,
    .price-card-2,
    .price-card-3 {
        border: none;      
        border-bottom: 2px dashed #fff;
        border-radius: 0;
        margin: 0;
    }

    .testimonial img{
        width: 100%;
        height: 500px;
    }

    .slide-content {
        justify-content: start;
    }

    .slide-desc  {
        padding: 20px 0;
    }
    

    .courses-card {
        width: 400px;
    }

    .about-text {
        margin: auto auto auto 30px;
    }

    .courses h2 {
        width: 95%
    }

    footer {
        min-height: 100vh
    }

    footer p {
        font-size: 22px; ;
    }
    .footer-flex {
        padding: 90px 0 0 0 ;
        flex-direction: column-reverse;
        align-items: center;
        height: 600px;
        
    }

    .navbar {
        width: 100vw;
    }

    .welcome-img img {
        width: 80%;
    }

    .logo {
        font-size: 24px;
    }

    .footer-arrow{
        justify-content: center;
    }
    .impress {
        padding: 0;
    }

    .footer-center{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    h1 {     
        font-size: 50px;
       
    }
  
}

@media screen and (max-width: 480px) {

    .header img {
        width: 250px;
        height: 250px;
        
    };

    .welcome-img img {
        max-width: 85%;
    }
    .courses-card {
        width: 95%;
    }
    .about-text {
        width:90%;
    }

    .contact-text {
        flex-direction: column;
    }

    .contact-all h2{
        margin: auto;
    }
    .contact-text img {
        margin: auto;
    }

    .testimonial img:first-child {
        width: 95%;
    }

    .about-img img {
        width: 85%;
    }

    h1 {     
        font-size: 40px;
       
    }
    h2 {
        font-size: 30px;
        
    }
    
    h3 {
        font-size: 16px;
    }
    
   
}


/* ==== MAGYARFELVI KAPCSOLATI IV FORM STYLING (AJAX-os verzió) ==== */

/* Külső doboz ugyanaz marad (contact-all), csak finomítunk kicsit */
.contact-all {
    padding: 60px 0;
    background-color: #ffd25f;
    width: 70vw;
    margin: 30px auto;
    border-radius: 55px;

    /* ezt hozzáadom, hogy a form tartalma ne ragadjon a szélekhez */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* cím + ikon már létezik nálad (.contact-text), meghagyjuk */

/* maga a form */
.contact-form,
#mfContactForm {
    background-color: #fff;
    border-radius: 15px;
    border: 2px dashed #1d809f;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.05);

    width: 90%;
    max-width: 500px;
    padding: 30px 24px;
    font-family: 'Open Sans', sans-serif;
    color: #1d809f;
}

/* mezők wrapper-e */
#mfContactForm .field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

/* input & textarea */
#mfContactForm .field input,
#mfContactForm .field textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;

    color: #1d809f;
    background-color: #fff;
    border: 2px solid #1d809f;
    border-radius: 8px;

    outline: none;
    transition: all .25s ease;
}

#mfContactForm .field input::placeholder,
#mfContactForm .field textarea::placeholder {
    color: #1d809f;
    opacity: 0.8;
}

#mfContactForm .field input:focus,
#mfContactForm .field textarea:focus {
    border-color: #35c2b2;
    box-shadow: 0 0 10px rgba(29,128,159,0.2);
    color: #182850;
}

/* textarea specifikus */
#mfContactForm .field textarea {
    min-height: 130px;
    line-height: 1.4;
    resize: vertical;
}

/* GDPR checkbox + szöveg */
#mfContactForm .checkbox {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #182850;
    font-family: 'Open Sans', sans-serif;

    background-color: #fff;
    border: 2px dashed #35c2b2;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

#mfContactForm .checkbox input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
    accent-color: #35c2b2;
    cursor: pointer;
}

#mfContactForm .checkbox a {
    color: #1d809f;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Küldés gomb + státusz */
#mfContactForm .button-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

/* Gomb: a te brand színeivel, de disabled-re szürkítve */
#mfSubmitBtn {
    background-color: #35c2b2;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    min-width: 180px;

    font-size: 1rem;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;

    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease-in, box-shadow 0.2s ease-in;
}

#mfSubmitBtn:hover:not(:disabled) {
    background-color: #2d988c;
    box-shadow: 0 12px 22px rgba(0,0,0,0.2);
}

#mfSubmitBtn:disabled {
    background-color: #8bbeb9;
    cursor: not-allowed;
    box-shadow: none;
}

/* Visszajelzés blokk (siker / hiba / küldés folyamatban) */
#mfFormResponse.response-wrapper {
    min-height: 1.6em;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;

    text-align: center;
    color: #182850;

    /* nincs fix szélesség, mobilon is törhet */
    width: 100%;
    max-width: 360px;
}

/* az ikon kis négyzet, amit JS-el mutatunk */
#mfResponseIcon.response-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: none;
    flex-shrink: 0;
    position: relative;
}

#mfResponseText.response-text {
    white-space: pre-line;
}

/* SUCCESS ÁLLAPOT */
#mfFormResponse.success #mfResponseText {
    color: #00a35a;
    text-shadow: 0 0 6px rgba(0,163,90,0.3);
    font-weight: 600;
}
#mfFormResponse.success #mfResponseIcon {
    background: radial-gradient(circle at 30% 30%, #4dff87 0%, #00994a 70%);
    box-shadow: 0 0 12px rgba(77,255,135,0.6);
    display: inline-block;
    animation: mfPopSuccess 0.4s cubic-bezier(.2,1.4,.4,1) forwards;
}
#mfFormResponse.success #mfResponseIcon::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 8px;
    height: 12px;
    border-right: 3px solid #001b10;
    border-bottom: 3px solid #001b10;
    transform: rotate(45deg);
    border-radius: 1px;
}

/* ERROR ÁLLAPOT */
#mfFormResponse.error #mfResponseText {
    color: #c62828;
    text-shadow: 0 0 6px rgba(198,40,40,0.3);
    font-weight: 600;
}
#mfFormResponse.error #mfResponseIcon {
    background: radial-gradient(circle at 30% 30%, #ff5f5f 0%, #a80000 70%);
    box-shadow: 0 0 12px rgba(255,95,95,0.6);
    display: inline-block;
    animation: mfPopError 0.4s cubic-bezier(.2,1.4,.4,1) forwards;
    position: relative;
}
#mfFormResponse.error #mfResponseIcon::before,
#mfFormResponse.error #mfResponseIcon::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 4px;
    width: 2px;
    height: 12px;
    background: #1a0000;
    border-radius: 1px;
}
#mfFormResponse.error #mfResponseIcon::before {
    transform: rotate(45deg);
}
#mfFormResponse.error #mfResponseIcon::after {
    transform: rotate(-45deg);
}

/* animációk az ikonra */
@keyframes mfPopSuccess {
    0%   { transform: scale(0.4) rotate(-10deg); opacity: 0; }
    60%  { transform: scale(1.15) rotate(2deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes mfPopError {
    0%   { transform: scale(0.4) rotate(10deg); opacity: 0; }
    60%  { transform: scale(1.15) rotate(-2deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* RESPONSIVE törések erre a formra is */
@media screen and (max-width: 768px) {
    .contact-all {
        width: 95%;
    }
    #mfContactForm {
        width: 90%;
        max-width: 500px;
        padding: 24px 20px;
    }
}

@media screen and (max-width: 480px) {
    #mfContactForm {
        border-width: 2px;
        padding: 20px 16px;
    }

    #mfSubmitBtn {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        padding: 14px;
    }

    #mfFormResponse.response-wrapper {
        font-size: 0.85rem;
    }
}


/* ===== IMPRESSZUM MODAL (magyarfelvi) ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #fff;
  color: #182850;
  border: 2px dashed #1d809f;
  border-radius: 15px;
  box-shadow: 10px 20px 40px rgba(0,0,0,0.3);

  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;

  padding: 24px 24px 20px;
  position: relative;
  line-height: 1.5;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
}

.modal-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d809f;
  margin: 0 0 16px;
  font-family: 'Roboto Slab', serif;
}

.modal-box p {
  margin-bottom: 16px;
  color: #182850;
  font-size: 1rem;
  line-height: 1.5;
}

.modal-box a {
  color: #1d809f;
  font-weight: 600;
  text-decoration: underline;
  font-family: 'Open Sans', sans-serif;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #1d809f;
  border: 2px solid #1d809f;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  font-family: 'Roboto Slab', serif;
}
.modal-close:hover {
  background: #35c2b2;
  border-color: #35c2b2;
}



/* ===== Screens (galéria) ===== */
.screens-grid{
  width: min(1100px, 92vw);
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1024px){
  .screens-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .screens-grid{ grid-template-columns: 1fr; }
}

.screen-card{
  background: #ffffff;
  border: 2px dashed rgba(29,128,159,0.55);
  border-radius: 16px;
  padding: 18px 18px 16px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.screen-card h3{
  margin: 6px 0 12px;
  font-size: 1.2rem;
  font-family: 'Roboto Slab', serif;
  text-align: left;
}

.screen-card p{
  margin-top: 12px;
}

/* thumbnail button */
.screen-thumb{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  position: relative;
  outline: none;
}

/* fix arány, torzítás nélkül */
.screen-thumb img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .25s ease, filter .25s ease;
  border-radius: 14px;
}

/* hover élmény */
.screen-thumb:hover img{
  transform: scale(1.03);
  filter: brightness(0.95);
}

.screen-thumb:focus-visible{
  outline: 3px solid #35c2b2;
  outline-offset: 3px;
}

/* ===== Lightbox ===== */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.lightbox.is-open{
  display: grid;
  place-items: center;
}

.lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.lightbox__content{
  position: relative;
  width: min(1000px, 92vw);
  max-height: 86vh;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  border: 2px dashed #35c2b2;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.lightbox__content img{
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  background: #0b2230;
}

.lightbox__content figcaption{
  padding: 10px 14px;
  font-family: 'Open Sans', sans-serif;
  color: #182850;
}

.lightbox__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: #1d809f;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover{
  background: #35c2b2;
}


.courses-card-1 img, .courses-card-2 img, .courses-card-3 img {
    width:64px;
    height:64px;
}




/*price*/
/* ===== Price blokk (főoldal) ===== */
.price-grid{
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

@media (max-width: 1024px){
  .price-grid{ grid-template-columns: 1fr; }
}

.price-box{
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  text-align: left;
  border: 2px dashed rgba(255,255,255,0.85);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.price-box--primary{
  border: 2px dashed rgba(29,128,159,0.6);
}

.price-hero{
  margin: 12px 0 14px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(53,194,178,0.12);
  border: 2px dashed rgba(53,194,178,0.55);
}

.price-amount{
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #182850;
  font-size: 42px;
  line-height: 1.05;
}

.price-sub{
  margin-top: 6px;
  font-family: 'Open Sans', sans-serif;
  color: #182850;
  opacity: 0.9;
  font-size: 14px;
}

.price-list{
  padding-left: 0;
  margin: 0;
}

.price-list li{
  list-style: none;
  list-style-image: url(img/list.png);
  margin-left: 18px;
  line-height: 1.9;
  font-family: 'Open Sans', sans-serif;
  color: #182850;
}

.price-cta{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.btn-primary{
  display: inline-block;
  text-align: center;
  background: #35c2b2;
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 220px;
  transition: background-color .2s ease-in;
}
.btn-primary:hover{ background: #2d988c; }

.btn-secondary{
  display: inline-block;
  text-align: center;
  background: rgba(29,128,159,0.10);
  color: #1d809f;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 16px;
  border: 2px dashed rgba(29,128,159,0.55);
}
.btn-secondary:hover{
  background: rgba(29,128,159,0.16);
}

.price-note{
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
  font-family: 'Open Sans', sans-serif;
}

.steps{
  margin: 10px 0 12px;
  padding-left: 18px;
  font-family: 'Open Sans', sans-serif;
  color: #182850;
}
.steps li{ margin: 8px 0; }

.micro{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,210,95,0.35);
  border: 2px dashed rgba(255,210,95,0.9);
  font-size: 13px;
  line-height: 1.4;
  font-family: 'Open Sans', sans-serif;
}

.price-foot{
  margin-top: 26px;
  color: #1d809f;
}

/* =========================
   BLOG TEASERS (index blokk)
   ========================= */

.blog-teasers{
  width: 100%;
  padding: 70px 0;
}

.blog-teasers-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-head{
  margin-bottom: 28px;
  text-align: left;
}

.section-head h2{
  margin: 0 0 10px 0;
}

.section-head p{
  max-width: 720px;
  color: #1e293b;
  line-height: 1.6;
}

/* grid */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* card */
.proj-card{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 40, 80, 0.10);
  border: 1px solid rgba(24, 40, 80, 0.08);
}

.proj-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .35s ease;
}

.proj-card:hover img{
  transform: scale(1.03);
}

/* overlay (desktop) */
.proj-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(24, 40, 80, 0.925), rgba(24, 40, 80, 0.448));
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.proj-card:hover .proj-overlay{
  opacity: 1;
  pointer-events: auto;
}

.proj-inner{
  width: 100%;
}

.proj-tech{
  display: inline-block;
  font-size: 0.85rem;
  color: #ffffff;
  opacity: 0.92;
  margin-bottom: 8px;
}

.proj-title{
  margin: 0 0 8px 0;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.15;
}

.proj-desc{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
  font-size: 0.98rem;
}

/* button */
.proj-btn{
  display: inline-block;
  text-decoration: none;
  background: #35c2b2;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  transition: transform .15s ease, filter .15s ease;
}

.proj-btn:hover{
  transform: translateY(-1px);
  filter: brightness(0.95);
}

/* footer (always visible) */
.proj-footer{
  padding: 14px 16px 16px 16px;
}

.proj-footer-title{
  margin: 0 0 6px 0;
  color: #182850;
  font-size: 1.05rem;
  line-height: 1.2;
  font-family: 'Roboto Slab', serif;
}

.proj-footer-tech{
  color: #64748b;
  font-size: 0.92rem;
}

/* static content for mobile (no hover) */
.proj-static{
  display: none;
  padding: 14px 16px 16px 16px;
}

.proj-static .proj-tech{
  color: #64748b;
  opacity: 1;
}

.proj-static .proj-title{
  color: #182850;
  font-size: 1.15rem;
}

.proj-static .proj-desc{
  color: #1e293b;
  font-size: 0.98rem;
}

.proj-btn-mobile{
  margin-top: 10px;
}

/* responsive */
@media (max-width: 1050px){
  .blog-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-card img{ height: 220px; }
}

@media (max-width: 720px){
  .blog-grid{ grid-template-columns: 1fr; }
  .proj-card img{ height: 210px; }

  /* hover overlay off, use static */
  .proj-overlay{ display: none; }
  .proj-static{ display: block; }
}


.proj-footer-tech {
    font-family: 'Roboto Slab', serif;
}