.edu-triangle-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 25px 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    height: 100%;
    border-top: 4px solid var(--secondary);
}

.edu-triangle-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.05;
    z-index: 0;
}

.edu-triangle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.card-content p.content-card {
    color: var(--gray);
    margin: 0;
}

.equal-height-cards-row > div {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .card-content h5 {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
}


.edu-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 28px rgba(74, 108, 247, 0.15);
    padding: 35px 30px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    cursor: default;
    position: relative;
}

.edu-card:hover {
    box-shadow: 0 25px 40px rgba(74, 108, 247, 0.25);
    transform: translateY(-8px);
}

.icon-wrapper {
    background: rgba(74, 108, 247, 0.1);
    border-radius: 30%;
    border: 2px solid black;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edu-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
    text-align: start;
}

.edu-card p {
    text-align: start;
    color: var(--gray);
    flex-grow: 1;
}

@media (max-width: 767px) {
    .education-tech-section {
        padding: 40px 15px;
    }

    .header-text .title {
        font-size: 1.8rem;
    }

    .header-text .subtitle {
        font-size: 1rem;
    }
}

.edu-triangle-card,
.edu-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
