/* Core Philosophies Section */

.core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
    margin: 3rem auto;
    text-align: center;
    box-sizing: border-box;
}



.core-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px rgba(30, 144, 255, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 144, 255, 0.1);
    position: relative;
    overflow: hidden;
}

@media (max-width: 576px) {
    .core-card {
        border: 1px solid rgba(30, 144, 255, 0.5);
    }
}

.core-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: linear-gradient(to right, var(--brand-blue-400), var(--brand-purple), var(--brand-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.core-card:hover::before,
.core-card:focus-within::before {
    transform: scaleX(1);
}

.core-card:hover,
.core-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(30, 144, 255, 0.2);
    border-color: var(--brand-blue-600);
}

.core-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(138, 79, 255, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    object-fit: clip;
}

.core-icon svg {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    text-align: center;
}

.core-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.h2p {
    text-align: center;
}

.core-card ul li {
    list-style: inside;
    text-align: left;
}