/* Enhanced Animation for Win-Win Section */
.win-win-section .solution-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.win-win-section .solution-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Clickable title styling */
.win-win-section .clickable-title {
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.win-win-section .clickable-title:hover {
    color: #1b74e4;
}

.win-win-section .clickable-title:hover::after {
    width: 100%;
}

/* Popup Modal Styles */
.solution-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.solution-popup-overlay.show {
    display: flex;
}

.solution-popup-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 100%;
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.solution-popup-content.show {
    transform: scale(0.9);
    opacity: 1;
}

.popup-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.popup-header h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #273444;
    margin: 0;
    line-height: 1.3;
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: #f5f5f5;
    color: #1b74e4;
}

.popup-body {
    padding: 30px;
}

.popup-section {
    margin-bottom: 30px;
}

.popup-section:last-child {
    margin-bottom: 0;
}

.popup-section-title {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #273444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-section-title i {
    color: #1b74e4;
    font-size: 16px;
}

.popup-section-title i.fa-exclamation-triangle {
    color: #ff6b35;
}

.popup-section-title i.fa-check-circle {
    color: #00d4aa;
}

.popup-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.popup-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-items li {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    color: #1b74e4;
    line-height: 1.6;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.popup-items li:last-child {
    margin-bottom: 0;
}

.popup-items li i {
    color: #1b74e4;
    font-size: 12px;
    margin-top: 6px;
    flex-shrink: 0;
}

.popup-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-top: 1px solid #eee;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #1b74e4, #2980ff);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-btn-primary:hover {
    background: linear-gradient(135deg, #0f5cbf, #1b6dd6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 116, 228, 0.4);
}

.popup-btn-secondary {
    background: #f8f9fa;
    color: #545c65;
    border: 1px solid #e1e5e9;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Responsive for popup */
@media (max-width: 768px) {
    .solution-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .popup-header {
        padding: 20px 20px 15px;
    }
    
    .popup-header h3 {
        font-size: 20px;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .popup-section {
        margin-bottom: 20px;
    }
    
    .popup-section-title {
        font-size: 16px;
    }
    
    .popup-footer {
        padding: 15px 20px 20px;
        flex-direction: column;
    }
    
    .popup-btn-primary,
    .popup-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
