/* Financial Tools Section */
#financial-tools-container {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

#financial-tools-container .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

#financial-tools-container .section-title i {
    font-size: 2.5rem;
    color: #3B82F6;
    margin-bottom: 0.75rem;
}

#financial-tools-container .section-title h2 {
    font-size: 2rem;
    color: #1F2937;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

#financial-tools-container .section-title p {
    color: #4B5563;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

#financial-tools-container .tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    padding: 0 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

#financial-tools-container .tool-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#financial-tools-container .tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #3B82F6, #60A5FA);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#financial-tools-container .tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#financial-tools-container .tool-card:hover::before {
    opacity: 1;
}

#financial-tools-container .tool-icon {
    font-size: 1.75rem;
    color: #3B82F6;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

#financial-tools-container .tool-card:hover .tool-icon {
    transform: scale(1.1);
    color: #2563EB;
}

#financial-tools-container .tool-name {
    font-size: 0.9rem;
    color: #1F2937;
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 1.2;
}

#financial-tools-container .tool-card:hover .tool-name {
    color: #3B82F6;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    #financial-tools-container .tools-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    #financial-tools-container .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    #financial-tools-container .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #financial-tools-container {
        padding: 1.5rem 0;
    }
    
    #financial-tools-container .section-title h2 {
        font-size: 1.75rem;
    }
    
    #financial-tools-container .section-title p {
        font-size: 1rem;
    }
    
    #financial-tools-container .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    #financial-tools-container .tool-card {
        padding: 1rem;
        min-height: 100px;
    }
    
    #financial-tools-container .tool-icon {
        font-size: 1.5rem;
    }
    
    #financial-tools-container .tool-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    #financial-tools-container .tools-grid {
        grid-template-columns: 1fr;
    }
    
    #financial-tools-container .section-title h2 {
        font-size: 1.5rem;
    }
    
    #financial-tools-container .section-title p {
        font-size: 0.9rem;
    }
} 