﻿.edu-section {
    padding: 60px 20px;
   
    color: #fff;
    text-align: center;
}

.title {
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    color: #94a3b8;
    margin-bottom: 40px;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.edu-card {
    background: #bdbdbd;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    height:440px;
}

    .edu-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }

.edu-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.edu-body {
    padding: 20px;
}

    .edu-body h3 {
        margin-bottom: 10px;
        font-size: 20px;
        margin-bottom: 10px;
        font-size: 18px;
        color: #1c1c1c;
        direction: rtl;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        width: 100%;
        direction: rtl;
    }

    .edu-body p {
        font-size: 14px;
        color: #1a1a1a;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 100%;
        direction: rtl;
    }

@media (max-width: 992px) {
    .edu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .edu-grid {
        grid-template-columns: 1fr;
    }
}
