@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

/* Benzersiz konteyner sınıfı */
.values-section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding: 40px 40px 50px;
    max-width: 1500px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    min-height: 100vh;
}

/* Başlık için stil */
.values-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #086c94;
    text-align: center;
    margin: 80px 0 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Benzersiz kart sınıfı */
.value-item-card {
    position: relative;
    min-height: 240px; /* Minimum yükseklik */
    max-height: 240px; /* Maksimum yükseklik, taşmayı önler */
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    box-sizing: border-box;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    overflow: hidden; /* İçerik taşarsa gizle */
    color: #333;
    width: 300px; /* Sabit genişlik */
    flex: 0 0 auto;
}

.value-item-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.value-item-card .value-icon {
    font-size: 36px;
    color: #086c94;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.value-item-card:hover .value-icon {
    transform: rotate(10deg);
}

.value-item-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #086c94;
}

.value-item-card p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: #555;
    overflow: hidden; /* Metin taşarsa gizle */
    text-overflow: ellipsis; /* Uzun metni kırp ve "..." koy */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksimum 3 satır */
    -webkit-box-orient: vertical; /* Dikeyde kırp */
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .values-section-title {
        font-size: 32px;
        margin: 70px 0 35px;
    }

    .values-section-container {
        gap: 30px;
        padding: 30px 30px 40px;
    }

    .value-item-card {
        min-height: 220px;
        max-height: 220px; /* Responsive için de sabit */
        width: 260px;
    }

    .value-item-card .value-icon {
        font-size: 32px;
    }

    .value-item-card h3 {
        font-size: 22px;
    }

    .value-item-card p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .values-section-title {
        font-size: 28px;
        margin: 60px 0 30px;
    }

    .values-section-container {
        gap: 25px;
        padding: 20px 20px 30px;
    }

    .value-item-card {
        min-height: 200px;
        max-height: 200px;
        width: 220px;
    }

    .value-item-card .value-icon {
        font-size: 28px;
    }

    .value-item-card h3 {
        font-size: 20px;
    }

    .value-item-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .values-section-title {
        font-size: 24px;
        margin: 50px 0 25px;
    }

    .values-section-container {
        flex-direction: column;
        gap: 20px;
        padding: 15px 15px 20px;
    }

    .value-item-card {
        min-height: 180px;
        max-height: 180px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .value-item-card .value-icon {
        font-size: 24px;
    }

    .value-item-card h3 {
        font-size: 18px;
    }

    .value-item-card p {
        font-size: 12px;
    }
}