.referanslar {
    display: flex;
    gap: 35px;
    width: 100%;
}

.kullanici-deneyimleri {
    width: 350px;
    position: relative;
    flex-shrink: 0;
    height: max-content;
}

.kullanici-deneyimleri .ust {
    background-color: #f92b59;
    color: white;
    text-align: center;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kullanici-deneyimleri .ust h3 {
    font-weight: 700;
  font-size: 20px;
    margin: 0;
}

.kullanici-deneyimleri .ust p {
    font-size: 35px;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 5px 0 0;
}

.kullanici-deneyimleri img {
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
}

.kullanici-deneyimleri .alt {
    background-color: var(--secondary);
    height: 220px;
}

.big-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 35px 0 15px 44px;
    position: relative;
}

.big-box::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    right: calc(-100% + 1px);
    top: 0;
}

.big-box .testimonial {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 560;
}

.qstart {
    position: absolute;
    left: 14px;
    top: 22px;
}

.customer-testimonials {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.boxes {
    display: flex;
    align-items: stretch;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    min-height: 250px;
    padding-top: 30px;
    flex-wrap: wrap;
}

.box {
    background-color: var(--secondary);
    color: var(--white);
    padding: 20px;
    text-align: center;
    perspective: 1000px;
    min-height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.flip-box {
    background: none;
    padding: 0;
    flex: 0 1 calc(33.333% - 12px); 
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    display: flex;
    flex: 1;
}

.flip-box:hover .flip-inner {
    transform: rotateY(180deg);
}

.box-front,
.box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    background-color: var(--secondary);
    color: var(--white);
    padding: 10%;
    box-sizing: border-box;
}

.box-front {
    z-index: 2;
    position: relative;
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* overflow-y: auto; */
}

.box-front .yazan {
    position: absolute;
    bottom: 5%;
    filter: drop-shadow(var(--secondary) 0 0 5px);
    margin-top: auto;
    padding-top: 15px;
    flex-shrink: 0;
    left: 50%;
    transform: translate(-50%, 5%);

}

.box-back {
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    color: var(--white);
}

.box-back video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-back {
    padding: 0;
}

/* q {
    quotes: none;
}

q::before {
    background-image: url(../images/q-end.svg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3px 16px;

}

q::after {
    background-image: url(../images/q-end.svg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3px 16px;
} */

.referanslar-title {
    background-color: #d9d9d9;
    text-align: center;
    text-transform: uppercase;
    font-size: 35px;
    color: var(--primary);
}

.referans-logolar {
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.logo-item {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 66.666%;
    object-fit: contain;
}

.big-box .customer
{
    font-size: 18px;
    font-style: italic;
}
.box .box-front
{
    font-size: 18px;
}

@media screen and (max-width: 1200px) {
    .flip-box {
        flex: 0 1 calc(50% - 12px); 
    }
}
@media screen and (max-width: 991px) {
    .referanslar {
        flex-direction: column;
    }
    .flip-box {
        flex: 0 1 100%; 
    }
  .kullanici-deneyimleri .alt,
  .kullanici-deneyimleri .ust {
    height: 180px;
  }
}
@media (max-width: 768px) {
  .kullanici-deneyimleri {
    width: 100%;
    margin-bottom: 30px;
  }

  .referans-logolar {
    padding: 20px 16px;
  }

  .kullanici-deneyimleri .ust h3,
  .kullanici-deneyimleri .ust p {
    font-size: 28px;
  }

  .kullanici-deneyimleri img {
    width: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 567px) {
  .referans-logolar {
    padding: 20px 16px;
  }

  .kullanici-deneyimleri .ust {
    height: 180px;
  }

  .kullanici-deneyimleri .ust h3,
  .kullanici-deneyimleri .ust p {
    font-size: 24px;
  }

}
