/* ===================================
   FEATURES SECTION STYLES
   =================================== */

.features {
    padding: var(--space-10) 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}



.features__wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Image on the left */
.features__image {
    position: relative;
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
    /* Removed padding to allow laptop to move left */
}

.features__laptop {
    width: 155%;
    /* Even larger for maximum impact */
    max-width: 1200px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    transform: perspective(1000px) rotateY(2deg);
    position: relative;
    left: -15%;
    /* Shifted for better balance with the larger size */
    top: 40px;
    /* Shift down to sit inside the teal bar */
    z-index: 5;
}

/* White Card on the right */
.features__content {
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 70px;
    /* More rounded top like the photo */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    position: relative;
    max-width: 580px;
    /* Reduced width to match mockup */
    margin-left: auto;
}

.features__title {
    font-size: 2.3rem;
    /* Adjusted size */
    font-weight: 800;
    color: #000000;
    margin-bottom: 50px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-family: 'Outfit', 'Inter', sans-serif;
    /* Using a more rounded font if possible */
}

/* List Items */
.features__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 20px;
    margin: -20px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}



.feature-item__icon-box {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-item:hover .feature-item__icon-box {
    transform: scale(1.1);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(243, 112, 33, 0.15);
}

.feature-item__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-item__icon {
    transform: rotate(5deg);
}

.feature-item__text {
    transition: transform 0.4s ease;
}

.feature-item:hover .feature-item__text {
    transform: translateX(5px);
}

.feature-item__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-item__title {
    color: #f37021;
    /* Educanet Orange */
    transform: translateX(5px);
}

.feature-item__description {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 400px;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-item__description {
    color: #64748b;
}

.feature-item:hover {
    background: #ffffff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
    .features__wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .features__image {
        justify-content: center;
    }

    .features__laptop {
        max-width: 600px;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
    }

    .features__content {
        margin: 0 auto;
        padding: 50px 30px;
        border-radius: 50px;
        max-width: 95%;
    }

    .features__title {
        font-size: 2rem;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-item__description {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .features {
        padding: var(--space-12) 0;
    }

    .features__title {
        font-size: 1.85rem;
    }

    .feature-item__title {
        font-size: 1.3rem;
    }
}