/* ===============================
   WHY CHOOSE EDUNET365 (CLEAN VERSION)
================================= */
.why-choose-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
    /* removed background */
}

.why-choose-container {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.why-choose-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease forwards;
}

.why-choose-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
    animation: fadeInUp 1s ease forwards;
}

/* Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    justify-content: center;
    align-items: stretch;
}

/* Cards */
.why-choose-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(37, 95, 241, 0.08), rgba(26, 16, 84, 0.1));
    transition: 0.6s;
}

.why-choose-card:hover::before {
    left: 100%;
}

.why-choose-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 18px 40px rgba(37, 95, 241, 0.15);
}

/* Icon */
.why-icon-box {
    width: auto;
    height: auto;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon-box img {
    width: 48px;
    height: 48px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.why-choose-card:hover .why-icon-box img {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0px 2px 6px rgba(37, 95, 241, 0.4));
}

.why-choose-card h3 {
    font-size: 1.1rem;
    color: #222;
    line-height: 1.6;
    font-weight: 600;
}

/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 600px) {
    .why-choose-title {
        font-size: 1.9rem;
    }

    .why-choose-card {
        padding: 30px 20px;
    }

    .why-icon-box img {
        width: 40px;
        height: 40px;
    }
}