.oldaldobozok {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 1200px;
    margin: 0 auto;
}


/* social listing */
.oldaldobozok.re {
    display: grid
;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 1200px;
    margin: 0 auto;
}


/* social vége */

/* seo  */
.service-showcase.re {
        grid-template-columns: repeat(3, 1fr);
    display: grid
;
    gap: 30px;
}


.service-showcase.re .service-card {
    position: relative;
    padding: 25px;
    height: 315px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    border-radius: 5px;
}


.service-showcase.negyes {
    grid-template-columns: repeat(2, 1fr);
    display: grid
;
    gap: 30px;
}

.service-showcase.negyes .service-card {
    height: auto;
}

/* seo vége */

/* audit */
.oldaldobozokaudit {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    display: grid;
}

/* audit vége */

/* Stratégiaalkotás */
.service-showcasee {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    display: grid;
}


.service-showcasee .service-card {
    height: auto;
}

.kartya-container {
    position: relative;
    height: 295px;
    perspective: 1000px;
    border-radius: 20px;
    padding: 22px;
}

/* Stratégiaalkotás vége */

.kartya-container.felfele {
    background: linear-gradient(0deg, #2653c9 0%, rgba(36, 27, 70, 0) 98%);
}

.kartya-container.lefele {
    background: linear-gradient(180deg, #2653c9 0%, rgba(36, 27, 70, 0) 100%);
}

.kartya-belso {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.kartya-container:hover .kartya-belso {
    transform: rotateY(180deg);
}

.kartya-elol,
.kartya-hatul {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kartya-hatul {
    transform: rotateY(180deg);
    background-color: transparent;
}

.ikon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.svgikon {
    fill: white;
    width: 85px;
    height: auto;
    margin-bottom: 30px;
}

.inverse {
    fill: #FFFFFF;
    width: 85px;
    height: auto;
    margin-bottom: 30px;
}

.kartya-cim {
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    line-height: 28px;
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
}

.kartya-szoveg {
    color: white;
    text-align: center;
    font-size: 15px;
    line-height: 25px;
    font-family: "Montserrat", Sans-serif;
    margin: 0;
    padding: 0px;
}

/* Gomb */

.gombdoboz {
    height: 40px;
}

.aloldalgomb {
    background: #2653c9;
    border-radius: 300px;
    padding: 13px 30px;
    letter-spacing: 0px;
    color: #FFFFFF;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    display: flex;
    position: relative;
    text-decoration: none;
    transition: all 0.5s ease;
    font-size: 16px; /* Alap betűméret */
    transform: scale(1); /* Alap méret */
    transform-origin: center;
}

.aloldalgomb:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 300px;
    padding: 2px;
    background: #2653c9;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.5s ease;
}

.aloldalgomb:hover {
    background: transparent;
    color: #FFFFFF;
    padding: 14px 35px; /* Nagyobb padding */
    font-size: 17px; /* Nagyobb betűméret */
    transform: scale(1.03); /* Kicsit nagyobb méret */
    letter-spacing: 1px; /* Nagyobb betűköz */
}

.aloldalgomb:hover:before {
    opacity: 1;
}

.reszletek-gomb,
.vissza-gomb  {
    display: none;
    background: transparent;
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0px;
    margin-top: 10px;
    transition: all 0.3s ease;
}



.reszletek-gomb:hover,
.vissza-gomb:hover {
    background: #FFFFFF;
    color: #7360F2;
}




/* Gomb vége */

/* Képes doboz mi garantáljuk */

.service-showcase {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
	gap: 30px;
}
.service-card {
    position: relative;
    padding: 25px;
    height: 340px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    border-radius: 5px;
}

.service-description {
    color: #FFFFFF;
    margin-bottom: 0px;
    font-family: "Montserrat", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}

.tile-description {
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 20px;
}

        .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0.24;
            z-index: -2;
        }
        .gradient-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent linear-gradient(180deg, #2653c9 0%, #241B4600 100%);
            opacity: 0.82;
            z-index: -1;
        }
        .service-divider {
            background: #2653c9;
            margin-bottom: 15px;
            border-radius: 250px;
            width: 28px;
            height: 7px;
        }
        .service-icon {
              width: 100px;
    height: 100px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 20px;
        }
        .icon {
            fill: #FFFFFF;
            width: 81px;
            height: auto;
        }
        .service-title {
            margin-bottom: 10px;
            width: 270px;
            font: normal normal normal 34px/43px Outfit;
            letter-spacing: 0px;
            color: #FFFFFF;
            margin-top: 74px;
            height: 95px;
        }

        
        
.servicesvgicon {
    width: 60px;
    height: auto;
    fill: white;
}

/* dobozok vége vége */

h2.animated-text {
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 35px;
    font-weight: 500;
}

@media (max-width: 1340px) {
    .oldaldobozok {
        width: 90%;
        gap: 20px;
    }

    
}

@media (max-width: 991px) {
    .oldaldobozok {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .oldaldobozok {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 400px;
    }

    /* stratégia alkotás oldal */

    .service-showcasee .service-card {
        height: auto;
        padding: 35px 10px;
    }

    .service-showcasee {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
        display: grid;
    }

      /* stratégia alkotás oldal vége */

      /* social listing */
.oldaldobozok.re {
    display: grid
;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    width: 100%;
    margin: 0 auto;
}

    h2.animated-text {
        color: #FFFFFF;
        font-family: "Montserrat", Sans-serif;
        font-weight: 500;
        font-size: 30px;
        line-height: 31px;
        margin-bottom: 0px;
    }

    .ikon-container {

    margin-bottom: 20px;

}

    .inverse {
        fill: #FFFFFF;
        width: 73px;
        height: auto;
        margin-bottom: 0px;
    }

    .kartya-container {
        position: relative;
        height: 280px;
        perspective: 1000px;
        border-radius: 15px;
        padding: 35px;
    }

    .svgikon {
        fill: #7360F2;
        width: 73px;
        height: auto;
        margin-bottom: 0px;
    }
    
    .kartya-container {
        width: 100%;
    }

    .kartya-container:hover .kartya-belso {
        transform: none; /* Kikapcsoljuk a hover effektet mobilon */
    }
    
    .reszletek-gomb,
    .vissza-gomb {
        display: inline-block; /* Csak mobilon jelenítjük meg mindkét gombot */
    }
    
    .kartya-container.aktiv .kartya-belso {
        transform: rotateY(180deg);
    }
    
    .kartya-hatul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 20px;
    }

    .service-card {
        position: relative;
        padding: 40px;
        height: auto;
        display: flex;
        overflow: hidden;
        vertical-align: top;
        flex-direction: column;
        align-items: center;
    }

    .service-description {
        color: #FFFFFF;
        margin-bottom: 0px;
        font-family: "Montserrat", Sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 26px;
        text-align: center;
    }



    .service-showcase {
        grid-template-columns: repeat(1, 1fr);
        display: grid;
        gap: 30px;
    }

    /* audit */
.oldaldobozokaudit {
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    display: grid;
}

/* audit vége */


/* seo  */
.service-showcase.negyes {
    grid-template-columns: repeat(1, 1fr);
    display: grid;
    gap: 30px;
}

.service-showcase.negyes .service-card {
    position: relative;
    padding: 20px 10px;
}

.service-showcase.negyes  .tile-description {
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.service-showcase.re {
    grid-template-columns: repeat(1, 1fr);
    display: grid
;
    gap: 30px;
}

/* seo vége */

}


@media (min-width: 768px) and (max-width: 1100px) {
      /* stratégia alkotás oldal */

      .service-showcasee .service-card {
        height: auto;
        padding: 35px 10px;
        display: flex
;
        flex-direction: column;
        align-items: center;
    }

    .service-description {

        text-align: center;
    }
    .service-showcasee {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        display: grid;
    }

      /* stratégia alkotás oldal vége */


          /* audit */
          .service-card {
            position: relative;
            padding: 25px;
            height: auto;
            overflow: hidden;
            vertical-align: top;
            border-radius: 5px;
            display: flex
        ;
            flex-direction: column;
            align-items: center;
        }

/* audit vége */


/* seo  */
.service-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    display: grid;
}

.tile-description {
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.service-showcase.re .service-card {
    display: flex
;
    flex-direction: column;
    align-items: center;
}




/* seo vége */

}