﻿.core-principles {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f0fff4, #e6f7ff);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2e7d32;
    font-weight: bold;
    position: relative;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    perspective: 1000px;
    width: 100%;
    height: 320px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.9s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    backface-visibility: hidden;
}

.card-front {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .card-front img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-bottom: 3px solid #2e7d32;
    }

    .card-front h3 {
        margin-top: 15px;
        font-size: 1.5rem;
        color: #2e7d32;
        font-weight: bold;
    }

.card-back {
    background: #2e7d32;
    color: white;
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.6;
}
