/**
 * Mobile Arrow Fix CSS
 * A clean, focused fix for the arrow between Problem and Solution sections on mobile
 */

/* Base styles for the problem-solution container */
.problem-solution-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base styles for the connection element */
.problem-solution-connection {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-solution-connection-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-navy);
    border: 2px solid rgba(62, 219, 174, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(62, 219, 174, 0.2);
}

.problem-solution-arrow {
    color: var(--color-teal);
    font-size: 24px;
    animation: pulse 2s infinite;
}

/* Mobile styles */
@media (max-width: 992px) {
    /* Change to single column layout */
    .problem-solution-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    /* Reposition the arrow for mobile */
    .problem-solution-connection {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: -30px auto 30px;
    }
    
    /* Rotate the arrow to point down */
    .problem-solution-arrow {
        display: inline-block;
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .problem-solution-connection-circle {
        width: 50px;
        height: 50px;
    }
    
    .problem-solution-arrow {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .problem-solution-connection-circle {
        width: 40px;
        height: 40px;
    }
    
    .problem-solution-arrow {
        font-size: 18px;
    }
}
