/* Next Step Section Styles */
.next-step-section {
    background: linear-gradient(rgba(0, 161, 224, 0.5), rgba(0, 161, 224, 0.5)), url('../images/section-img.jpeg') center/cover no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.next-step-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.12) 0%, transparent 50%), radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.next-step-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.04) 25%, transparent 50%, rgba(255, 255, 255, 0.04) 75%, transparent 100%);
    pointer-events: none;
}

.next-step-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 0;
    position: relative;
    z-index: 1;
    text-align: center;
    
}

.next-step-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    
}

.next-step-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.8px;
    line-height: 1.1;
    position: relative;
}

.next-step-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), #ffffff, rgba(255, 255, 255, 0.8));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.next-step-description {
    font-size: 30px;
    line-height: 41px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.next-step-highlight {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #b8e6ff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

.next-step-learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #ffffff, #f0f8ff);
    color: #082f49;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.next-step-learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

.next-step-learn-more-btn:hover::before {
    left: 100%;
}

.next-step-learn-more-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg, #f0f8ff, #ffffff);
    color: #1e3f73;
}

.next-step-learn-more-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.next-step-learn-more-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.next-step-learn-more-btn:hover i {
    transform: translateX(3px);
}

/* Enhanced responsive design */
@media (max-width: 1200px) {
    .next-step-container {
        padding: 0 30px;
    }

    .next-step-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 968px) {
    .next-step-section {
        padding: 100px 0;
    }

    .next-step-title {
        font-size: 2.8rem;
    }

    .next-step-description {
        font-size: 1.2rem;
    }

    .next-step-highlight {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .next-step-section {
        padding: 80px 0;
    }

    .next-step-container {
        padding: 0 20px;
    }

    .next-step-title {
        font-size: 2.4rem;
        margin-bottom: 25px;
    }

    .next-step-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .next-step-highlight {
        font-size: 1rem;
        margin-bottom: 50px;
    }

    .next-step-learn-more-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .next-step-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .next-step-description {
        font-size: 1rem;
    }

    .next-step-learn-more-btn {
        padding: 14px 28px;
        font-size: 1rem;
        gap: 10px;
    }
}

/* Animation for entrance effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.next-step-content>* {
    animation: fadeInUp 0.8s ease-out forwards;
}

.next-step-title {
    animation-delay: 0.1s;
}

.next-step-description {
    animation-delay: 0.2s;
}

.next-step-highlight {
    animation-delay: 0.3s;
}

.next-step-learn-more-btn {
    animation-delay: 0.4s;
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
    .next-step-section {
        background-attachment: scroll;
    }
}