/* WHY IMPORTANT SECTION STYLES */
.why-important-section {
    padding: 2rem 0 1rem 0;
    background: transparent;
    position: relative;
}

.why-important-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Content Section */
.why-important-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 56rem;
    overflow: hidden;
}

.why-important-header {
    padding-bottom: 1rem;
}

.why-important-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgb(38, 38, 38);
    line-height: 1.2;
    margin: 0;
}

/* Points List */
.why-important-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.points-list {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
}

.point-item {
    padding-bottom: 2.5rem;
    margin-bottom: 1.5rem;
        padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid #6b7280;
    transition: all 0.3s ease;
}

.point-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.point-item:hover {
    transform: translateX(0.5rem);
    background: rgba(1, 72, 185, 0.05);
    border-radius: 0.5rem;
    padding-right: 1rem;
}

.point-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.875rem;
    font-weight: bold;
    color: rgb(31, 41, 55);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.point-item:hover .point-number {
    color: var(--color-main);
    transform: scale(1.1);
}

.point-content {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
}

.point-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #000000;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.point-item:hover .point-title {
    color: var(--color-main);
}

.point-description {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* Image Section */
.why-important-aside {
    width: 100%;
    max-width: 35rem;
    flex-shrink: 0;
    margin-top: 2rem;
}

.why-important-image-container {
    top: 7rem;
    align-self: center;
}

.why-important-image-wrapper {
    border-radius: 0.5rem;
    overflow: hidden;
    /* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .why-important-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
} */

.why-important-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.why-important-image-wrapper:hover .why-important-image {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 567px) and (min-width: 320px) {
    .why-important-section {
        padding: 1.5rem 0;
    }

    .why-important-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .point-item {
        padding-left: 2.5rem;
        padding-bottom: 2.5rem;
        margin-bottom: 1.5rem;
    padding-right: 1rem;
    }

    .point-number {
        font-size: 1.875rem;
    }

    .point-content {
        margin-left: 1.5rem;
    }

    .point-title {
        font-size: 1.125rem;
    }

    .point-description {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .why-important-section {
        padding: 3rem 0 3rem 0;
    }

    .why-important-wrapper {
        flex-direction: row;
        gap: 3rem;
    }

    .why-important-aside {
        min-width: 25rem;
        margin-top: 0;
    }

    .why-important-image {
        height: 35rem !important;
    }

    .point-item {
        padding-left: 2.5rem;
    }

    .point-number {
        font-size: 2.25rem;
    }

    .point-title {
        font-size: 1.25rem;
    }

    .point-content {
        margin-left: 1.5rem;
    }
}

@media (min-width: 992px) {
    .point-description {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .why-important-section {
        padding: 3rem 0 3rem 0;
    }
}

/* Progressive Enhancement Animations */
@media (prefers-reduced-motion: no-preference) {
    .point-item {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft 0.6s ease forwards;
    }

    .point-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .point-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .point-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .why-important-image-wrapper {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease 0.4s forwards;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .point-item,
    .point-number,
    .point-title,
    .why-important-image,
    .why-important-image-wrapper {
        transition: none;
        animation: none;
    }

    .point-item:hover {
        transform: none;
    }

    .point-item:hover .point-number {
        transform: none;
    }

    .why-important-image-wrapper:hover {
        transform: none;
    }

    .why-important-image-wrapper:hover .why-important-image {
        transform: none;
    }
}

/* Focus states for accessibility */
.point-item:focus-within {
    outline: 2px solid var(--color-main);
    outline-offset: 2px;
    border-radius: 0.5rem;
}

.why-important-image:focus {
    outline: 2px solid var(--color-main);
    outline-offset: 2px;
}